Skip to content

AppConfigClient#

Index > AppConfig > AppConfigClient

Auto-generated documentation for AppConfig type annotations stubs module types-aiobotocore-appconfig.

AppConfigClient#

Type annotations and code completion for session.create_client("appconfig") boto3 documentation

AppConfigClient usage example

from aiobotocore.session import get_session
from types_aiobotocore_appconfig.client import AppConfigClient

session = get_session()
async with session.create_client("appconfig") as client:
    client: AppConfigClient

Exceptions#

aiobotocore client exceptions are generated in runtime. This class provides code completion for session.create_client("appconfig").exceptions structure.

AppConfigClient.exceptions usage example

async with session.create_client("appconfig") as client:
    try:
        do_something(client)
    except (
            client.BadRequestException,
        client.ClientError,
        client.ConflictException,
        client.InternalServerException,
        client.PayloadTooLargeException,
        client.ResourceNotFoundException,
        client.ServiceQuotaExceededException,
    ) as e:
        print(e)
AppConfigClient usage type checking example

from types_aiobotocore_appconfig.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 session.create_client("appconfig").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 session.create_client("appconfig").close method. boto3 documentation

# close method definition

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

create_application#

Creates an application.

Type annotations and code completion for session.create_client("appconfig").create_application method. boto3 documentation

# create_application method definition

await def create_application(
    self,
    *,
    Name: str,
    Description: str = ...,
    Tags: Mapping[str, str] = ...,
) -> ApplicationResponseTypeDef:  # (1)
    ...
  1. See ApplicationResponseTypeDef
# create_application method usage example with argument unpacking

kwargs: CreateApplicationRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.create_application(**kwargs)
  1. See CreateApplicationRequestRequestTypeDef

create_configuration_profile#

Creates a configuration profile, which is information that enables AppConfig to access the configuration source.

Type annotations and code completion for session.create_client("appconfig").create_configuration_profile method. boto3 documentation

# create_configuration_profile method definition

await def create_configuration_profile(
    self,
    *,
    ApplicationId: str,
    Name: str,
    LocationUri: str,
    Description: str = ...,
    RetrievalRoleArn: str = ...,
    Validators: Sequence[ValidatorTypeDef] = ...,  # (1)
    Tags: Mapping[str, str] = ...,
    Type: str = ...,
) -> ConfigurationProfileTypeDef:  # (2)
    ...
  1. See ValidatorTypeDef
  2. See ConfigurationProfileTypeDef
# create_configuration_profile method usage example with argument unpacking

kwargs: CreateConfigurationProfileRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "Name": ...,
    "LocationUri": ...,
}

parent.create_configuration_profile(**kwargs)
  1. See CreateConfigurationProfileRequestRequestTypeDef

create_deployment_strategy#

Creates a deployment strategy that defines important criteria for rolling out your configuration to the designated targets.

Type annotations and code completion for session.create_client("appconfig").create_deployment_strategy method. boto3 documentation

# create_deployment_strategy method definition

await def create_deployment_strategy(
    self,
    *,
    Name: str,
    DeploymentDurationInMinutes: int,
    GrowthFactor: float,
    Description: str = ...,
    FinalBakeTimeInMinutes: int = ...,
    GrowthType: GrowthTypeType = ...,  # (1)
    ReplicateTo: ReplicateToType = ...,  # (2)
    Tags: Mapping[str, str] = ...,
) -> DeploymentStrategyResponseTypeDef:  # (3)
    ...
  1. See GrowthTypeType
  2. See ReplicateToType
  3. See DeploymentStrategyResponseTypeDef
# create_deployment_strategy method usage example with argument unpacking

kwargs: CreateDeploymentStrategyRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "DeploymentDurationInMinutes": ...,
    "GrowthFactor": ...,
}

parent.create_deployment_strategy(**kwargs)
  1. See CreateDeploymentStrategyRequestRequestTypeDef

create_environment#

Creates an environment.

Type annotations and code completion for session.create_client("appconfig").create_environment method. boto3 documentation

# create_environment method definition

await def create_environment(
    self,
    *,
    ApplicationId: str,
    Name: str,
    Description: str = ...,
    Monitors: Sequence[MonitorTypeDef] = ...,  # (1)
    Tags: Mapping[str, str] = ...,
) -> EnvironmentResponseTypeDef:  # (2)
    ...
  1. See MonitorTypeDef
  2. See EnvironmentResponseTypeDef
# create_environment method usage example with argument unpacking

kwargs: CreateEnvironmentRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "Name": ...,
}

parent.create_environment(**kwargs)
  1. See CreateEnvironmentRequestRequestTypeDef

create_extension#

Creates an AppConfig extension.

Type annotations and code completion for session.create_client("appconfig").create_extension method. boto3 documentation

# create_extension method definition

await def create_extension(
    self,
    *,
    Name: str,
    Actions: Mapping[ActionPointType, Sequence[ActionTypeDef]],  # (1)
    Description: str = ...,
    Parameters: Mapping[str, ParameterTypeDef] = ...,  # (2)
    Tags: Mapping[str, str] = ...,
    LatestVersionNumber: int = ...,
) -> ExtensionTypeDef:  # (3)
    ...
  1. See ActionPointType ActionTypeDef
  2. See ParameterTypeDef
  3. See ExtensionTypeDef
# create_extension method usage example with argument unpacking

kwargs: CreateExtensionRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "Actions": ...,
}

parent.create_extension(**kwargs)
  1. See CreateExtensionRequestRequestTypeDef

create_extension_association#

When you create an extension or configure an Amazon Web Services authored extension, you associate the extension with an AppConfig application, environment, or configuration profile.

Type annotations and code completion for session.create_client("appconfig").create_extension_association method. boto3 documentation

# create_extension_association method definition

await def create_extension_association(
    self,
    *,
    ExtensionIdentifier: str,
    ResourceIdentifier: str,
    ExtensionVersionNumber: int = ...,
    Parameters: Mapping[str, str] = ...,
    Tags: Mapping[str, str] = ...,
) -> ExtensionAssociationTypeDef:  # (1)
    ...
  1. See ExtensionAssociationTypeDef
# create_extension_association method usage example with argument unpacking

kwargs: CreateExtensionAssociationRequestRequestTypeDef = {  # (1)
    "ExtensionIdentifier": ...,
    "ResourceIdentifier": ...,
}

parent.create_extension_association(**kwargs)
  1. See CreateExtensionAssociationRequestRequestTypeDef

create_hosted_configuration_version#

Creates a new configuration in the AppConfig hosted configuration store.

Type annotations and code completion for session.create_client("appconfig").create_hosted_configuration_version method. boto3 documentation

# create_hosted_configuration_version method definition

await def create_hosted_configuration_version(
    self,
    *,
    ApplicationId: str,
    ConfigurationProfileId: str,
    Content: Union[str, bytes, IO[Any], StreamingBody],
    ContentType: str,
    Description: str = ...,
    LatestVersionNumber: int = ...,
    VersionLabel: str = ...,
) -> HostedConfigurationVersionTypeDef:  # (1)
    ...
  1. See HostedConfigurationVersionTypeDef
# create_hosted_configuration_version method usage example with argument unpacking

kwargs: CreateHostedConfigurationVersionRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "ConfigurationProfileId": ...,
    "Content": ...,
    "ContentType": ...,
}

parent.create_hosted_configuration_version(**kwargs)
  1. See CreateHostedConfigurationVersionRequestRequestTypeDef

delete_application#

Deletes an application.

Type annotations and code completion for session.create_client("appconfig").delete_application method. boto3 documentation

# delete_application method definition

await def delete_application(
    self,
    *,
    ApplicationId: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_application method usage example with argument unpacking

kwargs: DeleteApplicationRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
}

parent.delete_application(**kwargs)
  1. See DeleteApplicationRequestRequestTypeDef

delete_configuration_profile#

Deletes a configuration profile.

Type annotations and code completion for session.create_client("appconfig").delete_configuration_profile method. boto3 documentation

# delete_configuration_profile method definition

await def delete_configuration_profile(
    self,
    *,
    ApplicationId: str,
    ConfigurationProfileId: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_configuration_profile method usage example with argument unpacking

kwargs: DeleteConfigurationProfileRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "ConfigurationProfileId": ...,
}

parent.delete_configuration_profile(**kwargs)
  1. See DeleteConfigurationProfileRequestRequestTypeDef

delete_deployment_strategy#

Deletes a deployment strategy.

Type annotations and code completion for session.create_client("appconfig").delete_deployment_strategy method. boto3 documentation

# delete_deployment_strategy method definition

await def delete_deployment_strategy(
    self,
    *,
    DeploymentStrategyId: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_deployment_strategy method usage example with argument unpacking

kwargs: DeleteDeploymentStrategyRequestRequestTypeDef = {  # (1)
    "DeploymentStrategyId": ...,
}

parent.delete_deployment_strategy(**kwargs)
  1. See DeleteDeploymentStrategyRequestRequestTypeDef

delete_environment#

Deletes an environment.

Type annotations and code completion for session.create_client("appconfig").delete_environment method. boto3 documentation

# delete_environment method definition

await def delete_environment(
    self,
    *,
    ApplicationId: str,
    EnvironmentId: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_environment method usage example with argument unpacking

kwargs: DeleteEnvironmentRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "EnvironmentId": ...,
}

parent.delete_environment(**kwargs)
  1. See DeleteEnvironmentRequestRequestTypeDef

delete_extension#

Deletes an AppConfig extension.

Type annotations and code completion for session.create_client("appconfig").delete_extension method. boto3 documentation

# delete_extension method definition

await def delete_extension(
    self,
    *,
    ExtensionIdentifier: str,
    VersionNumber: int = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_extension method usage example with argument unpacking

kwargs: DeleteExtensionRequestRequestTypeDef = {  # (1)
    "ExtensionIdentifier": ...,
}

parent.delete_extension(**kwargs)
  1. See DeleteExtensionRequestRequestTypeDef

delete_extension_association#

Deletes an extension association.

Type annotations and code completion for session.create_client("appconfig").delete_extension_association method. boto3 documentation

# delete_extension_association method definition

await def delete_extension_association(
    self,
    *,
    ExtensionAssociationId: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_extension_association method usage example with argument unpacking

kwargs: DeleteExtensionAssociationRequestRequestTypeDef = {  # (1)
    "ExtensionAssociationId": ...,
}

parent.delete_extension_association(**kwargs)
  1. See DeleteExtensionAssociationRequestRequestTypeDef

delete_hosted_configuration_version#

Deletes a version of a configuration from the AppConfig hosted configuration store.

Type annotations and code completion for session.create_client("appconfig").delete_hosted_configuration_version method. boto3 documentation

# delete_hosted_configuration_version method definition

await def delete_hosted_configuration_version(
    self,
    *,
    ApplicationId: str,
    ConfigurationProfileId: str,
    VersionNumber: int,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_hosted_configuration_version method usage example with argument unpacking

kwargs: DeleteHostedConfigurationVersionRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "ConfigurationProfileId": ...,
    "VersionNumber": ...,
}

parent.delete_hosted_configuration_version(**kwargs)
  1. See DeleteHostedConfigurationVersionRequestRequestTypeDef

generate_presigned_url#

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

Type annotations and code completion for session.create_client("appconfig").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

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

get_application#

Retrieves information about an application.

Type annotations and code completion for session.create_client("appconfig").get_application method. boto3 documentation

# get_application method definition

await def get_application(
    self,
    *,
    ApplicationId: str,
) -> ApplicationResponseTypeDef:  # (1)
    ...
  1. See ApplicationResponseTypeDef
# get_application method usage example with argument unpacking

kwargs: GetApplicationRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
}

parent.get_application(**kwargs)
  1. See GetApplicationRequestRequestTypeDef

get_configuration#

(Deprecated) Retrieves the latest deployed configuration.

Type annotations and code completion for session.create_client("appconfig").get_configuration method. boto3 documentation

# get_configuration method definition

await def get_configuration(
    self,
    *,
    Application: str,
    Environment: str,
    Configuration: str,
    ClientId: str,
    ClientConfigurationVersion: str = ...,
) -> ConfigurationTypeDef:  # (1)
    ...
  1. See ConfigurationTypeDef
# get_configuration method usage example with argument unpacking

kwargs: GetConfigurationRequestRequestTypeDef = {  # (1)
    "Application": ...,
    "Environment": ...,
    "Configuration": ...,
    "ClientId": ...,
}

parent.get_configuration(**kwargs)
  1. See GetConfigurationRequestRequestTypeDef

get_configuration_profile#

Retrieves information about a configuration profile.

Type annotations and code completion for session.create_client("appconfig").get_configuration_profile method. boto3 documentation

# get_configuration_profile method definition

await def get_configuration_profile(
    self,
    *,
    ApplicationId: str,
    ConfigurationProfileId: str,
) -> ConfigurationProfileTypeDef:  # (1)
    ...
  1. See ConfigurationProfileTypeDef
# get_configuration_profile method usage example with argument unpacking

kwargs: GetConfigurationProfileRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "ConfigurationProfileId": ...,
}

parent.get_configuration_profile(**kwargs)
  1. See GetConfigurationProfileRequestRequestTypeDef

get_deployment#

Retrieves information about a configuration deployment.

Type annotations and code completion for session.create_client("appconfig").get_deployment method. boto3 documentation

# get_deployment method definition

await def get_deployment(
    self,
    *,
    ApplicationId: str,
    EnvironmentId: str,
    DeploymentNumber: int,
) -> DeploymentTypeDef:  # (1)
    ...
  1. See DeploymentTypeDef
# get_deployment method usage example with argument unpacking

kwargs: GetDeploymentRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "EnvironmentId": ...,
    "DeploymentNumber": ...,
}

parent.get_deployment(**kwargs)
  1. See GetDeploymentRequestRequestTypeDef

get_deployment_strategy#

Retrieves information about a deployment strategy.

Type annotations and code completion for session.create_client("appconfig").get_deployment_strategy method. boto3 documentation

# get_deployment_strategy method definition

await def get_deployment_strategy(
    self,
    *,
    DeploymentStrategyId: str,
) -> DeploymentStrategyResponseTypeDef:  # (1)
    ...
  1. See DeploymentStrategyResponseTypeDef
# get_deployment_strategy method usage example with argument unpacking

kwargs: GetDeploymentStrategyRequestRequestTypeDef = {  # (1)
    "DeploymentStrategyId": ...,
}

parent.get_deployment_strategy(**kwargs)
  1. See GetDeploymentStrategyRequestRequestTypeDef

get_environment#

Retrieves information about an environment.

Type annotations and code completion for session.create_client("appconfig").get_environment method. boto3 documentation

# get_environment method definition

await def get_environment(
    self,
    *,
    ApplicationId: str,
    EnvironmentId: str,
) -> EnvironmentResponseTypeDef:  # (1)
    ...
  1. See EnvironmentResponseTypeDef
# get_environment method usage example with argument unpacking

kwargs: GetEnvironmentRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "EnvironmentId": ...,
}

parent.get_environment(**kwargs)
  1. See GetEnvironmentRequestRequestTypeDef

get_extension#

Returns information about an AppConfig extension.

Type annotations and code completion for session.create_client("appconfig").get_extension method. boto3 documentation

# get_extension method definition

await def get_extension(
    self,
    *,
    ExtensionIdentifier: str,
    VersionNumber: int = ...,
) -> ExtensionTypeDef:  # (1)
    ...
  1. See ExtensionTypeDef
# get_extension method usage example with argument unpacking

kwargs: GetExtensionRequestRequestTypeDef = {  # (1)
    "ExtensionIdentifier": ...,
}

parent.get_extension(**kwargs)
  1. See GetExtensionRequestRequestTypeDef

get_extension_association#

Returns information about an AppConfig extension association.

Type annotations and code completion for session.create_client("appconfig").get_extension_association method. boto3 documentation

# get_extension_association method definition

await def get_extension_association(
    self,
    *,
    ExtensionAssociationId: str,
) -> ExtensionAssociationTypeDef:  # (1)
    ...
  1. See ExtensionAssociationTypeDef
# get_extension_association method usage example with argument unpacking

kwargs: GetExtensionAssociationRequestRequestTypeDef = {  # (1)
    "ExtensionAssociationId": ...,
}

parent.get_extension_association(**kwargs)
  1. See GetExtensionAssociationRequestRequestTypeDef

get_hosted_configuration_version#

Retrieves information about a specific configuration version.

Type annotations and code completion for session.create_client("appconfig").get_hosted_configuration_version method. boto3 documentation

# get_hosted_configuration_version method definition

await def get_hosted_configuration_version(
    self,
    *,
    ApplicationId: str,
    ConfigurationProfileId: str,
    VersionNumber: int,
) -> HostedConfigurationVersionTypeDef:  # (1)
    ...
  1. See HostedConfigurationVersionTypeDef
# get_hosted_configuration_version method usage example with argument unpacking

kwargs: GetHostedConfigurationVersionRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "ConfigurationProfileId": ...,
    "VersionNumber": ...,
}

parent.get_hosted_configuration_version(**kwargs)
  1. See GetHostedConfigurationVersionRequestRequestTypeDef

list_applications#

Lists all applications in your Amazon Web Services account.

Type annotations and code completion for session.create_client("appconfig").list_applications method. boto3 documentation

# list_applications method definition

await def list_applications(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ApplicationsTypeDef:  # (1)
    ...
  1. See ApplicationsTypeDef
# list_applications method usage example with argument unpacking

kwargs: ListApplicationsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_applications(**kwargs)
  1. See ListApplicationsRequestRequestTypeDef

list_configuration_profiles#

Lists the configuration profiles for an application.

Type annotations and code completion for session.create_client("appconfig").list_configuration_profiles method. boto3 documentation

# list_configuration_profiles method definition

await def list_configuration_profiles(
    self,
    *,
    ApplicationId: str,
    MaxResults: int = ...,
    NextToken: str = ...,
    Type: str = ...,
) -> ConfigurationProfilesTypeDef:  # (1)
    ...
  1. See ConfigurationProfilesTypeDef
# list_configuration_profiles method usage example with argument unpacking

kwargs: ListConfigurationProfilesRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
}

parent.list_configuration_profiles(**kwargs)
  1. See ListConfigurationProfilesRequestRequestTypeDef

list_deployment_strategies#

Lists deployment strategies.

Type annotations and code completion for session.create_client("appconfig").list_deployment_strategies method. boto3 documentation

# list_deployment_strategies method definition

await def list_deployment_strategies(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DeploymentStrategiesTypeDef:  # (1)
    ...
  1. See DeploymentStrategiesTypeDef
# list_deployment_strategies method usage example with argument unpacking

kwargs: ListDeploymentStrategiesRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_deployment_strategies(**kwargs)
  1. See ListDeploymentStrategiesRequestRequestTypeDef

list_deployments#

Lists the deployments for an environment in descending deployment number order.

Type annotations and code completion for session.create_client("appconfig").list_deployments method. boto3 documentation

# list_deployments method definition

await def list_deployments(
    self,
    *,
    ApplicationId: str,
    EnvironmentId: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DeploymentsTypeDef:  # (1)
    ...
  1. See DeploymentsTypeDef
# list_deployments method usage example with argument unpacking

kwargs: ListDeploymentsRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "EnvironmentId": ...,
}

parent.list_deployments(**kwargs)
  1. See ListDeploymentsRequestRequestTypeDef

list_environments#

Lists the environments for an application.

Type annotations and code completion for session.create_client("appconfig").list_environments method. boto3 documentation

# list_environments method definition

await def list_environments(
    self,
    *,
    ApplicationId: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> EnvironmentsTypeDef:  # (1)
    ...
  1. See EnvironmentsTypeDef
# list_environments method usage example with argument unpacking

kwargs: ListEnvironmentsRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
}

parent.list_environments(**kwargs)
  1. See ListEnvironmentsRequestRequestTypeDef

list_extension_associations#

Lists all AppConfig extension associations in the account.

Type annotations and code completion for session.create_client("appconfig").list_extension_associations method. boto3 documentation

# list_extension_associations method definition

await def list_extension_associations(
    self,
    *,
    ResourceIdentifier: str = ...,
    ExtensionIdentifier: str = ...,
    ExtensionVersionNumber: int = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ExtensionAssociationsTypeDef:  # (1)
    ...
  1. See ExtensionAssociationsTypeDef
# list_extension_associations method usage example with argument unpacking

kwargs: ListExtensionAssociationsRequestRequestTypeDef = {  # (1)
    "ResourceIdentifier": ...,
}

parent.list_extension_associations(**kwargs)
  1. See ListExtensionAssociationsRequestRequestTypeDef

list_extensions#

Lists all custom and Amazon Web Services authored AppConfig extensions in the account.

Type annotations and code completion for session.create_client("appconfig").list_extensions method. boto3 documentation

# list_extensions method definition

await def list_extensions(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Name: str = ...,
) -> ExtensionsTypeDef:  # (1)
    ...
  1. See ExtensionsTypeDef
# list_extensions method usage example with argument unpacking

kwargs: ListExtensionsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_extensions(**kwargs)
  1. See ListExtensionsRequestRequestTypeDef

list_hosted_configuration_versions#

Lists configurations stored in the AppConfig hosted configuration store by version.

Type annotations and code completion for session.create_client("appconfig").list_hosted_configuration_versions method. boto3 documentation

# list_hosted_configuration_versions method definition

await def list_hosted_configuration_versions(
    self,
    *,
    ApplicationId: str,
    ConfigurationProfileId: str,
    MaxResults: int = ...,
    NextToken: str = ...,
    VersionLabel: str = ...,
) -> HostedConfigurationVersionsTypeDef:  # (1)
    ...
  1. See HostedConfigurationVersionsTypeDef
# list_hosted_configuration_versions method usage example with argument unpacking

kwargs: ListHostedConfigurationVersionsRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "ConfigurationProfileId": ...,
}

parent.list_hosted_configuration_versions(**kwargs)
  1. See ListHostedConfigurationVersionsRequestRequestTypeDef

list_tags_for_resource#

Retrieves the list of key-value tags assigned to the resource.

Type annotations and code completion for session.create_client("appconfig").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

await def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
) -> ResourceTagsTypeDef:  # (1)
    ...
  1. See ResourceTagsTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

start_deployment#

Starts a deployment.

Type annotations and code completion for session.create_client("appconfig").start_deployment method. boto3 documentation

# start_deployment method definition

await def start_deployment(
    self,
    *,
    ApplicationId: str,
    EnvironmentId: str,
    DeploymentStrategyId: str,
    ConfigurationProfileId: str,
    ConfigurationVersion: str,
    Description: str = ...,
    Tags: Mapping[str, str] = ...,
    KmsKeyIdentifier: str = ...,
) -> DeploymentTypeDef:  # (1)
    ...
  1. See DeploymentTypeDef
# start_deployment method usage example with argument unpacking

kwargs: StartDeploymentRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "EnvironmentId": ...,
    "DeploymentStrategyId": ...,
    "ConfigurationProfileId": ...,
    "ConfigurationVersion": ...,
}

parent.start_deployment(**kwargs)
  1. See StartDeploymentRequestRequestTypeDef

stop_deployment#

Stops a deployment.

Type annotations and code completion for session.create_client("appconfig").stop_deployment method. boto3 documentation

# stop_deployment method definition

await def stop_deployment(
    self,
    *,
    ApplicationId: str,
    EnvironmentId: str,
    DeploymentNumber: int,
) -> DeploymentTypeDef:  # (1)
    ...
  1. See DeploymentTypeDef
# stop_deployment method usage example with argument unpacking

kwargs: StopDeploymentRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "EnvironmentId": ...,
    "DeploymentNumber": ...,
}

parent.stop_deployment(**kwargs)
  1. See StopDeploymentRequestRequestTypeDef

tag_resource#

Assigns metadata to an AppConfig resource.

Type annotations and code completion for session.create_client("appconfig").tag_resource method. boto3 documentation

# tag_resource method definition

await def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Deletes a tag key and value from an AppConfig resource.

Type annotations and code completion for session.create_client("appconfig").untag_resource method. boto3 documentation

# untag_resource method definition

await def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_application#

Updates an application.

Type annotations and code completion for session.create_client("appconfig").update_application method. boto3 documentation

# update_application method definition

await def update_application(
    self,
    *,
    ApplicationId: str,
    Name: str = ...,
    Description: str = ...,
) -> ApplicationResponseTypeDef:  # (1)
    ...
  1. See ApplicationResponseTypeDef
# update_application method usage example with argument unpacking

kwargs: UpdateApplicationRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
}

parent.update_application(**kwargs)
  1. See UpdateApplicationRequestRequestTypeDef

update_configuration_profile#

Updates a configuration profile.

Type annotations and code completion for session.create_client("appconfig").update_configuration_profile method. boto3 documentation

# update_configuration_profile method definition

await def update_configuration_profile(
    self,
    *,
    ApplicationId: str,
    ConfigurationProfileId: str,
    Name: str = ...,
    Description: str = ...,
    RetrievalRoleArn: str = ...,
    Validators: Sequence[ValidatorTypeDef] = ...,  # (1)
) -> ConfigurationProfileTypeDef:  # (2)
    ...
  1. See ValidatorTypeDef
  2. See ConfigurationProfileTypeDef
# update_configuration_profile method usage example with argument unpacking

kwargs: UpdateConfigurationProfileRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "ConfigurationProfileId": ...,
}

parent.update_configuration_profile(**kwargs)
  1. See UpdateConfigurationProfileRequestRequestTypeDef

update_deployment_strategy#

Updates a deployment strategy.

Type annotations and code completion for session.create_client("appconfig").update_deployment_strategy method. boto3 documentation

# update_deployment_strategy method definition

await def update_deployment_strategy(
    self,
    *,
    DeploymentStrategyId: str,
    Description: str = ...,
    DeploymentDurationInMinutes: int = ...,
    FinalBakeTimeInMinutes: int = ...,
    GrowthFactor: float = ...,
    GrowthType: GrowthTypeType = ...,  # (1)
) -> DeploymentStrategyResponseTypeDef:  # (2)
    ...
  1. See GrowthTypeType
  2. See DeploymentStrategyResponseTypeDef
# update_deployment_strategy method usage example with argument unpacking

kwargs: UpdateDeploymentStrategyRequestRequestTypeDef = {  # (1)
    "DeploymentStrategyId": ...,
}

parent.update_deployment_strategy(**kwargs)
  1. See UpdateDeploymentStrategyRequestRequestTypeDef

update_environment#

Updates an environment.

Type annotations and code completion for session.create_client("appconfig").update_environment method. boto3 documentation

# update_environment method definition

await def update_environment(
    self,
    *,
    ApplicationId: str,
    EnvironmentId: str,
    Name: str = ...,
    Description: str = ...,
    Monitors: Sequence[MonitorTypeDef] = ...,  # (1)
) -> EnvironmentResponseTypeDef:  # (2)
    ...
  1. See MonitorTypeDef
  2. See EnvironmentResponseTypeDef
# update_environment method usage example with argument unpacking

kwargs: UpdateEnvironmentRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "EnvironmentId": ...,
}

parent.update_environment(**kwargs)
  1. See UpdateEnvironmentRequestRequestTypeDef

update_extension#

Updates an AppConfig extension.

Type annotations and code completion for session.create_client("appconfig").update_extension method. boto3 documentation

# update_extension method definition

await def update_extension(
    self,
    *,
    ExtensionIdentifier: str,
    Description: str = ...,
    Actions: Mapping[ActionPointType, Sequence[ActionTypeDef]] = ...,  # (1)
    Parameters: Mapping[str, ParameterTypeDef] = ...,  # (2)
    VersionNumber: int = ...,
) -> ExtensionTypeDef:  # (3)
    ...
  1. See ActionPointType ActionTypeDef
  2. See ParameterTypeDef
  3. See ExtensionTypeDef
# update_extension method usage example with argument unpacking

kwargs: UpdateExtensionRequestRequestTypeDef = {  # (1)
    "ExtensionIdentifier": ...,
}

parent.update_extension(**kwargs)
  1. See UpdateExtensionRequestRequestTypeDef

update_extension_association#

Updates an association.

Type annotations and code completion for session.create_client("appconfig").update_extension_association method. boto3 documentation

# update_extension_association method definition

await def update_extension_association(
    self,
    *,
    ExtensionAssociationId: str,
    Parameters: Mapping[str, str] = ...,
) -> ExtensionAssociationTypeDef:  # (1)
    ...
  1. See ExtensionAssociationTypeDef
# update_extension_association method usage example with argument unpacking

kwargs: UpdateExtensionAssociationRequestRequestTypeDef = {  # (1)
    "ExtensionAssociationId": ...,
}

parent.update_extension_association(**kwargs)
  1. See UpdateExtensionAssociationRequestRequestTypeDef

validate_configuration#

Uses the validators in a configuration profile to validate a configuration.

Type annotations and code completion for session.create_client("appconfig").validate_configuration method. boto3 documentation

# validate_configuration method definition

await def validate_configuration(
    self,
    *,
    ApplicationId: str,
    ConfigurationProfileId: str,
    ConfigurationVersion: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# validate_configuration method usage example with argument unpacking

kwargs: ValidateConfigurationRequestRequestTypeDef = {  # (1)
    "ApplicationId": ...,
    "ConfigurationProfileId": ...,
    "ConfigurationVersion": ...,
}

parent.validate_configuration(**kwargs)
  1. See ValidateConfigurationRequestRequestTypeDef

__aenter__#

Type annotations and code completion for session.create_client("appconfig").__aenter__ method. boto3 documentation

# __aenter__ method definition

await def __aenter__(
    self,
) -> AppConfigClient:
    ...

__aexit__#

Type annotations and code completion for session.create_client("appconfig").__aexit__ method. boto3 documentation

# __aexit__ method definition

await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...