| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.ElastiCache.AuthorizeCacheSecurityGroupIngress
Description
Allows network ingress to a cache security group. Applications using ElastiCache must be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization mechanism.
- authorizeCacheSecurityGroupIngress :: Text -> Text -> Text -> AuthorizeCacheSecurityGroupIngress
- data AuthorizeCacheSecurityGroupIngress
- acsgiCacheSecurityGroupName :: Lens' AuthorizeCacheSecurityGroupIngress Text
- acsgiEC2SecurityGroupName :: Lens' AuthorizeCacheSecurityGroupIngress Text
- acsgiEC2SecurityGroupOwnerId :: Lens' AuthorizeCacheSecurityGroupIngress Text
- authorizeCacheSecurityGroupIngressResponse :: Int -> AuthorizeCacheSecurityGroupIngressResponse
- data AuthorizeCacheSecurityGroupIngressResponse
- acsgirsCacheSecurityGroup :: Lens' AuthorizeCacheSecurityGroupIngressResponse (Maybe CacheSecurityGroup)
- acsgirsResponseStatus :: Lens' AuthorizeCacheSecurityGroupIngressResponse Int
Creating a Request
authorizeCacheSecurityGroupIngress Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> AuthorizeCacheSecurityGroupIngress |
Creates a value of AuthorizeCacheSecurityGroupIngress with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acsgiCacheSecurityGroupName- The cache security group that allows network ingress.acsgiEC2SecurityGroupName- The Amazon EC2 security group to be authorized for ingress to the cache security group.acsgiEC2SecurityGroupOwnerId- The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.
data AuthorizeCacheSecurityGroupIngress Source #
Represents the input of an AuthorizeCacheSecurityGroupIngress operation.
See: authorizeCacheSecurityGroupIngress smart constructor.
Instances
Request Lenses
acsgiCacheSecurityGroupName :: Lens' AuthorizeCacheSecurityGroupIngress Text Source #
The cache security group that allows network ingress.
acsgiEC2SecurityGroupName :: Lens' AuthorizeCacheSecurityGroupIngress Text Source #
The Amazon EC2 security group to be authorized for ingress to the cache security group.
acsgiEC2SecurityGroupOwnerId :: Lens' AuthorizeCacheSecurityGroupIngress Text Source #
The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.
Destructuring the Response
authorizeCacheSecurityGroupIngressResponse Source #
Creates a value of AuthorizeCacheSecurityGroupIngressResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acsgirsCacheSecurityGroup- Undocumented member.acsgirsResponseStatus- -- | The response status code.
data AuthorizeCacheSecurityGroupIngressResponse Source #
See: authorizeCacheSecurityGroupIngressResponse smart constructor.
Instances
Response Lenses
acsgirsCacheSecurityGroup :: Lens' AuthorizeCacheSecurityGroupIngressResponse (Maybe CacheSecurityGroup) Source #
Undocumented member.
acsgirsResponseStatus :: Lens' AuthorizeCacheSecurityGroupIngressResponse Int Source #
- - | The response status code.