Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
data DetachClassicLinkVpc Source
Eq DetachClassicLinkVpc | |
Ord DetachClassicLinkVpc | |
Read DetachClassicLinkVpc | |
Show DetachClassicLinkVpc | |
AWSRequest DetachClassicLinkVpc | |
ToQuery DetachClassicLinkVpc | |
ToPath DetachClassicLinkVpc | |
ToHeaders DetachClassicLinkVpc | |
type Sv DetachClassicLinkVpc = EC2 | |
type Rs DetachClassicLinkVpc = DetachClassicLinkVpcResponse |
Request constructor
DetachClassicLinkVpc
constructor.
The fields accessible through corresponding lenses are:
dclvDryRun
::
Maybe
Bool
dclvInstanceId
::
Text
dclvVpcId
::
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
::
Maybe
Bool
Response lenses
dclvrReturn :: Lens' DetachClassicLinkVpcResponse (Maybe Bool) Source
Returns true
if the request succeeds; otherwise, it returns an error.