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 |
Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it.
- 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
disableVPCClassicLink Source #
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:
dvpcclDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dvpcclVPCId
- The ID of the VPC.
data DisableVPCClassicLink Source #
Contains the parameters for DisableVpcClassicLink.
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:
dvpcclrsReturn
- Returnstrue
if the request succeeds; otherwise, it returns an error.dvpcclrsResponseStatus
- -- | The response status code.
data DisableVPCClassicLinkResponse Source #
Contains the output of DisableVpcClassicLink.
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.