Interface AmplifyGen3AsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
Provides API operations to create and manage Amplify Gen 3 apps, environments, deployments, custom domains, integrations, and related resources.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionacceptForkPullRequestDeployment(Consumer<AcceptForkPullRequestDeploymentRequest.Builder> acceptForkPullRequestDeploymentRequest) Accepts a deployment for a specific commit from a forked-repository pull request.acceptForkPullRequestDeployment(AcceptForkPullRequestDeploymentRequest acceptForkPullRequestDeploymentRequest) Accepts a deployment for a specific commit from a forked-repository pull request.builder()Create a builder that can be used to configure and create aAmplifyGen3AsyncClient.cancelGradualRollout(Consumer<CancelGradualRolloutRequest.Builder> cancelGradualRolloutRequest) Cancels an in-progress gradual rollout for an alias of an environment and returns traffic to the previous deployment.cancelGradualRollout(CancelGradualRolloutRequest cancelGradualRolloutRequest) Cancels an in-progress gradual rollout for an alias of an environment and returns traffic to the previous deployment.static AmplifyGen3AsyncClientcreate()Create aAmplifyGen3AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateAppResponse> createApp(Consumer<CreateAppRequest.Builder> createAppRequest) Creates a new Amplify Gen 3 app.default CompletableFuture<CreateAppResponse> createApp(CreateAppRequest createAppRequest) Creates a new Amplify Gen 3 app.createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) Creates a deployment for an environment of a Gen 3 app.createDeployment(CreateDeploymentRequest createDeploymentRequest) Creates a deployment for an environment of a Gen 3 app.createDomainAssociation(Consumer<CreateDomainAssociationRequest.Builder> createDomainAssociationRequest) Creates a domain association that connects a custom domain to a Gen 3 app.createDomainAssociation(CreateDomainAssociationRequest createDomainAssociationRequest) Creates a domain association that connects a custom domain to a Gen 3 app.createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Creates an environment for a Gen 3 app.createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) Creates an environment for a Gen 3 app.createIntegrationConfiguration(Consumer<CreateIntegrationConfigurationRequest.Builder> createIntegrationConfigurationRequest) Creates an integration configuration that makes an external resource available to app environments.createIntegrationConfiguration(CreateIntegrationConfigurationRequest createIntegrationConfigurationRequest) Creates an integration configuration that makes an external resource available to app environments.createIntegrationConnection(Consumer<CreateIntegrationConnectionRequest.Builder> createIntegrationConnectionRequest) Creates a connection between an integration configuration and an environment.createIntegrationConnection(CreateIntegrationConnectionRequest createIntegrationConnectionRequest) Creates a connection between an integration configuration and an environment.createNetworkConnector(Consumer<CreateNetworkConnectorRequest.Builder> createNetworkConnectorRequest) Creates a network connector that provides a Gen 3 app with access to a virtual private cloud (VPC).createNetworkConnector(CreateNetworkConnectorRequest createNetworkConnectorRequest) Creates a network connector that provides a Gen 3 app with access to a virtual private cloud (VPC).createSourceUpload(Consumer<CreateSourceUploadRequest.Builder> createSourceUploadRequest) Creates a source upload and returns a presigned URL for uploading application source artifacts from .zip files.createSourceUpload(CreateSourceUploadRequest createSourceUploadRequest) Creates a source upload and returns a presigned URL for uploading application source artifacts from .zip files.default CompletableFuture<DeleteAliasResponse> deleteAlias(Consumer<DeleteAliasRequest.Builder> deleteAliasRequest) Deletes an alias for an environment of a Gen 3 app.default CompletableFuture<DeleteAliasResponse> deleteAlias(DeleteAliasRequest deleteAliasRequest) Deletes an alias for an environment of a Gen 3 app.default CompletableFuture<DeleteAppResponse> deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest) Deletes a Gen 3 app.default CompletableFuture<DeleteAppResponse> deleteApp(DeleteAppRequest deleteAppRequest) Deletes a Gen 3 app.deleteBackendFromApp(Consumer<DeleteBackendFromAppRequest.Builder> deleteBackendFromAppRequest) Removes the backend from an app.deleteBackendFromApp(DeleteBackendFromAppRequest deleteBackendFromAppRequest) Removes the backend from an app.default CompletableFuture<DeleteBranchResponse> deleteBranch(Consumer<DeleteBranchRequest.Builder> deleteBranchRequest) Deletes a branch of an environment and its data.default CompletableFuture<DeleteBranchResponse> deleteBranch(DeleteBranchRequest deleteBranchRequest) Deletes a branch of an environment and its data.deleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) Deletes a deployment for an environment of a Gen 3 app.deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) Deletes a deployment for an environment of a Gen 3 app.deleteDomainAssociation(Consumer<DeleteDomainAssociationRequest.Builder> deleteDomainAssociationRequest) Deletes a domain association for a Gen 3 app.deleteDomainAssociation(DeleteDomainAssociationRequest deleteDomainAssociationRequest) Deletes a domain association for a Gen 3 app.deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Deletes an environment for a Gen 3 app.deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) Deletes an environment for a Gen 3 app.deleteEnvironmentVariables(Consumer<DeleteEnvironmentVariablesRequest.Builder> deleteEnvironmentVariablesRequest) Deletes environment variables for an environment of a Gen 3 app.deleteEnvironmentVariables(DeleteEnvironmentVariablesRequest deleteEnvironmentVariablesRequest) Deletes environment variables for an environment of a Gen 3 app.deleteGitConnection(Consumer<DeleteGitConnectionRequest.Builder> deleteGitConnectionRequest) Deletes a Git connection, so that the service can no longer access repositories through it.deleteGitConnection(DeleteGitConnectionRequest deleteGitConnectionRequest) Deletes a Git connection, so that the service can no longer access repositories through it.deleteIdentityProviderConfig(Consumer<DeleteIdentityProviderConfigRequest.Builder> deleteIdentityProviderConfigRequest) Deletes the identity provider configuration for a Gen 3 app.deleteIdentityProviderConfig(DeleteIdentityProviderConfigRequest deleteIdentityProviderConfigRequest) Deletes the identity provider configuration for a Gen 3 app.deleteIntegrationConfiguration(Consumer<DeleteIntegrationConfigurationRequest.Builder> deleteIntegrationConfigurationRequest) Deletes an integration configuration.deleteIntegrationConfiguration(DeleteIntegrationConfigurationRequest deleteIntegrationConfigurationRequest) Deletes an integration configuration.deleteIntegrationConnection(Consumer<DeleteIntegrationConnectionRequest.Builder> deleteIntegrationConnectionRequest) Deletes an integration connection.deleteIntegrationConnection(DeleteIntegrationConnectionRequest deleteIntegrationConnectionRequest) Deletes an integration connection.deleteNetworkConnector(Consumer<DeleteNetworkConnectorRequest.Builder> deleteNetworkConnectorRequest) Deletes a network connector.deleteNetworkConnector(DeleteNetworkConnectorRequest deleteNetworkConnectorRequest) Deletes a network connector.deleteSourceUpload(Consumer<DeleteSourceUploadRequest.Builder> deleteSourceUploadRequest) Deletes a source upload.deleteSourceUpload(DeleteSourceUploadRequest deleteSourceUploadRequest) Deletes a source upload.disableAccessControl(Consumer<DisableAccessControlRequest.Builder> disableAccessControlRequest) Disables access control for an environment of a Gen 3 app.disableAccessControl(DisableAccessControlRequest disableAccessControlRequest) Disables access control for an environment of a Gen 3 app.enableAccessControl(Consumer<EnableAccessControlRequest.Builder> enableAccessControlRequest) Enables access control for an environment of a Gen 3 app so that only authorized users can access it.enableAccessControl(EnableAccessControlRequest enableAccessControlRequest) Enables access control for an environment of a Gen 3 app so that only authorized users can access it.getAccessControl(Consumer<GetAccessControlRequest.Builder> getAccessControlRequest) Retrieves the access control configuration for an environment of a Gen 3 app.getAccessControl(GetAccessControlRequest getAccessControlRequest) Retrieves the access control configuration for an environment of a Gen 3 app.default CompletableFuture<GetAliasResponse> getAlias(Consumer<GetAliasRequest.Builder> getAliasRequest) Retrieves an alias for an environment of a Gen 3 app.default CompletableFuture<GetAliasResponse> getAlias(GetAliasRequest getAliasRequest) Retrieves an alias for an environment of a Gen 3 app.default CompletableFuture<GetApiKeyResponse> getApiKey(Consumer<GetApiKeyRequest.Builder> getApiKeyRequest) Returns an API key for a branch, including the key value.default CompletableFuture<GetApiKeyResponse> getApiKey(GetApiKeyRequest getApiKeyRequest) Returns an API key for a branch, including the key value.default CompletableFuture<GetAppResponse> getApp(Consumer<GetAppRequest.Builder> getAppRequest) Retrieves a Gen 3 app.default CompletableFuture<GetAppResponse> getApp(GetAppRequest getAppRequest) Retrieves a Gen 3 app.default CompletableFuture<GetBranchResponse> getBranch(Consumer<GetBranchRequest.Builder> getBranchRequest) Returns information about a branch of an environment.default CompletableFuture<GetBranchResponse> getBranch(GetBranchRequest getBranchRequest) Returns information about a branch of an environment.default CompletableFuture<GetDeploymentResponse> getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) Retrieves a deployment for an environment of a Gen 3 app.default CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest getDeploymentRequest) Retrieves a deployment for an environment of a Gen 3 app.getDomainAssociation(Consumer<GetDomainAssociationRequest.Builder> getDomainAssociationRequest) Retrieves a domain association for a Gen 3 app.getDomainAssociation(GetDomainAssociationRequest getDomainAssociationRequest) Retrieves a domain association for a Gen 3 app.getDomainConnectUrl(Consumer<GetDomainConnectUrlRequest.Builder> getDomainConnectUrlRequest) Retrieves a signed URL you can use to configure DNS for a custom domain through a supported registrar.getDomainConnectUrl(GetDomainConnectUrlRequest getDomainConnectUrlRequest) Retrieves a signed URL you can use to configure DNS for a custom domain through a supported registrar.default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Retrieves an environment for a Gen 3 app.default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest) Retrieves an environment for a Gen 3 app.getEnvironmentsForNetworkConnector(Consumer<GetEnvironmentsForNetworkConnectorRequest.Builder> getEnvironmentsForNetworkConnectorRequest) Returns a list of the environments that have a network connector.getEnvironmentsForNetworkConnector(GetEnvironmentsForNetworkConnectorRequest getEnvironmentsForNetworkConnectorRequest) Returns a list of the environments that have a network connector.getEnvironmentsForNetworkConnectorPaginator(Consumer<GetEnvironmentsForNetworkConnectorRequest.Builder> getEnvironmentsForNetworkConnectorRequest) This is a variant ofgetEnvironmentsForNetworkConnector(software.amazon.awssdk.services.amplifygen3.model.GetEnvironmentsForNetworkConnectorRequest)operation.getEnvironmentsForNetworkConnectorPaginator(GetEnvironmentsForNetworkConnectorRequest getEnvironmentsForNetworkConnectorRequest) This is a variant ofgetEnvironmentsForNetworkConnector(software.amazon.awssdk.services.amplifygen3.model.GetEnvironmentsForNetworkConnectorRequest)operation.default CompletableFuture<GetFileResponse> getFile(Consumer<GetFileRequest.Builder> getFileRequest) Gets the contents of a file from a repository branch.default CompletableFuture<GetFileResponse> getFile(GetFileRequest getFileRequest) Gets the contents of a file from a repository branch.default CompletableFuture<GetFolderResponse> getFolder(Consumer<GetFolderRequest.Builder> getFolderRequest) Lists the files and subfolders directly inside a folder of a repository branch.default CompletableFuture<GetFolderResponse> getFolder(GetFolderRequest getFolderRequest) Lists the files and subfolders directly inside a folder of a repository branch.getIdentityProviderConfig(Consumer<GetIdentityProviderConfigRequest.Builder> getIdentityProviderConfigRequest) Retrieves the identity provider configuration for a Gen 3 app.getIdentityProviderConfig(GetIdentityProviderConfigRequest getIdentityProviderConfigRequest) Retrieves the identity provider configuration for a Gen 3 app.getIntegrationConfiguration(Consumer<GetIntegrationConfigurationRequest.Builder> getIntegrationConfigurationRequest) Retrieves an integration configuration.getIntegrationConfiguration(GetIntegrationConfigurationRequest getIntegrationConfigurationRequest) Retrieves an integration configuration.getIntegrationConnection(Consumer<GetIntegrationConnectionRequest.Builder> getIntegrationConnectionRequest) Retrieves an integration connection.getIntegrationConnection(GetIntegrationConnectionRequest getIntegrationConnectionRequest) Retrieves an integration connection.getNetworkConnector(Consumer<GetNetworkConnectorRequest.Builder> getNetworkConnectorRequest) Retrieves a network connector.getNetworkConnector(GetNetworkConnectorRequest getNetworkConnectorRequest) Retrieves a network connector.getRestoreWindow(Consumer<GetRestoreWindowRequest.Builder> getRestoreWindowRequest) Returns the point-in-time restore window for the production branch.getRestoreWindow(GetRestoreWindowRequest getRestoreWindowRequest) Returns the point-in-time restore window for the production branch.default CompletableFuture<GetSourceUploadResponse> getSourceUpload(Consumer<GetSourceUploadRequest.Builder> getSourceUploadRequest) Retrieves a source upload.default CompletableFuture<GetSourceUploadResponse> getSourceUpload(GetSourceUploadRequest getSourceUploadRequest) Retrieves a source upload.listAccessControls(Consumer<ListAccessControlsRequest.Builder> listAccessControlsRequest) Returns a list of the access control configurations for a Gen 3 app.listAccessControls(ListAccessControlsRequest listAccessControlsRequest) Returns a list of the access control configurations for a Gen 3 app.default ListAccessControlsPublisherlistAccessControlsPaginator(Consumer<ListAccessControlsRequest.Builder> listAccessControlsRequest) This is a variant oflistAccessControls(software.amazon.awssdk.services.amplifygen3.model.ListAccessControlsRequest)operation.default ListAccessControlsPublisherlistAccessControlsPaginator(ListAccessControlsRequest listAccessControlsRequest) This is a variant oflistAccessControls(software.amazon.awssdk.services.amplifygen3.model.ListAccessControlsRequest)operation.default CompletableFuture<ListAliasesResponse> listAliases(Consumer<ListAliasesRequest.Builder> listAliasesRequest) Returns a list of the aliases for an environment of a Gen 3 app.default CompletableFuture<ListAliasesResponse> listAliases(ListAliasesRequest listAliasesRequest) Returns a list of the aliases for an environment of a Gen 3 app.default ListAliasesPublisherlistAliasesPaginator(Consumer<ListAliasesRequest.Builder> listAliasesRequest) This is a variant oflistAliases(software.amazon.awssdk.services.amplifygen3.model.ListAliasesRequest)operation.default ListAliasesPublisherlistAliasesPaginator(ListAliasesRequest listAliasesRequest) This is a variant oflistAliases(software.amazon.awssdk.services.amplifygen3.model.ListAliasesRequest)operation.default CompletableFuture<ListApiKeysResponse> listApiKeys(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest) Returns a list of the API keys for a branch.default CompletableFuture<ListApiKeysResponse> listApiKeys(ListApiKeysRequest listApiKeysRequest) Returns a list of the API keys for a branch.default ListApiKeysPublisherlistApiKeysPaginator(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest) This is a variant oflistApiKeys(software.amazon.awssdk.services.amplifygen3.model.ListApiKeysRequest)operation.default ListApiKeysPublisherlistApiKeysPaginator(ListApiKeysRequest listApiKeysRequest) This is a variant oflistApiKeys(software.amazon.awssdk.services.amplifygen3.model.ListApiKeysRequest)operation.default CompletableFuture<ListAppsResponse> listApps(Consumer<ListAppsRequest.Builder> listAppsRequest) Returns a list of the existing Gen 3 apps.default CompletableFuture<ListAppsResponse> listApps(ListAppsRequest listAppsRequest) Returns a list of the existing Gen 3 apps.default ListAppsPublisherlistAppsPaginator(Consumer<ListAppsRequest.Builder> listAppsRequest) This is a variant oflistApps(software.amazon.awssdk.services.amplifygen3.model.ListAppsRequest)operation.default ListAppsPublisherlistAppsPaginator(ListAppsRequest listAppsRequest) This is a variant oflistApps(software.amazon.awssdk.services.amplifygen3.model.ListAppsRequest)operation.default CompletableFuture<ListBranchesResponse> listBranches(Consumer<ListBranchesRequest.Builder> listBranchesRequest) Returns a list of the branches for an environment.default CompletableFuture<ListBranchesResponse> listBranches(ListBranchesRequest listBranchesRequest) Returns a list of the branches for an environment.default ListBranchesPublisherlistBranchesPaginator(Consumer<ListBranchesRequest.Builder> listBranchesRequest) This is a variant oflistBranches(software.amazon.awssdk.services.amplifygen3.model.ListBranchesRequest)operation.default ListBranchesPublisherlistBranchesPaginator(ListBranchesRequest listBranchesRequest) This is a variant oflistBranches(software.amazon.awssdk.services.amplifygen3.model.ListBranchesRequest)operation.listDeploymentsForApp(Consumer<ListDeploymentsForAppRequest.Builder> listDeploymentsForAppRequest) Returns a list of the deployments for a Gen 3 app.listDeploymentsForApp(ListDeploymentsForAppRequest listDeploymentsForAppRequest) Returns a list of the deployments for a Gen 3 app.default ListDeploymentsForAppPublisherlistDeploymentsForAppPaginator(Consumer<ListDeploymentsForAppRequest.Builder> listDeploymentsForAppRequest) This is a variant oflistDeploymentsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForAppRequest)operation.default ListDeploymentsForAppPublisherlistDeploymentsForAppPaginator(ListDeploymentsForAppRequest listDeploymentsForAppRequest) This is a variant oflistDeploymentsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForAppRequest)operation.listDeploymentsForEnvironment(Consumer<ListDeploymentsForEnvironmentRequest.Builder> listDeploymentsForEnvironmentRequest) Returns a list of the deployments for an environment of a Gen 3 app.listDeploymentsForEnvironment(ListDeploymentsForEnvironmentRequest listDeploymentsForEnvironmentRequest) Returns a list of the deployments for an environment of a Gen 3 app.listDeploymentsForEnvironmentPaginator(Consumer<ListDeploymentsForEnvironmentRequest.Builder> listDeploymentsForEnvironmentRequest) This is a variant oflistDeploymentsForEnvironment(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForEnvironmentRequest)operation.listDeploymentsForEnvironmentPaginator(ListDeploymentsForEnvironmentRequest listDeploymentsForEnvironmentRequest) This is a variant oflistDeploymentsForEnvironment(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForEnvironmentRequest)operation.listDomainAssociationsForAccount(Consumer<ListDomainAssociationsForAccountRequest.Builder> listDomainAssociationsForAccountRequest) Returns a list of the domain associations for all Gen 3 apps in the account.listDomainAssociationsForAccount(ListDomainAssociationsForAccountRequest listDomainAssociationsForAccountRequest) Returns a list of the domain associations for all Gen 3 apps in the account.listDomainAssociationsForAccountPaginator(Consumer<ListDomainAssociationsForAccountRequest.Builder> listDomainAssociationsForAccountRequest) This is a variant oflistDomainAssociationsForAccount(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAccountRequest)operation.listDomainAssociationsForAccountPaginator(ListDomainAssociationsForAccountRequest listDomainAssociationsForAccountRequest) This is a variant oflistDomainAssociationsForAccount(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAccountRequest)operation.listDomainAssociationsForApp(Consumer<ListDomainAssociationsForAppRequest.Builder> listDomainAssociationsForAppRequest) Returns a list of the domain associations for a Gen 3 app.listDomainAssociationsForApp(ListDomainAssociationsForAppRequest listDomainAssociationsForAppRequest) Returns a list of the domain associations for a Gen 3 app.listDomainAssociationsForAppPaginator(Consumer<ListDomainAssociationsForAppRequest.Builder> listDomainAssociationsForAppRequest) This is a variant oflistDomainAssociationsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAppRequest)operation.listDomainAssociationsForAppPaginator(ListDomainAssociationsForAppRequest listDomainAssociationsForAppRequest) This is a variant oflistDomainAssociationsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAppRequest)operation.listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) Returns a list of the environments for a Gen 3 app.listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) Returns a list of the environments for a Gen 3 app.default ListEnvironmentsPublisherlistEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentsRequest)operation.default ListEnvironmentsPublisherlistEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentsRequest)operation.listEnvironmentVariables(Consumer<ListEnvironmentVariablesRequest.Builder> listEnvironmentVariablesRequest) Returns a list of the environment variables for an environment of a Gen 3 app.listEnvironmentVariables(ListEnvironmentVariablesRequest listEnvironmentVariablesRequest) Returns a list of the environment variables for an environment of a Gen 3 app.listEnvironmentVariablesPaginator(Consumer<ListEnvironmentVariablesRequest.Builder> listEnvironmentVariablesRequest) This is a variant oflistEnvironmentVariables(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentVariablesRequest)operation.listEnvironmentVariablesPaginator(ListEnvironmentVariablesRequest listEnvironmentVariablesRequest) This is a variant oflistEnvironmentVariables(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentVariablesRequest)operation.default CompletableFuture<ListGitBranchesResponse> listGitBranches(Consumer<ListGitBranchesRequest.Builder> listGitBranchesRequest) Lists the branches of a repository.default CompletableFuture<ListGitBranchesResponse> listGitBranches(ListGitBranchesRequest listGitBranchesRequest) Lists the branches of a repository.default ListGitBranchesPublisherlistGitBranchesPaginator(Consumer<ListGitBranchesRequest.Builder> listGitBranchesRequest) This is a variant oflistGitBranches(software.amazon.awssdk.services.amplifygen3.model.ListGitBranchesRequest)operation.default ListGitBranchesPublisherlistGitBranchesPaginator(ListGitBranchesRequest listGitBranchesRequest) This is a variant oflistGitBranches(software.amazon.awssdk.services.amplifygen3.model.ListGitBranchesRequest)operation.listGitConnections(Consumer<ListGitConnectionsRequest.Builder> listGitConnectionsRequest) Lists the GitHub and GitLab accounts that are connected to your AWS account in this Region.listGitConnections(ListGitConnectionsRequest listGitConnectionsRequest) Lists the GitHub and GitLab accounts that are connected to your AWS account in this Region.default ListGitConnectionsPublisherlistGitConnectionsPaginator(Consumer<ListGitConnectionsRequest.Builder> listGitConnectionsRequest) This is a variant oflistGitConnections(software.amazon.awssdk.services.amplifygen3.model.ListGitConnectionsRequest)operation.default ListGitConnectionsPublisherlistGitConnectionsPaginator(ListGitConnectionsRequest listGitConnectionsRequest) This is a variant oflistGitConnections(software.amazon.awssdk.services.amplifygen3.model.ListGitConnectionsRequest)operation.listIntegrationConfigurations(Consumer<ListIntegrationConfigurationsRequest.Builder> listIntegrationConfigurationsRequest) Returns a list of the integration configurations in the account.listIntegrationConfigurations(ListIntegrationConfigurationsRequest listIntegrationConfigurationsRequest) Returns a list of the integration configurations in the account.listIntegrationConfigurationsPaginator(Consumer<ListIntegrationConfigurationsRequest.Builder> listIntegrationConfigurationsRequest) This is a variant oflistIntegrationConfigurations(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConfigurationsRequest)operation.listIntegrationConfigurationsPaginator(ListIntegrationConfigurationsRequest listIntegrationConfigurationsRequest) This is a variant oflistIntegrationConfigurations(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConfigurationsRequest)operation.listIntegrationConnections(Consumer<ListIntegrationConnectionsRequest.Builder> listIntegrationConnectionsRequest) Returns a list of the integration connections.listIntegrationConnections(ListIntegrationConnectionsRequest listIntegrationConnectionsRequest) Returns a list of the integration connections.listIntegrationConnectionsPaginator(Consumer<ListIntegrationConnectionsRequest.Builder> listIntegrationConnectionsRequest) This is a variant oflistIntegrationConnections(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConnectionsRequest)operation.listIntegrationConnectionsPaginator(ListIntegrationConnectionsRequest listIntegrationConnectionsRequest) This is a variant oflistIntegrationConnections(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConnectionsRequest)operation.listIntegrationTypes(Consumer<ListIntegrationTypesRequest.Builder> listIntegrationTypesRequest) Returns a list of the available integrations.listIntegrationTypes(ListIntegrationTypesRequest listIntegrationTypesRequest) Returns a list of the available integrations.default ListIntegrationTypesPublisherlistIntegrationTypesPaginator(Consumer<ListIntegrationTypesRequest.Builder> listIntegrationTypesRequest) This is a variant oflistIntegrationTypes(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationTypesRequest)operation.default ListIntegrationTypesPublisherlistIntegrationTypesPaginator(ListIntegrationTypesRequest listIntegrationTypesRequest) This is a variant oflistIntegrationTypes(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationTypesRequest)operation.listNetworkConnectors(Consumer<ListNetworkConnectorsRequest.Builder> listNetworkConnectorsRequest) Returns a list of the network connectors.listNetworkConnectors(ListNetworkConnectorsRequest listNetworkConnectorsRequest) Returns a list of the network connectors.default ListNetworkConnectorsPublisherlistNetworkConnectorsPaginator(Consumer<ListNetworkConnectorsRequest.Builder> listNetworkConnectorsRequest) This is a variant oflistNetworkConnectors(software.amazon.awssdk.services.amplifygen3.model.ListNetworkConnectorsRequest)operation.default ListNetworkConnectorsPublisherlistNetworkConnectorsPaginator(ListNetworkConnectorsRequest listNetworkConnectorsRequest) This is a variant oflistNetworkConnectors(software.amazon.awssdk.services.amplifygen3.model.ListNetworkConnectorsRequest)operation.listPlanViolations(Consumer<ListPlanViolationsRequest.Builder> listPlanViolationsRequest) List the violations preventing an account to change flat rate plans.listPlanViolations(ListPlanViolationsRequest listPlanViolationsRequest) List the violations preventing an account to change flat rate plans.default ListPlanViolationsPublisherlistPlanViolationsPaginator(Consumer<ListPlanViolationsRequest.Builder> listPlanViolationsRequest) This is a variant oflistPlanViolations(software.amazon.awssdk.services.amplifygen3.model.ListPlanViolationsRequest)operation.default ListPlanViolationsPublisherlistPlanViolationsPaginator(ListPlanViolationsRequest listPlanViolationsRequest) This is a variant oflistPlanViolations(software.amazon.awssdk.services.amplifygen3.model.ListPlanViolationsRequest)operation.listRepositories(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest) Lists the repositories that a Git connection can access.listRepositories(ListRepositoriesRequest listRepositoriesRequest) Lists the repositories that a Git connection can access.default ListRepositoriesPublisherlistRepositoriesPaginator(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest) This is a variant oflistRepositories(software.amazon.awssdk.services.amplifygen3.model.ListRepositoriesRequest)operation.default ListRepositoriesPublisherlistRepositoriesPaginator(ListRepositoriesRequest listRepositoriesRequest) This is a variant oflistRepositories(software.amazon.awssdk.services.amplifygen3.model.ListRepositoriesRequest)operation.listSourceUploads(Consumer<ListSourceUploadsRequest.Builder> listSourceUploadsRequest) Returns a list of the source uploads in the account.listSourceUploads(ListSourceUploadsRequest listSourceUploadsRequest) Returns a list of the source uploads in the account.default ListSourceUploadsPublisherlistSourceUploadsPaginator(Consumer<ListSourceUploadsRequest.Builder> listSourceUploadsRequest) This is a variant oflistSourceUploads(software.amazon.awssdk.services.amplifygen3.model.ListSourceUploadsRequest)operation.default ListSourceUploadsPublisherlistSourceUploadsPaginator(ListSourceUploadsRequest listSourceUploadsRequest) This is a variant oflistSourceUploads(software.amazon.awssdk.services.amplifygen3.model.ListSourceUploadsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns the tags for an Amplify resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns the tags for an Amplify resource.putEnvironmentVariables(Consumer<PutEnvironmentVariablesRequest.Builder> putEnvironmentVariablesRequest) Updates environment variables for an environment of a Gen 3 app.putEnvironmentVariables(PutEnvironmentVariablesRequest putEnvironmentVariablesRequest) Updates environment variables for an environment of a Gen 3 app.putIdentityProviderConfig(Consumer<PutIdentityProviderConfigRequest.Builder> putIdentityProviderConfigRequest) Updates the identity provider configuration for a Gen 3 app.putIdentityProviderConfig(PutIdentityProviderConfigRequest putIdentityProviderConfigRequest) Updates the identity provider configuration for a Gen 3 app.default CompletableFuture<ResetCacheResponse> resetCache(Consumer<ResetCacheRequest.Builder> resetCacheRequest) Removes cached content for a deployment of an environment by cache tag.default CompletableFuture<ResetCacheResponse> resetCache(ResetCacheRequest resetCacheRequest) Removes cached content for a deployment of an environment by cache tag.default CompletableFuture<RestoreBranchResponse> restoreBranch(Consumer<RestoreBranchRequest.Builder> restoreBranchRequest) Restores the data of the production branch to a point in time in a new branch of the Production environment.default CompletableFuture<RestoreBranchResponse> restoreBranch(RestoreBranchRequest restoreBranchRequest) Restores the data of the production branch to a point in time in a new branch of the Production environment.default CompletableFuture<ResumeBackendResponse> resumeBackend(Consumer<ResumeBackendRequest.Builder> resumeBackendRequest) Resumes the paused backend of an app by restoring its database from a snapshot.default CompletableFuture<ResumeBackendResponse> resumeBackend(ResumeBackendRequest resumeBackendRequest) Resumes the paused backend of an app by restoring its database from a snapshot.default CompletableFuture<RevokeApiKeyResponse> revokeApiKey(Consumer<RevokeApiKeyRequest.Builder> revokeApiKeyRequest) Revokes an API key for a branch.default CompletableFuture<RevokeApiKeyResponse> revokeApiKey(RevokeApiKeyRequest revokeApiKeyRequest) Revokes an API key for a branch.rotateIdentityProviderSecret(Consumer<RotateIdentityProviderSecretRequest.Builder> rotateIdentityProviderSecretRequest) Rotates the client secret for the identity provider configuration of a Gen 3 app.rotateIdentityProviderSecret(RotateIdentityProviderSecretRequest rotateIdentityProviderSecretRequest) Rotates the client secret for the identity provider configuration of a Gen 3 app.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartAuthorizationFlow(Consumer<StartAuthorizationFlowRequest.Builder> startAuthorizationFlowRequest) Starts connecting a GitHub or GitLab account to your AWS account.startAuthorizationFlow(StartAuthorizationFlowRequest startAuthorizationFlowRequest) Starts connecting a GitHub or GitLab account to your AWS account.startCacheRevalidation(Consumer<StartCacheRevalidationRequest.Builder> startCacheRevalidationRequest) Revalidates cached content for a deployment of an environment by cache tag.startCacheRevalidation(StartCacheRevalidationRequest startCacheRevalidationRequest) Revalidates cached content for a deployment of an environment by cache tag.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to an Amplify resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds tags to an Amplify resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from an Amplify resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from an Amplify resource.updateAccessControl(Consumer<UpdateAccessControlRequest.Builder> updateAccessControlRequest) Updates the access control configuration for an environment of a Gen 3 app.updateAccessControl(UpdateAccessControlRequest updateAccessControlRequest) Updates the access control configuration for an environment of a Gen 3 app.updateAliasRouting(Consumer<UpdateAliasRoutingRequest.Builder> updateAliasRoutingRequest) Updates the traffic routing for an alias of an environment.updateAliasRouting(UpdateAliasRoutingRequest updateAliasRoutingRequest) Updates the traffic routing for an alias of an environment.default CompletableFuture<UpdateAppResponse> updateApp(Consumer<UpdateAppRequest.Builder> updateAppRequest) Updates a Gen 3 app.default CompletableFuture<UpdateAppResponse> updateApp(UpdateAppRequest updateAppRequest) Updates a Gen 3 app.updateDomainAssociation(Consumer<UpdateDomainAssociationRequest.Builder> updateDomainAssociationRequest) Updates a domain association for a Gen 3 app.updateDomainAssociation(UpdateDomainAssociationRequest updateDomainAssociationRequest) Updates a domain association for a Gen 3 app.updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Updates an environment for a Gen 3 app.updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) Updates an environment for a Gen 3 app.updateIntegrationConfiguration(Consumer<UpdateIntegrationConfigurationRequest.Builder> updateIntegrationConfigurationRequest) Updates an integration configuration.updateIntegrationConfiguration(UpdateIntegrationConfigurationRequest updateIntegrationConfigurationRequest) Updates an integration configuration.updateNetworkConnector(Consumer<UpdateNetworkConnectorRequest.Builder> updateNetworkConnectorRequest) Updates a network connector.updateNetworkConnector(UpdateNetworkConnectorRequest updateNetworkConnectorRequest) Updates a network connector.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
acceptForkPullRequestDeployment
default CompletableFuture<AcceptForkPullRequestDeploymentResponse> acceptForkPullRequestDeployment(AcceptForkPullRequestDeploymentRequest acceptForkPullRequestDeploymentRequest) Accepts a deployment for a specific commit from a forked-repository pull request. Each commit must be accepted before it can be deployed to a preview environment.
- Parameters:
acceptForkPullRequestDeploymentRequest-- Returns:
- A Java Future containing the result of the AcceptForkPullRequestDeployment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
acceptForkPullRequestDeployment
default CompletableFuture<AcceptForkPullRequestDeploymentResponse> acceptForkPullRequestDeployment(Consumer<AcceptForkPullRequestDeploymentRequest.Builder> acceptForkPullRequestDeploymentRequest) Accepts a deployment for a specific commit from a forked-repository pull request. Each commit must be accepted before it can be deployed to a preview environment.
This is a convenience which creates an instance of the
AcceptForkPullRequestDeploymentRequest.Builderavoiding the need to create one manually viaAcceptForkPullRequestDeploymentRequest.builder()- Parameters:
acceptForkPullRequestDeploymentRequest- AConsumerthat will call methods onAcceptForkPullRequestDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AcceptForkPullRequestDeployment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelGradualRollout
default CompletableFuture<CancelGradualRolloutResponse> cancelGradualRollout(CancelGradualRolloutRequest cancelGradualRolloutRequest) Cancels an in-progress gradual rollout for an alias of an environment and returns traffic to the previous deployment.
- Parameters:
cancelGradualRolloutRequest-- Returns:
- A Java Future containing the result of the CancelGradualRollout operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelGradualRollout
default CompletableFuture<CancelGradualRolloutResponse> cancelGradualRollout(Consumer<CancelGradualRolloutRequest.Builder> cancelGradualRolloutRequest) Cancels an in-progress gradual rollout for an alias of an environment and returns traffic to the previous deployment.
This is a convenience which creates an instance of the
CancelGradualRolloutRequest.Builderavoiding the need to create one manually viaCancelGradualRolloutRequest.builder()- Parameters:
cancelGradualRolloutRequest- AConsumerthat will call methods onCancelGradualRolloutRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelGradualRollout operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApp
Creates a new Amplify Gen 3 app.
- Parameters:
createAppRequest-- Returns:
- A Java Future containing the result of the CreateApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApp
default CompletableFuture<CreateAppResponse> createApp(Consumer<CreateAppRequest.Builder> createAppRequest) Creates a new Amplify Gen 3 app.
This is a convenience which creates an instance of the
CreateAppRequest.Builderavoiding the need to create one manually viaCreateAppRequest.builder()- Parameters:
createAppRequest- AConsumerthat will call methods onCreateAppRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDeployment
default CompletableFuture<CreateDeploymentResponse> createDeployment(CreateDeploymentRequest createDeploymentRequest) Creates a deployment for an environment of a Gen 3 app.
- Parameters:
createDeploymentRequest-- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- RoleNotAssumableException The specified IAM role cannot be assumed. Verify the role and its trust policy, and try again.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDeployment
default CompletableFuture<CreateDeploymentResponse> createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) Creates a deployment for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
CreateDeploymentRequest.Builderavoiding the need to create one manually viaCreateDeploymentRequest.builder()- Parameters:
createDeploymentRequest- AConsumerthat will call methods onCreateDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- RoleNotAssumableException The specified IAM role cannot be assumed. Verify the role and its trust policy, and try again.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDomainAssociation
default CompletableFuture<CreateDomainAssociationResponse> createDomainAssociation(CreateDomainAssociationRequest createDomainAssociationRequest) Creates a domain association that connects a custom domain to a Gen 3 app.
- Parameters:
createDomainAssociationRequest-- Returns:
- A Java Future containing the result of the CreateDomainAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDomainAssociation
default CompletableFuture<CreateDomainAssociationResponse> createDomainAssociation(Consumer<CreateDomainAssociationRequest.Builder> createDomainAssociationRequest) Creates a domain association that connects a custom domain to a Gen 3 app.
This is a convenience which creates an instance of the
CreateDomainAssociationRequest.Builderavoiding the need to create one manually viaCreateDomainAssociationRequest.builder()- Parameters:
createDomainAssociationRequest- AConsumerthat will call methods onCreateDomainAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDomainAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironment
default CompletableFuture<CreateEnvironmentResponse> createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) Creates an environment for a Gen 3 app.
- Parameters:
createEnvironmentRequest-- Returns:
- A Java Future containing the result of the CreateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironment
default CompletableFuture<CreateEnvironmentResponse> createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Creates an environment for a Gen 3 app.
This is a convenience which creates an instance of the
CreateEnvironmentRequest.Builderavoiding the need to create one manually viaCreateEnvironmentRequest.builder()- Parameters:
createEnvironmentRequest- AConsumerthat will call methods onCreateEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIntegrationConfiguration
default CompletableFuture<CreateIntegrationConfigurationResponse> createIntegrationConfiguration(CreateIntegrationConfigurationRequest createIntegrationConfigurationRequest) Creates an integration configuration that makes an external resource available to app environments. Amplify Gen 3 handles IAM permissions and credential management automatically, so there are no role assumptions in your application code.
- Parameters:
createIntegrationConfigurationRequest-- Returns:
- A Java Future containing the result of the CreateIntegrationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIntegrationConfiguration
default CompletableFuture<CreateIntegrationConfigurationResponse> createIntegrationConfiguration(Consumer<CreateIntegrationConfigurationRequest.Builder> createIntegrationConfigurationRequest) Creates an integration configuration that makes an external resource available to app environments. Amplify Gen 3 handles IAM permissions and credential management automatically, so there are no role assumptions in your application code.
This is a convenience which creates an instance of the
CreateIntegrationConfigurationRequest.Builderavoiding the need to create one manually viaCreateIntegrationConfigurationRequest.builder()- Parameters:
createIntegrationConfigurationRequest- AConsumerthat will call methods onCreateIntegrationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateIntegrationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIntegrationConnection
default CompletableFuture<CreateIntegrationConnectionResponse> createIntegrationConnection(CreateIntegrationConnectionRequest createIntegrationConnectionRequest) Creates a connection between an integration configuration and an environment.
- Parameters:
createIntegrationConnectionRequest-- Returns:
- A Java Future containing the result of the CreateIntegrationConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIntegrationConnection
default CompletableFuture<CreateIntegrationConnectionResponse> createIntegrationConnection(Consumer<CreateIntegrationConnectionRequest.Builder> createIntegrationConnectionRequest) Creates a connection between an integration configuration and an environment.
This is a convenience which creates an instance of the
CreateIntegrationConnectionRequest.Builderavoiding the need to create one manually viaCreateIntegrationConnectionRequest.builder()- Parameters:
createIntegrationConnectionRequest- AConsumerthat will call methods onCreateIntegrationConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateIntegrationConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createNetworkConnector
default CompletableFuture<CreateNetworkConnectorResponse> createNetworkConnector(CreateNetworkConnectorRequest createNetworkConnectorRequest) Creates a network connector that provides a Gen 3 app with access to a virtual private cloud (VPC).
- Parameters:
createNetworkConnectorRequest-- Returns:
- A Java Future containing the result of the CreateNetworkConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createNetworkConnector
default CompletableFuture<CreateNetworkConnectorResponse> createNetworkConnector(Consumer<CreateNetworkConnectorRequest.Builder> createNetworkConnectorRequest) Creates a network connector that provides a Gen 3 app with access to a virtual private cloud (VPC).
This is a convenience which creates an instance of the
CreateNetworkConnectorRequest.Builderavoiding the need to create one manually viaCreateNetworkConnectorRequest.builder()- Parameters:
createNetworkConnectorRequest- AConsumerthat will call methods onCreateNetworkConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateNetworkConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSourceUpload
default CompletableFuture<CreateSourceUploadResponse> createSourceUpload(CreateSourceUploadRequest createSourceUploadRequest) Creates a source upload and returns a presigned URL for uploading application source artifacts from .zip files.
- Parameters:
createSourceUploadRequest-- Returns:
- A Java Future containing the result of the CreateSourceUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSourceUpload
default CompletableFuture<CreateSourceUploadResponse> createSourceUpload(Consumer<CreateSourceUploadRequest.Builder> createSourceUploadRequest) Creates a source upload and returns a presigned URL for uploading application source artifacts from .zip files.
This is a convenience which creates an instance of the
CreateSourceUploadRequest.Builderavoiding the need to create one manually viaCreateSourceUploadRequest.builder()- Parameters:
createSourceUploadRequest- AConsumerthat will call methods onCreateSourceUploadRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateSourceUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAlias
Deletes an alias for an environment of a Gen 3 app.
- Parameters:
deleteAliasRequest-- Returns:
- A Java Future containing the result of the DeleteAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAlias
default CompletableFuture<DeleteAliasResponse> deleteAlias(Consumer<DeleteAliasRequest.Builder> deleteAliasRequest) Deletes an alias for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
DeleteAliasRequest.Builderavoiding the need to create one manually viaDeleteAliasRequest.builder()- Parameters:
deleteAliasRequest- AConsumerthat will call methods onDeleteAliasRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApp
Deletes a Gen 3 app.
- Parameters:
deleteAppRequest-- Returns:
- A Java Future containing the result of the DeleteApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApp
default CompletableFuture<DeleteAppResponse> deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest) Deletes a Gen 3 app.
This is a convenience which creates an instance of the
DeleteAppRequest.Builderavoiding the need to create one manually viaDeleteAppRequest.builder()- Parameters:
deleteAppRequest- AConsumerthat will call methods onDeleteAppRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackendFromApp
default CompletableFuture<DeleteBackendFromAppResponse> deleteBackendFromApp(DeleteBackendFromAppRequest deleteBackendFromAppRequest) Removes the backend from an app. The app remains as a frontend-only app. The request returns after the backend is detached from the app, and the backend and its branches are deleted asynchronously. This permanently deletes the backend's data. If the app has no backend, the request succeeds.
- Parameters:
deleteBackendFromAppRequest-- Returns:
- A Java Future containing the result of the DeleteBackendFromApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBackendFromApp
default CompletableFuture<DeleteBackendFromAppResponse> deleteBackendFromApp(Consumer<DeleteBackendFromAppRequest.Builder> deleteBackendFromAppRequest) Removes the backend from an app. The app remains as a frontend-only app. The request returns after the backend is detached from the app, and the backend and its branches are deleted asynchronously. This permanently deletes the backend's data. If the app has no backend, the request succeeds.
This is a convenience which creates an instance of the
DeleteBackendFromAppRequest.Builderavoiding the need to create one manually viaDeleteBackendFromAppRequest.builder()- Parameters:
deleteBackendFromAppRequest- AConsumerthat will call methods onDeleteBackendFromAppRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteBackendFromApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBranch
default CompletableFuture<DeleteBranchResponse> deleteBranch(DeleteBranchRequest deleteBranchRequest) Deletes a branch of an environment and its data. The deletion happens asynchronously. You can't delete the production branch. You can delete other branches even while deployments use them.
- Parameters:
deleteBranchRequest-- Returns:
- A Java Future containing the result of the DeleteBranch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBranch
default CompletableFuture<DeleteBranchResponse> deleteBranch(Consumer<DeleteBranchRequest.Builder> deleteBranchRequest) Deletes a branch of an environment and its data. The deletion happens asynchronously. You can't delete the production branch. You can delete other branches even while deployments use them.
This is a convenience which creates an instance of the
DeleteBranchRequest.Builderavoiding the need to create one manually viaDeleteBranchRequest.builder()- Parameters:
deleteBranchRequest- AConsumerthat will call methods onDeleteBranchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteBranch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDeployment
default CompletableFuture<DeleteDeploymentResponse> deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) Deletes a deployment for an environment of a Gen 3 app.
- Parameters:
deleteDeploymentRequest-- Returns:
- A Java Future containing the result of the DeleteDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDeployment
default CompletableFuture<DeleteDeploymentResponse> deleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) Deletes a deployment for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
DeleteDeploymentRequest.Builderavoiding the need to create one manually viaDeleteDeploymentRequest.builder()- Parameters:
deleteDeploymentRequest- AConsumerthat will call methods onDeleteDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDomainAssociation
default CompletableFuture<DeleteDomainAssociationResponse> deleteDomainAssociation(DeleteDomainAssociationRequest deleteDomainAssociationRequest) Deletes a domain association for a Gen 3 app.
- Parameters:
deleteDomainAssociationRequest-- Returns:
- A Java Future containing the result of the DeleteDomainAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDomainAssociation
default CompletableFuture<DeleteDomainAssociationResponse> deleteDomainAssociation(Consumer<DeleteDomainAssociationRequest.Builder> deleteDomainAssociationRequest) Deletes a domain association for a Gen 3 app.
This is a convenience which creates an instance of the
DeleteDomainAssociationRequest.Builderavoiding the need to create one manually viaDeleteDomainAssociationRequest.builder()- Parameters:
deleteDomainAssociationRequest- AConsumerthat will call methods onDeleteDomainAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDomainAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironment
default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) Deletes an environment for a Gen 3 app.
- Parameters:
deleteEnvironmentRequest-- Returns:
- A Java Future containing the result of the DeleteEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironment
default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Deletes an environment for a Gen 3 app.
This is a convenience which creates an instance of the
DeleteEnvironmentRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentRequest.builder()- Parameters:
deleteEnvironmentRequest- AConsumerthat will call methods onDeleteEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentVariables
default CompletableFuture<DeleteEnvironmentVariablesResponse> deleteEnvironmentVariables(DeleteEnvironmentVariablesRequest deleteEnvironmentVariablesRequest) Deletes environment variables for an environment of a Gen 3 app.
- Parameters:
deleteEnvironmentVariablesRequest-- Returns:
- A Java Future containing the result of the DeleteEnvironmentVariables operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentVariables
default CompletableFuture<DeleteEnvironmentVariablesResponse> deleteEnvironmentVariables(Consumer<DeleteEnvironmentVariablesRequest.Builder> deleteEnvironmentVariablesRequest) Deletes environment variables for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
DeleteEnvironmentVariablesRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentVariablesRequest.builder()- Parameters:
deleteEnvironmentVariablesRequest- AConsumerthat will call methods onDeleteEnvironmentVariablesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironmentVariables operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGitConnection
default CompletableFuture<DeleteGitConnectionResponse> deleteGitConnection(DeleteGitConnectionRequest deleteGitConnectionRequest) Deletes a Git connection, so that the service can no longer access repositories through it. This operation doesn't remove the app installation or authorization from your Git provider account. To remove them, use your Git provider's settings. If the connection doesn't exist, the operation succeeds and does nothing.
- Parameters:
deleteGitConnectionRequest-- Returns:
- A Java Future containing the result of the DeleteGitConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGitConnection
default CompletableFuture<DeleteGitConnectionResponse> deleteGitConnection(Consumer<DeleteGitConnectionRequest.Builder> deleteGitConnectionRequest) Deletes a Git connection, so that the service can no longer access repositories through it. This operation doesn't remove the app installation or authorization from your Git provider account. To remove them, use your Git provider's settings. If the connection doesn't exist, the operation succeeds and does nothing.
This is a convenience which creates an instance of the
DeleteGitConnectionRequest.Builderavoiding the need to create one manually viaDeleteGitConnectionRequest.builder()- Parameters:
deleteGitConnectionRequest- AConsumerthat will call methods onDeleteGitConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteGitConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIdentityProviderConfig
default CompletableFuture<DeleteIdentityProviderConfigResponse> deleteIdentityProviderConfig(DeleteIdentityProviderConfigRequest deleteIdentityProviderConfigRequest) Deletes the identity provider configuration for a Gen 3 app.
- Parameters:
deleteIdentityProviderConfigRequest-- Returns:
- A Java Future containing the result of the DeleteIdentityProviderConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIdentityProviderConfig
default CompletableFuture<DeleteIdentityProviderConfigResponse> deleteIdentityProviderConfig(Consumer<DeleteIdentityProviderConfigRequest.Builder> deleteIdentityProviderConfigRequest) Deletes the identity provider configuration for a Gen 3 app.
This is a convenience which creates an instance of the
DeleteIdentityProviderConfigRequest.Builderavoiding the need to create one manually viaDeleteIdentityProviderConfigRequest.builder()- Parameters:
deleteIdentityProviderConfigRequest- AConsumerthat will call methods onDeleteIdentityProviderConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteIdentityProviderConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIntegrationConfiguration
default CompletableFuture<DeleteIntegrationConfigurationResponse> deleteIntegrationConfiguration(DeleteIntegrationConfigurationRequest deleteIntegrationConfigurationRequest) Deletes an integration configuration.
- Parameters:
deleteIntegrationConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteIntegrationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIntegrationConfiguration
default CompletableFuture<DeleteIntegrationConfigurationResponse> deleteIntegrationConfiguration(Consumer<DeleteIntegrationConfigurationRequest.Builder> deleteIntegrationConfigurationRequest) Deletes an integration configuration.
This is a convenience which creates an instance of the
DeleteIntegrationConfigurationRequest.Builderavoiding the need to create one manually viaDeleteIntegrationConfigurationRequest.builder()- Parameters:
deleteIntegrationConfigurationRequest- AConsumerthat will call methods onDeleteIntegrationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteIntegrationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIntegrationConnection
default CompletableFuture<DeleteIntegrationConnectionResponse> deleteIntegrationConnection(DeleteIntegrationConnectionRequest deleteIntegrationConnectionRequest) Deletes an integration connection.
- Parameters:
deleteIntegrationConnectionRequest-- Returns:
- A Java Future containing the result of the DeleteIntegrationConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIntegrationConnection
default CompletableFuture<DeleteIntegrationConnectionResponse> deleteIntegrationConnection(Consumer<DeleteIntegrationConnectionRequest.Builder> deleteIntegrationConnectionRequest) Deletes an integration connection.
This is a convenience which creates an instance of the
DeleteIntegrationConnectionRequest.Builderavoiding the need to create one manually viaDeleteIntegrationConnectionRequest.builder()- Parameters:
deleteIntegrationConnectionRequest- AConsumerthat will call methods onDeleteIntegrationConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteIntegrationConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNetworkConnector
default CompletableFuture<DeleteNetworkConnectorResponse> deleteNetworkConnector(DeleteNetworkConnectorRequest deleteNetworkConnectorRequest) Deletes a network connector.
- Parameters:
deleteNetworkConnectorRequest-- Returns:
- A Java Future containing the result of the DeleteNetworkConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNetworkConnector
default CompletableFuture<DeleteNetworkConnectorResponse> deleteNetworkConnector(Consumer<DeleteNetworkConnectorRequest.Builder> deleteNetworkConnectorRequest) Deletes a network connector.
This is a convenience which creates an instance of the
DeleteNetworkConnectorRequest.Builderavoiding the need to create one manually viaDeleteNetworkConnectorRequest.builder()- Parameters:
deleteNetworkConnectorRequest- AConsumerthat will call methods onDeleteNetworkConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteNetworkConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSourceUpload
default CompletableFuture<DeleteSourceUploadResponse> deleteSourceUpload(DeleteSourceUploadRequest deleteSourceUploadRequest) Deletes a source upload.
- Parameters:
deleteSourceUploadRequest-- Returns:
- A Java Future containing the result of the DeleteSourceUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSourceUpload
default CompletableFuture<DeleteSourceUploadResponse> deleteSourceUpload(Consumer<DeleteSourceUploadRequest.Builder> deleteSourceUploadRequest) Deletes a source upload.
This is a convenience which creates an instance of the
DeleteSourceUploadRequest.Builderavoiding the need to create one manually viaDeleteSourceUploadRequest.builder()- Parameters:
deleteSourceUploadRequest- AConsumerthat will call methods onDeleteSourceUploadRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSourceUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableAccessControl
default CompletableFuture<DisableAccessControlResponse> disableAccessControl(DisableAccessControlRequest disableAccessControlRequest) Disables access control for an environment of a Gen 3 app.
- Parameters:
disableAccessControlRequest-- Returns:
- A Java Future containing the result of the DisableAccessControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableAccessControl
default CompletableFuture<DisableAccessControlResponse> disableAccessControl(Consumer<DisableAccessControlRequest.Builder> disableAccessControlRequest) Disables access control for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
DisableAccessControlRequest.Builderavoiding the need to create one manually viaDisableAccessControlRequest.builder()- Parameters:
disableAccessControlRequest- AConsumerthat will call methods onDisableAccessControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisableAccessControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableAccessControl
default CompletableFuture<EnableAccessControlResponse> enableAccessControl(EnableAccessControlRequest enableAccessControlRequest) Enables access control for an environment of a Gen 3 app so that only authorized users can access it.
- Parameters:
enableAccessControlRequest-- Returns:
- A Java Future containing the result of the EnableAccessControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableAccessControl
default CompletableFuture<EnableAccessControlResponse> enableAccessControl(Consumer<EnableAccessControlRequest.Builder> enableAccessControlRequest) Enables access control for an environment of a Gen 3 app so that only authorized users can access it.
This is a convenience which creates an instance of the
EnableAccessControlRequest.Builderavoiding the need to create one manually viaEnableAccessControlRequest.builder()- Parameters:
enableAccessControlRequest- AConsumerthat will call methods onEnableAccessControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the EnableAccessControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccessControl
default CompletableFuture<GetAccessControlResponse> getAccessControl(GetAccessControlRequest getAccessControlRequest) Retrieves the access control configuration for an environment of a Gen 3 app.
- Parameters:
getAccessControlRequest-- Returns:
- A Java Future containing the result of the GetAccessControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccessControl
default CompletableFuture<GetAccessControlResponse> getAccessControl(Consumer<GetAccessControlRequest.Builder> getAccessControlRequest) Retrieves the access control configuration for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
GetAccessControlRequest.Builderavoiding the need to create one manually viaGetAccessControlRequest.builder()- Parameters:
getAccessControlRequest- AConsumerthat will call methods onGetAccessControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAccessControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAlias
Retrieves an alias for an environment of a Gen 3 app.
- Parameters:
getAliasRequest-- Returns:
- A Java Future containing the result of the GetAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAlias
default CompletableFuture<GetAliasResponse> getAlias(Consumer<GetAliasRequest.Builder> getAliasRequest) Retrieves an alias for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
GetAliasRequest.Builderavoiding the need to create one manually viaGetAliasRequest.builder()- Parameters:
getAliasRequest- AConsumerthat will call methods onGetAliasRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApiKey
Returns an API key for a branch, including the key value. The key value is a credential. Store it securely and don't log it.
- Parameters:
getApiKeyRequest-- Returns:
- A Java Future containing the result of the GetApiKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApiKey
default CompletableFuture<GetApiKeyResponse> getApiKey(Consumer<GetApiKeyRequest.Builder> getApiKeyRequest) Returns an API key for a branch, including the key value. The key value is a credential. Store it securely and don't log it.
This is a convenience which creates an instance of the
GetApiKeyRequest.Builderavoiding the need to create one manually viaGetApiKeyRequest.builder()- Parameters:
getApiKeyRequest- AConsumerthat will call methods onGetApiKeyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetApiKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApp
Retrieves a Gen 3 app.
- Parameters:
getAppRequest-- Returns:
- A Java Future containing the result of the GetApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApp
Retrieves a Gen 3 app.
This is a convenience which creates an instance of the
GetAppRequest.Builderavoiding the need to create one manually viaGetAppRequest.builder()- Parameters:
getAppRequest- AConsumerthat will call methods onGetAppRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBranch
Returns information about a branch of an environment.
- Parameters:
getBranchRequest-- Returns:
- A Java Future containing the result of the GetBranch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBranch
default CompletableFuture<GetBranchResponse> getBranch(Consumer<GetBranchRequest.Builder> getBranchRequest) Returns information about a branch of an environment.
This is a convenience which creates an instance of the
GetBranchRequest.Builderavoiding the need to create one manually viaGetBranchRequest.builder()- Parameters:
getBranchRequest- AConsumerthat will call methods onGetBranchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetBranch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDeployment
default CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest getDeploymentRequest) Retrieves a deployment for an environment of a Gen 3 app.
- Parameters:
getDeploymentRequest-- Returns:
- A Java Future containing the result of the GetDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDeployment
default CompletableFuture<GetDeploymentResponse> getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) Retrieves a deployment for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
GetDeploymentRequest.Builderavoiding the need to create one manually viaGetDeploymentRequest.builder()- Parameters:
getDeploymentRequest- AConsumerthat will call methods onGetDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDomainAssociation
default CompletableFuture<GetDomainAssociationResponse> getDomainAssociation(GetDomainAssociationRequest getDomainAssociationRequest) Retrieves a domain association for a Gen 3 app.
- Parameters:
getDomainAssociationRequest-- Returns:
- A Java Future containing the result of the GetDomainAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDomainAssociation
default CompletableFuture<GetDomainAssociationResponse> getDomainAssociation(Consumer<GetDomainAssociationRequest.Builder> getDomainAssociationRequest) Retrieves a domain association for a Gen 3 app.
This is a convenience which creates an instance of the
GetDomainAssociationRequest.Builderavoiding the need to create one manually viaGetDomainAssociationRequest.builder()- Parameters:
getDomainAssociationRequest- AConsumerthat will call methods onGetDomainAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDomainAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDomainConnectUrl
default CompletableFuture<GetDomainConnectUrlResponse> getDomainConnectUrl(GetDomainConnectUrlRequest getDomainConnectUrlRequest) Retrieves a signed URL you can use to configure DNS for a custom domain through a supported registrar.
- Parameters:
getDomainConnectUrlRequest-- Returns:
- A Java Future containing the result of the GetDomainConnectUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDomainConnectUrl
default CompletableFuture<GetDomainConnectUrlResponse> getDomainConnectUrl(Consumer<GetDomainConnectUrlRequest.Builder> getDomainConnectUrlRequest) Retrieves a signed URL you can use to configure DNS for a custom domain through a supported registrar.
This is a convenience which creates an instance of the
GetDomainConnectUrlRequest.Builderavoiding the need to create one manually viaGetDomainConnectUrlRequest.builder()- Parameters:
getDomainConnectUrlRequest- AConsumerthat will call methods onGetDomainConnectUrlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDomainConnectUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironment
default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest) Retrieves an environment for a Gen 3 app.
- Parameters:
getEnvironmentRequest-- Returns:
- A Java Future containing the result of the GetEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironment
default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Retrieves an environment for a Gen 3 app.
This is a convenience which creates an instance of the
GetEnvironmentRequest.Builderavoiding the need to create one manually viaGetEnvironmentRequest.builder()- Parameters:
getEnvironmentRequest- AConsumerthat will call methods onGetEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentsForNetworkConnector
default CompletableFuture<GetEnvironmentsForNetworkConnectorResponse> getEnvironmentsForNetworkConnector(GetEnvironmentsForNetworkConnectorRequest getEnvironmentsForNetworkConnectorRequest) Returns a list of the environments that have a network connector.
- Parameters:
getEnvironmentsForNetworkConnectorRequest-- Returns:
- A Java Future containing the result of the GetEnvironmentsForNetworkConnector operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentsForNetworkConnector
default CompletableFuture<GetEnvironmentsForNetworkConnectorResponse> getEnvironmentsForNetworkConnector(Consumer<GetEnvironmentsForNetworkConnectorRequest.Builder> getEnvironmentsForNetworkConnectorRequest) Returns a list of the environments that have a network connector.
This is a convenience which creates an instance of the
GetEnvironmentsForNetworkConnectorRequest.Builderavoiding the need to create one manually viaGetEnvironmentsForNetworkConnectorRequest.builder()- Parameters:
getEnvironmentsForNetworkConnectorRequest- AConsumerthat will call methods onGetEnvironmentsForNetworkConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEnvironmentsForNetworkConnector operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentsForNetworkConnectorPaginator
default GetEnvironmentsForNetworkConnectorPublisher getEnvironmentsForNetworkConnectorPaginator(GetEnvironmentsForNetworkConnectorRequest getEnvironmentsForNetworkConnectorRequest) This is a variant of
getEnvironmentsForNetworkConnector(software.amazon.awssdk.services.amplifygen3.model.GetEnvironmentsForNetworkConnectorRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.GetEnvironmentsForNetworkConnectorPublisher publisher = client.getEnvironmentsForNetworkConnectorPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.GetEnvironmentsForNetworkConnectorPublisher publisher = client.getEnvironmentsForNetworkConnectorPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.GetEnvironmentsForNetworkConnectorResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.GetEnvironmentsForNetworkConnectorResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEnvironmentsForNetworkConnector(software.amazon.awssdk.services.amplifygen3.model.GetEnvironmentsForNetworkConnectorRequest)operation.- Parameters:
getEnvironmentsForNetworkConnectorRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentsForNetworkConnectorPaginator
default GetEnvironmentsForNetworkConnectorPublisher getEnvironmentsForNetworkConnectorPaginator(Consumer<GetEnvironmentsForNetworkConnectorRequest.Builder> getEnvironmentsForNetworkConnectorRequest) This is a variant of
getEnvironmentsForNetworkConnector(software.amazon.awssdk.services.amplifygen3.model.GetEnvironmentsForNetworkConnectorRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.GetEnvironmentsForNetworkConnectorPublisher publisher = client.getEnvironmentsForNetworkConnectorPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.GetEnvironmentsForNetworkConnectorPublisher publisher = client.getEnvironmentsForNetworkConnectorPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.GetEnvironmentsForNetworkConnectorResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.GetEnvironmentsForNetworkConnectorResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEnvironmentsForNetworkConnector(software.amazon.awssdk.services.amplifygen3.model.GetEnvironmentsForNetworkConnectorRequest)operation.
This is a convenience which creates an instance of the
GetEnvironmentsForNetworkConnectorRequest.Builderavoiding the need to create one manually viaGetEnvironmentsForNetworkConnectorRequest.builder()- Parameters:
getEnvironmentsForNetworkConnectorRequest- AConsumerthat will call methods onGetEnvironmentsForNetworkConnectorRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFile
Gets the contents of a file from a repository branch. Files can be up to 1 MiB. The AWS Management Console uses this operation when you create an app from a repository. To view files in detail, use your Git provider.
- Parameters:
getFileRequest-- Returns:
- A Java Future containing the result of the GetFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFile
Gets the contents of a file from a repository branch. Files can be up to 1 MiB. The AWS Management Console uses this operation when you create an app from a repository. To view files in detail, use your Git provider.
This is a convenience which creates an instance of the
GetFileRequest.Builderavoiding the need to create one manually viaGetFileRequest.builder()- Parameters:
getFileRequest- AConsumerthat will call methods onGetFileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFolder
Lists the files and subfolders directly inside a folder of a repository branch. The AWS Management Console uses this operation when you create an app from a repository. To browse a repository in detail, use your Git provider.
- Parameters:
getFolderRequest-- Returns:
- A Java Future containing the result of the GetFolder operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFolder
default CompletableFuture<GetFolderResponse> getFolder(Consumer<GetFolderRequest.Builder> getFolderRequest) Lists the files and subfolders directly inside a folder of a repository branch. The AWS Management Console uses this operation when you create an app from a repository. To browse a repository in detail, use your Git provider.
This is a convenience which creates an instance of the
GetFolderRequest.Builderavoiding the need to create one manually viaGetFolderRequest.builder()- Parameters:
getFolderRequest- AConsumerthat will call methods onGetFolderRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFolder operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIdentityProviderConfig
default CompletableFuture<GetIdentityProviderConfigResponse> getIdentityProviderConfig(GetIdentityProviderConfigRequest getIdentityProviderConfigRequest) Retrieves the identity provider configuration for a Gen 3 app.
- Parameters:
getIdentityProviderConfigRequest-- Returns:
- A Java Future containing the result of the GetIdentityProviderConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIdentityProviderConfig
default CompletableFuture<GetIdentityProviderConfigResponse> getIdentityProviderConfig(Consumer<GetIdentityProviderConfigRequest.Builder> getIdentityProviderConfigRequest) Retrieves the identity provider configuration for a Gen 3 app.
This is a convenience which creates an instance of the
GetIdentityProviderConfigRequest.Builderavoiding the need to create one manually viaGetIdentityProviderConfigRequest.builder()- Parameters:
getIdentityProviderConfigRequest- AConsumerthat will call methods onGetIdentityProviderConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetIdentityProviderConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIntegrationConfiguration
default CompletableFuture<GetIntegrationConfigurationResponse> getIntegrationConfiguration(GetIntegrationConfigurationRequest getIntegrationConfigurationRequest) Retrieves an integration configuration.
- Parameters:
getIntegrationConfigurationRequest-- Returns:
- A Java Future containing the result of the GetIntegrationConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIntegrationConfiguration
default CompletableFuture<GetIntegrationConfigurationResponse> getIntegrationConfiguration(Consumer<GetIntegrationConfigurationRequest.Builder> getIntegrationConfigurationRequest) Retrieves an integration configuration.
This is a convenience which creates an instance of the
GetIntegrationConfigurationRequest.Builderavoiding the need to create one manually viaGetIntegrationConfigurationRequest.builder()- Parameters:
getIntegrationConfigurationRequest- AConsumerthat will call methods onGetIntegrationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetIntegrationConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIntegrationConnection
default CompletableFuture<GetIntegrationConnectionResponse> getIntegrationConnection(GetIntegrationConnectionRequest getIntegrationConnectionRequest) Retrieves an integration connection.
- Parameters:
getIntegrationConnectionRequest-- Returns:
- A Java Future containing the result of the GetIntegrationConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIntegrationConnection
default CompletableFuture<GetIntegrationConnectionResponse> getIntegrationConnection(Consumer<GetIntegrationConnectionRequest.Builder> getIntegrationConnectionRequest) Retrieves an integration connection.
This is a convenience which creates an instance of the
GetIntegrationConnectionRequest.Builderavoiding the need to create one manually viaGetIntegrationConnectionRequest.builder()- Parameters:
getIntegrationConnectionRequest- AConsumerthat will call methods onGetIntegrationConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetIntegrationConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNetworkConnector
default CompletableFuture<GetNetworkConnectorResponse> getNetworkConnector(GetNetworkConnectorRequest getNetworkConnectorRequest) Retrieves a network connector.
- Parameters:
getNetworkConnectorRequest-- Returns:
- A Java Future containing the result of the GetNetworkConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNetworkConnector
default CompletableFuture<GetNetworkConnectorResponse> getNetworkConnector(Consumer<GetNetworkConnectorRequest.Builder> getNetworkConnectorRequest) Retrieves a network connector.
This is a convenience which creates an instance of the
GetNetworkConnectorRequest.Builderavoiding the need to create one manually viaGetNetworkConnectorRequest.builder()- Parameters:
getNetworkConnectorRequest- AConsumerthat will call methods onGetNetworkConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetNetworkConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRestoreWindow
default CompletableFuture<GetRestoreWindowResponse> getRestoreWindow(GetRestoreWindowRequest getRestoreWindowRequest) Returns the point-in-time restore window for the production branch. The window is the range of times that you can specify in a RestoreBranch request. The latest restorable time advances continuously. If no restore window is available yet, for example because the production branch has no completed deployment, the response omits both times.
- Parameters:
getRestoreWindowRequest-- Returns:
- A Java Future containing the result of the GetRestoreWindow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRestoreWindow
default CompletableFuture<GetRestoreWindowResponse> getRestoreWindow(Consumer<GetRestoreWindowRequest.Builder> getRestoreWindowRequest) Returns the point-in-time restore window for the production branch. The window is the range of times that you can specify in a RestoreBranch request. The latest restorable time advances continuously. If no restore window is available yet, for example because the production branch has no completed deployment, the response omits both times.
This is a convenience which creates an instance of the
GetRestoreWindowRequest.Builderavoiding the need to create one manually viaGetRestoreWindowRequest.builder()- Parameters:
getRestoreWindowRequest- AConsumerthat will call methods onGetRestoreWindowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetRestoreWindow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSourceUpload
default CompletableFuture<GetSourceUploadResponse> getSourceUpload(GetSourceUploadRequest getSourceUploadRequest) Retrieves a source upload.
- Parameters:
getSourceUploadRequest-- Returns:
- A Java Future containing the result of the GetSourceUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSourceUpload
default CompletableFuture<GetSourceUploadResponse> getSourceUpload(Consumer<GetSourceUploadRequest.Builder> getSourceUploadRequest) Retrieves a source upload.
This is a convenience which creates an instance of the
GetSourceUploadRequest.Builderavoiding the need to create one manually viaGetSourceUploadRequest.builder()- Parameters:
getSourceUploadRequest- AConsumerthat will call methods onGetSourceUploadRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSourceUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessControls
default CompletableFuture<ListAccessControlsResponse> listAccessControls(ListAccessControlsRequest listAccessControlsRequest) Returns a list of the access control configurations for a Gen 3 app.
- Parameters:
listAccessControlsRequest-- Returns:
- A Java Future containing the result of the ListAccessControls operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessControls
default CompletableFuture<ListAccessControlsResponse> listAccessControls(Consumer<ListAccessControlsRequest.Builder> listAccessControlsRequest) Returns a list of the access control configurations for a Gen 3 app.
This is a convenience which creates an instance of the
ListAccessControlsRequest.Builderavoiding the need to create one manually viaListAccessControlsRequest.builder()- Parameters:
listAccessControlsRequest- AConsumerthat will call methods onListAccessControlsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAccessControls operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessControlsPaginator
default ListAccessControlsPublisher listAccessControlsPaginator(ListAccessControlsRequest listAccessControlsRequest) This is a variant of
listAccessControls(software.amazon.awssdk.services.amplifygen3.model.ListAccessControlsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListAccessControlsPublisher publisher = client.listAccessControlsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListAccessControlsPublisher publisher = client.listAccessControlsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListAccessControlsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListAccessControlsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessControls(software.amazon.awssdk.services.amplifygen3.model.ListAccessControlsRequest)operation.- Parameters:
listAccessControlsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessControlsPaginator
default ListAccessControlsPublisher listAccessControlsPaginator(Consumer<ListAccessControlsRequest.Builder> listAccessControlsRequest) This is a variant of
listAccessControls(software.amazon.awssdk.services.amplifygen3.model.ListAccessControlsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListAccessControlsPublisher publisher = client.listAccessControlsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListAccessControlsPublisher publisher = client.listAccessControlsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListAccessControlsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListAccessControlsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessControls(software.amazon.awssdk.services.amplifygen3.model.ListAccessControlsRequest)operation.
This is a convenience which creates an instance of the
ListAccessControlsRequest.Builderavoiding the need to create one manually viaListAccessControlsRequest.builder()- Parameters:
listAccessControlsRequest- AConsumerthat will call methods onListAccessControlsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAliases
Returns a list of the aliases for an environment of a Gen 3 app.
- Parameters:
listAliasesRequest-- Returns:
- A Java Future containing the result of the ListAliases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAliases
default CompletableFuture<ListAliasesResponse> listAliases(Consumer<ListAliasesRequest.Builder> listAliasesRequest) Returns a list of the aliases for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
ListAliasesRequest.Builderavoiding the need to create one manually viaListAliasesRequest.builder()- Parameters:
listAliasesRequest- AConsumerthat will call methods onListAliasesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAliases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAliasesPaginator
This is a variant of
listAliases(software.amazon.awssdk.services.amplifygen3.model.ListAliasesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListAliasesPublisher publisher = client.listAliasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListAliasesPublisher publisher = client.listAliasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListAliasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListAliasesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAliases(software.amazon.awssdk.services.amplifygen3.model.ListAliasesRequest)operation.- Parameters:
listAliasesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAliasesPaginator
default ListAliasesPublisher listAliasesPaginator(Consumer<ListAliasesRequest.Builder> listAliasesRequest) This is a variant of
listAliases(software.amazon.awssdk.services.amplifygen3.model.ListAliasesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListAliasesPublisher publisher = client.listAliasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListAliasesPublisher publisher = client.listAliasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListAliasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListAliasesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAliases(software.amazon.awssdk.services.amplifygen3.model.ListAliasesRequest)operation.
This is a convenience which creates an instance of the
ListAliasesRequest.Builderavoiding the need to create one manually viaListAliasesRequest.builder()- Parameters:
listAliasesRequest- AConsumerthat will call methods onListAliasesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApiKeys
Returns a list of the API keys for a branch. The response includes only the metadata for each key, not the key value. To get the value of a key, use GetApiKey.
- Parameters:
listApiKeysRequest-- Returns:
- A Java Future containing the result of the ListApiKeys operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApiKeys
default CompletableFuture<ListApiKeysResponse> listApiKeys(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest) Returns a list of the API keys for a branch. The response includes only the metadata for each key, not the key value. To get the value of a key, use GetApiKey.
This is a convenience which creates an instance of the
ListApiKeysRequest.Builderavoiding the need to create one manually viaListApiKeysRequest.builder()- Parameters:
listApiKeysRequest- AConsumerthat will call methods onListApiKeysRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListApiKeys operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApiKeysPaginator
This is a variant of
listApiKeys(software.amazon.awssdk.services.amplifygen3.model.ListApiKeysRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListApiKeysPublisher publisher = client.listApiKeysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListApiKeysPublisher publisher = client.listApiKeysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListApiKeysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListApiKeysResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApiKeys(software.amazon.awssdk.services.amplifygen3.model.ListApiKeysRequest)operation.- Parameters:
listApiKeysRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApiKeysPaginator
default ListApiKeysPublisher listApiKeysPaginator(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest) This is a variant of
listApiKeys(software.amazon.awssdk.services.amplifygen3.model.ListApiKeysRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListApiKeysPublisher publisher = client.listApiKeysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListApiKeysPublisher publisher = client.listApiKeysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListApiKeysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListApiKeysResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApiKeys(software.amazon.awssdk.services.amplifygen3.model.ListApiKeysRequest)operation.
This is a convenience which creates an instance of the
ListApiKeysRequest.Builderavoiding the need to create one manually viaListApiKeysRequest.builder()- Parameters:
listApiKeysRequest- AConsumerthat will call methods onListApiKeysRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApps
Returns a list of the existing Gen 3 apps.
- Parameters:
listAppsRequest-- Returns:
- A Java Future containing the result of the ListApps operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApps
default CompletableFuture<ListAppsResponse> listApps(Consumer<ListAppsRequest.Builder> listAppsRequest) Returns a list of the existing Gen 3 apps.
This is a convenience which creates an instance of the
ListAppsRequest.Builderavoiding the need to create one manually viaListAppsRequest.builder()- Parameters:
listAppsRequest- AConsumerthat will call methods onListAppsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListApps operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppsPaginator
This is a variant of
listApps(software.amazon.awssdk.services.amplifygen3.model.ListAppsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListAppsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListAppsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApps(software.amazon.awssdk.services.amplifygen3.model.ListAppsRequest)operation.- Parameters:
listAppsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppsPaginator
This is a variant of
listApps(software.amazon.awssdk.services.amplifygen3.model.ListAppsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListAppsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListAppsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApps(software.amazon.awssdk.services.amplifygen3.model.ListAppsRequest)operation.
This is a convenience which creates an instance of the
ListAppsRequest.Builderavoiding the need to create one manually viaListAppsRequest.builder()- Parameters:
listAppsRequest- AConsumerthat will call methods onListAppsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBranches
default CompletableFuture<ListBranchesResponse> listBranches(ListBranchesRequest listBranchesRequest) Returns a list of the branches for an environment.
- Parameters:
listBranchesRequest-- Returns:
- A Java Future containing the result of the ListBranches operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBranches
default CompletableFuture<ListBranchesResponse> listBranches(Consumer<ListBranchesRequest.Builder> listBranchesRequest) Returns a list of the branches for an environment.
This is a convenience which creates an instance of the
ListBranchesRequest.Builderavoiding the need to create one manually viaListBranchesRequest.builder()- Parameters:
listBranchesRequest- AConsumerthat will call methods onListBranchesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBranches operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBranchesPaginator
This is a variant of
listBranches(software.amazon.awssdk.services.amplifygen3.model.ListBranchesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListBranchesPublisher publisher = client.listBranchesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListBranchesPublisher publisher = client.listBranchesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListBranchesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListBranchesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBranches(software.amazon.awssdk.services.amplifygen3.model.ListBranchesRequest)operation.- Parameters:
listBranchesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBranchesPaginator
default ListBranchesPublisher listBranchesPaginator(Consumer<ListBranchesRequest.Builder> listBranchesRequest) This is a variant of
listBranches(software.amazon.awssdk.services.amplifygen3.model.ListBranchesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListBranchesPublisher publisher = client.listBranchesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListBranchesPublisher publisher = client.listBranchesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListBranchesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListBranchesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBranches(software.amazon.awssdk.services.amplifygen3.model.ListBranchesRequest)operation.
This is a convenience which creates an instance of the
ListBranchesRequest.Builderavoiding the need to create one manually viaListBranchesRequest.builder()- Parameters:
listBranchesRequest- AConsumerthat will call methods onListBranchesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeploymentsForApp
default CompletableFuture<ListDeploymentsForAppResponse> listDeploymentsForApp(ListDeploymentsForAppRequest listDeploymentsForAppRequest) Returns a list of the deployments for a Gen 3 app.
- Parameters:
listDeploymentsForAppRequest-- Returns:
- A Java Future containing the result of the ListDeploymentsForApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeploymentsForApp
default CompletableFuture<ListDeploymentsForAppResponse> listDeploymentsForApp(Consumer<ListDeploymentsForAppRequest.Builder> listDeploymentsForAppRequest) Returns a list of the deployments for a Gen 3 app.
This is a convenience which creates an instance of the
ListDeploymentsForAppRequest.Builderavoiding the need to create one manually viaListDeploymentsForAppRequest.builder()- Parameters:
listDeploymentsForAppRequest- AConsumerthat will call methods onListDeploymentsForAppRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDeploymentsForApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeploymentsForAppPaginator
default ListDeploymentsForAppPublisher listDeploymentsForAppPaginator(ListDeploymentsForAppRequest listDeploymentsForAppRequest) This is a variant of
listDeploymentsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForAppRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListDeploymentsForAppPublisher publisher = client.listDeploymentsForAppPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListDeploymentsForAppPublisher publisher = client.listDeploymentsForAppPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForAppResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForAppResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDeploymentsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForAppRequest)operation.- Parameters:
listDeploymentsForAppRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeploymentsForAppPaginator
default ListDeploymentsForAppPublisher listDeploymentsForAppPaginator(Consumer<ListDeploymentsForAppRequest.Builder> listDeploymentsForAppRequest) This is a variant of
listDeploymentsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForAppRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListDeploymentsForAppPublisher publisher = client.listDeploymentsForAppPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListDeploymentsForAppPublisher publisher = client.listDeploymentsForAppPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForAppResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForAppResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDeploymentsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForAppRequest)operation.
This is a convenience which creates an instance of the
ListDeploymentsForAppRequest.Builderavoiding the need to create one manually viaListDeploymentsForAppRequest.builder()- Parameters:
listDeploymentsForAppRequest- AConsumerthat will call methods onListDeploymentsForAppRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeploymentsForEnvironment
default CompletableFuture<ListDeploymentsForEnvironmentResponse> listDeploymentsForEnvironment(ListDeploymentsForEnvironmentRequest listDeploymentsForEnvironmentRequest) Returns a list of the deployments for an environment of a Gen 3 app.
- Parameters:
listDeploymentsForEnvironmentRequest-- Returns:
- A Java Future containing the result of the ListDeploymentsForEnvironment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeploymentsForEnvironment
default CompletableFuture<ListDeploymentsForEnvironmentResponse> listDeploymentsForEnvironment(Consumer<ListDeploymentsForEnvironmentRequest.Builder> listDeploymentsForEnvironmentRequest) Returns a list of the deployments for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
ListDeploymentsForEnvironmentRequest.Builderavoiding the need to create one manually viaListDeploymentsForEnvironmentRequest.builder()- Parameters:
listDeploymentsForEnvironmentRequest- AConsumerthat will call methods onListDeploymentsForEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDeploymentsForEnvironment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeploymentsForEnvironmentPaginator
default ListDeploymentsForEnvironmentPublisher listDeploymentsForEnvironmentPaginator(ListDeploymentsForEnvironmentRequest listDeploymentsForEnvironmentRequest) This is a variant of
listDeploymentsForEnvironment(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForEnvironmentRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListDeploymentsForEnvironmentPublisher publisher = client.listDeploymentsForEnvironmentPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListDeploymentsForEnvironmentPublisher publisher = client.listDeploymentsForEnvironmentPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForEnvironmentResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForEnvironmentResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDeploymentsForEnvironment(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForEnvironmentRequest)operation.- Parameters:
listDeploymentsForEnvironmentRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeploymentsForEnvironmentPaginator
default ListDeploymentsForEnvironmentPublisher listDeploymentsForEnvironmentPaginator(Consumer<ListDeploymentsForEnvironmentRequest.Builder> listDeploymentsForEnvironmentRequest) This is a variant of
listDeploymentsForEnvironment(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForEnvironmentRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListDeploymentsForEnvironmentPublisher publisher = client.listDeploymentsForEnvironmentPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListDeploymentsForEnvironmentPublisher publisher = client.listDeploymentsForEnvironmentPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForEnvironmentResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForEnvironmentResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDeploymentsForEnvironment(software.amazon.awssdk.services.amplifygen3.model.ListDeploymentsForEnvironmentRequest)operation.
This is a convenience which creates an instance of the
ListDeploymentsForEnvironmentRequest.Builderavoiding the need to create one manually viaListDeploymentsForEnvironmentRequest.builder()- Parameters:
listDeploymentsForEnvironmentRequest- AConsumerthat will call methods onListDeploymentsForEnvironmentRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomainAssociationsForAccount
default CompletableFuture<ListDomainAssociationsForAccountResponse> listDomainAssociationsForAccount(ListDomainAssociationsForAccountRequest listDomainAssociationsForAccountRequest) Returns a list of the domain associations for all Gen 3 apps in the account.
- Parameters:
listDomainAssociationsForAccountRequest-- Returns:
- A Java Future containing the result of the ListDomainAssociationsForAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomainAssociationsForAccount
default CompletableFuture<ListDomainAssociationsForAccountResponse> listDomainAssociationsForAccount(Consumer<ListDomainAssociationsForAccountRequest.Builder> listDomainAssociationsForAccountRequest) Returns a list of the domain associations for all Gen 3 apps in the account.
This is a convenience which creates an instance of the
ListDomainAssociationsForAccountRequest.Builderavoiding the need to create one manually viaListDomainAssociationsForAccountRequest.builder()- Parameters:
listDomainAssociationsForAccountRequest- AConsumerthat will call methods onListDomainAssociationsForAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDomainAssociationsForAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomainAssociationsForAccountPaginator
default ListDomainAssociationsForAccountPublisher listDomainAssociationsForAccountPaginator(ListDomainAssociationsForAccountRequest listDomainAssociationsForAccountRequest) This is a variant of
listDomainAssociationsForAccount(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAccountRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListDomainAssociationsForAccountPublisher publisher = client.listDomainAssociationsForAccountPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListDomainAssociationsForAccountPublisher publisher = client.listDomainAssociationsForAccountPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAccountResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAccountResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainAssociationsForAccount(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAccountRequest)operation.- Parameters:
listDomainAssociationsForAccountRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomainAssociationsForAccountPaginator
default ListDomainAssociationsForAccountPublisher listDomainAssociationsForAccountPaginator(Consumer<ListDomainAssociationsForAccountRequest.Builder> listDomainAssociationsForAccountRequest) This is a variant of
listDomainAssociationsForAccount(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAccountRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListDomainAssociationsForAccountPublisher publisher = client.listDomainAssociationsForAccountPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListDomainAssociationsForAccountPublisher publisher = client.listDomainAssociationsForAccountPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAccountResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAccountResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainAssociationsForAccount(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAccountRequest)operation.
This is a convenience which creates an instance of the
ListDomainAssociationsForAccountRequest.Builderavoiding the need to create one manually viaListDomainAssociationsForAccountRequest.builder()- Parameters:
listDomainAssociationsForAccountRequest- AConsumerthat will call methods onListDomainAssociationsForAccountRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomainAssociationsForApp
default CompletableFuture<ListDomainAssociationsForAppResponse> listDomainAssociationsForApp(ListDomainAssociationsForAppRequest listDomainAssociationsForAppRequest) Returns a list of the domain associations for a Gen 3 app.
- Parameters:
listDomainAssociationsForAppRequest-- Returns:
- A Java Future containing the result of the ListDomainAssociationsForApp operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomainAssociationsForApp
default CompletableFuture<ListDomainAssociationsForAppResponse> listDomainAssociationsForApp(Consumer<ListDomainAssociationsForAppRequest.Builder> listDomainAssociationsForAppRequest) Returns a list of the domain associations for a Gen 3 app.
This is a convenience which creates an instance of the
ListDomainAssociationsForAppRequest.Builderavoiding the need to create one manually viaListDomainAssociationsForAppRequest.builder()- Parameters:
listDomainAssociationsForAppRequest- AConsumerthat will call methods onListDomainAssociationsForAppRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDomainAssociationsForApp operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomainAssociationsForAppPaginator
default ListDomainAssociationsForAppPublisher listDomainAssociationsForAppPaginator(ListDomainAssociationsForAppRequest listDomainAssociationsForAppRequest) This is a variant of
listDomainAssociationsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAppRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListDomainAssociationsForAppPublisher publisher = client.listDomainAssociationsForAppPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListDomainAssociationsForAppPublisher publisher = client.listDomainAssociationsForAppPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAppResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAppResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainAssociationsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAppRequest)operation.- Parameters:
listDomainAssociationsForAppRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomainAssociationsForAppPaginator
default ListDomainAssociationsForAppPublisher listDomainAssociationsForAppPaginator(Consumer<ListDomainAssociationsForAppRequest.Builder> listDomainAssociationsForAppRequest) This is a variant of
listDomainAssociationsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAppRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListDomainAssociationsForAppPublisher publisher = client.listDomainAssociationsForAppPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListDomainAssociationsForAppPublisher publisher = client.listDomainAssociationsForAppPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAppResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAppResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainAssociationsForApp(software.amazon.awssdk.services.amplifygen3.model.ListDomainAssociationsForAppRequest)operation.
This is a convenience which creates an instance of the
ListDomainAssociationsForAppRequest.Builderavoiding the need to create one manually viaListDomainAssociationsForAppRequest.builder()- Parameters:
listDomainAssociationsForAppRequest- AConsumerthat will call methods onListDomainAssociationsForAppRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentVariables
default CompletableFuture<ListEnvironmentVariablesResponse> listEnvironmentVariables(ListEnvironmentVariablesRequest listEnvironmentVariablesRequest) Returns a list of the environment variables for an environment of a Gen 3 app.
- Parameters:
listEnvironmentVariablesRequest-- Returns:
- A Java Future containing the result of the ListEnvironmentVariables operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentVariables
default CompletableFuture<ListEnvironmentVariablesResponse> listEnvironmentVariables(Consumer<ListEnvironmentVariablesRequest.Builder> listEnvironmentVariablesRequest) Returns a list of the environment variables for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
ListEnvironmentVariablesRequest.Builderavoiding the need to create one manually viaListEnvironmentVariablesRequest.builder()- Parameters:
listEnvironmentVariablesRequest- AConsumerthat will call methods onListEnvironmentVariablesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentVariables operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentVariablesPaginator
default ListEnvironmentVariablesPublisher listEnvironmentVariablesPaginator(ListEnvironmentVariablesRequest listEnvironmentVariablesRequest) This is a variant of
listEnvironmentVariables(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentVariablesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListEnvironmentVariablesPublisher publisher = client.listEnvironmentVariablesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListEnvironmentVariablesPublisher publisher = client.listEnvironmentVariablesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentVariablesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentVariablesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironmentVariables(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentVariablesRequest)operation.- Parameters:
listEnvironmentVariablesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentVariablesPaginator
default ListEnvironmentVariablesPublisher listEnvironmentVariablesPaginator(Consumer<ListEnvironmentVariablesRequest.Builder> listEnvironmentVariablesRequest) This is a variant of
listEnvironmentVariables(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentVariablesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListEnvironmentVariablesPublisher publisher = client.listEnvironmentVariablesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListEnvironmentVariablesPublisher publisher = client.listEnvironmentVariablesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentVariablesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentVariablesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironmentVariables(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentVariablesRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentVariablesRequest.Builderavoiding the need to create one manually viaListEnvironmentVariablesRequest.builder()- Parameters:
listEnvironmentVariablesRequest- AConsumerthat will call methods onListEnvironmentVariablesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironments
default CompletableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) Returns a list of the environments for a Gen 3 app.
- Parameters:
listEnvironmentsRequest-- Returns:
- A Java Future containing the result of the ListEnvironments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironments
default CompletableFuture<ListEnvironmentsResponse> listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) Returns a list of the environments for a Gen 3 app.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsPublisher listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant of
listEnvironments(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironments(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentsRequest)operation.- Parameters:
listEnvironmentsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsPublisher listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant of
listEnvironments(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironments(software.amazon.awssdk.services.amplifygen3.model.ListEnvironmentsRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGitBranches
default CompletableFuture<ListGitBranchesResponse> listGitBranches(ListGitBranchesRequest listGitBranchesRequest) Lists the branches of a repository. The AWS Management Console uses this operation to show the branches that you can choose from when you create an app.
- Parameters:
listGitBranchesRequest-- Returns:
- A Java Future containing the result of the ListGitBranches operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGitBranches
default CompletableFuture<ListGitBranchesResponse> listGitBranches(Consumer<ListGitBranchesRequest.Builder> listGitBranchesRequest) Lists the branches of a repository. The AWS Management Console uses this operation to show the branches that you can choose from when you create an app.
This is a convenience which creates an instance of the
ListGitBranchesRequest.Builderavoiding the need to create one manually viaListGitBranchesRequest.builder()- Parameters:
listGitBranchesRequest- AConsumerthat will call methods onListGitBranchesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListGitBranches operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGitBranchesPaginator
default ListGitBranchesPublisher listGitBranchesPaginator(ListGitBranchesRequest listGitBranchesRequest) This is a variant of
listGitBranches(software.amazon.awssdk.services.amplifygen3.model.ListGitBranchesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListGitBranchesPublisher publisher = client.listGitBranchesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListGitBranchesPublisher publisher = client.listGitBranchesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListGitBranchesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListGitBranchesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGitBranches(software.amazon.awssdk.services.amplifygen3.model.ListGitBranchesRequest)operation.- Parameters:
listGitBranchesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGitBranchesPaginator
default ListGitBranchesPublisher listGitBranchesPaginator(Consumer<ListGitBranchesRequest.Builder> listGitBranchesRequest) This is a variant of
listGitBranches(software.amazon.awssdk.services.amplifygen3.model.ListGitBranchesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListGitBranchesPublisher publisher = client.listGitBranchesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListGitBranchesPublisher publisher = client.listGitBranchesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListGitBranchesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListGitBranchesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGitBranches(software.amazon.awssdk.services.amplifygen3.model.ListGitBranchesRequest)operation.
This is a convenience which creates an instance of the
ListGitBranchesRequest.Builderavoiding the need to create one manually viaListGitBranchesRequest.builder()- Parameters:
listGitBranchesRequest- AConsumerthat will call methods onListGitBranchesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGitConnections
default CompletableFuture<ListGitConnectionsResponse> listGitConnections(ListGitConnectionsRequest listGitConnectionsRequest) Lists the GitHub and GitLab accounts that are connected to your AWS account in this Region.
- Parameters:
listGitConnectionsRequest-- Returns:
- A Java Future containing the result of the ListGitConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGitConnections
default CompletableFuture<ListGitConnectionsResponse> listGitConnections(Consumer<ListGitConnectionsRequest.Builder> listGitConnectionsRequest) Lists the GitHub and GitLab accounts that are connected to your AWS account in this Region.
This is a convenience which creates an instance of the
ListGitConnectionsRequest.Builderavoiding the need to create one manually viaListGitConnectionsRequest.builder()- Parameters:
listGitConnectionsRequest- AConsumerthat will call methods onListGitConnectionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListGitConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGitConnectionsPaginator
default ListGitConnectionsPublisher listGitConnectionsPaginator(ListGitConnectionsRequest listGitConnectionsRequest) This is a variant of
listGitConnections(software.amazon.awssdk.services.amplifygen3.model.ListGitConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListGitConnectionsPublisher publisher = client.listGitConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListGitConnectionsPublisher publisher = client.listGitConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListGitConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListGitConnectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGitConnections(software.amazon.awssdk.services.amplifygen3.model.ListGitConnectionsRequest)operation.- Parameters:
listGitConnectionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGitConnectionsPaginator
default ListGitConnectionsPublisher listGitConnectionsPaginator(Consumer<ListGitConnectionsRequest.Builder> listGitConnectionsRequest) This is a variant of
listGitConnections(software.amazon.awssdk.services.amplifygen3.model.ListGitConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListGitConnectionsPublisher publisher = client.listGitConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListGitConnectionsPublisher publisher = client.listGitConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListGitConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListGitConnectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGitConnections(software.amazon.awssdk.services.amplifygen3.model.ListGitConnectionsRequest)operation.
This is a convenience which creates an instance of the
ListGitConnectionsRequest.Builderavoiding the need to create one manually viaListGitConnectionsRequest.builder()- Parameters:
listGitConnectionsRequest- AConsumerthat will call methods onListGitConnectionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationConfigurations
default CompletableFuture<ListIntegrationConfigurationsResponse> listIntegrationConfigurations(ListIntegrationConfigurationsRequest listIntegrationConfigurationsRequest) Returns a list of the integration configurations in the account.
- Parameters:
listIntegrationConfigurationsRequest-- Returns:
- A Java Future containing the result of the ListIntegrationConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationConfigurations
default CompletableFuture<ListIntegrationConfigurationsResponse> listIntegrationConfigurations(Consumer<ListIntegrationConfigurationsRequest.Builder> listIntegrationConfigurationsRequest) Returns a list of the integration configurations in the account.
This is a convenience which creates an instance of the
ListIntegrationConfigurationsRequest.Builderavoiding the need to create one manually viaListIntegrationConfigurationsRequest.builder()- Parameters:
listIntegrationConfigurationsRequest- AConsumerthat will call methods onListIntegrationConfigurationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListIntegrationConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationConfigurationsPaginator
default ListIntegrationConfigurationsPublisher listIntegrationConfigurationsPaginator(ListIntegrationConfigurationsRequest listIntegrationConfigurationsRequest) This is a variant of
listIntegrationConfigurations(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationConfigurationsPublisher publisher = client.listIntegrationConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationConfigurationsPublisher publisher = client.listIntegrationConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConfigurationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrationConfigurations(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConfigurationsRequest)operation.- Parameters:
listIntegrationConfigurationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationConfigurationsPaginator
default ListIntegrationConfigurationsPublisher listIntegrationConfigurationsPaginator(Consumer<ListIntegrationConfigurationsRequest.Builder> listIntegrationConfigurationsRequest) This is a variant of
listIntegrationConfigurations(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationConfigurationsPublisher publisher = client.listIntegrationConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationConfigurationsPublisher publisher = client.listIntegrationConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConfigurationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrationConfigurations(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListIntegrationConfigurationsRequest.Builderavoiding the need to create one manually viaListIntegrationConfigurationsRequest.builder()- Parameters:
listIntegrationConfigurationsRequest- AConsumerthat will call methods onListIntegrationConfigurationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationConnections
default CompletableFuture<ListIntegrationConnectionsResponse> listIntegrationConnections(ListIntegrationConnectionsRequest listIntegrationConnectionsRequest) Returns a list of the integration connections.
- Parameters:
listIntegrationConnectionsRequest-- Returns:
- A Java Future containing the result of the ListIntegrationConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationConnections
default CompletableFuture<ListIntegrationConnectionsResponse> listIntegrationConnections(Consumer<ListIntegrationConnectionsRequest.Builder> listIntegrationConnectionsRequest) Returns a list of the integration connections.
This is a convenience which creates an instance of the
ListIntegrationConnectionsRequest.Builderavoiding the need to create one manually viaListIntegrationConnectionsRequest.builder()- Parameters:
listIntegrationConnectionsRequest- AConsumerthat will call methods onListIntegrationConnectionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListIntegrationConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationConnectionsPaginator
default ListIntegrationConnectionsPublisher listIntegrationConnectionsPaginator(ListIntegrationConnectionsRequest listIntegrationConnectionsRequest) This is a variant of
listIntegrationConnections(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationConnectionsPublisher publisher = client.listIntegrationConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationConnectionsPublisher publisher = client.listIntegrationConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConnectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrationConnections(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConnectionsRequest)operation.- Parameters:
listIntegrationConnectionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationConnectionsPaginator
default ListIntegrationConnectionsPublisher listIntegrationConnectionsPaginator(Consumer<ListIntegrationConnectionsRequest.Builder> listIntegrationConnectionsRequest) This is a variant of
listIntegrationConnections(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationConnectionsPublisher publisher = client.listIntegrationConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationConnectionsPublisher publisher = client.listIntegrationConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConnectionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrationConnections(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationConnectionsRequest)operation.
This is a convenience which creates an instance of the
ListIntegrationConnectionsRequest.Builderavoiding the need to create one manually viaListIntegrationConnectionsRequest.builder()- Parameters:
listIntegrationConnectionsRequest- AConsumerthat will call methods onListIntegrationConnectionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationTypes
default CompletableFuture<ListIntegrationTypesResponse> listIntegrationTypes(ListIntegrationTypesRequest listIntegrationTypesRequest) Returns a list of the available integrations.
- Parameters:
listIntegrationTypesRequest-- Returns:
- A Java Future containing the result of the ListIntegrationTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationTypes
default CompletableFuture<ListIntegrationTypesResponse> listIntegrationTypes(Consumer<ListIntegrationTypesRequest.Builder> listIntegrationTypesRequest) Returns a list of the available integrations.
This is a convenience which creates an instance of the
ListIntegrationTypesRequest.Builderavoiding the need to create one manually viaListIntegrationTypesRequest.builder()- Parameters:
listIntegrationTypesRequest- AConsumerthat will call methods onListIntegrationTypesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListIntegrationTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationTypesPaginator
default ListIntegrationTypesPublisher listIntegrationTypesPaginator(ListIntegrationTypesRequest listIntegrationTypesRequest) This is a variant of
listIntegrationTypes(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationTypesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationTypesPublisher publisher = client.listIntegrationTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationTypesPublisher publisher = client.listIntegrationTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListIntegrationTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationTypesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrationTypes(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationTypesRequest)operation.- Parameters:
listIntegrationTypesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationTypesPaginator
default ListIntegrationTypesPublisher listIntegrationTypesPaginator(Consumer<ListIntegrationTypesRequest.Builder> listIntegrationTypesRequest) This is a variant of
listIntegrationTypes(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationTypesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationTypesPublisher publisher = client.listIntegrationTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListIntegrationTypesPublisher publisher = client.listIntegrationTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListIntegrationTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationTypesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrationTypes(software.amazon.awssdk.services.amplifygen3.model.ListIntegrationTypesRequest)operation.
This is a convenience which creates an instance of the
ListIntegrationTypesRequest.Builderavoiding the need to create one manually viaListIntegrationTypesRequest.builder()- Parameters:
listIntegrationTypesRequest- AConsumerthat will call methods onListIntegrationTypesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkConnectors
default CompletableFuture<ListNetworkConnectorsResponse> listNetworkConnectors(ListNetworkConnectorsRequest listNetworkConnectorsRequest) Returns a list of the network connectors.
- Parameters:
listNetworkConnectorsRequest-- Returns:
- A Java Future containing the result of the ListNetworkConnectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkConnectors
default CompletableFuture<ListNetworkConnectorsResponse> listNetworkConnectors(Consumer<ListNetworkConnectorsRequest.Builder> listNetworkConnectorsRequest) Returns a list of the network connectors.
This is a convenience which creates an instance of the
ListNetworkConnectorsRequest.Builderavoiding the need to create one manually viaListNetworkConnectorsRequest.builder()- Parameters:
listNetworkConnectorsRequest- AConsumerthat will call methods onListNetworkConnectorsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkConnectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkConnectorsPaginator
default ListNetworkConnectorsPublisher listNetworkConnectorsPaginator(ListNetworkConnectorsRequest listNetworkConnectorsRequest) This is a variant of
listNetworkConnectors(software.amazon.awssdk.services.amplifygen3.model.ListNetworkConnectorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListNetworkConnectorsPublisher publisher = client.listNetworkConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListNetworkConnectorsPublisher publisher = client.listNetworkConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListNetworkConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListNetworkConnectorsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkConnectors(software.amazon.awssdk.services.amplifygen3.model.ListNetworkConnectorsRequest)operation.- Parameters:
listNetworkConnectorsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkConnectorsPaginator
default ListNetworkConnectorsPublisher listNetworkConnectorsPaginator(Consumer<ListNetworkConnectorsRequest.Builder> listNetworkConnectorsRequest) This is a variant of
listNetworkConnectors(software.amazon.awssdk.services.amplifygen3.model.ListNetworkConnectorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListNetworkConnectorsPublisher publisher = client.listNetworkConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListNetworkConnectorsPublisher publisher = client.listNetworkConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListNetworkConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListNetworkConnectorsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkConnectors(software.amazon.awssdk.services.amplifygen3.model.ListNetworkConnectorsRequest)operation.
This is a convenience which creates an instance of the
ListNetworkConnectorsRequest.Builderavoiding the need to create one manually viaListNetworkConnectorsRequest.builder()- Parameters:
listNetworkConnectorsRequest- AConsumerthat will call methods onListNetworkConnectorsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPlanViolations
default CompletableFuture<ListPlanViolationsResponse> listPlanViolations(ListPlanViolationsRequest listPlanViolationsRequest) List the violations preventing an account to change flat rate plans. An empty list means the account already fits the target plan. If you allow the ListPlanViolations permission for your account, any requestor can see all project names that violate a downgrade from all Regions.
- Parameters:
listPlanViolationsRequest-- Returns:
- A Java Future containing the result of the ListPlanViolations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPlanViolations
default CompletableFuture<ListPlanViolationsResponse> listPlanViolations(Consumer<ListPlanViolationsRequest.Builder> listPlanViolationsRequest) List the violations preventing an account to change flat rate plans. An empty list means the account already fits the target plan. If you allow the ListPlanViolations permission for your account, any requestor can see all project names that violate a downgrade from all Regions.
This is a convenience which creates an instance of the
ListPlanViolationsRequest.Builderavoiding the need to create one manually viaListPlanViolationsRequest.builder()- Parameters:
listPlanViolationsRequest- AConsumerthat will call methods onListPlanViolationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPlanViolations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPlanViolationsPaginator
default ListPlanViolationsPublisher listPlanViolationsPaginator(ListPlanViolationsRequest listPlanViolationsRequest) This is a variant of
listPlanViolations(software.amazon.awssdk.services.amplifygen3.model.ListPlanViolationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListPlanViolationsPublisher publisher = client.listPlanViolationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListPlanViolationsPublisher publisher = client.listPlanViolationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListPlanViolationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListPlanViolationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPlanViolations(software.amazon.awssdk.services.amplifygen3.model.ListPlanViolationsRequest)operation.- Parameters:
listPlanViolationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPlanViolationsPaginator
default ListPlanViolationsPublisher listPlanViolationsPaginator(Consumer<ListPlanViolationsRequest.Builder> listPlanViolationsRequest) This is a variant of
listPlanViolations(software.amazon.awssdk.services.amplifygen3.model.ListPlanViolationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListPlanViolationsPublisher publisher = client.listPlanViolationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListPlanViolationsPublisher publisher = client.listPlanViolationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListPlanViolationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListPlanViolationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPlanViolations(software.amazon.awssdk.services.amplifygen3.model.ListPlanViolationsRequest)operation.
This is a convenience which creates an instance of the
ListPlanViolationsRequest.Builderavoiding the need to create one manually viaListPlanViolationsRequest.builder()- Parameters:
listPlanViolationsRequest- AConsumerthat will call methods onListPlanViolationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositories
default CompletableFuture<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest listRepositoriesRequest) Lists the repositories that a Git connection can access. For GitHub, these are the repositories that you granted to the app installation. For GitLab, these are the projects that you're a member of, with the most recently active first. The AWS Management Console uses this operation to show the repositories that you can choose from when you create an app.
- Parameters:
listRepositoriesRequest-- Returns:
- A Java Future containing the result of the ListRepositories operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositories
default CompletableFuture<ListRepositoriesResponse> listRepositories(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest) Lists the repositories that a Git connection can access. For GitHub, these are the repositories that you granted to the app installation. For GitLab, these are the projects that you're a member of, with the most recently active first. The AWS Management Console uses this operation to show the repositories that you can choose from when you create an app.
This is a convenience which creates an instance of the
ListRepositoriesRequest.Builderavoiding the need to create one manually viaListRepositoriesRequest.builder()- Parameters:
listRepositoriesRequest- AConsumerthat will call methods onListRepositoriesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRepositories operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositoriesPaginator
default ListRepositoriesPublisher listRepositoriesPaginator(ListRepositoriesRequest listRepositoriesRequest) This is a variant of
listRepositories(software.amazon.awssdk.services.amplifygen3.model.ListRepositoriesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListRepositoriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListRepositoriesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRepositories(software.amazon.awssdk.services.amplifygen3.model.ListRepositoriesRequest)operation.- Parameters:
listRepositoriesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositoriesPaginator
default ListRepositoriesPublisher listRepositoriesPaginator(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest) This is a variant of
listRepositories(software.amazon.awssdk.services.amplifygen3.model.ListRepositoriesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListRepositoriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListRepositoriesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRepositories(software.amazon.awssdk.services.amplifygen3.model.ListRepositoriesRequest)operation.
This is a convenience which creates an instance of the
ListRepositoriesRequest.Builderavoiding the need to create one manually viaListRepositoriesRequest.builder()- Parameters:
listRepositoriesRequest- AConsumerthat will call methods onListRepositoriesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GitConnectionDisconnectedException The Git connection doesn't exist, or the Git provider no longer accepts its access. For example, the app was uninstalled or access was revoked. Reconnect the Git provider account, and then try again.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSourceUploads
default CompletableFuture<ListSourceUploadsResponse> listSourceUploads(ListSourceUploadsRequest listSourceUploadsRequest) Returns a list of the source uploads in the account.
- Parameters:
listSourceUploadsRequest-- Returns:
- A Java Future containing the result of the ListSourceUploads operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSourceUploads
default CompletableFuture<ListSourceUploadsResponse> listSourceUploads(Consumer<ListSourceUploadsRequest.Builder> listSourceUploadsRequest) Returns a list of the source uploads in the account.
This is a convenience which creates an instance of the
ListSourceUploadsRequest.Builderavoiding the need to create one manually viaListSourceUploadsRequest.builder()- Parameters:
listSourceUploadsRequest- AConsumerthat will call methods onListSourceUploadsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSourceUploads operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSourceUploadsPaginator
default ListSourceUploadsPublisher listSourceUploadsPaginator(ListSourceUploadsRequest listSourceUploadsRequest) This is a variant of
listSourceUploads(software.amazon.awssdk.services.amplifygen3.model.ListSourceUploadsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListSourceUploadsPublisher publisher = client.listSourceUploadsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListSourceUploadsPublisher publisher = client.listSourceUploadsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListSourceUploadsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListSourceUploadsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSourceUploads(software.amazon.awssdk.services.amplifygen3.model.ListSourceUploadsRequest)operation.- Parameters:
listSourceUploadsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSourceUploadsPaginator
default ListSourceUploadsPublisher listSourceUploadsPaginator(Consumer<ListSourceUploadsRequest.Builder> listSourceUploadsRequest) This is a variant of
listSourceUploads(software.amazon.awssdk.services.amplifygen3.model.ListSourceUploadsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifygen3.paginators.ListSourceUploadsPublisher publisher = client.listSourceUploadsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.amplifygen3.paginators.ListSourceUploadsPublisher publisher = client.listSourceUploadsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifygen3.model.ListSourceUploadsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.amplifygen3.model.ListSourceUploadsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSourceUploads(software.amazon.awssdk.services.amplifygen3.model.ListSourceUploadsRequest)operation.
This is a convenience which creates an instance of the
ListSourceUploadsRequest.Builderavoiding the need to create one manually viaListSourceUploadsRequest.builder()- Parameters:
listSourceUploadsRequest- AConsumerthat will call methods onListSourceUploadsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns the tags for an Amplify resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns the tags for an Amplify resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putEnvironmentVariables
default CompletableFuture<PutEnvironmentVariablesResponse> putEnvironmentVariables(PutEnvironmentVariablesRequest putEnvironmentVariablesRequest) Updates environment variables for an environment of a Gen 3 app.
- Parameters:
putEnvironmentVariablesRequest-- Returns:
- A Java Future containing the result of the PutEnvironmentVariables operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putEnvironmentVariables
default CompletableFuture<PutEnvironmentVariablesResponse> putEnvironmentVariables(Consumer<PutEnvironmentVariablesRequest.Builder> putEnvironmentVariablesRequest) Updates environment variables for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
PutEnvironmentVariablesRequest.Builderavoiding the need to create one manually viaPutEnvironmentVariablesRequest.builder()- Parameters:
putEnvironmentVariablesRequest- AConsumerthat will call methods onPutEnvironmentVariablesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutEnvironmentVariables operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putIdentityProviderConfig
default CompletableFuture<PutIdentityProviderConfigResponse> putIdentityProviderConfig(PutIdentityProviderConfigRequest putIdentityProviderConfigRequest) Updates the identity provider configuration for a Gen 3 app.
- Parameters:
putIdentityProviderConfigRequest-- Returns:
- A Java Future containing the result of the PutIdentityProviderConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putIdentityProviderConfig
default CompletableFuture<PutIdentityProviderConfigResponse> putIdentityProviderConfig(Consumer<PutIdentityProviderConfigRequest.Builder> putIdentityProviderConfigRequest) Updates the identity provider configuration for a Gen 3 app.
This is a convenience which creates an instance of the
PutIdentityProviderConfigRequest.Builderavoiding the need to create one manually viaPutIdentityProviderConfigRequest.builder()- Parameters:
putIdentityProviderConfigRequest- AConsumerthat will call methods onPutIdentityProviderConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutIdentityProviderConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resetCache
Removes cached content for a deployment of an environment by cache tag.
- Parameters:
resetCacheRequest-- Returns:
- A Java Future containing the result of the ResetCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resetCache
default CompletableFuture<ResetCacheResponse> resetCache(Consumer<ResetCacheRequest.Builder> resetCacheRequest) Removes cached content for a deployment of an environment by cache tag.
This is a convenience which creates an instance of the
ResetCacheRequest.Builderavoiding the need to create one manually viaResetCacheRequest.builder()- Parameters:
resetCacheRequest- AConsumerthat will call methods onResetCacheRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ResetCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
restoreBranch
default CompletableFuture<RestoreBranchResponse> restoreBranch(RestoreBranchRequest restoreBranchRequest) Restores the data of the production branch to a point in time in a new branch of the Production environment. The production branch isn't changed, and no deployment uses the new branch. The name of the new branch is production- followed by the restore time in seconds since the epoch. The restore runs asynchronously. To connect to the new branch, call GetBranch with the returned branch ARN until it returns a DatabaseConnection. When you no longer need the branch, delete it with DeleteBranch. A request to restore to the same time as an earlier request returns the branch that the earlier request created.
- Parameters:
restoreBranchRequest-- Returns:
- A Java Future containing the result of the RestoreBranch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
restoreBranch
default CompletableFuture<RestoreBranchResponse> restoreBranch(Consumer<RestoreBranchRequest.Builder> restoreBranchRequest) Restores the data of the production branch to a point in time in a new branch of the Production environment. The production branch isn't changed, and no deployment uses the new branch. The name of the new branch is production- followed by the restore time in seconds since the epoch. The restore runs asynchronously. To connect to the new branch, call GetBranch with the returned branch ARN until it returns a DatabaseConnection. When you no longer need the branch, delete it with DeleteBranch. A request to restore to the same time as an earlier request returns the branch that the earlier request created.
This is a convenience which creates an instance of the
RestoreBranchRequest.Builderavoiding the need to create one manually viaRestoreBranchRequest.builder()- Parameters:
restoreBranchRequest- AConsumerthat will call methods onRestoreBranchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RestoreBranch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resumeBackend
default CompletableFuture<ResumeBackendResponse> resumeBackend(ResumeBackendRequest resumeBackendRequest) Resumes the paused backend of an app by restoring its database from a snapshot. The resume runs asynchronously. Call GetApp until the backend status is READY. You can resume only a backend that is PAUSED or PAUSING. For any other status, the request fails with a ConflictException. The operation isn't idempotent: repeating the request after the backend is RESUMING or READY fails with a ConflictException. A backend that was paused because a database reached its storage limit can't be resumed until the plan covers the size of the database or the database is deleted. A backend that used its plan's monthly allowance can't be resumed until the plan is upgraded or the allowance resets at the start of the next month (UTC). In both cases, the request fails with a ConflictException. If the account already has the maximum number of backends and the resume needs a new backend, the request fails with a ServiceQuotaExceededException.
- Parameters:
resumeBackendRequest-- Returns:
- A Java Future containing the result of the ResumeBackend operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resumeBackend
default CompletableFuture<ResumeBackendResponse> resumeBackend(Consumer<ResumeBackendRequest.Builder> resumeBackendRequest) Resumes the paused backend of an app by restoring its database from a snapshot. The resume runs asynchronously. Call GetApp until the backend status is READY. You can resume only a backend that is PAUSED or PAUSING. For any other status, the request fails with a ConflictException. The operation isn't idempotent: repeating the request after the backend is RESUMING or READY fails with a ConflictException. A backend that was paused because a database reached its storage limit can't be resumed until the plan covers the size of the database or the database is deleted. A backend that used its plan's monthly allowance can't be resumed until the plan is upgraded or the allowance resets at the start of the next month (UTC). In both cases, the request fails with a ConflictException. If the account already has the maximum number of backends and the resume needs a new backend, the request fails with a ServiceQuotaExceededException.
This is a convenience which creates an instance of the
ResumeBackendRequest.Builderavoiding the need to create one manually viaResumeBackendRequest.builder()- Parameters:
resumeBackendRequest- AConsumerthat will call methods onResumeBackendRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ResumeBackend operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeApiKey
default CompletableFuture<RevokeApiKeyResponse> revokeApiKey(RevokeApiKeyRequest revokeApiKeyRequest) Revokes an API key for a branch. A revoked key has a status of INACTIVE and is rejected. You can't reactivate a revoked key, and Amplify doesn't create a replacement key. Revoking a key that is already revoked succeeds and leaves the key INACTIVE.
- Parameters:
revokeApiKeyRequest-- Returns:
- A Java Future containing the result of the RevokeApiKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeApiKey
default CompletableFuture<RevokeApiKeyResponse> revokeApiKey(Consumer<RevokeApiKeyRequest.Builder> revokeApiKeyRequest) Revokes an API key for a branch. A revoked key has a status of INACTIVE and is rejected. You can't reactivate a revoked key, and Amplify doesn't create a replacement key. Revoking a key that is already revoked succeeds and leaves the key INACTIVE.
This is a convenience which creates an instance of the
RevokeApiKeyRequest.Builderavoiding the need to create one manually viaRevokeApiKeyRequest.builder()- Parameters:
revokeApiKeyRequest- AConsumerthat will call methods onRevokeApiKeyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RevokeApiKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rotateIdentityProviderSecret
default CompletableFuture<RotateIdentityProviderSecretResponse> rotateIdentityProviderSecret(RotateIdentityProviderSecretRequest rotateIdentityProviderSecretRequest) Rotates the client secret for the identity provider configuration of a Gen 3 app.
- Parameters:
rotateIdentityProviderSecretRequest-- Returns:
- A Java Future containing the result of the RotateIdentityProviderSecret operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rotateIdentityProviderSecret
default CompletableFuture<RotateIdentityProviderSecretResponse> rotateIdentityProviderSecret(Consumer<RotateIdentityProviderSecretRequest.Builder> rotateIdentityProviderSecretRequest) Rotates the client secret for the identity provider configuration of a Gen 3 app.
This is a convenience which creates an instance of the
RotateIdentityProviderSecretRequest.Builderavoiding the need to create one manually viaRotateIdentityProviderSecretRequest.builder()- Parameters:
rotateIdentityProviderSecretRequest- AConsumerthat will call methods onRotateIdentityProviderSecretRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RotateIdentityProviderSecret operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAuthorizationFlow
default CompletableFuture<StartAuthorizationFlowResponse> startAuthorizationFlow(StartAuthorizationFlowRequest startAuthorizationFlowRequest) Starts connecting a GitHub or GitLab account to your AWS account. The returned URL opens the Git provider page where you sign in and grant access. The AWS Management Console uses this operation when you connect a Git provider account.
- Parameters:
startAuthorizationFlowRequest-- Returns:
- A Java Future containing the result of the StartAuthorizationFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAuthorizationFlow
default CompletableFuture<StartAuthorizationFlowResponse> startAuthorizationFlow(Consumer<StartAuthorizationFlowRequest.Builder> startAuthorizationFlowRequest) Starts connecting a GitHub or GitLab account to your AWS account. The returned URL opens the Git provider page where you sign in and grant access. The AWS Management Console uses this operation when you connect a Git provider account.
This is a convenience which creates an instance of the
StartAuthorizationFlowRequest.Builderavoiding the need to create one manually viaStartAuthorizationFlowRequest.builder()- Parameters:
startAuthorizationFlowRequest- AConsumerthat will call methods onStartAuthorizationFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartAuthorizationFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCacheRevalidation
default CompletableFuture<StartCacheRevalidationResponse> startCacheRevalidation(StartCacheRevalidationRequest startCacheRevalidationRequest) Revalidates cached content for a deployment of an environment by cache tag.
- Parameters:
startCacheRevalidationRequest-- Returns:
- A Java Future containing the result of the StartCacheRevalidation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCacheRevalidation
default CompletableFuture<StartCacheRevalidationResponse> startCacheRevalidation(Consumer<StartCacheRevalidationRequest.Builder> startCacheRevalidationRequest) Revalidates cached content for a deployment of an environment by cache tag.
This is a convenience which creates an instance of the
StartCacheRevalidationRequest.Builderavoiding the need to create one manually viaStartCacheRevalidationRequest.builder()- Parameters:
startCacheRevalidationRequest- AConsumerthat will call methods onStartCacheRevalidationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartCacheRevalidation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds tags to an Amplify resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to an Amplify resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from an Amplify resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from an Amplify resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccessControl
default CompletableFuture<UpdateAccessControlResponse> updateAccessControl(UpdateAccessControlRequest updateAccessControlRequest) Updates the access control configuration for an environment of a Gen 3 app.
- Parameters:
updateAccessControlRequest-- Returns:
- A Java Future containing the result of the UpdateAccessControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccessControl
default CompletableFuture<UpdateAccessControlResponse> updateAccessControl(Consumer<UpdateAccessControlRequest.Builder> updateAccessControlRequest) Updates the access control configuration for an environment of a Gen 3 app.
This is a convenience which creates an instance of the
UpdateAccessControlRequest.Builderavoiding the need to create one manually viaUpdateAccessControlRequest.builder()- Parameters:
updateAccessControlRequest- AConsumerthat will call methods onUpdateAccessControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAccessControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAliasRouting
default CompletableFuture<UpdateAliasRoutingResponse> updateAliasRouting(UpdateAliasRoutingRequest updateAliasRoutingRequest) Updates the traffic routing for an alias of an environment.
- Parameters:
updateAliasRoutingRequest-- Returns:
- A Java Future containing the result of the UpdateAliasRouting operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAliasRouting
default CompletableFuture<UpdateAliasRoutingResponse> updateAliasRouting(Consumer<UpdateAliasRoutingRequest.Builder> updateAliasRoutingRequest) Updates the traffic routing for an alias of an environment.
This is a convenience which creates an instance of the
UpdateAliasRoutingRequest.Builderavoiding the need to create one manually viaUpdateAliasRoutingRequest.builder()- Parameters:
updateAliasRoutingRequest- AConsumerthat will call methods onUpdateAliasRoutingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAliasRouting operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApp
Updates a Gen 3 app.
- Parameters:
updateAppRequest-- Returns:
- A Java Future containing the result of the UpdateApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApp
default CompletableFuture<UpdateAppResponse> updateApp(Consumer<UpdateAppRequest.Builder> updateAppRequest) Updates a Gen 3 app.
This is a convenience which creates an instance of the
UpdateAppRequest.Builderavoiding the need to create one manually viaUpdateAppRequest.builder()- Parameters:
updateAppRequest- AConsumerthat will call methods onUpdateAppRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDomainAssociation
default CompletableFuture<UpdateDomainAssociationResponse> updateDomainAssociation(UpdateDomainAssociationRequest updateDomainAssociationRequest) Updates a domain association for a Gen 3 app.
- Parameters:
updateDomainAssociationRequest-- Returns:
- A Java Future containing the result of the UpdateDomainAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDomainAssociation
default CompletableFuture<UpdateDomainAssociationResponse> updateDomainAssociation(Consumer<UpdateDomainAssociationRequest.Builder> updateDomainAssociationRequest) Updates a domain association for a Gen 3 app.
This is a convenience which creates an instance of the
UpdateDomainAssociationRequest.Builderavoiding the need to create one manually viaUpdateDomainAssociationRequest.builder()- Parameters:
updateDomainAssociationRequest- AConsumerthat will call methods onUpdateDomainAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateDomainAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironment
default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) Updates an environment for a Gen 3 app.
- Parameters:
updateEnvironmentRequest-- Returns:
- A Java Future containing the result of the UpdateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironment
default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Updates an environment for a Gen 3 app.
This is a convenience which creates an instance of the
UpdateEnvironmentRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentRequest.builder()- Parameters:
updateEnvironmentRequest- AConsumerthat will call methods onUpdateEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for your account.
- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateIntegrationConfiguration
default CompletableFuture<UpdateIntegrationConfigurationResponse> updateIntegrationConfiguration(UpdateIntegrationConfigurationRequest updateIntegrationConfigurationRequest) Updates an integration configuration.
- Parameters:
updateIntegrationConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateIntegrationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateIntegrationConfiguration
default CompletableFuture<UpdateIntegrationConfigurationResponse> updateIntegrationConfiguration(Consumer<UpdateIntegrationConfigurationRequest.Builder> updateIntegrationConfigurationRequest) Updates an integration configuration.
This is a convenience which creates an instance of the
UpdateIntegrationConfigurationRequest.Builderavoiding the need to create one manually viaUpdateIntegrationConfigurationRequest.builder()- Parameters:
updateIntegrationConfigurationRequest- AConsumerthat will call methods onUpdateIntegrationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateIntegrationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNetworkConnector
default CompletableFuture<UpdateNetworkConnectorResponse> updateNetworkConnector(UpdateNetworkConnectorRequest updateNetworkConnectorRequest) Updates a network connector.
- Parameters:
updateNetworkConnectorRequest-- Returns:
- A Java Future containing the result of the UpdateNetworkConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNetworkConnector
default CompletableFuture<UpdateNetworkConnectorResponse> updateNetworkConnector(Consumer<UpdateNetworkConnectorRequest.Builder> updateNetworkConnectorRequest) Updates a network connector.
This is a convenience which creates an instance of the
UpdateNetworkConnectorRequest.Builderavoiding the need to create one manually viaUpdateNetworkConnectorRequest.builder()- Parameters:
updateNetworkConnectorRequest- AConsumerthat will call methods onUpdateNetworkConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateNetworkConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because the request rate exceeds the allowed limit.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The requested resource was not found.
- ValidationException The request contains invalid parameters or is otherwise malformed.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException An internal error occurred. Retry the request.
- SdkException 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.
- AmplifyGen3Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aAmplifyGen3AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aAmplifyGen3AsyncClient.
-