Safe Haskell | None |
---|---|
Language | Haskell2010 |
Attaches a network interface to an instance.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-AttachNetworkInterface.html
- data AttachNetworkInterface
- attachNetworkInterface :: Text -> Text -> Int -> AttachNetworkInterface
- aniDeviceIndex :: Lens' AttachNetworkInterface Int
- aniDryRun :: Lens' AttachNetworkInterface (Maybe Bool)
- aniInstanceId :: Lens' AttachNetworkInterface Text
- aniNetworkInterfaceId :: Lens' AttachNetworkInterface Text
- data AttachNetworkInterfaceResponse
- attachNetworkInterfaceResponse :: AttachNetworkInterfaceResponse
- anirAttachmentId :: Lens' AttachNetworkInterfaceResponse (Maybe Text)
Request
data AttachNetworkInterface Source
Request constructor
AttachNetworkInterface
constructor.
The fields accessible through corresponding lenses are:
Request lenses
aniDeviceIndex :: Lens' AttachNetworkInterface Int Source
The index of the device for the network interface attachment.
aniDryRun :: Lens' AttachNetworkInterface (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
.
aniInstanceId :: Lens' AttachNetworkInterface Text Source
The ID of the instance.
aniNetworkInterfaceId :: Lens' AttachNetworkInterface Text Source
The ID of the network interface.
Response
Response constructor
attachNetworkInterfaceResponse :: AttachNetworkInterfaceResponse Source
AttachNetworkInterfaceResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
anirAttachmentId :: Lens' AttachNetworkInterfaceResponse (Maybe Text) Source
The ID of the network interface attachment.