Copyright | (c) 2013-2015 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 |
Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it.
See: AWS API Reference for DisableVPCClassicLink.
- disableVPCClassicLink :: Text -> DisableVPCClassicLink
- data DisableVPCClassicLink
- dvpcclDryRun :: Lens' DisableVPCClassicLink (Maybe Bool)
- dvpcclVPCId :: Lens' DisableVPCClassicLink Text
- disableVPCClassicLinkResponse :: Int -> DisableVPCClassicLinkResponse
- data DisableVPCClassicLinkResponse
- dvpcclrsReturn :: Lens' DisableVPCClassicLinkResponse (Maybe Bool)
- dvpcclrsResponseStatus :: Lens' DisableVPCClassicLinkResponse Int
Creating a Request
Creates a value of DisableVPCClassicLink
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DisableVPCClassicLink Source
See: disableVPCClassicLink
smart constructor.
Request Lenses
dvpcclDryRun :: Lens' DisableVPCClassicLink (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
.
dvpcclVPCId :: Lens' DisableVPCClassicLink Text Source
The ID of the VPC.
Destructuring the Response
disableVPCClassicLinkResponse Source
Creates a value of DisableVPCClassicLinkResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DisableVPCClassicLinkResponse Source
See: disableVPCClassicLinkResponse
smart constructor.
Response Lenses
dvpcclrsReturn :: Lens' DisableVPCClassicLinkResponse (Maybe Bool) Source
Returns true
if the request succeeds; otherwise, it returns an error.
dvpcclrsResponseStatus :: Lens' DisableVPCClassicLinkResponse Int Source
The response status code.