@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSAmplify
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSAmplify
instead.
Amplify is a fully managed continuous deployment and hosting service for modern web apps.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateAppResult |
createApp(CreateAppRequest createAppRequest)
Creates a new Amplify App.
|
CreateBranchResult |
createBranch(CreateBranchRequest createBranchRequest)
Creates a new Branch for an Amplify App.
|
CreateDomainAssociationResult |
createDomainAssociation(CreateDomainAssociationRequest createDomainAssociationRequest)
Create a new DomainAssociation on an App
|
DeleteAppResult |
deleteApp(DeleteAppRequest deleteAppRequest)
Delete an existing Amplify App by appId.
|
DeleteBranchResult |
deleteBranch(DeleteBranchRequest deleteBranchRequest)
Deletes a branch for an Amplify App.
|
DeleteDomainAssociationResult |
deleteDomainAssociation(DeleteDomainAssociationRequest deleteDomainAssociationRequest)
Deletes a DomainAssociation.
|
DeleteJobResult |
deleteJob(DeleteJobRequest deleteJobRequest)
Delete a job, for an Amplify branch, part of Amplify App.
|
GetAppResult |
getApp(GetAppRequest getAppRequest)
Retrieves an existing Amplify App by appId.
|
GetBranchResult |
getBranch(GetBranchRequest getBranchRequest)
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 getDomainAssociationRequest)
Retrieves domain info that corresponds to an appId and domainName.
|
GetJobResult |
getJob(GetJobRequest getJobRequest)
Get a job for a branch, part of an Amplify App.
|
ListAppsResult |
listApps(ListAppsRequest listAppsRequest)
Lists existing Amplify Apps.
|
ListBranchesResult |
listBranches(ListBranchesRequest listBranchesRequest)
Lists branches for an Amplify App.
|
ListDomainAssociationsResult |
listDomainAssociations(ListDomainAssociationsRequest listDomainAssociationsRequest)
List domains with an app
|
ListJobsResult |
listJobs(ListJobsRequest listJobsRequest)
List Jobs for a branch, part of an Amplify App.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartJobResult |
startJob(StartJobRequest startJobRequest)
Starts a new job for a branch, part of an Amplify App.
|
StopJobResult |
stopJob(StopJobRequest stopJobRequest)
Stop a job that is in progress, for an Amplify branch, part of Amplify App.
|
UpdateAppResult |
updateApp(UpdateAppRequest updateAppRequest)
Updates an existing Amplify App.
|
UpdateBranchResult |
updateBranch(UpdateBranchRequest updateBranchRequest)
Updates a branch for an Amplify App.
|
UpdateDomainAssociationResult |
updateDomainAssociation(UpdateDomainAssociationRequest updateDomainAssociationRequest)
Create a new DomainAssociation on an App
|
static final String ENDPOINT_PREFIX
CreateAppResult createApp(CreateAppRequest createAppRequest)
Creates a new Amplify App.
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.CreateBranchResult createBranch(CreateBranchRequest createBranchRequest)
Creates a new Branch for an Amplify App.
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.CreateDomainAssociationResult createDomainAssociation(CreateDomainAssociationRequest createDomainAssociationRequest)
Create a new DomainAssociation on an App
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.DeleteAppResult deleteApp(DeleteAppRequest deleteAppRequest)
Delete an existing Amplify App by appId.
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.DeleteBranchResult deleteBranch(DeleteBranchRequest deleteBranchRequest)
Deletes a branch for an Amplify App.
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.DeleteDomainAssociationResult deleteDomainAssociation(DeleteDomainAssociationRequest deleteDomainAssociationRequest)
Deletes a DomainAssociation.
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.DeleteJobResult deleteJob(DeleteJobRequest deleteJobRequest)
Delete a job, for an Amplify branch, part of Amplify App.
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.GetAppResult getApp(GetAppRequest getAppRequest)
Retrieves an existing Amplify App by appId.
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.GetBranchResult getBranch(GetBranchRequest getBranchRequest)
Retrieves a branch for an Amplify App.
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.GetDomainAssociationResult getDomainAssociation(GetDomainAssociationRequest getDomainAssociationRequest)
Retrieves domain info that corresponds to an appId and domainName.
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.GetJobResult getJob(GetJobRequest getJobRequest)
Get a job for a branch, part of an Amplify App.
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.ListAppsResult listApps(ListAppsRequest listAppsRequest)
Lists existing Amplify Apps.
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.ListBranchesResult listBranches(ListBranchesRequest listBranchesRequest)
Lists branches for an Amplify App.
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.ListDomainAssociationsResult listDomainAssociations(ListDomainAssociationsRequest listDomainAssociationsRequest)
List domains with an app
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.ListJobsResult listJobs(ListJobsRequest listJobsRequest)
List Jobs for a branch, part of an Amplify App.
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.StartJobResult startJob(StartJobRequest startJobRequest)
Starts a new job for a branch, part of an Amplify App.
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.StopJobResult stopJob(StopJobRequest stopJobRequest)
Stop a job that is in progress, for an Amplify branch, part of Amplify App.
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.UpdateAppResult updateApp(UpdateAppRequest updateAppRequest)
Updates an existing Amplify App.
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.UpdateBranchResult updateBranch(UpdateBranchRequest updateBranchRequest)
Updates a branch for an Amplify App.
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.UpdateDomainAssociationResult updateDomainAssociation(UpdateDomainAssociationRequest updateDomainAssociationRequest)
Create a new DomainAssociation on an App
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.void shutdown()
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 a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.