AmplifyUIBuilderClient
Index > AmplifyUIBuilder > AmplifyUIBuilderClient
Auto-generated documentation for AmplifyUIBuilder type annotations stubs module types-aiobotocore-amplifyuibuilder.
AmplifyUIBuilderClient
Type annotations and code completion for session.client("amplifyuibuilder")
boto3 documentation
from aioboto3.session import Session
from types_aiobotocore_amplifyuibuilder.client import AmplifyUIBuilderClient
session = Session()
async with session.client("amplifyuibuilder") as client:
client: AmplifyUIBuilderClient
Exceptions
aioboto3
client exceptions are generated in runtime.
This class provides code completion for session.client("amplifyuibuilder").exceptions
structure.
async with session.client("amplifyuibuilder") as client:
try:
do_something(client)
except (
client.ClientError,
client.InternalServerException,
client.InvalidParameterException,
client.ResourceConflictException,
client.ResourceNotFoundException,
client.ServiceQuotaExceededException,
) as e:
print(e)
from types_aiobotocore_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 session.client("amplifyuibuilder").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for session.client("amplifyuibuilder").close
method.
boto3 documentation
create_component
Creates a new component for an Amplify app.
Type annotations and code completion for session.client("amplifyuibuilder").create_component
method.
boto3 documentation
await def create_component(
self,
*,
appId: str,
componentToCreate: CreateComponentDataTypeDef, # (1)
environmentName: str,
clientToken: str = ...,
) -> CreateComponentResponseTypeDef: # (2)
...
kwargs: CreateComponentRequestRequestTypeDef = { # (1)
"appId": ...,
"componentToCreate": ...,
"environmentName": ...,
}
parent.create_component(**kwargs)
create_theme
Creates a theme to apply to the components in an Amplify app.
Type annotations and code completion for session.client("amplifyuibuilder").create_theme
method.
boto3 documentation
await def create_theme(
self,
*,
appId: str,
environmentName: str,
themeToCreate: CreateThemeDataTypeDef, # (1)
clientToken: str = ...,
) -> CreateThemeResponseTypeDef: # (2)
...
kwargs: CreateThemeRequestRequestTypeDef = { # (1)
"appId": ...,
"environmentName": ...,
"themeToCreate": ...,
}
parent.create_theme(**kwargs)
delete_component
Deletes a component from an Amplify app.
Type annotations and code completion for session.client("amplifyuibuilder").delete_component
method.
boto3 documentation
await def delete_component(
self,
*,
appId: str,
environmentName: str,
id: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteComponentRequestRequestTypeDef = { # (1)
"appId": ...,
"environmentName": ...,
"id": ...,
}
parent.delete_component(**kwargs)
delete_theme
Deletes a theme from an Amplify app.
Type annotations and code completion for session.client("amplifyuibuilder").delete_theme
method.
boto3 documentation
await def delete_theme(
self,
*,
appId: str,
environmentName: str,
id: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteThemeRequestRequestTypeDef = { # (1)
"appId": ...,
"environmentName": ...,
"id": ...,
}
parent.delete_theme(**kwargs)
exchange_code_for_token
Exchanges an access code for a token.
Type annotations and code completion for session.client("amplifyuibuilder").exchange_code_for_token
method.
boto3 documentation
await def exchange_code_for_token(
self,
*,
provider: TokenProvidersType, # (1)
request: ExchangeCodeForTokenRequestBodyTypeDef, # (2)
) -> ExchangeCodeForTokenResponseTypeDef: # (3)
...
- See TokenProvidersType
- See ExchangeCodeForTokenRequestBodyTypeDef
- See ExchangeCodeForTokenResponseTypeDef
kwargs: ExchangeCodeForTokenRequestRequestTypeDef = { # (1)
"provider": ...,
"request": ...,
}
parent.exchange_code_for_token(**kwargs)
export_components
Exports component configurations to code that is ready to integrate into an Amplify app.
Type annotations and code completion for session.client("amplifyuibuilder").export_components
method.
boto3 documentation
await def export_components(
self,
*,
appId: str,
environmentName: str,
nextToken: str = ...,
) -> ExportComponentsResponseTypeDef: # (1)
...
kwargs: ExportComponentsRequestRequestTypeDef = { # (1)
"appId": ...,
"environmentName": ...,
}
parent.export_components(**kwargs)
export_themes
Exports theme configurations to code that is ready to integrate into an Amplify app.
Type annotations and code completion for session.client("amplifyuibuilder").export_themes
method.
boto3 documentation
await def export_themes(
self,
*,
appId: str,
environmentName: str,
nextToken: str = ...,
) -> ExportThemesResponseTypeDef: # (1)
...
kwargs: ExportThemesRequestRequestTypeDef = { # (1)
"appId": ...,
"environmentName": ...,
}
parent.export_themes(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for session.client("amplifyuibuilder").generate_presigned_url
method.
boto3 documentation
await def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_component
Returns an existing component for an Amplify app.
Type annotations and code completion for session.client("amplifyuibuilder").get_component
method.
boto3 documentation
await def get_component(
self,
*,
appId: str,
environmentName: str,
id: str,
) -> GetComponentResponseTypeDef: # (1)
...
kwargs: GetComponentRequestRequestTypeDef = { # (1)
"appId": ...,
"environmentName": ...,
"id": ...,
}
parent.get_component(**kwargs)
get_theme
Returns an existing theme for an Amplify app.
Type annotations and code completion for session.client("amplifyuibuilder").get_theme
method.
boto3 documentation
await def get_theme(
self,
*,
appId: str,
environmentName: str,
id: str,
) -> GetThemeResponseTypeDef: # (1)
...
kwargs: GetThemeRequestRequestTypeDef = { # (1)
"appId": ...,
"environmentName": ...,
"id": ...,
}
parent.get_theme(**kwargs)
list_components
Retrieves a list of components for a specified Amplify app and backend environment.
Type annotations and code completion for session.client("amplifyuibuilder").list_components
method.
boto3 documentation
await def list_components(
self,
*,
appId: str,
environmentName: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListComponentsResponseTypeDef: # (1)
...
kwargs: ListComponentsRequestRequestTypeDef = { # (1)
"appId": ...,
"environmentName": ...,
}
parent.list_components(**kwargs)
list_themes
Retrieves a list of themes for a specified Amplify app and backend environment.
Type annotations and code completion for session.client("amplifyuibuilder").list_themes
method.
boto3 documentation
await def list_themes(
self,
*,
appId: str,
environmentName: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListThemesResponseTypeDef: # (1)
...
kwargs: ListThemesRequestRequestTypeDef = { # (1)
"appId": ...,
"environmentName": ...,
}
parent.list_themes(**kwargs)
refresh_token
Refreshes a previously issued access token that might have expired.
Type annotations and code completion for session.client("amplifyuibuilder").refresh_token
method.
boto3 documentation
await def refresh_token(
self,
*,
provider: TokenProvidersType, # (1)
refreshTokenBody: RefreshTokenRequestBodyTypeDef, # (2)
) -> RefreshTokenResponseTypeDef: # (3)
...
kwargs: RefreshTokenRequestRequestTypeDef = { # (1)
"provider": ...,
"refreshTokenBody": ...,
}
parent.refresh_token(**kwargs)
update_component
Updates an existing component.
Type annotations and code completion for session.client("amplifyuibuilder").update_component
method.
boto3 documentation
await def update_component(
self,
*,
appId: str,
environmentName: str,
id: str,
updatedComponent: UpdateComponentDataTypeDef, # (1)
clientToken: str = ...,
) -> UpdateComponentResponseTypeDef: # (2)
...
kwargs: UpdateComponentRequestRequestTypeDef = { # (1)
"appId": ...,
"environmentName": ...,
"id": ...,
"updatedComponent": ...,
}
parent.update_component(**kwargs)
update_theme
Updates an existing theme.
Type annotations and code completion for session.client("amplifyuibuilder").update_theme
method.
boto3 documentation
await def update_theme(
self,
*,
appId: str,
environmentName: str,
id: str,
updatedTheme: UpdateThemeDataTypeDef, # (1)
clientToken: str = ...,
) -> UpdateThemeResponseTypeDef: # (2)
...
kwargs: UpdateThemeRequestRequestTypeDef = { # (1)
"appId": ...,
"environmentName": ...,
"id": ...,
"updatedTheme": ...,
}
parent.update_theme(**kwargs)
__aenter__
Type annotations and code completion for session.client("amplifyuibuilder").__aenter__
method.
boto3 documentation
__aexit__
Type annotations and code completion for session.client("amplifyuibuilder").__aexit__
method.
boto3 documentation
get_paginator
Type annotations and code completion for session.client("amplifyuibuilder").get_paginator
method with overloads.
client.get_paginator("export_components")
-> ExportComponentsPaginatorclient.get_paginator("export_themes")
-> ExportThemesPaginatorclient.get_paginator("list_components")
-> ListComponentsPaginatorclient.get_paginator("list_themes")
-> ListThemesPaginator