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 |
Accepts an Elastic IP address transfer. For more information, see Accept a transferred Elastic IP address in the Amazon Virtual Private Cloud User Guide.
Synopsis
- data AcceptAddressTransfer = AcceptAddressTransfer' {
- dryRun :: Maybe Bool
- tagSpecifications :: Maybe [TagSpecification]
- address :: Text
- newAcceptAddressTransfer :: Text -> AcceptAddressTransfer
- acceptAddressTransfer_dryRun :: Lens' AcceptAddressTransfer (Maybe Bool)
- acceptAddressTransfer_tagSpecifications :: Lens' AcceptAddressTransfer (Maybe [TagSpecification])
- acceptAddressTransfer_address :: Lens' AcceptAddressTransfer Text
- data AcceptAddressTransferResponse = AcceptAddressTransferResponse' {}
- newAcceptAddressTransferResponse :: Int -> AcceptAddressTransferResponse
- acceptAddressTransferResponse_addressTransfer :: Lens' AcceptAddressTransferResponse (Maybe AddressTransfer)
- acceptAddressTransferResponse_httpStatus :: Lens' AcceptAddressTransferResponse Int
Creating a Request
data AcceptAddressTransfer Source #
See: newAcceptAddressTransfer
smart constructor.
AcceptAddressTransfer' | |
|
Instances
newAcceptAddressTransfer Source #
Create a value of AcceptAddressTransfer
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:AcceptAddressTransfer'
, acceptAddressTransfer_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
.
AcceptAddressTransfer
, acceptAddressTransfer_tagSpecifications
- tag
:<key> - The key/value combination of a tag assigned to the
resource. Use the tag key in the filter name and the tag value as the
filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the
filter name and TeamA
for the filter value.
AcceptAddressTransfer
, acceptAddressTransfer_address
- The Elastic IP address you are accepting for transfer.
Request Lenses
acceptAddressTransfer_dryRun :: Lens' AcceptAddressTransfer (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
.
acceptAddressTransfer_tagSpecifications :: Lens' AcceptAddressTransfer (Maybe [TagSpecification]) Source #
tag
:<key> - The key/value combination of a tag assigned to the
resource. Use the tag key in the filter name and the tag value as the
filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the
filter name and TeamA
for the filter value.
acceptAddressTransfer_address :: Lens' AcceptAddressTransfer Text Source #
The Elastic IP address you are accepting for transfer.
Destructuring the Response
data AcceptAddressTransferResponse Source #
See: newAcceptAddressTransferResponse
smart constructor.
AcceptAddressTransferResponse' | |
|
Instances
newAcceptAddressTransferResponse Source #
Create a value of AcceptAddressTransferResponse
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:addressTransfer:AcceptAddressTransferResponse'
, acceptAddressTransferResponse_addressTransfer
- An Elastic IP address transfer.
$sel:httpStatus:AcceptAddressTransferResponse'
, acceptAddressTransferResponse_httpStatus
- The response's http status code.
Response Lenses
acceptAddressTransferResponse_addressTransfer :: Lens' AcceptAddressTransferResponse (Maybe AddressTransfer) Source #
An Elastic IP address transfer.
acceptAddressTransferResponse_httpStatus :: Lens' AcceptAddressTransferResponse Int Source #
The response's http status code.