@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMobileClient extends AmazonWebServiceClient implements AWSMobile
AWS Mobile Service provides mobile app and website developers with capabilities required to configure AWS resources and bootstrap their developer desktop projects with the necessary SDKs, constants, tools and samples to make use of those resources.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSMobileClientBuilder |
builder() |
CreateProjectResult |
createProject(CreateProjectRequest request)
Creates an AWS Mobile Hub project.
|
DeleteProjectResult |
deleteProject(DeleteProjectRequest request)
Delets a project in AWS Mobile Hub.
|
DescribeBundleResult |
describeBundle(DescribeBundleRequest request)
Get the bundle details for the requested bundle id.
|
DescribeProjectResult |
describeProject(DescribeProjectRequest request)
Gets details about a project in AWS Mobile Hub.
|
ExportBundleResult |
exportBundle(ExportBundleRequest request)
Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile
app clients with backend AWS resources.
|
ExportProjectResult |
exportProject(ExportProjectRequest request)
Exports project configuration to a snapshot which can be downloaded and shared.
|
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.
|
ListBundlesResult |
listBundles(ListBundlesRequest request)
List all available bundles.
|
ListProjectsResult |
listProjects(ListProjectsRequest request)
Lists projects in AWS Mobile Hub.
|
UpdateProjectResult |
updateProject(UpdateProjectRequest request)
Update an existing project.
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSMobileClientBuilder builder()
public CreateProjectResult createProject(CreateProjectRequest request)
Creates an AWS Mobile Hub project.
createProject
in interface AWSMobile
createProjectRequest
- Request structure used to request a project be created.InternalFailureException
- The service has encountered an unexpected error condition which prevents it from servicing the request.ServiceUnavailableException
- The service is temporarily unavailable. The request should be retried after some time delay.UnauthorizedException
- Credentials of the caller are insufficient to authorize the request.TooManyRequestsException
- Too many requests have been received for this AWS account in too short a time. The request should be
retried after some time delay.BadRequestException
- The request cannot be processed because some parameter is not valid or the project state prevents the
operation from being performed.NotFoundException
- No entity can be found with the specified identifier.LimitExceededException
- There are too many AWS Mobile Hub projects in the account or the account has exceeded the maximum number
of resources in some AWS service. You should create another sub-account using AWS Organizations or remove
some resources and retry your request.public DeleteProjectResult deleteProject(DeleteProjectRequest request)
Delets a project in AWS Mobile Hub.
deleteProject
in interface AWSMobile
deleteProjectRequest
- Request structure used to request a project be deleted.InternalFailureException
- The service has encountered an unexpected error condition which prevents it from servicing the request.ServiceUnavailableException
- The service is temporarily unavailable. The request should be retried after some time delay.UnauthorizedException
- Credentials of the caller are insufficient to authorize the request.TooManyRequestsException
- Too many requests have been received for this AWS account in too short a time. The request should be
retried after some time delay.NotFoundException
- No entity can be found with the specified identifier.public DescribeBundleResult describeBundle(DescribeBundleRequest request)
Get the bundle details for the requested bundle id.
describeBundle
in interface AWSMobile
describeBundleRequest
- Request structure to request the details of a specific bundle.InternalFailureException
- The service has encountered an unexpected error condition which prevents it from servicing the request.ServiceUnavailableException
- The service is temporarily unavailable. The request should be retried after some time delay.UnauthorizedException
- Credentials of the caller are insufficient to authorize the request.TooManyRequestsException
- Too many requests have been received for this AWS account in too short a time. The request should be
retried after some time delay.BadRequestException
- The request cannot be processed because some parameter is not valid or the project state prevents the
operation from being performed.NotFoundException
- No entity can be found with the specified identifier.public DescribeProjectResult describeProject(DescribeProjectRequest request)
Gets details about a project in AWS Mobile Hub.
describeProject
in interface AWSMobile
describeProjectRequest
- Request structure used to request details about a project.InternalFailureException
- The service has encountered an unexpected error condition which prevents it from servicing the request.ServiceUnavailableException
- The service is temporarily unavailable. The request should be retried after some time delay.UnauthorizedException
- Credentials of the caller are insufficient to authorize the request.TooManyRequestsException
- Too many requests have been received for this AWS account in too short a time. The request should be
retried after some time delay.BadRequestException
- The request cannot be processed because some parameter is not valid or the project state prevents the
operation from being performed.NotFoundException
- No entity can be found with the specified identifier.public ExportBundleResult exportBundle(ExportBundleRequest request)
Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile app clients with backend AWS resources.
exportBundle
in interface AWSMobile
exportBundleRequest
- Request structure used to request generation of custom SDK and tool packages required to integrate mobile
web or app clients with backed AWS resources.InternalFailureException
- The service has encountered an unexpected error condition which prevents it from servicing the request.ServiceUnavailableException
- The service is temporarily unavailable. The request should be retried after some time delay.UnauthorizedException
- Credentials of the caller are insufficient to authorize the request.TooManyRequestsException
- Too many requests have been received for this AWS account in too short a time. The request should be
retried after some time delay.BadRequestException
- The request cannot be processed because some parameter is not valid or the project state prevents the
operation from being performed.NotFoundException
- No entity can be found with the specified identifier.public ExportProjectResult exportProject(ExportProjectRequest request)
Exports project configuration to a snapshot which can be downloaded and shared. Note that mobile app push credentials are encrypted in exported projects, so they can only be shared successfully within the same AWS account.
exportProject
in interface AWSMobile
exportProjectRequest
- Request structure used in requests to export project configuration details.InternalFailureException
- The service has encountered an unexpected error condition which prevents it from servicing the request.ServiceUnavailableException
- The service is temporarily unavailable. The request should be retried after some time delay.UnauthorizedException
- Credentials of the caller are insufficient to authorize the request.TooManyRequestsException
- Too many requests have been received for this AWS account in too short a time. The request should be
retried after some time delay.BadRequestException
- The request cannot be processed because some parameter is not valid or the project state prevents the
operation from being performed.NotFoundException
- No entity can be found with the specified identifier.public ListBundlesResult listBundles(ListBundlesRequest request)
List all available bundles.
listBundles
in interface AWSMobile
listBundlesRequest
- Request structure to request all available bundles.InternalFailureException
- The service has encountered an unexpected error condition which prevents it from servicing the request.ServiceUnavailableException
- The service is temporarily unavailable. The request should be retried after some time delay.UnauthorizedException
- Credentials of the caller are insufficient to authorize the request.TooManyRequestsException
- Too many requests have been received for this AWS account in too short a time. The request should be
retried after some time delay.BadRequestException
- The request cannot be processed because some parameter is not valid or the project state prevents the
operation from being performed.public ListProjectsResult listProjects(ListProjectsRequest request)
Lists projects in AWS Mobile Hub.
listProjects
in interface AWSMobile
listProjectsRequest
- Request structure used to request projects list in AWS Mobile Hub.InternalFailureException
- The service has encountered an unexpected error condition which prevents it from servicing the request.ServiceUnavailableException
- The service is temporarily unavailable. The request should be retried after some time delay.UnauthorizedException
- Credentials of the caller are insufficient to authorize the request.TooManyRequestsException
- Too many requests have been received for this AWS account in too short a time. The request should be
retried after some time delay.BadRequestException
- The request cannot be processed because some parameter is not valid or the project state prevents the
operation from being performed.public UpdateProjectResult updateProject(UpdateProjectRequest request)
Update an existing project.
updateProject
in interface AWSMobile
updateProjectRequest
- Request structure used for requests to update project configuration.InternalFailureException
- The service has encountered an unexpected error condition which prevents it from servicing the request.ServiceUnavailableException
- The service is temporarily unavailable. The request should be retried after some time delay.UnauthorizedException
- Credentials of the caller are insufficient to authorize the request.TooManyRequestsException
- Too many requests have been received for this AWS account in too short a time. The request should be
retried after some time delay.BadRequestException
- The request cannot be processed because some parameter is not valid or the project state prevents the
operation from being performed.NotFoundException
- No entity can be found with the specified identifier.AccountActionRequiredException
- Account Action is required in order to continue the request.LimitExceededException
- There are too many AWS Mobile Hub projects in the account or the account has exceeded the maximum number
of resources in some AWS service. You should create another sub-account using AWS Organizations or remove
some resources and retry your request.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 AWSMobile
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.