AmplifyGen3 / Client / get_network_connector

get_network_connector

AmplifyGen3.Client.get_network_connector(**kwargs)

Retrieves a network connector.

See also: AWS API Documentation

Request Syntax

response = client.get_network_connector(
    NetworkConnectorName='string'
)
Parameters:

NetworkConnectorName (string) –

[REQUIRED]

The name of the network connector.

Return type:

dict

Returns:

Response Syntax

{
    'NetworkConnectorName': 'string',
    'NetworkConnectorArn': 'string',
    'SubnetIds': [
        'string',
    ],
    'SecurityGroupIds': [
        'string',
    ],
    'NetworkConnectorRoleArn': 'string',
    'Status': 'CREATING'|'ACTIVE'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'DELETING'|'DELETE_FAILED',
    'StatusReason': 'string',
    'CreatedAt': datetime(2015, 1, 1),
    'UpdatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • NetworkConnectorName (string) –

      The name of the network connector.

    • NetworkConnectorArn (string) –

      The Amazon Resource Name (ARN) of the network connector.

    • SubnetIds (list) –

      The IDs of the subnets.

      • (string) –

    • SecurityGroupIds (list) –

      The IDs of the security groups.

      • (string) –

    • NetworkConnectorRoleArn (string) –

      The Amazon Resource Name (ARN) of the IAM role for the network connector.

    • Status (string) –

      The status of the network connector.

    • StatusReason (string) –

      The reason for the status.

    • CreatedAt (datetime) –

      The time at which the network connector was created. The value is in ISO-8601 format.

    • UpdatedAt (datetime) –

      The time at which the network connector was last updated. The value is in ISO-8601 format.

Exceptions