Skip to content

AppRunnerClient#

Index > AppRunner > AppRunnerClient

Auto-generated documentation for AppRunner type annotations stubs module mypy-boto3-apprunner.

AppRunnerClient#

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

# AppRunnerClient usage example

from boto3.session import Session
from mypy_boto3_apprunner.client import AppRunnerClient

def get_apprunner_client() -> AppRunnerClient:
    return Session().client("apprunner")

Exceptions#

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

# Exceptions.exceptions usage example

client = boto3.client("apprunner")

try:
    do_something(client)
except (
    client.exceptions.ClientError,
    client.exceptions.InternalServiceErrorException,
    client.exceptions.InvalidRequestException,
    client.exceptions.InvalidStateException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_apprunner.client import Exceptions

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

Methods#

associate_custom_domain#

Associate your own domain name with the App Runner subdomain URL of your App Runner service.

Type annotations and code completion for boto3.client("apprunner").associate_custom_domain method. boto3 documentation

# associate_custom_domain method definition

def associate_custom_domain(
    self,
    *,
    ServiceArn: str,
    DomainName: str,
    EnableWWWSubdomain: bool = ...,
) -> AssociateCustomDomainResponseTypeDef:  # (1)
    ...
  1. See AssociateCustomDomainResponseTypeDef
# associate_custom_domain method usage example with argument unpacking

kwargs: AssociateCustomDomainRequestRequestTypeDef = {  # (1)
    "ServiceArn": ...,
    "DomainName": ...,
}

parent.associate_custom_domain(**kwargs)
  1. See AssociateCustomDomainRequestRequestTypeDef

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("apprunner").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("apprunner").close method. boto3 documentation

# close method definition

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

create_auto_scaling_configuration#

Create an App Runner automatic scaling configuration resource.

Type annotations and code completion for boto3.client("apprunner").create_auto_scaling_configuration method. boto3 documentation

# create_auto_scaling_configuration method definition

def create_auto_scaling_configuration(
    self,
    *,
    AutoScalingConfigurationName: str,
    MaxConcurrency: int = ...,
    MinSize: int = ...,
    MaxSize: int = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateAutoScalingConfigurationResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateAutoScalingConfigurationResponseTypeDef
# create_auto_scaling_configuration method usage example with argument unpacking

kwargs: CreateAutoScalingConfigurationRequestRequestTypeDef = {  # (1)
    "AutoScalingConfigurationName": ...,
}

parent.create_auto_scaling_configuration(**kwargs)
  1. See CreateAutoScalingConfigurationRequestRequestTypeDef

create_connection#

Create an App Runner connection resource.

Type annotations and code completion for boto3.client("apprunner").create_connection method. boto3 documentation

# create_connection method definition

def create_connection(
    self,
    *,
    ConnectionName: str,
    ProviderType: ProviderTypeType,  # (1)
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateConnectionResponseTypeDef:  # (3)
    ...
  1. See ProviderTypeType
  2. See TagTypeDef
  3. See CreateConnectionResponseTypeDef
# create_connection method usage example with argument unpacking

kwargs: CreateConnectionRequestRequestTypeDef = {  # (1)
    "ConnectionName": ...,
    "ProviderType": ...,
}

parent.create_connection(**kwargs)
  1. See CreateConnectionRequestRequestTypeDef

create_observability_configuration#

Create an App Runner observability configuration resource.

Type annotations and code completion for boto3.client("apprunner").create_observability_configuration method. boto3 documentation

# create_observability_configuration method definition

def create_observability_configuration(
    self,
    *,
    ObservabilityConfigurationName: str,
    TraceConfiguration: TraceConfigurationTypeDef = ...,  # (1)
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateObservabilityConfigurationResponseTypeDef:  # (3)
    ...
  1. See TraceConfigurationTypeDef
  2. See TagTypeDef
  3. See CreateObservabilityConfigurationResponseTypeDef
# create_observability_configuration method usage example with argument unpacking

kwargs: CreateObservabilityConfigurationRequestRequestTypeDef = {  # (1)
    "ObservabilityConfigurationName": ...,
}

parent.create_observability_configuration(**kwargs)
  1. See CreateObservabilityConfigurationRequestRequestTypeDef

create_service#

Create an App Runner service.

Type annotations and code completion for boto3.client("apprunner").create_service method. boto3 documentation

# create_service method definition

def create_service(
    self,
    *,
    ServiceName: str,
    SourceConfiguration: SourceConfigurationTypeDef,  # (1)
    InstanceConfiguration: InstanceConfigurationTypeDef = ...,  # (2)
    Tags: Sequence[TagTypeDef] = ...,  # (3)
    EncryptionConfiguration: EncryptionConfigurationTypeDef = ...,  # (4)
    HealthCheckConfiguration: HealthCheckConfigurationTypeDef = ...,  # (5)
    AutoScalingConfigurationArn: str = ...,
    NetworkConfiguration: NetworkConfigurationTypeDef = ...,  # (6)
    ObservabilityConfiguration: ServiceObservabilityConfigurationTypeDef = ...,  # (7)
) -> CreateServiceResponseTypeDef:  # (8)
    ...
  1. See SourceConfigurationTypeDef
  2. See InstanceConfigurationTypeDef
  3. See TagTypeDef
  4. See EncryptionConfigurationTypeDef
  5. See HealthCheckConfigurationTypeDef
  6. See NetworkConfigurationTypeDef
  7. See ServiceObservabilityConfigurationTypeDef
  8. See CreateServiceResponseTypeDef
# create_service method usage example with argument unpacking

kwargs: CreateServiceRequestRequestTypeDef = {  # (1)
    "ServiceName": ...,
    "SourceConfiguration": ...,
}

parent.create_service(**kwargs)
  1. See CreateServiceRequestRequestTypeDef

create_vpc_connector#

Create an App Runner VPC connector resource.

Type annotations and code completion for boto3.client("apprunner").create_vpc_connector method. boto3 documentation

# create_vpc_connector method definition

def create_vpc_connector(
    self,
    *,
    VpcConnectorName: str,
    Subnets: Sequence[str],
    SecurityGroups: Sequence[str] = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateVpcConnectorResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateVpcConnectorResponseTypeDef
# create_vpc_connector method usage example with argument unpacking

kwargs: CreateVpcConnectorRequestRequestTypeDef = {  # (1)
    "VpcConnectorName": ...,
    "Subnets": ...,
}

parent.create_vpc_connector(**kwargs)
  1. See CreateVpcConnectorRequestRequestTypeDef

create_vpc_ingress_connection#

Create an App Runner VPC Ingress Connection resource.

Type annotations and code completion for boto3.client("apprunner").create_vpc_ingress_connection method. boto3 documentation

# create_vpc_ingress_connection method definition

def create_vpc_ingress_connection(
    self,
    *,
    ServiceArn: str,
    VpcIngressConnectionName: str,
    IngressVpcConfiguration: IngressVpcConfigurationTypeDef,  # (1)
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateVpcIngressConnectionResponseTypeDef:  # (3)
    ...
  1. See IngressVpcConfigurationTypeDef
  2. See TagTypeDef
  3. See CreateVpcIngressConnectionResponseTypeDef
# create_vpc_ingress_connection method usage example with argument unpacking

kwargs: CreateVpcIngressConnectionRequestRequestTypeDef = {  # (1)
    "ServiceArn": ...,
    "VpcIngressConnectionName": ...,
    "IngressVpcConfiguration": ...,
}

parent.create_vpc_ingress_connection(**kwargs)
  1. See CreateVpcIngressConnectionRequestRequestTypeDef

delete_auto_scaling_configuration#

Delete an App Runner automatic scaling configuration resource.

Type annotations and code completion for boto3.client("apprunner").delete_auto_scaling_configuration method. boto3 documentation

# delete_auto_scaling_configuration method definition

def delete_auto_scaling_configuration(
    self,
    *,
    AutoScalingConfigurationArn: str,
    DeleteAllRevisions: bool = ...,
) -> DeleteAutoScalingConfigurationResponseTypeDef:  # (1)
    ...
  1. See DeleteAutoScalingConfigurationResponseTypeDef
# delete_auto_scaling_configuration method usage example with argument unpacking

kwargs: DeleteAutoScalingConfigurationRequestRequestTypeDef = {  # (1)
    "AutoScalingConfigurationArn": ...,
}

parent.delete_auto_scaling_configuration(**kwargs)
  1. See DeleteAutoScalingConfigurationRequestRequestTypeDef

delete_connection#

Delete an App Runner connection.

Type annotations and code completion for boto3.client("apprunner").delete_connection method. boto3 documentation

# delete_connection method definition

def delete_connection(
    self,
    *,
    ConnectionArn: str,
) -> DeleteConnectionResponseTypeDef:  # (1)
    ...
  1. See DeleteConnectionResponseTypeDef
# delete_connection method usage example with argument unpacking

kwargs: DeleteConnectionRequestRequestTypeDef = {  # (1)
    "ConnectionArn": ...,
}

parent.delete_connection(**kwargs)
  1. See DeleteConnectionRequestRequestTypeDef

delete_observability_configuration#

Delete an App Runner observability configuration resource.

Type annotations and code completion for boto3.client("apprunner").delete_observability_configuration method. boto3 documentation

# delete_observability_configuration method definition

def delete_observability_configuration(
    self,
    *,
    ObservabilityConfigurationArn: str,
) -> DeleteObservabilityConfigurationResponseTypeDef:  # (1)
    ...
  1. See DeleteObservabilityConfigurationResponseTypeDef
# delete_observability_configuration method usage example with argument unpacking

kwargs: DeleteObservabilityConfigurationRequestRequestTypeDef = {  # (1)
    "ObservabilityConfigurationArn": ...,
}

parent.delete_observability_configuration(**kwargs)
  1. See DeleteObservabilityConfigurationRequestRequestTypeDef

delete_service#

Delete an App Runner service.

Type annotations and code completion for boto3.client("apprunner").delete_service method. boto3 documentation

# delete_service method definition

def delete_service(
    self,
    *,
    ServiceArn: str,
) -> DeleteServiceResponseTypeDef:  # (1)
    ...
  1. See DeleteServiceResponseTypeDef
# delete_service method usage example with argument unpacking

kwargs: DeleteServiceRequestRequestTypeDef = {  # (1)
    "ServiceArn": ...,
}

parent.delete_service(**kwargs)
  1. See DeleteServiceRequestRequestTypeDef

delete_vpc_connector#

Delete an App Runner VPC connector resource.

Type annotations and code completion for boto3.client("apprunner").delete_vpc_connector method. boto3 documentation

# delete_vpc_connector method definition

def delete_vpc_connector(
    self,
    *,
    VpcConnectorArn: str,
) -> DeleteVpcConnectorResponseTypeDef:  # (1)
    ...
  1. See DeleteVpcConnectorResponseTypeDef
# delete_vpc_connector method usage example with argument unpacking

kwargs: DeleteVpcConnectorRequestRequestTypeDef = {  # (1)
    "VpcConnectorArn": ...,
}

parent.delete_vpc_connector(**kwargs)
  1. See DeleteVpcConnectorRequestRequestTypeDef

delete_vpc_ingress_connection#

Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service.

Type annotations and code completion for boto3.client("apprunner").delete_vpc_ingress_connection method. boto3 documentation

# delete_vpc_ingress_connection method definition

def delete_vpc_ingress_connection(
    self,
    *,
    VpcIngressConnectionArn: str,
) -> DeleteVpcIngressConnectionResponseTypeDef:  # (1)
    ...
  1. See DeleteVpcIngressConnectionResponseTypeDef
# delete_vpc_ingress_connection method usage example with argument unpacking

kwargs: DeleteVpcIngressConnectionRequestRequestTypeDef = {  # (1)
    "VpcIngressConnectionArn": ...,
}

parent.delete_vpc_ingress_connection(**kwargs)
  1. See DeleteVpcIngressConnectionRequestRequestTypeDef

describe_auto_scaling_configuration#

Return a full description of an App Runner automatic scaling configuration resource.

Type annotations and code completion for boto3.client("apprunner").describe_auto_scaling_configuration method. boto3 documentation

# describe_auto_scaling_configuration method definition

def describe_auto_scaling_configuration(
    self,
    *,
    AutoScalingConfigurationArn: str,
) -> DescribeAutoScalingConfigurationResponseTypeDef:  # (1)
    ...
  1. See DescribeAutoScalingConfigurationResponseTypeDef
# describe_auto_scaling_configuration method usage example with argument unpacking

kwargs: DescribeAutoScalingConfigurationRequestRequestTypeDef = {  # (1)
    "AutoScalingConfigurationArn": ...,
}

parent.describe_auto_scaling_configuration(**kwargs)
  1. See DescribeAutoScalingConfigurationRequestRequestTypeDef

describe_custom_domains#

Return a description of custom domain names that are associated with an App Runner service.

Type annotations and code completion for boto3.client("apprunner").describe_custom_domains method. boto3 documentation

# describe_custom_domains method definition

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

kwargs: DescribeCustomDomainsRequestRequestTypeDef = {  # (1)
    "ServiceArn": ...,
}

parent.describe_custom_domains(**kwargs)
  1. See DescribeCustomDomainsRequestRequestTypeDef

describe_observability_configuration#

Return a full description of an App Runner observability configuration resource.

Type annotations and code completion for boto3.client("apprunner").describe_observability_configuration method. boto3 documentation

# describe_observability_configuration method definition

def describe_observability_configuration(
    self,
    *,
    ObservabilityConfigurationArn: str,
) -> DescribeObservabilityConfigurationResponseTypeDef:  # (1)
    ...
  1. See DescribeObservabilityConfigurationResponseTypeDef
# describe_observability_configuration method usage example with argument unpacking

kwargs: DescribeObservabilityConfigurationRequestRequestTypeDef = {  # (1)
    "ObservabilityConfigurationArn": ...,
}

parent.describe_observability_configuration(**kwargs)
  1. See DescribeObservabilityConfigurationRequestRequestTypeDef

describe_service#

Return a full description of an App Runner service.

Type annotations and code completion for boto3.client("apprunner").describe_service method. boto3 documentation

# describe_service method definition

def describe_service(
    self,
    *,
    ServiceArn: str,
) -> DescribeServiceResponseTypeDef:  # (1)
    ...
  1. See DescribeServiceResponseTypeDef
# describe_service method usage example with argument unpacking

kwargs: DescribeServiceRequestRequestTypeDef = {  # (1)
    "ServiceArn": ...,
}

parent.describe_service(**kwargs)
  1. See DescribeServiceRequestRequestTypeDef

describe_vpc_connector#

Return a description of an App Runner VPC connector resource.

Type annotations and code completion for boto3.client("apprunner").describe_vpc_connector method. boto3 documentation

# describe_vpc_connector method definition

def describe_vpc_connector(
    self,
    *,
    VpcConnectorArn: str,
) -> DescribeVpcConnectorResponseTypeDef:  # (1)
    ...
  1. See DescribeVpcConnectorResponseTypeDef
# describe_vpc_connector method usage example with argument unpacking

kwargs: DescribeVpcConnectorRequestRequestTypeDef = {  # (1)
    "VpcConnectorArn": ...,
}

parent.describe_vpc_connector(**kwargs)
  1. See DescribeVpcConnectorRequestRequestTypeDef

describe_vpc_ingress_connection#

Return a full description of an App Runner VPC Ingress Connection resource.

Type annotations and code completion for boto3.client("apprunner").describe_vpc_ingress_connection method. boto3 documentation

# describe_vpc_ingress_connection method definition

def describe_vpc_ingress_connection(
    self,
    *,
    VpcIngressConnectionArn: str,
) -> DescribeVpcIngressConnectionResponseTypeDef:  # (1)
    ...
  1. See DescribeVpcIngressConnectionResponseTypeDef
# describe_vpc_ingress_connection method usage example with argument unpacking

kwargs: DescribeVpcIngressConnectionRequestRequestTypeDef = {  # (1)
    "VpcIngressConnectionArn": ...,
}

parent.describe_vpc_ingress_connection(**kwargs)
  1. See DescribeVpcIngressConnectionRequestRequestTypeDef

disassociate_custom_domain#

Disassociate a custom domain name from an App Runner service.

Type annotations and code completion for boto3.client("apprunner").disassociate_custom_domain method. boto3 documentation

# disassociate_custom_domain method definition

def disassociate_custom_domain(
    self,
    *,
    ServiceArn: str,
    DomainName: str,
) -> DisassociateCustomDomainResponseTypeDef:  # (1)
    ...
  1. See DisassociateCustomDomainResponseTypeDef
# disassociate_custom_domain method usage example with argument unpacking

kwargs: DisassociateCustomDomainRequestRequestTypeDef = {  # (1)
    "ServiceArn": ...,
    "DomainName": ...,
}

parent.disassociate_custom_domain(**kwargs)
  1. See DisassociateCustomDomainRequestRequestTypeDef

generate_presigned_url#

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

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

list_auto_scaling_configurations#

Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account.

Type annotations and code completion for boto3.client("apprunner").list_auto_scaling_configurations method. boto3 documentation

# list_auto_scaling_configurations method definition

def list_auto_scaling_configurations(
    self,
    *,
    AutoScalingConfigurationName: str = ...,
    LatestOnly: bool = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListAutoScalingConfigurationsResponseTypeDef:  # (1)
    ...
  1. See ListAutoScalingConfigurationsResponseTypeDef
# list_auto_scaling_configurations method usage example with argument unpacking

kwargs: ListAutoScalingConfigurationsRequestRequestTypeDef = {  # (1)
    "AutoScalingConfigurationName": ...,
}

parent.list_auto_scaling_configurations(**kwargs)
  1. See ListAutoScalingConfigurationsRequestRequestTypeDef

list_connections#

Returns a list of App Runner connections that are associated with your Amazon Web Services account.

Type annotations and code completion for boto3.client("apprunner").list_connections method. boto3 documentation

# list_connections method definition

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

kwargs: ListConnectionsRequestRequestTypeDef = {  # (1)
    "ConnectionName": ...,
}

parent.list_connections(**kwargs)
  1. See ListConnectionsRequestRequestTypeDef

list_observability_configurations#

Returns a list of active App Runner observability configurations in your Amazon Web Services account.

Type annotations and code completion for boto3.client("apprunner").list_observability_configurations method. boto3 documentation

# list_observability_configurations method definition

def list_observability_configurations(
    self,
    *,
    ObservabilityConfigurationName: str = ...,
    LatestOnly: bool = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListObservabilityConfigurationsResponseTypeDef:  # (1)
    ...
  1. See ListObservabilityConfigurationsResponseTypeDef
# list_observability_configurations method usage example with argument unpacking

kwargs: ListObservabilityConfigurationsRequestRequestTypeDef = {  # (1)
    "ObservabilityConfigurationName": ...,
}

parent.list_observability_configurations(**kwargs)
  1. See ListObservabilityConfigurationsRequestRequestTypeDef

list_operations#

Return a list of operations that occurred on an App Runner service.

Type annotations and code completion for boto3.client("apprunner").list_operations method. boto3 documentation

# list_operations method definition

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

kwargs: ListOperationsRequestRequestTypeDef = {  # (1)
    "ServiceArn": ...,
}

parent.list_operations(**kwargs)
  1. See ListOperationsRequestRequestTypeDef

list_services#

Returns a list of running App Runner services in your Amazon Web Services account.

Type annotations and code completion for boto3.client("apprunner").list_services method. boto3 documentation

# list_services method definition

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

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

parent.list_services(**kwargs)
  1. See ListServicesRequestRequestTypeDef

list_services_for_auto_scaling_configuration#

Returns a list of the associated App Runner services using an auto scaling configuration.

Type annotations and code completion for boto3.client("apprunner").list_services_for_auto_scaling_configuration method. boto3 documentation

# list_services_for_auto_scaling_configuration method definition

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

kwargs: ListServicesForAutoScalingConfigurationRequestRequestTypeDef = {  # (1)
    "AutoScalingConfigurationArn": ...,
}

parent.list_services_for_auto_scaling_configuration(**kwargs)
  1. See ListServicesForAutoScalingConfigurationRequestRequestTypeDef

list_tags_for_resource#

List tags that are associated with for an App Runner resource.

Type annotations and code completion for boto3.client("apprunner").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

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

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

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

list_vpc_connectors#

Returns a list of App Runner VPC connectors in your Amazon Web Services account.

Type annotations and code completion for boto3.client("apprunner").list_vpc_connectors method. boto3 documentation

# list_vpc_connectors method definition

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

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

parent.list_vpc_connectors(**kwargs)
  1. See ListVpcConnectorsRequestRequestTypeDef

list_vpc_ingress_connections#

Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.

Type annotations and code completion for boto3.client("apprunner").list_vpc_ingress_connections method. boto3 documentation

# list_vpc_ingress_connections method definition

def list_vpc_ingress_connections(
    self,
    *,
    Filter: ListVpcIngressConnectionsFilterTypeDef = ...,  # (1)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListVpcIngressConnectionsResponseTypeDef:  # (2)
    ...
  1. See ListVpcIngressConnectionsFilterTypeDef
  2. See ListVpcIngressConnectionsResponseTypeDef
# list_vpc_ingress_connections method usage example with argument unpacking

kwargs: ListVpcIngressConnectionsRequestRequestTypeDef = {  # (1)
    "Filter": ...,
}

parent.list_vpc_ingress_connections(**kwargs)
  1. See ListVpcIngressConnectionsRequestRequestTypeDef

pause_service#

Pause an active App Runner service.

Type annotations and code completion for boto3.client("apprunner").pause_service method. boto3 documentation

# pause_service method definition

def pause_service(
    self,
    *,
    ServiceArn: str,
) -> PauseServiceResponseTypeDef:  # (1)
    ...
  1. See PauseServiceResponseTypeDef
# pause_service method usage example with argument unpacking

kwargs: PauseServiceRequestRequestTypeDef = {  # (1)
    "ServiceArn": ...,
}

parent.pause_service(**kwargs)
  1. See PauseServiceRequestRequestTypeDef

resume_service#

Resume an active App Runner service.

Type annotations and code completion for boto3.client("apprunner").resume_service method. boto3 documentation

# resume_service method definition

def resume_service(
    self,
    *,
    ServiceArn: str,
) -> ResumeServiceResponseTypeDef:  # (1)
    ...
  1. See ResumeServiceResponseTypeDef
# resume_service method usage example with argument unpacking

kwargs: ResumeServiceRequestRequestTypeDef = {  # (1)
    "ServiceArn": ...,
}

parent.resume_service(**kwargs)
  1. See ResumeServiceRequestRequestTypeDef

start_deployment#

Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner service.

Type annotations and code completion for boto3.client("apprunner").start_deployment method. boto3 documentation

# start_deployment method definition

def start_deployment(
    self,
    *,
    ServiceArn: str,
) -> StartDeploymentResponseTypeDef:  # (1)
    ...
  1. See StartDeploymentResponseTypeDef
# start_deployment method usage example with argument unpacking

kwargs: StartDeploymentRequestRequestTypeDef = {  # (1)
    "ServiceArn": ...,
}

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

tag_resource#

Add tags to, or update the tag values of, an App Runner resource.

Type annotations and code completion for boto3.client("apprunner").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagTypeDef
# tag_resource method usage example with argument unpacking

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

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

untag_resource#

Remove tags from an App Runner resource.

Type annotations and code completion for boto3.client("apprunner").untag_resource method. boto3 documentation

# untag_resource method definition

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

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

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

update_default_auto_scaling_configuration#

Update an auto scaling configuration to be the default.

Type annotations and code completion for boto3.client("apprunner").update_default_auto_scaling_configuration method. boto3 documentation

# update_default_auto_scaling_configuration method definition

def update_default_auto_scaling_configuration(
    self,
    *,
    AutoScalingConfigurationArn: str,
) -> UpdateDefaultAutoScalingConfigurationResponseTypeDef:  # (1)
    ...
  1. See UpdateDefaultAutoScalingConfigurationResponseTypeDef
# update_default_auto_scaling_configuration method usage example with argument unpacking

kwargs: UpdateDefaultAutoScalingConfigurationRequestRequestTypeDef = {  # (1)
    "AutoScalingConfigurationArn": ...,
}

parent.update_default_auto_scaling_configuration(**kwargs)
  1. See UpdateDefaultAutoScalingConfigurationRequestRequestTypeDef

update_service#

Update an App Runner service.

Type annotations and code completion for boto3.client("apprunner").update_service method. boto3 documentation

# update_service method definition

def update_service(
    self,
    *,
    ServiceArn: str,
    SourceConfiguration: SourceConfigurationTypeDef = ...,  # (1)
    InstanceConfiguration: InstanceConfigurationTypeDef = ...,  # (2)
    AutoScalingConfigurationArn: str = ...,
    HealthCheckConfiguration: HealthCheckConfigurationTypeDef = ...,  # (3)
    NetworkConfiguration: NetworkConfigurationTypeDef = ...,  # (4)
    ObservabilityConfiguration: ServiceObservabilityConfigurationTypeDef = ...,  # (5)
) -> UpdateServiceResponseTypeDef:  # (6)
    ...
  1. See SourceConfigurationTypeDef
  2. See InstanceConfigurationTypeDef
  3. See HealthCheckConfigurationTypeDef
  4. See NetworkConfigurationTypeDef
  5. See ServiceObservabilityConfigurationTypeDef
  6. See UpdateServiceResponseTypeDef
# update_service method usage example with argument unpacking

kwargs: UpdateServiceRequestRequestTypeDef = {  # (1)
    "ServiceArn": ...,
}

parent.update_service(**kwargs)
  1. See UpdateServiceRequestRequestTypeDef

update_vpc_ingress_connection#

Update an existing App Runner VPC Ingress Connection resource.

Type annotations and code completion for boto3.client("apprunner").update_vpc_ingress_connection method. boto3 documentation

# update_vpc_ingress_connection method definition

def update_vpc_ingress_connection(
    self,
    *,
    VpcIngressConnectionArn: str,
    IngressVpcConfiguration: IngressVpcConfigurationTypeDef,  # (1)
) -> UpdateVpcIngressConnectionResponseTypeDef:  # (2)
    ...
  1. See IngressVpcConfigurationTypeDef
  2. See UpdateVpcIngressConnectionResponseTypeDef
# update_vpc_ingress_connection method usage example with argument unpacking

kwargs: UpdateVpcIngressConnectionRequestRequestTypeDef = {  # (1)
    "VpcIngressConnectionArn": ...,
    "IngressVpcConfiguration": ...,
}

parent.update_vpc_ingress_connection(**kwargs)
  1. See UpdateVpcIngressConnectionRequestRequestTypeDef