Amazon.ElastiCache.AmazonElastiCacheClient.DeleteCacheSecurityGroup C# (CSharp) Method

DeleteCacheSecurityGroup() public method

Deletes a cache security group.

You cannot delete a cache security group if it is associated with any cache clusters.

/// The requested cache security group name does not refer to an existing cache security /// group. /// /// The current state of the cache security group does not allow deletion. /// /// Two or more incompatible parameters were specified. /// /// The value for a parameter is invalid. ///
public DeleteCacheSecurityGroup ( DeleteCacheSecurityGroupRequest request ) : DeleteCacheSecurityGroupResponse
request DeleteCacheSecurityGroupRequest Container for the necessary parameters to execute the DeleteCacheSecurityGroup service method.
return DeleteCacheSecurityGroupResponse
        public DeleteCacheSecurityGroupResponse DeleteCacheSecurityGroup(DeleteCacheSecurityGroupRequest request)
        {
            var marshaller = new DeleteCacheSecurityGroupRequestMarshaller();
            var unmarshaller = DeleteCacheSecurityGroupResponseUnmarshaller.Instance;

            return Invoke<DeleteCacheSecurityGroupRequest,DeleteCacheSecurityGroupResponse>(request, marshaller, unmarshaller);
        }
AmazonElastiCacheClient