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
Eq AttachNetworkInterface | |
Ord AttachNetworkInterface | |
Read AttachNetworkInterface | |
Show AttachNetworkInterface | |
AWSRequest AttachNetworkInterface | |
ToQuery AttachNetworkInterface | |
ToPath AttachNetworkInterface | |
ToHeaders AttachNetworkInterface | |
type Sv AttachNetworkInterface = EC2 | |
type Rs AttachNetworkInterface = AttachNetworkInterfaceResponse |
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.
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.