@Generated(value="software.amazon.awssdk:codegen") public interface ServerlessApplicationRepositoryClient extends SdkClient, SdkAutoCloseable
builder() method.
AWS Serverless Repository| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static ServerlessApplicationRepositoryClientBuilder |
builder()
Create a builder that can be used to configure and create a
ServerlessApplicationRepositoryClient. |
static ServerlessApplicationRepositoryClient |
create()
Create a
ServerlessApplicationRepositoryClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from
the DefaultCredentialsProvider. |
default CreateApplicationResponse |
createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Creates an application, optionally including an AWS SAM file to create the first application version in the same
call.
|
default CreateApplicationResponse |
createApplication(CreateApplicationRequest createApplicationRequest)
Creates an application, optionally including an AWS SAM file to create the first application version in the same
call.
|
default CreateApplicationVersionResponse |
createApplicationVersion(Consumer<CreateApplicationVersionRequest.Builder> createApplicationVersionRequest)
Creates an application version.
|
default CreateApplicationVersionResponse |
createApplicationVersion(CreateApplicationVersionRequest createApplicationVersionRequest)
Creates an application version.
|
default CreateCloudFormationChangeSetResponse |
createCloudFormationChangeSet(Consumer<CreateCloudFormationChangeSetRequest.Builder> createCloudFormationChangeSetRequest)
Creates an AWS CloudFormation ChangeSet for the given application.
|
default CreateCloudFormationChangeSetResponse |
createCloudFormationChangeSet(CreateCloudFormationChangeSetRequest createCloudFormationChangeSetRequest)
Creates an AWS CloudFormation ChangeSet for the given application.
|
default GetApplicationResponse |
getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)
Gets the specified application.
|
default GetApplicationResponse |
getApplication(GetApplicationRequest getApplicationRequest)
Gets the specified application.
|
default GetApplicationPolicyResponse |
getApplicationPolicy(Consumer<GetApplicationPolicyRequest.Builder> getApplicationPolicyRequest)
Gets the policy for the specified application.
|
default GetApplicationPolicyResponse |
getApplicationPolicy(GetApplicationPolicyRequest getApplicationPolicyRequest)
Gets the policy for the specified application.
|
default ListApplicationsResponse |
listApplications()
Lists applications owned by the requester.
|
default ListApplicationsResponse |
listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists applications owned by the requester.
|
default ListApplicationsResponse |
listApplications(ListApplicationsRequest listApplicationsRequest)
Lists applications owned by the requester.
|
default ListApplicationVersionsResponse |
listApplicationVersions(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest)
Lists versions for the specified application.
|
default ListApplicationVersionsResponse |
listApplicationVersions(ListApplicationVersionsRequest listApplicationVersionsRequest)
Lists versions for the specified application.
|
default PutApplicationPolicyResponse |
putApplicationPolicy(Consumer<PutApplicationPolicyRequest.Builder> putApplicationPolicyRequest)
Puts the policy for the specified application.
|
default PutApplicationPolicyResponse |
putApplicationPolicy(PutApplicationPolicyRequest putApplicationPolicyRequest)
Puts the policy for the specified application.
|
static ServiceMetadata |
serviceMetadata() |
default UpdateApplicationResponse |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Updates the specified application.
|
default UpdateApplicationResponse |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates the specified application.
|
serviceNameclosestatic final String SERVICE_NAME
static ServerlessApplicationRepositoryClient create()
ServerlessApplicationRepositoryClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from
the DefaultCredentialsProvider.static ServerlessApplicationRepositoryClientBuilder builder()
ServerlessApplicationRepositoryClient.default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
createApplicationRequest - TooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseConflictException - 409 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
createApplicationRequest - TooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseConflictException - 409 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault CreateApplicationVersionResponse createApplicationVersion(CreateApplicationVersionRequest createApplicationVersionRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
createApplicationVersionRequest - TooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseConflictException - 409 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault CreateApplicationVersionResponse createApplicationVersion(Consumer<CreateApplicationVersionRequest.Builder> createApplicationVersionRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
createApplicationVersionRequest - TooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseConflictException - 409 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault CreateCloudFormationChangeSetResponse createCloudFormationChangeSet(CreateCloudFormationChangeSetRequest createCloudFormationChangeSetRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
createCloudFormationChangeSetRequest - Create application ChangeSet requestTooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault CreateCloudFormationChangeSetResponse createCloudFormationChangeSet(Consumer<CreateCloudFormationChangeSetRequest.Builder> createCloudFormationChangeSetRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
createCloudFormationChangeSetRequest - Create application ChangeSet requestTooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault GetApplicationResponse getApplication(GetApplicationRequest getApplicationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
getApplicationRequest - NotFoundException - 404 responseTooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault GetApplicationResponse getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
getApplicationRequest - NotFoundException - 404 responseTooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault GetApplicationPolicyResponse getApplicationPolicy(GetApplicationPolicyRequest getApplicationPolicyRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
getApplicationPolicyRequest - NotFoundException - 404 responseTooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault GetApplicationPolicyResponse getApplicationPolicy(Consumer<GetApplicationPolicyRequest.Builder> getApplicationPolicyRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
getApplicationPolicyRequest - NotFoundException - 404 responseTooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault ListApplicationVersionsResponse listApplicationVersions(ListApplicationVersionsRequest listApplicationVersionsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
listApplicationVersionsRequest - NotFoundException - 404 responseTooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault ListApplicationVersionsResponse listApplicationVersions(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
listApplicationVersionsRequest - NotFoundException - 404 responseTooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault ListApplicationsResponse listApplications() throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptionlistApplications(ListApplicationsRequest),
AWS API Documentationdefault ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
listApplicationsRequest - NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
listApplicationsRequest - NotFoundException - 404 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault PutApplicationPolicyResponse putApplicationPolicy(PutApplicationPolicyRequest putApplicationPolicyRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
putApplicationPolicyRequest - Put policy requestNotFoundException - 404 responseTooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault PutApplicationPolicyResponse putApplicationPolicy(Consumer<PutApplicationPolicyRequest.Builder> putApplicationPolicyRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
putApplicationPolicyRequest - Put policy requestNotFoundException - 404 responseTooManyRequestsException - 429 responseBadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
updateApplicationRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseTooManyRequestsException - 429 responseConflictException - 409 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptiondefault UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, SdkServiceException, SdkClientException, ServerlessApplicationRepositoryException
updateApplicationRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseTooManyRequestsException - 429 responseConflictException - 409 responseSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ServerlessApplicationRepositoryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.