@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAmplifyClient extends AmazonWebServiceClient implements AWSAmplify
Amplify is a fully managed continuous deployment and hosting service for modern web apps.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSAmplifyClientBuilder |
builder() |
CreateAppResult |
createApp(CreateAppRequest request)
Creates a new Amplify App.
|
CreateBranchResult |
createBranch(CreateBranchRequest request)
Creates a new Branch for an Amplify App.
|
CreateDomainAssociationResult |
createDomainAssociation(CreateDomainAssociationRequest request)
Create a new DomainAssociation on an App
|
DeleteAppResult |
deleteApp(DeleteAppRequest request)
Delete an existing Amplify App by appId.
|
DeleteBranchResult |
deleteBranch(DeleteBranchRequest request)
Deletes a branch for an Amplify App.
|
DeleteDomainAssociationResult |
deleteDomainAssociation(DeleteDomainAssociationRequest request)
Deletes a DomainAssociation.
|
DeleteJobResult |
deleteJob(DeleteJobRequest request)
Delete a job, for an Amplify branch, part of Amplify App.
|
GetAppResult |
getApp(GetAppRequest request)
Retrieves an existing Amplify App by appId.
|
GetBranchResult |
getBranch(GetBranchRequest request)
Retrieves a branch for an Amplify App.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDomainAssociationResult |
getDomainAssociation(GetDomainAssociationRequest request)
Retrieves domain info that corresponds to an appId and domainName.
|
GetJobResult |
getJob(GetJobRequest request)
Get a job for a branch, part of an Amplify App.
|
ListAppsResult |
listApps(ListAppsRequest request)
Lists existing Amplify Apps.
|
ListBranchesResult |
listBranches(ListBranchesRequest request)
Lists branches for an Amplify App.
|
ListDomainAssociationsResult |
listDomainAssociations(ListDomainAssociationsRequest request)
List domains with an app
|
ListJobsResult |
listJobs(ListJobsRequest request)
List Jobs for a branch, part of an Amplify App.
|
StartJobResult |
startJob(StartJobRequest request)
Starts a new job for a branch, part of an Amplify App.
|
StopJobResult |
stopJob(StopJobRequest request)
Stop a job that is in progress, for an Amplify branch, part of Amplify App.
|
UpdateAppResult |
updateApp(UpdateAppRequest request)
Updates an existing Amplify App.
|
UpdateBranchResult |
updateBranch(UpdateBranchRequest request)
Updates a branch for an Amplify App.
|
UpdateDomainAssociationResult |
updateDomainAssociation(UpdateDomainAssociationRequest request)
Create a new DomainAssociation on an App
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AWSAmplifyClientBuilder builder()
public CreateAppResult createApp(CreateAppRequest request)
Creates a new Amplify App.
createApp
in interface AWSAmplify
createAppRequest
- Request structure used to create Apps in Amplify.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.LimitExceededException
- Exception thrown when a resource could not be created because of service limits.DependentServiceFailureException
- Exception thrown when an operation fails due to a dependent service throwing an exception.public CreateBranchResult createBranch(CreateBranchRequest request)
Creates a new Branch for an Amplify App.
createBranch
in interface AWSAmplify
createBranchRequest
- Request structure for a branch create request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.NotFoundException
- Exception thrown when an entity has not been found during an operation.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.LimitExceededException
- Exception thrown when a resource could not be created because of service limits.DependentServiceFailureException
- Exception thrown when an operation fails due to a dependent service throwing an exception.public CreateDomainAssociationResult createDomainAssociation(CreateDomainAssociationRequest request)
Create a new DomainAssociation on an App
createDomainAssociation
in interface AWSAmplify
createDomainAssociationRequest
- Request structure for create Domain Association request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.NotFoundException
- Exception thrown when an entity has not been found during an operation.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.LimitExceededException
- Exception thrown when a resource could not be created because of service limits.DependentServiceFailureException
- Exception thrown when an operation fails due to a dependent service throwing an exception.public DeleteAppResult deleteApp(DeleteAppRequest request)
Delete an existing Amplify App by appId.
deleteApp
in interface AWSAmplify
deleteAppRequest
- Request structure for an Amplify App delete request.BadRequestException
- Exception thrown when a request contains unexpected data.NotFoundException
- Exception thrown when an entity has not been found during an operation.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.DependentServiceFailureException
- Exception thrown when an operation fails due to a dependent service throwing an exception.public DeleteBranchResult deleteBranch(DeleteBranchRequest request)
Deletes a branch for an Amplify App.
deleteBranch
in interface AWSAmplify
deleteBranchRequest
- Request structure for delete branch request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.NotFoundException
- Exception thrown when an entity has not been found during an operation.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.DependentServiceFailureException
- Exception thrown when an operation fails due to a dependent service throwing an exception.public DeleteDomainAssociationResult deleteDomainAssociation(DeleteDomainAssociationRequest request)
Deletes a DomainAssociation.
deleteDomainAssociation
in interface AWSAmplify
deleteDomainAssociationRequest
- Request structure for the delete Domain Association request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.NotFoundException
- Exception thrown when an entity has not been found during an operation.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.DependentServiceFailureException
- Exception thrown when an operation fails due to a dependent service throwing an exception.public DeleteJobResult deleteJob(DeleteJobRequest request)
Delete a job, for an Amplify branch, part of Amplify App.
deleteJob
in interface AWSAmplify
deleteJobRequest
- Request structure for delete job request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.NotFoundException
- Exception thrown when an entity has not been found during an operation.LimitExceededException
- Exception thrown when a resource could not be created because of service limits.public GetAppResult getApp(GetAppRequest request)
Retrieves an existing Amplify App by appId.
getApp
in interface AWSAmplify
getAppRequest
- Request structure for get App request.BadRequestException
- Exception thrown when a request contains unexpected data.NotFoundException
- Exception thrown when an entity has not been found during an operation.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.public GetBranchResult getBranch(GetBranchRequest request)
Retrieves a branch for an Amplify App.
getBranch
in interface AWSAmplify
getBranchRequest
- Result structure for get branch request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.NotFoundException
- Exception thrown when an entity has not been found during an operation.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.public GetDomainAssociationResult getDomainAssociation(GetDomainAssociationRequest request)
Retrieves domain info that corresponds to an appId and domainName.
getDomainAssociation
in interface AWSAmplify
getDomainAssociationRequest
- Request structure for the get Domain Association request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.NotFoundException
- Exception thrown when an entity has not been found during an operation.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.public GetJobResult getJob(GetJobRequest request)
Get a job for a branch, part of an Amplify App.
getJob
in interface AWSAmplify
getJobRequest
- Request structure for get job request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.NotFoundException
- Exception thrown when an entity has not been found during an operation.LimitExceededException
- Exception thrown when a resource could not be created because of service limits.public ListAppsResult listApps(ListAppsRequest request)
Lists existing Amplify Apps.
listApps
in interface AWSAmplify
listAppsRequest
- Request structure for an Amplify App list request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.public ListBranchesResult listBranches(ListBranchesRequest request)
Lists branches for an Amplify App.
listBranches
in interface AWSAmplify
listBranchesRequest
- Request structure for list branches request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.public ListDomainAssociationsResult listDomainAssociations(ListDomainAssociationsRequest request)
List domains with an app
listDomainAssociations
in interface AWSAmplify
listDomainAssociationsRequest
- Request structure for the list Domain Associations request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.public ListJobsResult listJobs(ListJobsRequest request)
List Jobs for a branch, part of an Amplify App.
listJobs
in interface AWSAmplify
listJobsRequest
- Request structure for list job request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.LimitExceededException
- Exception thrown when a resource could not be created because of service limits.public StartJobResult startJob(StartJobRequest request)
Starts a new job for a branch, part of an Amplify App.
startJob
in interface AWSAmplify
startJobRequest
- Request structure for Start job request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.NotFoundException
- Exception thrown when an entity has not been found during an operation.LimitExceededException
- Exception thrown when a resource could not be created because of service limits.public StopJobResult stopJob(StopJobRequest request)
Stop a job that is in progress, for an Amplify branch, part of Amplify App.
stopJob
in interface AWSAmplify
stopJobRequest
- Request structure for stop job request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.NotFoundException
- Exception thrown when an entity has not been found during an operation.LimitExceededException
- Exception thrown when a resource could not be created because of service limits.public UpdateAppResult updateApp(UpdateAppRequest request)
Updates an existing Amplify App.
updateApp
in interface AWSAmplify
updateAppRequest
- Request structure for update App request.BadRequestException
- Exception thrown when a request contains unexpected data.NotFoundException
- Exception thrown when an entity has not been found during an operation.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.public UpdateBranchResult updateBranch(UpdateBranchRequest request)
Updates a branch for an Amplify App.
updateBranch
in interface AWSAmplify
updateBranchRequest
- Request structure for update branch request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.NotFoundException
- Exception thrown when an entity has not been found during an operation.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.DependentServiceFailureException
- Exception thrown when an operation fails due to a dependent service throwing an exception.public UpdateDomainAssociationResult updateDomainAssociation(UpdateDomainAssociationRequest request)
Create a new DomainAssociation on an App
updateDomainAssociation
in interface AWSAmplify
updateDomainAssociationRequest
- Request structure for update Domain Association request.BadRequestException
- Exception thrown when a request contains unexpected data.UnauthorizedException
- Exception thrown when an operation fails due to a lack of access.NotFoundException
- Exception thrown when an entity has not been found during an operation.InternalFailureException
- Exception thrown when the service fails to perform an operation due to an internal issue.DependentServiceFailureException
- Exception thrown when an operation fails due to a dependent service throwing an exception.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSAmplify
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.