Class: Aws::AmplifyGen3::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::AmplifyGen3::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb
Overview
An API client for AmplifyGen3. To construct a client, you need to configure a :region and :credentials.
client = Aws::AmplifyGen3::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#accept_fork_pull_request_deployment(params = {}) ⇒ Types::AcceptForkPullRequestDeploymentResponse
Accepts a deployment for a specific commit from a forked-repository pull request.
-
#cancel_gradual_rollout(params = {}) ⇒ Struct
Cancels an in-progress gradual rollout for an alias of an environment and returns traffic to the previous deployment.
-
#create_app(params = {}) ⇒ Types::CreateAppResponse
Creates a new Amplify Gen 3 app.
-
#create_deployment(params = {}) ⇒ Types::CreateDeploymentResponse
Creates a deployment for an environment of a Gen 3 app.
-
#create_domain_association(params = {}) ⇒ Types::CreateDomainAssociationResponse
Creates a domain association that connects a custom domain to a Gen 3 app.
-
#create_environment(params = {}) ⇒ Types::CreateEnvironmentResponse
Creates an environment for a Gen 3 app.
-
#create_integration_configuration(params = {}) ⇒ Types::CreateIntegrationConfigurationResponse
Creates an integration configuration that makes an external resource available to app environments.
-
#create_integration_connection(params = {}) ⇒ Types::CreateIntegrationConnectionResponse
Creates a connection between an integration configuration and an environment.
-
#create_network_connector(params = {}) ⇒ Types::CreateNetworkConnectorResponse
Creates a network connector that provides a Gen 3 app with access to a virtual private cloud (VPC).
-
#create_source_upload(params = {}) ⇒ Types::CreateSourceUploadResponse
Creates a source upload and returns a presigned URL for uploading application source artifacts from .zip files.
-
#delete_alias(params = {}) ⇒ Struct
Deletes an alias for an environment of a Gen 3 app.
-
#delete_app(params = {}) ⇒ Struct
Deletes a Gen 3 app.
-
#delete_backend_from_app(params = {}) ⇒ Struct
Removes the backend from an app.
-
#delete_branch(params = {}) ⇒ Struct
Deletes a branch of an environment and its data.
-
#delete_deployment(params = {}) ⇒ Struct
Deletes a deployment for an environment of a Gen 3 app.
-
#delete_domain_association(params = {}) ⇒ Types::DeleteDomainAssociationResponse
Deletes a domain association for a Gen 3 app.
-
#delete_environment(params = {}) ⇒ Struct
Deletes an environment for a Gen 3 app.
-
#delete_environment_variables(params = {}) ⇒ Struct
Deletes environment variables for an environment of a Gen 3 app.
-
#delete_git_connection(params = {}) ⇒ Struct
Deletes a Git connection, so that the service can no longer access repositories through it.
-
#delete_identity_provider_config(params = {}) ⇒ Struct
Deletes the identity provider configuration for a Gen 3 app.
-
#delete_integration_configuration(params = {}) ⇒ Struct
Deletes an integration configuration.
-
#delete_integration_connection(params = {}) ⇒ Struct
Deletes an integration connection.
-
#delete_network_connector(params = {}) ⇒ Types::DeleteNetworkConnectorResponse
Deletes a network connector.
-
#delete_source_upload(params = {}) ⇒ Struct
Deletes a source upload.
-
#disable_access_control(params = {}) ⇒ Struct
Disables access control for an environment of a Gen 3 app.
-
#enable_access_control(params = {}) ⇒ Types::EnableAccessControlResponse
Enables access control for an environment of a Gen 3 app so that only authorized users can access it.
-
#get_access_control(params = {}) ⇒ Types::GetAccessControlResponse
Retrieves the access control configuration for an environment of a Gen 3 app.
-
#get_alias(params = {}) ⇒ Types::GetAliasResponse
Retrieves an alias for an environment of a Gen 3 app.
-
#get_api_key(params = {}) ⇒ Types::GetApiKeyResponse
Returns an API key for a branch, including the key value.
-
#get_app(params = {}) ⇒ Types::GetAppResponse
Retrieves a Gen 3 app.
-
#get_branch(params = {}) ⇒ Types::GetBranchResponse
Returns information about a branch of an environment.
-
#get_deployment(params = {}) ⇒ Types::GetDeploymentResponse
Retrieves a deployment for an environment of a Gen 3 app.
-
#get_domain_association(params = {}) ⇒ Types::GetDomainAssociationResponse
Retrieves a domain association for a Gen 3 app.
-
#get_domain_connect_url(params = {}) ⇒ Types::GetDomainConnectUrlResponse
Retrieves a signed URL you can use to configure DNS for a custom domain through a supported registrar.
-
#get_environment(params = {}) ⇒ Types::GetEnvironmentResponse
Retrieves an environment for a Gen 3 app.
-
#get_environments_for_network_connector(params = {}) ⇒ Types::GetEnvironmentsForNetworkConnectorResponse
Returns a list of the environments that have a network connector.
-
#get_file(params = {}) ⇒ Types::GetFileResponse
Gets the contents of a file from a repository branch.
-
#get_folder(params = {}) ⇒ Types::GetFolderResponse
Lists the files and subfolders directly inside a folder of a repository branch.
-
#get_identity_provider_config(params = {}) ⇒ Types::GetIdentityProviderConfigResponse
Retrieves the identity provider configuration for a Gen 3 app.
-
#get_integration_configuration(params = {}) ⇒ Types::GetIntegrationConfigurationResponse
Retrieves an integration configuration.
-
#get_integration_connection(params = {}) ⇒ Types::GetIntegrationConnectionResponse
Retrieves an integration connection.
-
#get_network_connector(params = {}) ⇒ Types::GetNetworkConnectorResponse
Retrieves a network connector.
-
#get_restore_window(params = {}) ⇒ Types::GetRestoreWindowResponse
Returns the point-in-time restore window for the production branch.
-
#get_source_upload(params = {}) ⇒ Types::GetSourceUploadResponse
Retrieves a source upload.
-
#list_access_controls(params = {}) ⇒ Types::ListAccessControlsResponse
Returns a list of the access control configurations for a Gen 3 app.
-
#list_aliases(params = {}) ⇒ Types::ListAliasesResponse
Returns a list of the aliases for an environment of a Gen 3 app.
-
#list_api_keys(params = {}) ⇒ Types::ListApiKeysResponse
Returns a list of the API keys for a branch.
-
#list_apps(params = {}) ⇒ Types::ListAppsResponse
Returns a list of the existing Gen 3 apps.
-
#list_branches(params = {}) ⇒ Types::ListBranchesResponse
Returns a list of the branches for an environment.
-
#list_deployments_for_app(params = {}) ⇒ Types::ListDeploymentsForAppResponse
Returns a list of the deployments for a Gen 3 app.
-
#list_deployments_for_environment(params = {}) ⇒ Types::ListDeploymentsForEnvironmentResponse
Returns a list of the deployments for an environment of a Gen 3 app.
-
#list_domain_associations_for_account(params = {}) ⇒ Types::ListDomainAssociationsForAccountResponse
Returns a list of the domain associations for all Gen 3 apps in the account.
-
#list_domain_associations_for_app(params = {}) ⇒ Types::ListDomainAssociationsForAppResponse
Returns a list of the domain associations for a Gen 3 app.
-
#list_environment_variables(params = {}) ⇒ Types::ListEnvironmentVariablesResponse
Returns a list of the environment variables for an environment of a Gen 3 app.
-
#list_environments(params = {}) ⇒ Types::ListEnvironmentsResponse
Returns a list of the environments for a Gen 3 app.
-
#list_git_branches(params = {}) ⇒ Types::ListGitBranchesResponse
Lists the branches of a repository.
-
#list_git_connections(params = {}) ⇒ Types::ListGitConnectionsResponse
Lists the GitHub and GitLab accounts that are connected to your AWS account in this Region.
-
#list_integration_configurations(params = {}) ⇒ Types::ListIntegrationConfigurationsResponse
Returns a list of the integration configurations in the account.
-
#list_integration_connections(params = {}) ⇒ Types::ListIntegrationConnectionsResponse
Returns a list of the integration connections.
-
#list_integration_types(params = {}) ⇒ Types::ListIntegrationTypesResponse
Returns a list of the available integrations.
-
#list_network_connectors(params = {}) ⇒ Types::ListNetworkConnectorsResponse
Returns a list of the network connectors.
-
#list_plan_violations(params = {}) ⇒ Types::ListPlanViolationsResponse
List the violations preventing an account to change flat rate plans.
-
#list_repositories(params = {}) ⇒ Types::ListRepositoriesResponse
Lists the repositories that a Git connection can access.
-
#list_source_uploads(params = {}) ⇒ Types::ListSourceUploadsResponse
Returns a list of the source uploads in the account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns the tags for an Amplify resource.
-
#put_environment_variables(params = {}) ⇒ Struct
Updates environment variables for an environment of a Gen 3 app.
-
#put_identity_provider_config(params = {}) ⇒ Types::PutIdentityProviderConfigResponse
Updates the identity provider configuration for a Gen 3 app.
-
#reset_cache(params = {}) ⇒ Struct
Removes cached content for a deployment of an environment by cache tag.
-
#restore_branch(params = {}) ⇒ Types::RestoreBranchResponse
Restores the data of the production branch to a point in time in a new branch of the Production environment.
-
#resume_backend(params = {}) ⇒ Types::ResumeBackendResponse
Resumes the paused backend of an app by restoring its database from a snapshot.
-
#revoke_api_key(params = {}) ⇒ Types::RevokeApiKeyResponse
Revokes an API key for a branch.
-
#rotate_identity_provider_secret(params = {}) ⇒ Struct
Rotates the client secret for the identity provider configuration of a Gen 3 app.
-
#start_authorization_flow(params = {}) ⇒ Types::StartAuthorizationFlowResponse
Starts connecting a GitHub or GitLab account to your AWS account.
-
#start_cache_revalidation(params = {}) ⇒ Struct
Revalidates cached content for a deployment of an environment by cache tag.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags to an Amplify resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from an Amplify resource.
-
#update_access_control(params = {}) ⇒ Types::UpdateAccessControlResponse
Updates the access control configuration for an environment of a Gen 3 app.
-
#update_alias_routing(params = {}) ⇒ Types::UpdateAliasRoutingResponse
Updates the traffic routing for an alias of an environment.
-
#update_app(params = {}) ⇒ Struct
Updates a Gen 3 app.
-
#update_domain_association(params = {}) ⇒ Types::UpdateDomainAssociationResponse
Updates a domain association for a Gen 3 app.
-
#update_environment(params = {}) ⇒ Struct
Updates an environment for a Gen 3 app.
-
#update_integration_configuration(params = {}) ⇒ Struct
Updates an integration configuration.
-
#update_network_connector(params = {}) ⇒ Types::UpdateNetworkConnectorResponse
Updates a network connector.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
479 480 481 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 479 def initialize(*args) super end |
Instance Method Details
#accept_fork_pull_request_deployment(params = {}) ⇒ Types::AcceptForkPullRequestDeploymentResponse
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.
522 523 524 525 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 522 def accept_fork_pull_request_deployment(params = {}, = {}) req = build_request(:accept_fork_pull_request_deployment, params) req.send_request() end |
#cancel_gradual_rollout(params = {}) ⇒ Struct
Cancels an in-progress gradual rollout for an alias of an environment and returns traffic to the previous deployment.
553 554 555 556 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 553 def cancel_gradual_rollout(params = {}, = {}) req = build_request(:cancel_gradual_rollout, params) req.send_request() end |
#create_app(params = {}) ⇒ Types::CreateAppResponse
Creates a new Amplify Gen 3 app.
642 643 644 645 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 642 def create_app(params = {}, = {}) req = build_request(:create_app, params) req.send_request() end |
#create_deployment(params = {}) ⇒ Types::CreateDeploymentResponse
Creates a deployment for an environment of a Gen 3 app.
716 717 718 719 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 716 def create_deployment(params = {}, = {}) req = build_request(:create_deployment, params) req.send_request() end |
#create_domain_association(params = {}) ⇒ Types::CreateDomainAssociationResponse
Creates a domain association that connects a custom domain to a Gen 3 app.
779 780 781 782 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 779 def create_domain_association(params = {}, = {}) req = build_request(:create_domain_association, params) req.send_request() end |
#create_environment(params = {}) ⇒ Types::CreateEnvironmentResponse
Creates an environment for a Gen 3 app.
874 875 876 877 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 874 def create_environment(params = {}, = {}) req = build_request(:create_environment, params) req.send_request() end |
#create_integration_configuration(params = {}) ⇒ Types::CreateIntegrationConfigurationResponse
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.
945 946 947 948 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 945 def create_integration_configuration(params = {}, = {}) req = build_request(:create_integration_configuration, params) req.send_request() end |
#create_integration_connection(params = {}) ⇒ Types::CreateIntegrationConnectionResponse
Creates a connection between an integration configuration and an environment.
982 983 984 985 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 982 def create_integration_connection(params = {}, = {}) req = build_request(:create_integration_connection, params) req.send_request() end |
#create_network_connector(params = {}) ⇒ Types::CreateNetworkConnectorResponse
Creates a network connector that provides a Gen 3 app with access to a virtual private cloud (VPC).
1032 1033 1034 1035 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1032 def create_network_connector(params = {}, = {}) req = build_request(:create_network_connector, params) req.send_request() end |
#create_source_upload(params = {}) ⇒ Types::CreateSourceUploadResponse
Creates a source upload and returns a presigned URL for uploading application source artifacts from .zip files.
1069 1070 1071 1072 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1069 def create_source_upload(params = {}, = {}) req = build_request(:create_source_upload, params) req.send_request() end |
#delete_alias(params = {}) ⇒ Struct
Deletes an alias for an environment of a Gen 3 app.
1099 1100 1101 1102 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1099 def delete_alias(params = {}, = {}) req = build_request(:delete_alias, params) req.send_request() end |
#delete_app(params = {}) ⇒ Struct
Deletes a Gen 3 app.
1121 1122 1123 1124 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1121 def delete_app(params = {}, = {}) req = build_request(:delete_app, params) req.send_request() end |
#delete_backend_from_app(params = {}) ⇒ Struct
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.
1147 1148 1149 1150 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1147 def delete_backend_from_app(params = {}, = {}) req = build_request(:delete_backend_from_app, params) req.send_request() end |
#delete_branch(params = {}) ⇒ Struct
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.
1179 1180 1181 1182 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1179 def delete_branch(params = {}, = {}) req = build_request(:delete_branch, params) req.send_request() end |
#delete_deployment(params = {}) ⇒ Struct
Deletes a deployment for an environment of a Gen 3 app.
1209 1210 1211 1212 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1209 def delete_deployment(params = {}, = {}) req = build_request(:delete_deployment, params) req.send_request() end |
#delete_domain_association(params = {}) ⇒ Types::DeleteDomainAssociationResponse
Deletes a domain association for a Gen 3 app.
1241 1242 1243 1244 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1241 def delete_domain_association(params = {}, = {}) req = build_request(:delete_domain_association, params) req.send_request() end |
#delete_environment(params = {}) ⇒ Struct
Deletes an environment for a Gen 3 app.
1267 1268 1269 1270 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1267 def delete_environment(params = {}, = {}) req = build_request(:delete_environment, params) req.send_request() end |
#delete_environment_variables(params = {}) ⇒ Struct
Deletes environment variables for an environment of a Gen 3 app.
1297 1298 1299 1300 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1297 def delete_environment_variables(params = {}, = {}) req = build_request(:delete_environment_variables, params) req.send_request() end |
#delete_git_connection(params = {}) ⇒ Struct
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.
1334 1335 1336 1337 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1334 def delete_git_connection(params = {}, = {}) req = build_request(:delete_git_connection, params) req.send_request() end |
#delete_identity_provider_config(params = {}) ⇒ Struct
Deletes the identity provider configuration for a Gen 3 app.
1356 1357 1358 1359 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1356 def delete_identity_provider_config(params = {}, = {}) req = build_request(:delete_identity_provider_config, params) req.send_request() end |
#delete_integration_configuration(params = {}) ⇒ Struct
Deletes an integration configuration.
1378 1379 1380 1381 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1378 def delete_integration_configuration(params = {}, = {}) req = build_request(:delete_integration_configuration, params) req.send_request() end |
#delete_integration_connection(params = {}) ⇒ Struct
Deletes an integration connection.
1400 1401 1402 1403 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1400 def delete_integration_connection(params = {}, = {}) req = build_request(:delete_integration_connection, params) req.send_request() end |
#delete_network_connector(params = {}) ⇒ Types::DeleteNetworkConnectorResponse
Deletes a network connector.
1428 1429 1430 1431 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1428 def delete_network_connector(params = {}, = {}) req = build_request(:delete_network_connector, params) req.send_request() end |
#delete_source_upload(params = {}) ⇒ Struct
Deletes a source upload.
1450 1451 1452 1453 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1450 def delete_source_upload(params = {}, = {}) req = build_request(:delete_source_upload, params) req.send_request() end |
#disable_access_control(params = {}) ⇒ Struct
Disables access control for an environment of a Gen 3 app.
1476 1477 1478 1479 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1476 def disable_access_control(params = {}, = {}) req = build_request(:disable_access_control, params) req.send_request() end |
#enable_access_control(params = {}) ⇒ Types::EnableAccessControlResponse
Enables access control for an environment of a Gen 3 app so that only authorized users can access it.
1534 1535 1536 1537 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1534 def enable_access_control(params = {}, = {}) req = build_request(:enable_access_control, params) req.send_request() end |
#get_access_control(params = {}) ⇒ Types::GetAccessControlResponse
Retrieves the access control configuration for an environment of a Gen 3 app.
1586 1587 1588 1589 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1586 def get_access_control(params = {}, = {}) req = build_request(:get_access_control, params) req.send_request() end |
#get_alias(params = {}) ⇒ Types::GetAliasResponse
Retrieves an alias for an environment of a Gen 3 app.
1652 1653 1654 1655 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1652 def get_alias(params = {}, = {}) req = build_request(:get_alias, params) req.send_request() end |
#get_api_key(params = {}) ⇒ Types::GetApiKeyResponse
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.
1694 1695 1696 1697 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1694 def get_api_key(params = {}, = {}) req = build_request(:get_api_key, params) req.send_request() end |
#get_app(params = {}) ⇒ Types::GetAppResponse
Retrieves a Gen 3 app.
1748 1749 1750 1751 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1748 def get_app(params = {}, = {}) req = build_request(:get_app, params) req.send_request() end |
#get_branch(params = {}) ⇒ Types::GetBranchResponse
Returns information about a branch of an environment.
1813 1814 1815 1816 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1813 def get_branch(params = {}, = {}) req = build_request(:get_branch, params) req.send_request() end |
#get_deployment(params = {}) ⇒ Types::GetDeploymentResponse
Retrieves a deployment for an environment of a Gen 3 app.
1926 1927 1928 1929 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1926 def get_deployment(params = {}, = {}) req = build_request(:get_deployment, params) req.send_request() end |
#get_domain_association(params = {}) ⇒ Types::GetDomainAssociationResponse
Retrieves a domain association for a Gen 3 app.
1988 1989 1990 1991 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 1988 def get_domain_association(params = {}, = {}) req = build_request(:get_domain_association, params) req.send_request() end |
#get_domain_connect_url(params = {}) ⇒ Types::GetDomainConnectUrlResponse
Retrieves a signed URL you can use to configure DNS for a custom domain through a supported registrar.
2031 2032 2033 2034 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2031 def get_domain_connect_url(params = {}, = {}) req = build_request(:get_domain_connect_url, params) req.send_request() end |
#get_environment(params = {}) ⇒ Types::GetEnvironmentResponse
Retrieves an environment for a Gen 3 app.
2117 2118 2119 2120 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2117 def get_environment(params = {}, = {}) req = build_request(:get_environment, params) req.send_request() end |
#get_environments_for_network_connector(params = {}) ⇒ Types::GetEnvironmentsForNetworkConnectorResponse
Returns a list of the environments that have a network connector.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2164 2165 2166 2167 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2164 def get_environments_for_network_connector(params = {}, = {}) req = build_request(:get_environments_for_network_connector, params) req.send_request() end |
#get_file(params = {}) ⇒ Types::GetFileResponse
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.
2232 2233 2234 2235 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2232 def get_file(params = {}, = {}) req = build_request(:get_file, params) req.send_request() end |
#get_folder(params = {}) ⇒ Types::GetFolderResponse
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.
2302 2303 2304 2305 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2302 def get_folder(params = {}, = {}) req = build_request(:get_folder, params) req.send_request() end |
#get_identity_provider_config(params = {}) ⇒ Types::GetIdentityProviderConfigResponse
Retrieves the identity provider configuration for a Gen 3 app.
2356 2357 2358 2359 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2356 def get_identity_provider_config(params = {}, = {}) req = build_request(:get_identity_provider_config, params) req.send_request() end |
#get_integration_configuration(params = {}) ⇒ Types::GetIntegrationConfigurationResponse
Retrieves an integration configuration.
2405 2406 2407 2408 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2405 def get_integration_configuration(params = {}, = {}) req = build_request(:get_integration_configuration, params) req.send_request() end |
#get_integration_connection(params = {}) ⇒ Types::GetIntegrationConnectionResponse
Retrieves an integration connection.
2443 2444 2445 2446 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2443 def get_integration_connection(params = {}, = {}) req = build_request(:get_integration_connection, params) req.send_request() end |
#get_network_connector(params = {}) ⇒ Types::GetNetworkConnectorResponse
Retrieves a network connector.
2489 2490 2491 2492 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2489 def get_network_connector(params = {}, = {}) req = build_request(:get_network_connector, params) req.send_request() end |
#get_restore_window(params = {}) ⇒ Types::GetRestoreWindowResponse
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.
2525 2526 2527 2528 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2525 def get_restore_window(params = {}, = {}) req = build_request(:get_restore_window, params) req.send_request() end |
#get_source_upload(params = {}) ⇒ Types::GetSourceUploadResponse
Retrieves a source upload.
2563 2564 2565 2566 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2563 def get_source_upload(params = {}, = {}) req = build_request(:get_source_upload, params) req.send_request() end |
#list_access_controls(params = {}) ⇒ Types::ListAccessControlsResponse
Returns a list of the access control configurations for a Gen 3 app.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2613 2614 2615 2616 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2613 def list_access_controls(params = {}, = {}) req = build_request(:list_access_controls, params) req.send_request() end |
#list_aliases(params = {}) ⇒ Types::ListAliasesResponse
Returns a list of the aliases for an environment of a Gen 3 app.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2667 2668 2669 2670 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2667 def list_aliases(params = {}, = {}) req = build_request(:list_aliases, params) req.send_request() end |
#list_api_keys(params = {}) ⇒ Types::ListApiKeysResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2720 2721 2722 2723 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2720 def list_api_keys(params = {}, = {}) req = build_request(:list_api_keys, params) req.send_request() end |
#list_apps(params = {}) ⇒ Types::ListAppsResponse
Returns a list of the existing Gen 3 apps.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2764 2765 2766 2767 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2764 def list_apps(params = {}, = {}) req = build_request(:list_apps, params) req.send_request() end |
#list_branches(params = {}) ⇒ Types::ListBranchesResponse
Returns a list of the branches for an environment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2816 2817 2818 2819 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2816 def list_branches(params = {}, = {}) req = build_request(:list_branches, params) req.send_request() end |
#list_deployments_for_app(params = {}) ⇒ Types::ListDeploymentsForAppResponse
Returns a list of the deployments for a Gen 3 app.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2879 2880 2881 2882 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2879 def list_deployments_for_app(params = {}, = {}) req = build_request(:list_deployments_for_app, params) req.send_request() end |
#list_deployments_for_environment(params = {}) ⇒ Types::ListDeploymentsForEnvironmentResponse
Returns a list of the deployments for an environment of a Gen 3 app.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2946 2947 2948 2949 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2946 def list_deployments_for_environment(params = {}, = {}) req = build_request(:list_deployments_for_environment, params) req.send_request() end |
#list_domain_associations_for_account(params = {}) ⇒ Types::ListDomainAssociationsForAccountResponse
Returns a list of the domain associations for all Gen 3 apps in the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2990 2991 2992 2993 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 2990 def list_domain_associations_for_account(params = {}, = {}) req = build_request(:list_domain_associations_for_account, params) req.send_request() end |
#list_domain_associations_for_app(params = {}) ⇒ Types::ListDomainAssociationsForAppResponse
Returns a list of the domain associations for a Gen 3 app.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3037 3038 3039 3040 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3037 def list_domain_associations_for_app(params = {}, = {}) req = build_request(:list_domain_associations_for_app, params) req.send_request() end |
#list_environment_variables(params = {}) ⇒ Types::ListEnvironmentVariablesResponse
Returns a list of the environment variables for an environment of a Gen 3 app.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3089 3090 3091 3092 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3089 def list_environment_variables(params = {}, = {}) req = build_request(:list_environment_variables, params) req.send_request() end |
#list_environments(params = {}) ⇒ Types::ListEnvironmentsResponse
Returns a list of the environments for a Gen 3 app.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3161 3162 3163 3164 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3161 def list_environments(params = {}, = {}) req = build_request(:list_environments, params) req.send_request() end |
#list_git_branches(params = {}) ⇒ Types::ListGitBranchesResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3227 3228 3229 3230 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3227 def list_git_branches(params = {}, = {}) req = build_request(:list_git_branches, params) req.send_request() end |
#list_git_connections(params = {}) ⇒ Types::ListGitConnectionsResponse
Lists the GitHub and GitLab accounts that are connected to your AWS account in this Region.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3267 3268 3269 3270 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3267 def list_git_connections(params = {}, = {}) req = build_request(:list_git_connections, params) req.send_request() end |
#list_integration_configurations(params = {}) ⇒ Types::ListIntegrationConfigurationsResponse
Returns a list of the integration configurations in the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3320 3321 3322 3323 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3320 def list_integration_configurations(params = {}, = {}) req = build_request(:list_integration_configurations, params) req.send_request() end |
#list_integration_connections(params = {}) ⇒ Types::ListIntegrationConnectionsResponse
Returns a list of the integration connections.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3371 3372 3373 3374 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3371 def list_integration_connections(params = {}, = {}) req = build_request(:list_integration_connections, params) req.send_request() end |
#list_integration_types(params = {}) ⇒ Types::ListIntegrationTypesResponse
Returns a list of the available integrations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3411 3412 3413 3414 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3411 def list_integration_types(params = {}, = {}) req = build_request(:list_integration_types, params) req.send_request() end |
#list_network_connectors(params = {}) ⇒ Types::ListNetworkConnectorsResponse
Returns a list of the network connectors.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3456 3457 3458 3459 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3456 def list_network_connectors(params = {}, = {}) req = build_request(:list_network_connectors, params) req.send_request() end |
#list_plan_violations(params = {}) ⇒ Types::ListPlanViolationsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3513 3514 3515 3516 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3513 def list_plan_violations(params = {}, = {}) req = build_request(:list_plan_violations, params) req.send_request() end |
#list_repositories(params = {}) ⇒ Types::ListRepositoriesResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3577 3578 3579 3580 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3577 def list_repositories(params = {}, = {}) req = build_request(:list_repositories, params) req.send_request() end |
#list_source_uploads(params = {}) ⇒ Types::ListSourceUploadsResponse
Returns a list of the source uploads in the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3618 3619 3620 3621 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3618 def list_source_uploads(params = {}, = {}) req = build_request(:list_source_uploads, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns the tags for an Amplify resource.
3647 3648 3649 3650 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3647 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_environment_variables(params = {}) ⇒ Struct
Updates environment variables for an environment of a Gen 3 app.
3685 3686 3687 3688 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3685 def put_environment_variables(params = {}, = {}) req = build_request(:put_environment_variables, params) req.send_request() end |
#put_identity_provider_config(params = {}) ⇒ Types::PutIdentityProviderConfigResponse
Updates the identity provider configuration for a Gen 3 app.
3750 3751 3752 3753 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3750 def put_identity_provider_config(params = {}, = {}) req = build_request(:put_identity_provider_config, params) req.send_request() end |
#reset_cache(params = {}) ⇒ Struct
Removes cached content for a deployment of an environment by cache tag.
3785 3786 3787 3788 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3785 def reset_cache(params = {}, = {}) req = build_request(:reset_cache, params) req.send_request() end |
#restore_branch(params = {}) ⇒ Types::RestoreBranchResponse
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.
3828 3829 3830 3831 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3828 def restore_branch(params = {}, = {}) req = build_request(:restore_branch, params) req.send_request() end |
#resume_backend(params = {}) ⇒ Types::ResumeBackendResponse
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.
3870 3871 3872 3873 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3870 def resume_backend(params = {}, = {}) req = build_request(:resume_backend, params) req.send_request() end |
#revoke_api_key(params = {}) ⇒ Types::RevokeApiKeyResponse
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.
3908 3909 3910 3911 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3908 def revoke_api_key(params = {}, = {}) req = build_request(:revoke_api_key, params) req.send_request() end |
#rotate_identity_provider_secret(params = {}) ⇒ Struct
Rotates the client secret for the identity provider configuration of a Gen 3 app.
3935 3936 3937 3938 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3935 def rotate_identity_provider_secret(params = {}, = {}) req = build_request(:rotate_identity_provider_secret, params) req.send_request() end |
#start_authorization_flow(params = {}) ⇒ Types::StartAuthorizationFlowResponse
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.
3971 3972 3973 3974 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 3971 def (params = {}, = {}) req = build_request(:start_authorization_flow, params) req.send_request() end |
#start_cache_revalidation(params = {}) ⇒ Struct
Revalidates cached content for a deployment of an environment by cache tag.
4010 4011 4012 4013 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 4010 def start_cache_revalidation(params = {}, = {}) req = build_request(:start_cache_revalidation, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds tags to an Amplify resource.
4038 4039 4040 4041 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 4038 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from an Amplify resource.
4064 4065 4066 4067 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 4064 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_access_control(params = {}) ⇒ Types::UpdateAccessControlResponse
Updates the access control configuration for an environment of a Gen 3 app.
4122 4123 4124 4125 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 4122 def update_access_control(params = {}, = {}) req = build_request(:update_access_control, params) req.send_request() end |
#update_alias_routing(params = {}) ⇒ Types::UpdateAliasRoutingResponse
Updates the traffic routing for an alias of an environment.
4187 4188 4189 4190 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 4187 def update_alias_routing(params = {}, = {}) req = build_request(:update_alias_routing, params) req.send_request() end |
#update_app(params = {}) ⇒ Struct
Updates a Gen 3 app.
4243 4244 4245 4246 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 4243 def update_app(params = {}, = {}) req = build_request(:update_app, params) req.send_request() end |
#update_domain_association(params = {}) ⇒ Types::UpdateDomainAssociationResponse
Updates a domain association for a Gen 3 app.
4287 4288 4289 4290 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 4287 def update_domain_association(params = {}, = {}) req = build_request(:update_domain_association, params) req.send_request() end |
#update_environment(params = {}) ⇒ Struct
Updates an environment for a Gen 3 app.
4412 4413 4414 4415 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 4412 def update_environment(params = {}, = {}) req = build_request(:update_environment, params) req.send_request() end |
#update_integration_configuration(params = {}) ⇒ Struct
Updates an integration configuration.
4472 4473 4474 4475 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 4472 def update_integration_configuration(params = {}, = {}) req = build_request(:update_integration_configuration, params) req.send_request() end |
#update_network_connector(params = {}) ⇒ Types::UpdateNetworkConnectorResponse
Updates a network connector.
4513 4514 4515 4516 |
# File 'gems/aws-sdk-amplifygen3/lib/aws-sdk-amplifygen3/client.rb', line 4513 def update_network_connector(params = {}, = {}) req = build_request(:update_network_connector, params) req.send_request() end |