CodeStarconnections / Client / update_host

update_host#

CodeStarconnections.Client.update_host(**kwargs)#

Updates a specified host with the provided configurations.

See also: AWS API Documentation

Request Syntax

response = client.update_host(
    HostArn='string',
    ProviderEndpoint='string',
    VpcConfiguration={
        'VpcId': 'string',
        'SubnetIds': [
            'string',
        ],
        'SecurityGroupIds': [
            'string',
        ],
        'TlsCertificate': 'string'
    }
)
Parameters:
  • HostArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the host to be updated.

  • ProviderEndpoint (string) – The URL or endpoint of the host to be updated.

  • VpcConfiguration (dict) –

    The VPC configuration of the host to be updated. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.

    • VpcId (string) – [REQUIRED]

      The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.

    • SubnetIds (list) – [REQUIRED]

      The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.

      • (string) –

    • SecurityGroupIds (list) – [REQUIRED]

      The ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.

      • (string) –

    • TlsCertificate (string) –

      The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • CodeStarconnections.Client.exceptions.ConflictException

  • CodeStarconnections.Client.exceptions.ResourceNotFoundException

  • CodeStarconnections.Client.exceptions.ResourceUnavailableException

  • CodeStarconnections.Client.exceptions.UnsupportedOperationException