Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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.
- detachClassicLinkVPC :: Text -> Text -> DetachClassicLinkVPC
- data DetachClassicLinkVPC
- dclvDryRun :: Lens' DetachClassicLinkVPC (Maybe Bool)
- dclvInstanceId :: Lens' DetachClassicLinkVPC Text
- dclvVPCId :: Lens' DetachClassicLinkVPC Text
- detachClassicLinkVPCResponse :: Int -> DetachClassicLinkVPCResponse
- data DetachClassicLinkVPCResponse
- dclvrsReturn :: Lens' DetachClassicLinkVPCResponse (Maybe Bool)
- dclvrsResponseStatus :: Lens' DetachClassicLinkVPCResponse Int
Creating a Request
Creates a value of DetachClassicLinkVPC
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DetachClassicLinkVPC Source #
Contains the parameters for DetachClassicLinkVpc.
See: detachClassicLinkVPC
smart constructor.
Request Lenses
dclvDryRun :: Lens' DetachClassicLinkVPC (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
.
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.
Destructuring the Response
detachClassicLinkVPCResponse Source #
Creates a value of DetachClassicLinkVPCResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DetachClassicLinkVPCResponse Source #
Contains the output of DetachClassicLinkVpc.
See: detachClassicLinkVPCResponse
smart constructor.
Response Lenses
dclvrsReturn :: Lens' DetachClassicLinkVPCResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
dclvrsResponseStatus :: Lens' DetachClassicLinkVPCResponse Int Source #
The response status code.