@Generated(value="software.amazon.awssdk:codegen") public interface ServerlessApplicationRepositoryClient extends software.amazon.awssdk.core.SdkClient, software.amazon.awssdk.utils.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
software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain and credentials loaded from the
software.amazon.awssdk.auth.credentials.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 software.amazon.awssdk.regions.ServiceMetadata |
serviceMetadata() |
default UpdateApplicationResponse |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Updates the specified application.
|
default UpdateApplicationResponse |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates the specified application.
|
static final String SERVICE_NAME
static ServerlessApplicationRepositoryClient create()
ServerlessApplicationRepositoryClient with the region loaded from the
software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain and credentials loaded from the
software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider.static ServerlessApplicationRepositoryClientBuilder builder()
ServerlessApplicationRepositoryClient.default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.SdkClientException, ServerlessApplicationRepositoryException
This is a convenience which creates an instance of the CreateApplicationRequest.Builder avoiding the need
to create one manually via CreateApplicationRequest.builder()
createApplicationRequest - A Consumer that will call methods on CreateApplicationRequest.Builder to create a request.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault CreateApplicationVersionResponse createApplicationVersion(CreateApplicationVersionRequest createApplicationVersionRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault CreateApplicationVersionResponse createApplicationVersion(Consumer<CreateApplicationVersionRequest.Builder> createApplicationVersionRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ConflictException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.SdkClientException, ServerlessApplicationRepositoryException
This is a convenience which creates an instance of the CreateApplicationVersionRequest.Builder avoiding
the need to create one manually via CreateApplicationVersionRequest.builder()
createApplicationVersionRequest - A Consumer that will call methods on CreateApplicationVersionRequest.Builder to create a
request.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault CreateCloudFormationChangeSetResponse createCloudFormationChangeSet(CreateCloudFormationChangeSetRequest createCloudFormationChangeSetRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault CreateCloudFormationChangeSetResponse createCloudFormationChangeSet(Consumer<CreateCloudFormationChangeSetRequest.Builder> createCloudFormationChangeSetRequest) throws TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.SdkClientException, ServerlessApplicationRepositoryException
This is a convenience which creates an instance of the CreateCloudFormationChangeSetRequest.Builder
avoiding the need to create one manually via CreateCloudFormationChangeSetRequest.builder()
createCloudFormationChangeSetRequest - A Consumer that will call methods on CreateCloudFormationChangeSetRequest.Builder to
create a request. 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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault GetApplicationResponse getApplication(GetApplicationRequest getApplicationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault GetApplicationResponse getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.SdkClientException, ServerlessApplicationRepositoryException
This is a convenience which creates an instance of the GetApplicationRequest.Builder avoiding the need to
create one manually via GetApplicationRequest.builder()
getApplicationRequest - A Consumer that will call methods on GetApplicationRequest.Builder to create a request.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault GetApplicationPolicyResponse getApplicationPolicy(GetApplicationPolicyRequest getApplicationPolicyRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault GetApplicationPolicyResponse getApplicationPolicy(Consumer<GetApplicationPolicyRequest.Builder> getApplicationPolicyRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.SdkClientException, ServerlessApplicationRepositoryException
This is a convenience which creates an instance of the GetApplicationPolicyRequest.Builder avoiding the
need to create one manually via GetApplicationPolicyRequest.builder()
getApplicationPolicyRequest - A Consumer that will call methods on GetApplicationPolicyRequest.Builder to create a
request.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault ListApplicationVersionsResponse listApplicationVersions(ListApplicationVersionsRequest listApplicationVersionsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault ListApplicationVersionsResponse listApplicationVersions(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.SdkClientException, ServerlessApplicationRepositoryException
This is a convenience which creates an instance of the ListApplicationVersionsRequest.Builder avoiding
the need to create one manually via ListApplicationVersionsRequest.builder()
listApplicationVersionsRequest - A Consumer that will call methods on ListApplicationVersionsRequest.Builder to create a
request.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault ListApplicationsResponse listApplications() throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptionlistApplications(ListApplicationsRequest),
AWS API Documentationdefault ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws NotFoundException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.SdkClientException, ServerlessApplicationRepositoryException
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault PutApplicationPolicyResponse putApplicationPolicy(PutApplicationPolicyRequest putApplicationPolicyRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault PutApplicationPolicyResponse putApplicationPolicy(Consumer<PutApplicationPolicyRequest.Builder> putApplicationPolicyRequest) throws NotFoundException, TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException, software.amazon.awssdk.core.exception.SdkClientException, ServerlessApplicationRepositoryException
This is a convenience which creates an instance of the PutApplicationPolicyRequest.Builder avoiding the
need to create one manually via PutApplicationPolicyRequest.builder()
putApplicationPolicyRequest - A Consumer that will call methods on PutApplicationPolicyRequest.Builder to create a
request. 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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, software.amazon.awssdk.core.exception.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, software.amazon.awssdk.core.exception.SdkClientException, ServerlessApplicationRepositoryException
This is a convenience which creates an instance of the UpdateApplicationRequest.Builder avoiding the need
to create one manually via UpdateApplicationRequest.builder()
updateApplicationRequest - A Consumer that will call methods on UpdateApplicationRequest.Builder to create a request.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.software.amazon.awssdk.core.exception.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.AwsServiceExceptionstatic software.amazon.awssdk.regions.ServiceMetadata serviceMetadata()
Copyright © 2018. All rights reserved.