DeviceFarm / Client / create_vpce_configuration

create_vpce_configuration#

DeviceFarm.Client.create_vpce_configuration(**kwargs)#

Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.

See also: AWS API Documentation

Request Syntax

response = client.create_vpce_configuration(
    vpceConfigurationName='string',
    vpceServiceName='string',
    serviceDnsName='string',
    vpceConfigurationDescription='string'
)
Parameters:
  • vpceConfigurationName (string) –

    [REQUIRED]

    The friendly name you give to your VPC endpoint configuration, to manage your configurations more easily.

  • vpceServiceName (string) –

    [REQUIRED]

    The name of the VPC endpoint service running in your AWS account that you want Device Farm to test.

  • serviceDnsName (string) –

    [REQUIRED]

    The DNS name of the service running in your VPC that you want Device Farm to test.

  • vpceConfigurationDescription (string) – An optional description that provides details about your VPC endpoint configuration.

Return type:

dict

Returns:

Response Syntax

{
    'vpceConfiguration': {
        'arn': 'string',
        'vpceConfigurationName': 'string',
        'vpceServiceName': 'string',
        'serviceDnsName': 'string',
        'vpceConfigurationDescription': 'string'
    }
}

Response Structure

  • (dict) –

    • vpceConfiguration (dict) –

      An object that contains information about your VPC endpoint configuration.

      • arn (string) –

        The Amazon Resource Name (ARN) of the VPC endpoint configuration.

      • vpceConfigurationName (string) –

        The friendly name you give to your VPC endpoint configuration to manage your configurations more easily.

      • vpceServiceName (string) –

        The name of the VPC endpoint service running in your AWS account that you want Device Farm to test.

      • serviceDnsName (string) –

        The DNS name that maps to the private IP address of the service you want to access.

      • vpceConfigurationDescription (string) –

        An optional description that provides details about your VPC endpoint configuration.

Exceptions

  • DeviceFarm.Client.exceptions.ArgumentException

  • DeviceFarm.Client.exceptions.LimitExceededException

  • DeviceFarm.Client.exceptions.ServiceAccountException