CreateVPCEConfiguration - AWS Device Farm Documentation

CreateVPCEConfiguration

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

Request Syntax

{ "serviceDnsName": "string", "vpceConfigurationDescription": "string", "vpceConfigurationName": "string", "vpceServiceName": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

serviceDnsName

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Required: Yes

vpceConfigurationDescription

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Required: No

vpceConfigurationName

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: Yes

vpceServiceName

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Required: Yes

Response Syntax

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

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

vpceConfiguration

An object that contains information about your VPC endpoint configuration.

Type: VPCEConfiguration object

Errors

For information about the errors that are common to all actions, see Common Errors.

ArgumentException

An invalid argument was specified.

HTTP Status Code: 400

LimitExceededException

A limit was exceeded.

HTTP Status Code: 400

ServiceAccountException

There was a problem with the service account.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: