| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.EC2.DetachClassicLinkVpc
Description
Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked, the VPC security groups are no longer associated with it. An instance is automatically unlinked from a VPC when it's stopped.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DetachClassicLinkVpc.html
- data DetachClassicLinkVpc
- detachClassicLinkVpc :: Text -> Text -> DetachClassicLinkVpc
- dclvDryRun :: Lens' DetachClassicLinkVpc (Maybe Bool)
- dclvInstanceId :: Lens' DetachClassicLinkVpc Text
- dclvVpcId :: Lens' DetachClassicLinkVpc Text
- data DetachClassicLinkVpcResponse
- detachClassicLinkVpcResponse :: DetachClassicLinkVpcResponse
- dclvrReturn :: Lens' DetachClassicLinkVpcResponse (Maybe Bool)
Request
Request constructor
Arguments
| :: Text | |
| -> Text | |
| -> DetachClassicLinkVpc |
DetachClassicLinkVpc constructor.
The fields accessible through corresponding lenses are:
dclvDryRun::MaybeBooldclvInstanceId::TextdclvVpcId::Text
Request lenses
dclvInstanceId :: Lens' DetachClassicLinkVpc Text Source
The ID of the instance to unlink from the VPC.
dclvVpcId :: Lens' DetachClassicLinkVpc Text Source
The ID of the VPC to which the instance is linked.
Response
Response constructor
detachClassicLinkVpcResponse :: DetachClassicLinkVpcResponse Source
DetachClassicLinkVpcResponse constructor.
The fields accessible through corresponding lenses are:
dclvrReturn::MaybeBool
Response lenses
dclvrReturn :: Lens' DetachClassicLinkVpcResponse (Maybe Bool) Source
Returns true if the request succeeds; otherwise, it returns an error.