VPCLattice / Client / update_service_network

update_service_network#

VPCLattice.Client.update_service_network(**kwargs)#

Updates the specified service network.

See also: AWS API Documentation

Request Syntax

response = client.update_service_network(
    authType='NONE'|'AWS_IAM',
    serviceNetworkIdentifier='string'
)
Parameters:
  • authType (string) –

    [REQUIRED]

    The type of IAM policy.

    • NONE: The resource does not use an IAM policy. This is the default.

    • AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.

  • serviceNetworkIdentifier (string) –

    [REQUIRED]

    The ID or Amazon Resource Name (ARN) of the service network.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'authType': 'NONE'|'AWS_IAM',
    'id': 'string',
    'name': 'string'
}

Response Structure

  • (dict) –

    • arn (string) –

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

    • authType (string) –

      The type of IAM policy.

    • id (string) –

      The ID of the service network.

    • name (string) –

      The name of the service network.

Exceptions