Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Initiates the verification process to prove that the service provider owns the private DNS name domain for the endpoint service.
The service provider must successfully perform the verification before the consumer can use the name to access the service.
Before the service provider runs this command, they must add a record to the DNS server.
Synopsis
- data StartVpcEndpointServicePrivateDnsVerification = StartVpcEndpointServicePrivateDnsVerification' {}
- newStartVpcEndpointServicePrivateDnsVerification :: Text -> StartVpcEndpointServicePrivateDnsVerification
- startVpcEndpointServicePrivateDnsVerification_dryRun :: Lens' StartVpcEndpointServicePrivateDnsVerification (Maybe Bool)
- startVpcEndpointServicePrivateDnsVerification_serviceId :: Lens' StartVpcEndpointServicePrivateDnsVerification Text
- data StartVpcEndpointServicePrivateDnsVerificationResponse = StartVpcEndpointServicePrivateDnsVerificationResponse' {
- returnValue :: Maybe Bool
- httpStatus :: Int
- newStartVpcEndpointServicePrivateDnsVerificationResponse :: Int -> StartVpcEndpointServicePrivateDnsVerificationResponse
- startVpcEndpointServicePrivateDnsVerificationResponse_returnValue :: Lens' StartVpcEndpointServicePrivateDnsVerificationResponse (Maybe Bool)
- startVpcEndpointServicePrivateDnsVerificationResponse_httpStatus :: Lens' StartVpcEndpointServicePrivateDnsVerificationResponse Int
Creating a Request
data StartVpcEndpointServicePrivateDnsVerification Source #
See: newStartVpcEndpointServicePrivateDnsVerification
smart constructor.
StartVpcEndpointServicePrivateDnsVerification' | |
|
Instances
newStartVpcEndpointServicePrivateDnsVerification Source #
Create a value of StartVpcEndpointServicePrivateDnsVerification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:StartVpcEndpointServicePrivateDnsVerification'
, startVpcEndpointServicePrivateDnsVerification_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
StartVpcEndpointServicePrivateDnsVerification
, startVpcEndpointServicePrivateDnsVerification_serviceId
- The ID of the endpoint service.
Request Lenses
startVpcEndpointServicePrivateDnsVerification_dryRun :: Lens' StartVpcEndpointServicePrivateDnsVerification (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
startVpcEndpointServicePrivateDnsVerification_serviceId :: Lens' StartVpcEndpointServicePrivateDnsVerification Text Source #
The ID of the endpoint service.
Destructuring the Response
data StartVpcEndpointServicePrivateDnsVerificationResponse Source #
See: newStartVpcEndpointServicePrivateDnsVerificationResponse
smart constructor.
StartVpcEndpointServicePrivateDnsVerificationResponse' | |
|
Instances
newStartVpcEndpointServicePrivateDnsVerificationResponse Source #
:: Int |
|
-> StartVpcEndpointServicePrivateDnsVerificationResponse |
Create a value of StartVpcEndpointServicePrivateDnsVerificationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:returnValue:StartVpcEndpointServicePrivateDnsVerificationResponse'
, startVpcEndpointServicePrivateDnsVerificationResponse_returnValue
- Returns true
if the request succeeds; otherwise, it returns an error.
$sel:httpStatus:StartVpcEndpointServicePrivateDnsVerificationResponse'
, startVpcEndpointServicePrivateDnsVerificationResponse_httpStatus
- The response's http status code.
Response Lenses
startVpcEndpointServicePrivateDnsVerificationResponse_returnValue :: Lens' StartVpcEndpointServicePrivateDnsVerificationResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
startVpcEndpointServicePrivateDnsVerificationResponse_httpStatus :: Lens' StartVpcEndpointServicePrivateDnsVerificationResponse Int Source #
The response's http status code.