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.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DisableVpcClassicLink.html
- data DisableVpcClassicLink
- disableVpcClassicLink :: Text -> DisableVpcClassicLink
- dvcl1DryRun :: Lens' DisableVpcClassicLink (Maybe Bool)
- dvcl1VpcId :: Lens' DisableVpcClassicLink Text
- data DisableVpcClassicLinkResponse
- disableVpcClassicLinkResponse :: DisableVpcClassicLinkResponse
- dvclrReturn :: Lens' DisableVpcClassicLinkResponse (Maybe Bool)
Request
data DisableVpcClassicLink Source
Request constructor
DisableVpcClassicLink
constructor.
The fields accessible through corresponding lenses are:
dvcl1DryRun
::
Maybe
Bool
dvcl1VpcId
::
Text
Request lenses
dvcl1DryRun :: 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
.
dvcl1VpcId :: Lens' DisableVpcClassicLink Text Source
The ID of the VPC.
Response
Response constructor
disableVpcClassicLinkResponse :: DisableVpcClassicLinkResponse Source
DisableVpcClassicLinkResponse
constructor.
The fields accessible through corresponding lenses are:
dvclrReturn
::
Maybe
Bool
Response lenses
dvclrReturn :: Lens' DisableVpcClassicLinkResponse (Maybe Bool) Source
Returns true
if the request succeeds; otherwise, it returns an error.