Skip to content

AmplifyBackendClient#

Index > AmplifyBackend > AmplifyBackendClient

Auto-generated documentation for AmplifyBackend type annotations stubs module mypy-boto3-amplifybackend.

AmplifyBackendClient#

Type annotations and code completion for boto3.client("amplifybackend"). boto3 documentation

# AmplifyBackendClient usage example

from boto3.session import Session
from mypy_boto3_amplifybackend.client import AmplifyBackendClient

def get_amplifybackend_client() -> AmplifyBackendClient:
    return Session().client("amplifybackend")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("amplifybackend").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("amplifybackend")

try:
    do_something(client)
except (
    client.exceptions.BadRequestException,
    client.exceptions.ClientError,
    client.exceptions.GatewayTimeoutException,
    client.exceptions.NotFoundException,
    client.exceptions.TooManyRequestsException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_amplifybackend.client import Exceptions

def handle_error(exc: Exceptions.BadRequestException) -> None:
    ...

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("amplifybackend").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

clone_backend#

This operation clones an existing backend.

Type annotations and code completion for boto3.client("amplifybackend").clone_backend method. boto3 documentation

# clone_backend method definition

def clone_backend(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    TargetEnvironmentName: str,
) -> CloneBackendResponseTypeDef:  # (1)
    ...
  1. See CloneBackendResponseTypeDef
# clone_backend method usage example with argument unpacking

kwargs: CloneBackendRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "TargetEnvironmentName": ...,
}

parent.clone_backend(**kwargs)
  1. See CloneBackendRequestRequestTypeDef

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("amplifybackend").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_backend#

This operation creates a backend for an Amplify app.

Type annotations and code completion for boto3.client("amplifybackend").create_backend method. boto3 documentation

# create_backend method definition

def create_backend(
    self,
    *,
    AppId: str,
    AppName: str,
    BackendEnvironmentName: str,
    ResourceConfig: Mapping[str, Any] = ...,
    ResourceName: str = ...,
) -> CreateBackendResponseTypeDef:  # (1)
    ...
  1. See CreateBackendResponseTypeDef
# create_backend method usage example with argument unpacking

kwargs: CreateBackendRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "AppName": ...,
    "BackendEnvironmentName": ...,
}

parent.create_backend(**kwargs)
  1. See CreateBackendRequestRequestTypeDef

create_backend_api#

Creates a new backend API resource.

Type annotations and code completion for boto3.client("amplifybackend").create_backend_api method. boto3 documentation

# create_backend_api method definition

def create_backend_api(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceConfig: BackendAPIResourceConfigTypeDef,  # (1)
    ResourceName: str,
) -> CreateBackendAPIResponseTypeDef:  # (2)
    ...
  1. See BackendAPIResourceConfigTypeDef
  2. See CreateBackendAPIResponseTypeDef
# create_backend_api method usage example with argument unpacking

kwargs: CreateBackendAPIRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceConfig": ...,
    "ResourceName": ...,
}

parent.create_backend_api(**kwargs)
  1. See CreateBackendAPIRequestRequestTypeDef

create_backend_auth#

Creates a new backend authentication resource.

Type annotations and code completion for boto3.client("amplifybackend").create_backend_auth method. boto3 documentation

# create_backend_auth method definition

def create_backend_auth(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceConfig: CreateBackendAuthResourceConfigTypeDef,  # (1)
    ResourceName: str,
) -> CreateBackendAuthResponseTypeDef:  # (2)
    ...
  1. See CreateBackendAuthResourceConfigTypeDef
  2. See CreateBackendAuthResponseTypeDef
# create_backend_auth method usage example with argument unpacking

kwargs: CreateBackendAuthRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceConfig": ...,
    "ResourceName": ...,
}

parent.create_backend_auth(**kwargs)
  1. See CreateBackendAuthRequestRequestTypeDef

create_backend_config#

Creates a config object for a backend.

Type annotations and code completion for boto3.client("amplifybackend").create_backend_config method. boto3 documentation

# create_backend_config method definition

def create_backend_config(
    self,
    *,
    AppId: str,
    BackendManagerAppId: str = ...,
) -> CreateBackendConfigResponseTypeDef:  # (1)
    ...
  1. See CreateBackendConfigResponseTypeDef
# create_backend_config method usage example with argument unpacking

kwargs: CreateBackendConfigRequestRequestTypeDef = {  # (1)
    "AppId": ...,
}

parent.create_backend_config(**kwargs)
  1. See CreateBackendConfigRequestRequestTypeDef

create_backend_storage#

Creates a backend storage resource.

Type annotations and code completion for boto3.client("amplifybackend").create_backend_storage method. boto3 documentation

# create_backend_storage method definition

def create_backend_storage(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceConfig: CreateBackendStorageResourceConfigTypeDef,  # (1)
    ResourceName: str,
) -> CreateBackendStorageResponseTypeDef:  # (2)
    ...
  1. See CreateBackendStorageResourceConfigTypeDef
  2. See CreateBackendStorageResponseTypeDef
# create_backend_storage method usage example with argument unpacking

kwargs: CreateBackendStorageRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceConfig": ...,
    "ResourceName": ...,
}

parent.create_backend_storage(**kwargs)
  1. See CreateBackendStorageRequestRequestTypeDef

create_token#

Generates a one-time challenge code to authenticate a user into your Amplify Admin UI.

Type annotations and code completion for boto3.client("amplifybackend").create_token method. boto3 documentation

# create_token method definition

def create_token(
    self,
    *,
    AppId: str,
) -> CreateTokenResponseTypeDef:  # (1)
    ...
  1. See CreateTokenResponseTypeDef
# create_token method usage example with argument unpacking

kwargs: CreateTokenRequestRequestTypeDef = {  # (1)
    "AppId": ...,
}

parent.create_token(**kwargs)
  1. See CreateTokenRequestRequestTypeDef

delete_backend#

Removes an existing environment from your Amplify project.

Type annotations and code completion for boto3.client("amplifybackend").delete_backend method. boto3 documentation

# delete_backend method definition

def delete_backend(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
) -> DeleteBackendResponseTypeDef:  # (1)
    ...
  1. See DeleteBackendResponseTypeDef
# delete_backend method usage example with argument unpacking

kwargs: DeleteBackendRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
}

parent.delete_backend(**kwargs)
  1. See DeleteBackendRequestRequestTypeDef

delete_backend_api#

Deletes an existing backend API resource.

Type annotations and code completion for boto3.client("amplifybackend").delete_backend_api method. boto3 documentation

# delete_backend_api method definition

def delete_backend_api(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceName: str,
    ResourceConfig: BackendAPIResourceConfigTypeDef = ...,  # (1)
) -> DeleteBackendAPIResponseTypeDef:  # (2)
    ...
  1. See BackendAPIResourceConfigTypeDef
  2. See DeleteBackendAPIResponseTypeDef
# delete_backend_api method usage example with argument unpacking

kwargs: DeleteBackendAPIRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceName": ...,
}

parent.delete_backend_api(**kwargs)
  1. See DeleteBackendAPIRequestRequestTypeDef

delete_backend_auth#

Deletes an existing backend authentication resource.

Type annotations and code completion for boto3.client("amplifybackend").delete_backend_auth method. boto3 documentation

# delete_backend_auth method definition

def delete_backend_auth(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceName: str,
) -> DeleteBackendAuthResponseTypeDef:  # (1)
    ...
  1. See DeleteBackendAuthResponseTypeDef
# delete_backend_auth method usage example with argument unpacking

kwargs: DeleteBackendAuthRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceName": ...,
}

parent.delete_backend_auth(**kwargs)
  1. See DeleteBackendAuthRequestRequestTypeDef

delete_backend_storage#

Removes the specified backend storage resource.

Type annotations and code completion for boto3.client("amplifybackend").delete_backend_storage method. boto3 documentation

# delete_backend_storage method definition

def delete_backend_storage(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceName: str,
    ServiceName: ServiceNameType,  # (1)
) -> DeleteBackendStorageResponseTypeDef:  # (2)
    ...
  1. See ServiceNameType
  2. See DeleteBackendStorageResponseTypeDef
# delete_backend_storage method usage example with argument unpacking

kwargs: DeleteBackendStorageRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceName": ...,
    "ServiceName": ...,
}

parent.delete_backend_storage(**kwargs)
  1. See DeleteBackendStorageRequestRequestTypeDef

delete_token#

Deletes the challenge token based on the given appId and sessionId.

Type annotations and code completion for boto3.client("amplifybackend").delete_token method. boto3 documentation

# delete_token method definition

def delete_token(
    self,
    *,
    AppId: str,
    SessionId: str,
) -> DeleteTokenResponseTypeDef:  # (1)
    ...
  1. See DeleteTokenResponseTypeDef
# delete_token method usage example with argument unpacking

kwargs: DeleteTokenRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "SessionId": ...,
}

parent.delete_token(**kwargs)
  1. See DeleteTokenRequestRequestTypeDef

generate_backend_api_models#

Generates a model schema for an existing backend API resource.

Type annotations and code completion for boto3.client("amplifybackend").generate_backend_api_models method. boto3 documentation

# generate_backend_api_models method definition

def generate_backend_api_models(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceName: str,
) -> GenerateBackendAPIModelsResponseTypeDef:  # (1)
    ...
  1. See GenerateBackendAPIModelsResponseTypeDef
# generate_backend_api_models method usage example with argument unpacking

kwargs: GenerateBackendAPIModelsRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceName": ...,
}

parent.generate_backend_api_models(**kwargs)
  1. See GenerateBackendAPIModelsRequestRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("amplifybackend").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_backend#

Provides project-level details for your Amplify UI project.

Type annotations and code completion for boto3.client("amplifybackend").get_backend method. boto3 documentation

# get_backend method definition

def get_backend(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str = ...,
) -> GetBackendResponseTypeDef:  # (1)
    ...
  1. See GetBackendResponseTypeDef
# get_backend method usage example with argument unpacking

kwargs: GetBackendRequestRequestTypeDef = {  # (1)
    "AppId": ...,
}

parent.get_backend(**kwargs)
  1. See GetBackendRequestRequestTypeDef

get_backend_api#

Gets the details for a backend API.

Type annotations and code completion for boto3.client("amplifybackend").get_backend_api method. boto3 documentation

# get_backend_api method definition

def get_backend_api(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceName: str,
    ResourceConfig: BackendAPIResourceConfigTypeDef = ...,  # (1)
) -> GetBackendAPIResponseTypeDef:  # (2)
    ...
  1. See BackendAPIResourceConfigTypeDef
  2. See GetBackendAPIResponseTypeDef
# get_backend_api method usage example with argument unpacking

kwargs: GetBackendAPIRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceName": ...,
}

parent.get_backend_api(**kwargs)
  1. See GetBackendAPIRequestRequestTypeDef

get_backend_api_models#

Gets a model introspection schema for an existing backend API resource.

Type annotations and code completion for boto3.client("amplifybackend").get_backend_api_models method. boto3 documentation

# get_backend_api_models method definition

def get_backend_api_models(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceName: str,
) -> GetBackendAPIModelsResponseTypeDef:  # (1)
    ...
  1. See GetBackendAPIModelsResponseTypeDef
# get_backend_api_models method usage example with argument unpacking

kwargs: GetBackendAPIModelsRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceName": ...,
}

parent.get_backend_api_models(**kwargs)
  1. See GetBackendAPIModelsRequestRequestTypeDef

get_backend_auth#

Gets a backend auth details.

Type annotations and code completion for boto3.client("amplifybackend").get_backend_auth method. boto3 documentation

# get_backend_auth method definition

def get_backend_auth(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceName: str,
) -> GetBackendAuthResponseTypeDef:  # (1)
    ...
  1. See GetBackendAuthResponseTypeDef
# get_backend_auth method usage example with argument unpacking

kwargs: GetBackendAuthRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceName": ...,
}

parent.get_backend_auth(**kwargs)
  1. See GetBackendAuthRequestRequestTypeDef

get_backend_job#

Returns information about a specific job.

Type annotations and code completion for boto3.client("amplifybackend").get_backend_job method. boto3 documentation

# get_backend_job method definition

def get_backend_job(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    JobId: str,
) -> GetBackendJobResponseTypeDef:  # (1)
    ...
  1. See GetBackendJobResponseTypeDef
# get_backend_job method usage example with argument unpacking

kwargs: GetBackendJobRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "JobId": ...,
}

parent.get_backend_job(**kwargs)
  1. See GetBackendJobRequestRequestTypeDef

get_backend_storage#

Gets details for a backend storage resource.

Type annotations and code completion for boto3.client("amplifybackend").get_backend_storage method. boto3 documentation

# get_backend_storage method definition

def get_backend_storage(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceName: str,
) -> GetBackendStorageResponseTypeDef:  # (1)
    ...
  1. See GetBackendStorageResponseTypeDef
# get_backend_storage method usage example with argument unpacking

kwargs: GetBackendStorageRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceName": ...,
}

parent.get_backend_storage(**kwargs)
  1. See GetBackendStorageRequestRequestTypeDef

get_token#

Gets the challenge token based on the given appId and sessionId.

Type annotations and code completion for boto3.client("amplifybackend").get_token method. boto3 documentation

# get_token method definition

def get_token(
    self,
    *,
    AppId: str,
    SessionId: str,
) -> GetTokenResponseTypeDef:  # (1)
    ...
  1. See GetTokenResponseTypeDef
# get_token method usage example with argument unpacking

kwargs: GetTokenRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "SessionId": ...,
}

parent.get_token(**kwargs)
  1. See GetTokenRequestRequestTypeDef

import_backend_auth#

Imports an existing backend authentication resource.

Type annotations and code completion for boto3.client("amplifybackend").import_backend_auth method. boto3 documentation

# import_backend_auth method definition

def import_backend_auth(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    NativeClientId: str,
    UserPoolId: str,
    WebClientId: str,
    IdentityPoolId: str = ...,
) -> ImportBackendAuthResponseTypeDef:  # (1)
    ...
  1. See ImportBackendAuthResponseTypeDef
# import_backend_auth method usage example with argument unpacking

kwargs: ImportBackendAuthRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "NativeClientId": ...,
    "UserPoolId": ...,
    "WebClientId": ...,
}

parent.import_backend_auth(**kwargs)
  1. See ImportBackendAuthRequestRequestTypeDef

import_backend_storage#

Imports an existing backend storage resource.

Type annotations and code completion for boto3.client("amplifybackend").import_backend_storage method. boto3 documentation

# import_backend_storage method definition

def import_backend_storage(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ServiceName: ServiceNameType,  # (1)
    BucketName: str = ...,
) -> ImportBackendStorageResponseTypeDef:  # (2)
    ...
  1. See ServiceNameType
  2. See ImportBackendStorageResponseTypeDef
# import_backend_storage method usage example with argument unpacking

kwargs: ImportBackendStorageRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ServiceName": ...,
}

parent.import_backend_storage(**kwargs)
  1. See ImportBackendStorageRequestRequestTypeDef

list_backend_jobs#

Lists the jobs for the backend of an Amplify app.

Type annotations and code completion for boto3.client("amplifybackend").list_backend_jobs method. boto3 documentation

# list_backend_jobs method definition

def list_backend_jobs(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    JobId: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    Operation: str = ...,
    Status: str = ...,
) -> ListBackendJobsResponseTypeDef:  # (1)
    ...
  1. See ListBackendJobsResponseTypeDef
# list_backend_jobs method usage example with argument unpacking

kwargs: ListBackendJobsRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
}

parent.list_backend_jobs(**kwargs)
  1. See ListBackendJobsRequestRequestTypeDef

list_s3_buckets#

The list of S3 buckets in your account.

Type annotations and code completion for boto3.client("amplifybackend").list_s3_buckets method. boto3 documentation

# list_s3_buckets method definition

def list_s3_buckets(
    self,
    *,
    NextToken: str = ...,
) -> ListS3BucketsResponseTypeDef:  # (1)
    ...
  1. See ListS3BucketsResponseTypeDef
# list_s3_buckets method usage example with argument unpacking

kwargs: ListS3BucketsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_s3_buckets(**kwargs)
  1. See ListS3BucketsRequestRequestTypeDef

remove_all_backends#

Removes all backend environments from your Amplify project.

Type annotations and code completion for boto3.client("amplifybackend").remove_all_backends method. boto3 documentation

# remove_all_backends method definition

def remove_all_backends(
    self,
    *,
    AppId: str,
    CleanAmplifyApp: bool = ...,
) -> RemoveAllBackendsResponseTypeDef:  # (1)
    ...
  1. See RemoveAllBackendsResponseTypeDef
# remove_all_backends method usage example with argument unpacking

kwargs: RemoveAllBackendsRequestRequestTypeDef = {  # (1)
    "AppId": ...,
}

parent.remove_all_backends(**kwargs)
  1. See RemoveAllBackendsRequestRequestTypeDef

remove_backend_config#

Removes the AWS resources required to access the Amplify Admin UI.

Type annotations and code completion for boto3.client("amplifybackend").remove_backend_config method. boto3 documentation

# remove_backend_config method definition

def remove_backend_config(
    self,
    *,
    AppId: str,
) -> RemoveBackendConfigResponseTypeDef:  # (1)
    ...
  1. See RemoveBackendConfigResponseTypeDef
# remove_backend_config method usage example with argument unpacking

kwargs: RemoveBackendConfigRequestRequestTypeDef = {  # (1)
    "AppId": ...,
}

parent.remove_backend_config(**kwargs)
  1. See RemoveBackendConfigRequestRequestTypeDef

update_backend_api#

Updates an existing backend API resource.

Type annotations and code completion for boto3.client("amplifybackend").update_backend_api method. boto3 documentation

# update_backend_api method definition

def update_backend_api(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceName: str,
    ResourceConfig: BackendAPIResourceConfigTypeDef = ...,  # (1)
) -> UpdateBackendAPIResponseTypeDef:  # (2)
    ...
  1. See BackendAPIResourceConfigTypeDef
  2. See UpdateBackendAPIResponseTypeDef
# update_backend_api method usage example with argument unpacking

kwargs: UpdateBackendAPIRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceName": ...,
}

parent.update_backend_api(**kwargs)
  1. See UpdateBackendAPIRequestRequestTypeDef

update_backend_auth#

Updates an existing backend authentication resource.

Type annotations and code completion for boto3.client("amplifybackend").update_backend_auth method. boto3 documentation

# update_backend_auth method definition

def update_backend_auth(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceConfig: UpdateBackendAuthResourceConfigTypeDef,  # (1)
    ResourceName: str,
) -> UpdateBackendAuthResponseTypeDef:  # (2)
    ...
  1. See UpdateBackendAuthResourceConfigTypeDef
  2. See UpdateBackendAuthResponseTypeDef
# update_backend_auth method usage example with argument unpacking

kwargs: UpdateBackendAuthRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceConfig": ...,
    "ResourceName": ...,
}

parent.update_backend_auth(**kwargs)
  1. See UpdateBackendAuthRequestRequestTypeDef

update_backend_config#

Updates the AWS resources required to access the Amplify Admin UI.

Type annotations and code completion for boto3.client("amplifybackend").update_backend_config method. boto3 documentation

# update_backend_config method definition

def update_backend_config(
    self,
    *,
    AppId: str,
    LoginAuthConfig: LoginAuthConfigReqObjTypeDef = ...,  # (1)
) -> UpdateBackendConfigResponseTypeDef:  # (2)
    ...
  1. See LoginAuthConfigReqObjTypeDef
  2. See UpdateBackendConfigResponseTypeDef
# update_backend_config method usage example with argument unpacking

kwargs: UpdateBackendConfigRequestRequestTypeDef = {  # (1)
    "AppId": ...,
}

parent.update_backend_config(**kwargs)
  1. See UpdateBackendConfigRequestRequestTypeDef

update_backend_job#

Updates a specific job.

Type annotations and code completion for boto3.client("amplifybackend").update_backend_job method. boto3 documentation

# update_backend_job method definition

def update_backend_job(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    JobId: str,
    Operation: str = ...,
    Status: str = ...,
) -> UpdateBackendJobResponseTypeDef:  # (1)
    ...
  1. See UpdateBackendJobResponseTypeDef
# update_backend_job method usage example with argument unpacking

kwargs: UpdateBackendJobRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "JobId": ...,
}

parent.update_backend_job(**kwargs)
  1. See UpdateBackendJobRequestRequestTypeDef

update_backend_storage#

Updates an existing backend storage resource.

Type annotations and code completion for boto3.client("amplifybackend").update_backend_storage method. boto3 documentation

# update_backend_storage method definition

def update_backend_storage(
    self,
    *,
    AppId: str,
    BackendEnvironmentName: str,
    ResourceConfig: UpdateBackendStorageResourceConfigTypeDef,  # (1)
    ResourceName: str,
) -> UpdateBackendStorageResponseTypeDef:  # (2)
    ...
  1. See UpdateBackendStorageResourceConfigTypeDef
  2. See UpdateBackendStorageResponseTypeDef
# update_backend_storage method usage example with argument unpacking

kwargs: UpdateBackendStorageRequestRequestTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
    "ResourceConfig": ...,
    "ResourceName": ...,
}

parent.update_backend_storage(**kwargs)
  1. See UpdateBackendStorageRequestRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("amplifybackend").get_paginator method with overloads.