Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cloudwatchevents_list_targets_by_rule

Lists the targets assigned to the specified rule


Description

Lists the targets assigned to the specified rule.

Usage

cloudwatchevents_list_targets_by_rule(Rule, EventBusName, NextToken,
  Limit)

Arguments

Rule

[required] The name of the rule.

EventBusName

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

NextToken

The token returned by a previous call to retrieve the next set of results.

Limit

The maximum number of results to return.

Value

A list with the following syntax:

list(
  Targets = list(
    list(
      Id = "string",
      Arn = "string",
      RoleArn = "string",
      Input = "string",
      InputPath = "string",
      InputTransformer = list(
        InputPathsMap = list(
          "string"
        ),
        InputTemplate = "string"
      ),
      KinesisParameters = list(
        PartitionKeyPath = "string"
      ),
      RunCommandParameters = list(
        RunCommandTargets = list(
          list(
            Key = "string",
            Values = list(
              "string"
            )
          )
        )
      ),
      EcsParameters = list(
        TaskDefinitionArn = "string",
        TaskCount = 123,
        LaunchType = "EC2"|"FARGATE",
        NetworkConfiguration = list(
          awsvpcConfiguration = list(
            Subnets = list(
              "string"
            ),
            SecurityGroups = list(
              "string"
            ),
            AssignPublicIp = "ENABLED"|"DISABLED"
          )
        ),
        PlatformVersion = "string",
        Group = "string"
      ),
      BatchParameters = list(
        JobDefinition = "string",
        JobName = "string",
        ArrayProperties = list(
          Size = 123
        ),
        RetryStrategy = list(
          Attempts = 123
        )
      ),
      SqsParameters = list(
        MessageGroupId = "string"
      ),
      HttpParameters = list(
        PathParameterValues = list(
          "string"
        ),
        HeaderParameters = list(
          "string"
        ),
        QueryStringParameters = list(
          "string"
        )
      ),
      RedshiftDataParameters = list(
        SecretManagerArn = "string",
        Database = "string",
        DbUser = "string",
        Sql = "string",
        StatementName = "string",
        WithEvent = TRUE|FALSE
      ),
      DeadLetterConfig = list(
        Arn = "string"
      ),
      RetryPolicy = list(
        MaximumRetryAttempts = 123,
        MaximumEventAgeInSeconds = 123
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_targets_by_rule(
  Rule = "string",
  EventBusName = "string",
  NextToken = "string",
  Limit = 123
)

paws.management

Amazon Web Services Management & Governance Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.