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 |
Modifies the payer responsibility for your VPC endpoint service.
Synopsis
- data ModifyVpcEndpointServicePayerResponsibility = ModifyVpcEndpointServicePayerResponsibility' {}
- newModifyVpcEndpointServicePayerResponsibility :: Text -> PayerResponsibility -> ModifyVpcEndpointServicePayerResponsibility
- modifyVpcEndpointServicePayerResponsibility_dryRun :: Lens' ModifyVpcEndpointServicePayerResponsibility (Maybe Bool)
- modifyVpcEndpointServicePayerResponsibility_serviceId :: Lens' ModifyVpcEndpointServicePayerResponsibility Text
- modifyVpcEndpointServicePayerResponsibility_payerResponsibility :: Lens' ModifyVpcEndpointServicePayerResponsibility PayerResponsibility
- data ModifyVpcEndpointServicePayerResponsibilityResponse = ModifyVpcEndpointServicePayerResponsibilityResponse' {
- returnValue :: Maybe Bool
- httpStatus :: Int
- newModifyVpcEndpointServicePayerResponsibilityResponse :: Int -> ModifyVpcEndpointServicePayerResponsibilityResponse
- modifyVpcEndpointServicePayerResponsibilityResponse_returnValue :: Lens' ModifyVpcEndpointServicePayerResponsibilityResponse (Maybe Bool)
- modifyVpcEndpointServicePayerResponsibilityResponse_httpStatus :: Lens' ModifyVpcEndpointServicePayerResponsibilityResponse Int
Creating a Request
data ModifyVpcEndpointServicePayerResponsibility Source #
See: newModifyVpcEndpointServicePayerResponsibility
smart constructor.
ModifyVpcEndpointServicePayerResponsibility' | |
|
Instances
newModifyVpcEndpointServicePayerResponsibility Source #
Create a value of ModifyVpcEndpointServicePayerResponsibility
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:ModifyVpcEndpointServicePayerResponsibility'
, modifyVpcEndpointServicePayerResponsibility_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
.
ModifyVpcEndpointServicePayerResponsibility
, modifyVpcEndpointServicePayerResponsibility_serviceId
- The ID of the service.
ModifyVpcEndpointServicePayerResponsibility
, modifyVpcEndpointServicePayerResponsibility_payerResponsibility
- The entity that is responsible for the endpoint costs. The default is
the endpoint owner. If you set the payer responsibility to the service
owner, you cannot set it back to the endpoint owner.
Request Lenses
modifyVpcEndpointServicePayerResponsibility_dryRun :: Lens' ModifyVpcEndpointServicePayerResponsibility (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
.
modifyVpcEndpointServicePayerResponsibility_serviceId :: Lens' ModifyVpcEndpointServicePayerResponsibility Text Source #
The ID of the service.
modifyVpcEndpointServicePayerResponsibility_payerResponsibility :: Lens' ModifyVpcEndpointServicePayerResponsibility PayerResponsibility Source #
The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
Destructuring the Response
data ModifyVpcEndpointServicePayerResponsibilityResponse Source #
See: newModifyVpcEndpointServicePayerResponsibilityResponse
smart constructor.
ModifyVpcEndpointServicePayerResponsibilityResponse' | |
|
Instances
newModifyVpcEndpointServicePayerResponsibilityResponse Source #
:: Int |
|
-> ModifyVpcEndpointServicePayerResponsibilityResponse |
Create a value of ModifyVpcEndpointServicePayerResponsibilityResponse
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:ModifyVpcEndpointServicePayerResponsibilityResponse'
, modifyVpcEndpointServicePayerResponsibilityResponse_returnValue
- Returns true
if the request succeeds; otherwise, it returns an error.
$sel:httpStatus:ModifyVpcEndpointServicePayerResponsibilityResponse'
, modifyVpcEndpointServicePayerResponsibilityResponse_httpStatus
- The response's http status code.
Response Lenses
modifyVpcEndpointServicePayerResponsibilityResponse_returnValue :: Lens' ModifyVpcEndpointServicePayerResponsibilityResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
modifyVpcEndpointServicePayerResponsibilityResponse_httpStatus :: Lens' ModifyVpcEndpointServicePayerResponsibilityResponse Int Source #
The response's http status code.