VPCLattice / Client / update_service

update_service#

VPCLattice.Client.update_service(**kwargs)#

Updates the specified service.

See also: AWS API Documentation

Request Syntax

response = client.update_service(
    authType='NONE'|'AWS_IAM',
    certificateArn='string',
    serviceIdentifier='string'
)
Parameters:
  • authType (string) –

    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.

  • certificateArn (string) – The Amazon Resource Name (ARN) of the certificate.

  • serviceIdentifier (string) –

    [REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (ARN) of the service.

    • authType (string) –

      The type of IAM policy.

    • certificateArn (string) –

      The Amazon Resource Name (ARN) of the certificate.

    • customDomainName (string) –

      The custom domain name of the service.

    • id (string) –

      The ID of the service.

    • name (string) –

      The name of the service.

Exceptions

  • VPCLattice.Client.exceptions.ValidationException

  • VPCLattice.Client.exceptions.AccessDeniedException

  • VPCLattice.Client.exceptions.ThrottlingException

  • VPCLattice.Client.exceptions.ResourceNotFoundException

  • VPCLattice.Client.exceptions.ConflictException

  • VPCLattice.Client.exceptions.InternalServerException