Skip to content

AmplifyUIBuilderClient#

Index > AmplifyUIBuilder > AmplifyUIBuilderClient

Auto-generated documentation for AmplifyUIBuilder type annotations stubs module mypy-boto3-amplifyuibuilder.

AmplifyUIBuilderClient#

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

# AmplifyUIBuilderClient usage example

from boto3.session import Session
from mypy_boto3_amplifyuibuilder.client import AmplifyUIBuilderClient

def get_amplifyuibuilder_client() -> AmplifyUIBuilderClient:
    return Session().client("amplifyuibuilder")

Exceptions#

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

# Exceptions.exceptions usage example

client = boto3.client("amplifyuibuilder")

try:
    do_something(client)
except (
    client.exceptions.ClientError,
    client.exceptions.InternalServerException,
    client.exceptions.InvalidParameterException,
    client.exceptions.ResourceConflictException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.UnauthorizedException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_amplifyuibuilder.client import Exceptions

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

Methods#

can_paginate#

Check if an operation can be paginated.

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

# can_paginate method definition

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

close#

Closes underlying endpoint connections.

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

# close method definition

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

create_component#

Creates a new component for an Amplify app.

Type annotations and code completion for boto3.client("amplifyuibuilder").create_component method. boto3 documentation

# create_component method definition

def create_component(
    self,
    *,
    appId: str,
    environmentName: str,
    componentToCreate: CreateComponentDataTypeDef,  # (1)
    clientToken: str = ...,
) -> CreateComponentResponseTypeDef:  # (2)
    ...
  1. See CreateComponentDataTypeDef
  2. See CreateComponentResponseTypeDef
# create_component method usage example with argument unpacking

kwargs: CreateComponentRequestRequestTypeDef = {  # (1)
    "appId": ...,
    "environmentName": ...,
    "componentToCreate": ...,
}

parent.create_component(**kwargs)
  1. See CreateComponentRequestRequestTypeDef

create_form#

Creates a new form for an Amplify app.

Type annotations and code completion for boto3.client("amplifyuibuilder").create_form method. boto3 documentation

# create_form method definition

def create_form(
    self,
    *,
    appId: str,
    environmentName: str,
    formToCreate: CreateFormDataTypeDef,  # (1)
    clientToken: str = ...,
) -> CreateFormResponseTypeDef:  # (2)
    ...
  1. See CreateFormDataTypeDef
  2. See CreateFormResponseTypeDef
# create_form method usage example with argument unpacking

kwargs: CreateFormRequestRequestTypeDef = {  # (1)
    "appId": ...,
    "environmentName": ...,
    "formToCreate": ...,
}

parent.create_form(**kwargs)
  1. See CreateFormRequestRequestTypeDef

create_theme#

Creates a theme to apply to the components in an Amplify app.

Type annotations and code completion for boto3.client("amplifyuibuilder").create_theme method. boto3 documentation

# create_theme method definition

def create_theme(
    self,
    *,
    appId: str,
    environmentName: str,
    themeToCreate: CreateThemeDataTypeDef,  # (1)
    clientToken: str = ...,
) -> CreateThemeResponseTypeDef:  # (2)
    ...
  1. See CreateThemeDataTypeDef
  2. See CreateThemeResponseTypeDef
# create_theme method usage example with argument unpacking

kwargs: CreateThemeRequestRequestTypeDef = {  # (1)
    "appId": ...,
    "environmentName": ...,
    "themeToCreate": ...,
}

parent.create_theme(**kwargs)
  1. See CreateThemeRequestRequestTypeDef

delete_component#

Deletes a component from an Amplify app.

Type annotations and code completion for boto3.client("amplifyuibuilder").delete_component method. boto3 documentation

# delete_component method definition

def delete_component(
    self,
    *,
    appId: str,
    environmentName: str,
    id: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_component method usage example with argument unpacking

kwargs: DeleteComponentRequestRequestTypeDef = {  # (1)
    "appId": ...,
    "environmentName": ...,
    "id": ...,
}

parent.delete_component(**kwargs)
  1. See DeleteComponentRequestRequestTypeDef

delete_form#

Deletes a form from an Amplify app.

Type annotations and code completion for boto3.client("amplifyuibuilder").delete_form method. boto3 documentation

# delete_form method definition

def delete_form(
    self,
    *,
    appId: str,
    environmentName: str,
    id: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_form method usage example with argument unpacking

kwargs: DeleteFormRequestRequestTypeDef = {  # (1)
    "appId": ...,
    "environmentName": ...,
    "id": ...,
}

parent.delete_form(**kwargs)
  1. See DeleteFormRequestRequestTypeDef

delete_theme#

Deletes a theme from an Amplify app.

Type annotations and code completion for boto3.client("amplifyuibuilder").delete_theme method. boto3 documentation

# delete_theme method definition

def delete_theme(
    self,
    *,
    appId: str,
    environmentName: str,
    id: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_theme method usage example with argument unpacking

kwargs: DeleteThemeRequestRequestTypeDef = {  # (1)
    "appId": ...,
    "environmentName": ...,
    "id": ...,
}

parent.delete_theme(**kwargs)
  1. See DeleteThemeRequestRequestTypeDef

exchange_code_for_token#

.

Type annotations and code completion for boto3.client("amplifyuibuilder").exchange_code_for_token method. boto3 documentation

# exchange_code_for_token method definition

def exchange_code_for_token(
    self,
    *,
    provider: TokenProvidersType,  # (1)
    request: ExchangeCodeForTokenRequestBodyTypeDef,  # (2)
) -> ExchangeCodeForTokenResponseTypeDef:  # (3)
    ...
  1. See TokenProvidersType
  2. See ExchangeCodeForTokenRequestBodyTypeDef
  3. See ExchangeCodeForTokenResponseTypeDef
# exchange_code_for_token method usage example with argument unpacking

kwargs: ExchangeCodeForTokenRequestRequestTypeDef = {  # (1)
    "provider": ...,
    "request": ...,
}

parent.exchange_code_for_token(**kwargs)
  1. See ExchangeCodeForTokenRequestRequestTypeDef

export_components#

Exports component configurations to code that is ready to integrate into an Amplify app.

Type annotations and code completion for boto3.client("amplifyuibuilder").export_components method. boto3 documentation

# export_components method definition

def export_components(
    self,
    *,
    appId: str,
    environmentName: str,
    nextToken: str = ...,
) -> ExportComponentsResponseTypeDef:  # (1)
    ...
  1. See ExportComponentsResponseTypeDef
# export_components method usage example with argument unpacking

kwargs: ExportComponentsRequestRequestTypeDef = {  # (1)
    "appId": ...,
    "environmentName": ...,
}

parent.export_components(**kwargs)
  1. See ExportComponentsRequestRequestTypeDef

export_forms#

Exports form configurations to code that is ready to integrate into an Amplify app.

Type annotations and code completion for boto3.client("amplifyuibuilder").export_forms method. boto3 documentation

# export_forms method definition

def export_forms(
    self,
    *,
    appId: str,
    environmentName: str,
    nextToken: str = ...,
) -> ExportFormsResponseTypeDef:  # (1)
    ...
  1. See ExportFormsResponseTypeDef
# export_forms method usage example with argument unpacking

kwargs: ExportFormsRequestRequestTypeDef = {  # (1)
    "appId": ...,
    "environmentName": ...,
}

parent.export_forms(**kwargs)
  1. See ExportFormsRequestRequestTypeDef

export_themes#

Exports theme configurations to code that is ready to integrate into an Amplify app.

Type annotations and code completion for boto3.client("amplifyuibuilder").export_themes method. boto3 documentation

# export_themes method definition

def export_themes(
    self,
    *,
    appId: str,
    environmentName: str,
    nextToken: str = ...,
) -> ExportThemesResponseTypeDef:  # (1)
    ...
  1. See ExportThemesResponseTypeDef
# export_themes method usage example with argument unpacking

kwargs: ExportThemesRequestRequestTypeDef = {  # (1)
    "appId": ...,
    "environmentName": ...,
}

parent.export_themes(**kwargs)
  1. See ExportThemesRequestRequestTypeDef

generate_presigned_url#

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

Type annotations and code completion for boto3.client("amplifyuibuilder").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_codegen_job#

Returns an existing code generation job.

Type annotations and code completion for boto3.client("amplifyuibuilder").get_codegen_job method. boto3 documentation

# get_codegen_job method definition

def get_codegen_job(
    self,
    *,
    appId: str,
    environmentName: str,
    id: str,
) -> GetCodegenJobResponseTypeDef:  # (1)
    ...
  1. See