Amazon.CloudWatchEvents.AmazonCloudWatchEventsClient.ListRuleNamesByTarget C# (CSharp) Method

ListRuleNamesByTarget() public method

Lists the names of the rules that the given target is put to. You can see which of the rules in Amazon CloudWatch Events can invoke a specific target in your account. If you have more rules in your account than the given limit, the results will be paginated. In that case, use the next token returned in the response and repeat ListRulesByTarget until the NextToken in the response is returned as null.
/// This exception occurs due to unexpected causes. ///
public ListRuleNamesByTarget ( ListRuleNamesByTargetRequest request ) : ListRuleNamesByTargetResponse
request Amazon.CloudWatchEvents.Model.ListRuleNamesByTargetRequest Container for the necessary parameters to execute the ListRuleNamesByTarget service method.
return Amazon.CloudWatchEvents.Model.ListRuleNamesByTargetResponse
        public ListRuleNamesByTargetResponse ListRuleNamesByTarget(ListRuleNamesByTargetRequest request)
        {
            var marshaller = new ListRuleNamesByTargetRequestMarshaller();
            var unmarshaller = ListRuleNamesByTargetResponseUnmarshaller.Instance;

            return Invoke<ListRuleNamesByTargetRequest,ListRuleNamesByTargetResponse>(request, marshaller, unmarshaller);
        }