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 |
Disables Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon Virtual Private Cloud User Guide.
Synopsis
- data DisableAddressTransfer = DisableAddressTransfer' {
- dryRun :: Maybe Bool
- allocationId :: Text
- newDisableAddressTransfer :: Text -> DisableAddressTransfer
- disableAddressTransfer_dryRun :: Lens' DisableAddressTransfer (Maybe Bool)
- disableAddressTransfer_allocationId :: Lens' DisableAddressTransfer Text
- data DisableAddressTransferResponse = DisableAddressTransferResponse' {}
- newDisableAddressTransferResponse :: Int -> DisableAddressTransferResponse
- disableAddressTransferResponse_addressTransfer :: Lens' DisableAddressTransferResponse (Maybe AddressTransfer)
- disableAddressTransferResponse_httpStatus :: Lens' DisableAddressTransferResponse Int
Creating a Request
data DisableAddressTransfer Source #
See: newDisableAddressTransfer
smart constructor.
DisableAddressTransfer' | |
|
Instances
newDisableAddressTransfer Source #
Create a value of DisableAddressTransfer
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:DisableAddressTransfer'
, disableAddressTransfer_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
.
DisableAddressTransfer
, disableAddressTransfer_allocationId
- The allocation ID of an Elastic IP address.
Request Lenses
disableAddressTransfer_dryRun :: Lens' DisableAddressTransfer (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
.
disableAddressTransfer_allocationId :: Lens' DisableAddressTransfer Text Source #
The allocation ID of an Elastic IP address.
Destructuring the Response
data DisableAddressTransferResponse Source #
See: newDisableAddressTransferResponse
smart constructor.
DisableAddressTransferResponse' | |
|
Instances
Generic DisableAddressTransferResponse Source # | |
Read DisableAddressTransferResponse Source # | |
Show DisableAddressTransferResponse Source # | |
Defined in Amazonka.EC2.DisableAddressTransfer | |
NFData DisableAddressTransferResponse Source # | |
Defined in Amazonka.EC2.DisableAddressTransfer rnf :: DisableAddressTransferResponse -> () # | |
Eq DisableAddressTransferResponse Source # | |
type Rep DisableAddressTransferResponse Source # | |
Defined in Amazonka.EC2.DisableAddressTransfer type Rep DisableAddressTransferResponse = D1 ('MetaData "DisableAddressTransferResponse" "Amazonka.EC2.DisableAddressTransfer" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisableAddressTransferResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "addressTransfer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AddressTransfer)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisableAddressTransferResponse Source #
Create a value of DisableAddressTransferResponse
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:DisableAddressTransferResponse'
, disableAddressTransferResponse_addressTransfer
- An Elastic IP address transfer.
$sel:httpStatus:DisableAddressTransferResponse'
, disableAddressTransferResponse_httpStatus
- The response's http status code.
Response Lenses
disableAddressTransferResponse_addressTransfer :: Lens' DisableAddressTransferResponse (Maybe AddressTransfer) Source #
An Elastic IP address transfer.
disableAddressTransferResponse_httpStatus :: Lens' DisableAddressTransferResponse Int Source #
The response's http status code.