Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The AuthorizeCacheSecurityGroupIngress action 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.
You cannot authorize ingress from an Amazon EC2 security group in one region to an ElastiCache cluster in another region.
See: AWS API Reference for AuthorizeCacheSecurityGroupIngress.
- 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)
- acsgirsStatus :: Lens' AuthorizeCacheSecurityGroupIngressResponse Int
Creating a Request
authorizeCacheSecurityGroupIngress Source
:: 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:
data AuthorizeCacheSecurityGroupIngress Source
Represents the input of an AuthorizeCacheSecurityGroupIngress action.
See: authorizeCacheSecurityGroupIngress
smart constructor.
Request Lenses
acsgiCacheSecurityGroupName :: Lens' AuthorizeCacheSecurityGroupIngress Text Source
The cache security group which will allow 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:
data AuthorizeCacheSecurityGroupIngressResponse Source
See: authorizeCacheSecurityGroupIngressResponse
smart constructor.
Response Lenses
acsgirsCacheSecurityGroup :: Lens' AuthorizeCacheSecurityGroupIngressResponse (Maybe CacheSecurityGroup) Source
Undocumented member.
acsgirsStatus :: Lens' AuthorizeCacheSecurityGroupIngressResponse Int Source
The response status code.