| 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 |
Amazonka.ElastiCache.RevokeCacheSecurityGroupIngress
Description
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.
Constructors
| RevokeCacheSecurityGroupIngress' | |
Fields
| |
Instances
newRevokeCacheSecurityGroupIngress Source #
Arguments
| :: 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:
RevokeCacheSecurityGroupIngress, revokeCacheSecurityGroupIngress_cacheSecurityGroupName - The name of the cache security group to revoke ingress from.
RevokeCacheSecurityGroupIngress, revokeCacheSecurityGroupIngress_eC2SecurityGroupName - The name of the Amazon EC2 security group to revoke access from.
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.
Constructors
| RevokeCacheSecurityGroupIngressResponse' | |
Fields
| |
Instances
newRevokeCacheSecurityGroupIngressResponse Source #
Arguments
| :: Int | |
| -> RevokeCacheSecurityGroupIngressResponse |
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.