Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Revokes ingress from a cache security group. Use this operation to disallow access from an Amazon EC2 security group that had been previously authorized.
Synopsis
- data RevokeCacheSecurityGroupIngress = RevokeCacheSecurityGroupIngress' {}
- newRevokeCacheSecurityGroupIngress :: Text -> Text -> Text -> RevokeCacheSecurityGroupIngress
- revokeCacheSecurityGroupIngress_cacheSecurityGroupName :: Lens' RevokeCacheSecurityGroupIngress Text
- revokeCacheSecurityGroupIngress_eC2SecurityGroupName :: Lens' RevokeCacheSecurityGroupIngress Text
- revokeCacheSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' RevokeCacheSecurityGroupIngress Text
- data RevokeCacheSecurityGroupIngressResponse = RevokeCacheSecurityGroupIngressResponse' {}
- newRevokeCacheSecurityGroupIngressResponse :: Int -> RevokeCacheSecurityGroupIngressResponse
- revokeCacheSecurityGroupIngressResponse_cacheSecurityGroup :: Lens' RevokeCacheSecurityGroupIngressResponse (Maybe CacheSecurityGroup)
- revokeCacheSecurityGroupIngressResponse_httpStatus :: Lens' RevokeCacheSecurityGroupIngressResponse Int
Creating a Request
data RevokeCacheSecurityGroupIngress Source #
Represents the input of a RevokeCacheSecurityGroupIngress
operation.
See: newRevokeCacheSecurityGroupIngress
smart constructor.
RevokeCacheSecurityGroupIngress' | |
|
Instances
newRevokeCacheSecurityGroupIngress Source #
:: Text |
|
-> Text | |
-> Text |
|
-> RevokeCacheSecurityGroupIngress |
Create a value of RevokeCacheSecurityGroupIngress
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:cacheSecurityGroupName:RevokeCacheSecurityGroupIngress'
, revokeCacheSecurityGroupIngress_cacheSecurityGroupName
- The name of the cache security group to revoke ingress from.
$sel:eC2SecurityGroupName:RevokeCacheSecurityGroupIngress'
, revokeCacheSecurityGroupIngress_eC2SecurityGroupName
- The name of the Amazon EC2 security group to revoke access from.
$sel:eC2SecurityGroupOwnerId:RevokeCacheSecurityGroupIngress'
, revokeCacheSecurityGroupIngress_eC2SecurityGroupOwnerId
- The Amazon account number of the Amazon EC2 security group owner. Note
that this is not the same thing as an Amazon access key ID - you must
provide a valid Amazon account number for this parameter.
Request Lenses
revokeCacheSecurityGroupIngress_cacheSecurityGroupName :: Lens' RevokeCacheSecurityGroupIngress Text Source #
The name of the cache security group to revoke ingress from.
revokeCacheSecurityGroupIngress_eC2SecurityGroupName :: Lens' RevokeCacheSecurityGroupIngress Text Source #
The name of the Amazon EC2 security group to revoke access from.
revokeCacheSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' RevokeCacheSecurityGroupIngress Text Source #
The Amazon account number of the Amazon EC2 security group owner. Note that this is not the same thing as an Amazon access key ID - you must provide a valid Amazon account number for this parameter.
Destructuring the Response
data RevokeCacheSecurityGroupIngressResponse Source #
See: newRevokeCacheSecurityGroupIngressResponse
smart constructor.
RevokeCacheSecurityGroupIngressResponse' | |
|
Instances
newRevokeCacheSecurityGroupIngressResponse Source #
Create a value of RevokeCacheSecurityGroupIngressResponse
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:cacheSecurityGroup:RevokeCacheSecurityGroupIngressResponse'
, revokeCacheSecurityGroupIngressResponse_cacheSecurityGroup
- Undocumented member.
$sel:httpStatus:RevokeCacheSecurityGroupIngressResponse'
, revokeCacheSecurityGroupIngressResponse_httpStatus
- The response's http status code.
Response Lenses
revokeCacheSecurityGroupIngressResponse_cacheSecurityGroup :: Lens' RevokeCacheSecurityGroupIngressResponse (Maybe CacheSecurityGroup) Source #
Undocumented member.
revokeCacheSecurityGroupIngressResponse_httpStatus :: Lens' RevokeCacheSecurityGroupIngressResponse Int Source #
The response's http status code.