Smaws_Client_ElastiCache.AuthorizeCacheSecurityGroupIngressAllows 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationAlreadyExistsFault of
Types.authorization_already_exists_fault
| `CacheSecurityGroupNotFoundFault of
Types.cache_security_group_not_found_fault
| `InvalidCacheSecurityGroupStateFault of
Types.invalid_cache_security_group_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.authorize_cache_security_group_ingress_message ->
(Types.authorize_cache_security_group_ingress_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationAlreadyExistsFault of
Types.authorization_already_exists_fault
| `CacheSecurityGroupNotFoundFault of
Types.cache_security_group_not_found_fault
| `InvalidCacheSecurityGroupStateFault of
Types.invalid_cache_security_group_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.authorize_cache_security_group_ingress_message ->
(Types.authorize_cache_security_group_ingress_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationAlreadyExistsFault of
Types.authorization_already_exists_fault
| `CacheSecurityGroupNotFoundFault of
Types.cache_security_group_not_found_fault
| `InvalidCacheSecurityGroupStateFault of
Types.invalid_cache_security_group_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result