update_network_resource_metadata

update_network_resource_metadata(**kwargs)

Updates the resource metadata for the specified global network.

See also: AWS API Documentation

Request Syntax

response = client.update_network_resource_metadata(
    GlobalNetworkId='string',
    ResourceArn='string',
    Metadata={
        'string': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • ResourceArn (string) --

    [REQUIRED]

    The ARN of the resource.

  • Metadata (dict) --

    [REQUIRED]

    The resource metadata.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{
    'ResourceArn': 'string',
    'Metadata': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • ResourceArn (string) --

      The ARN of the resource.

    • Metadata (dict) --

      The updated resource metadata.

      • (string) --
        • (string) --

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException