Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Applies a security group to the association between the target network and the Client VPN endpoint. This action replaces the existing security groups with the specified security groups.
Synopsis
- data ApplySecurityGroupsToClientVpnTargetNetwork = ApplySecurityGroupsToClientVpnTargetNetwork' {
- dryRun :: Maybe Bool
- clientVpnEndpointId :: Text
- vpcId :: Text
- securityGroupIds :: [Text]
- newApplySecurityGroupsToClientVpnTargetNetwork :: Text -> Text -> ApplySecurityGroupsToClientVpnTargetNetwork
- applySecurityGroupsToClientVpnTargetNetwork_dryRun :: Lens' ApplySecurityGroupsToClientVpnTargetNetwork (Maybe Bool)
- applySecurityGroupsToClientVpnTargetNetwork_clientVpnEndpointId :: Lens' ApplySecurityGroupsToClientVpnTargetNetwork Text
- applySecurityGroupsToClientVpnTargetNetwork_vpcId :: Lens' ApplySecurityGroupsToClientVpnTargetNetwork Text
- applySecurityGroupsToClientVpnTargetNetwork_securityGroupIds :: Lens' ApplySecurityGroupsToClientVpnTargetNetwork [Text]
- data ApplySecurityGroupsToClientVpnTargetNetworkResponse = ApplySecurityGroupsToClientVpnTargetNetworkResponse' {
- securityGroupIds :: Maybe [Text]
- httpStatus :: Int
- newApplySecurityGroupsToClientVpnTargetNetworkResponse :: Int -> ApplySecurityGroupsToClientVpnTargetNetworkResponse
- applySecurityGroupsToClientVpnTargetNetworkResponse_securityGroupIds :: Lens' ApplySecurityGroupsToClientVpnTargetNetworkResponse (Maybe [Text])
- applySecurityGroupsToClientVpnTargetNetworkResponse_httpStatus :: Lens' ApplySecurityGroupsToClientVpnTargetNetworkResponse Int
Creating a Request
data ApplySecurityGroupsToClientVpnTargetNetwork Source #
See: newApplySecurityGroupsToClientVpnTargetNetwork
smart constructor.
ApplySecurityGroupsToClientVpnTargetNetwork' | |
|
Instances
newApplySecurityGroupsToClientVpnTargetNetwork Source #
Create a value of ApplySecurityGroupsToClientVpnTargetNetwork
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:ApplySecurityGroupsToClientVpnTargetNetwork'
, applySecurityGroupsToClientVpnTargetNetwork_dryRun
- 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
.
ApplySecurityGroupsToClientVpnTargetNetwork
, applySecurityGroupsToClientVpnTargetNetwork_clientVpnEndpointId
- The ID of the Client VPN endpoint.
ApplySecurityGroupsToClientVpnTargetNetwork
, applySecurityGroupsToClientVpnTargetNetwork_vpcId
- The ID of the VPC in which the associated target network is located.
ApplySecurityGroupsToClientVpnTargetNetwork
, applySecurityGroupsToClientVpnTargetNetwork_securityGroupIds
- The IDs of the security groups to apply to the associated target
network. Up to 5 security groups can be applied to an associated target
network.
Request Lenses
applySecurityGroupsToClientVpnTargetNetwork_dryRun :: Lens' ApplySecurityGroupsToClientVpnTargetNetwork (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
.
applySecurityGroupsToClientVpnTargetNetwork_clientVpnEndpointId :: Lens' ApplySecurityGroupsToClientVpnTargetNetwork Text Source #
The ID of the Client VPN endpoint.
applySecurityGroupsToClientVpnTargetNetwork_vpcId :: Lens' ApplySecurityGroupsToClientVpnTargetNetwork Text Source #
The ID of the VPC in which the associated target network is located.
applySecurityGroupsToClientVpnTargetNetwork_securityGroupIds :: Lens' ApplySecurityGroupsToClientVpnTargetNetwork [Text] Source #
The IDs of the security groups to apply to the associated target network. Up to 5 security groups can be applied to an associated target network.
Destructuring the Response
data ApplySecurityGroupsToClientVpnTargetNetworkResponse Source #
See: newApplySecurityGroupsToClientVpnTargetNetworkResponse
smart constructor.
ApplySecurityGroupsToClientVpnTargetNetworkResponse' | |
|
Instances
newApplySecurityGroupsToClientVpnTargetNetworkResponse Source #
:: Int |
|
-> ApplySecurityGroupsToClientVpnTargetNetworkResponse |
Create a value of ApplySecurityGroupsToClientVpnTargetNetworkResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ApplySecurityGroupsToClientVpnTargetNetwork
, applySecurityGroupsToClientVpnTargetNetworkResponse_securityGroupIds
- The IDs of the applied security groups.
$sel:httpStatus:ApplySecurityGroupsToClientVpnTargetNetworkResponse'
, applySecurityGroupsToClientVpnTargetNetworkResponse_httpStatus
- The response's http status code.
Response Lenses
applySecurityGroupsToClientVpnTargetNetworkResponse_securityGroupIds :: Lens' ApplySecurityGroupsToClientVpnTargetNetworkResponse (Maybe [Text]) Source #
The IDs of the applied security groups.
applySecurityGroupsToClientVpnTargetNetworkResponse_httpStatus :: Lens' ApplySecurityGroupsToClientVpnTargetNetworkResponse Int Source #
The response's http status code.