UpdateVPCEConfiguration
Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.
Request Syntax
{
"arn": "string
",
"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.
- arn
-
The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to update.
Type: String
Length Constraints: Minimum length of 32. Maximum length of 1011.
Pattern:
^arn:.+
Required: Yes
- serviceDnsName
-
The DNS (domain) name used to connect to your private service in your VPC. The DNS name must not already be in use on the internet.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 2048.
Required: No
- 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: No
- 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: No
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
- InvalidOperationException
-
There was an error with the update request, or you do not have sufficient permissions to update this VPC endpoint configuration.
HTTP Status Code: 400
- NotFoundException
-
The specified entity was not found.
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: