delete_connection
(**kwargs)¶Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the DeleteConnection
action fails.
See also: AWS API Documentation
Request Syntax
response = client.delete_connection(
ConnectionArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the App Runner connection that you want to delete.
{
'Connection': {
'ConnectionName': 'string',
'ConnectionArn': 'string',
'ProviderType': 'GITHUB',
'Status': 'PENDING_HANDSHAKE'|'AVAILABLE'|'ERROR'|'DELETED',
'CreatedAt': datetime(2015, 1, 1)
}
}
Response Structure
A description of the App Runner connection that this request just deleted.
The customer-provided connection name.
The Amazon Resource Name (ARN) of this connection.
The source repository provider.
The current state of the App Runner connection. When the state is AVAILABLE
, you can use the connection to create an App Runner service.
The App Runner connection creation time, expressed as a Unix time stamp.
Exceptions
AppRunner.Client.exceptions.InvalidRequestException
AppRunner.Client.exceptions.ResourceNotFoundException
AppRunner.Client.exceptions.InternalServiceErrorException