List Targets By Rule
eventbridge_list_targets_by_rule | R Documentation |
Lists the targets assigned to the specified rule¶
Description¶
Lists the targets assigned to the specified rule.
The maximum number of results per page for requests is 100.
Usage¶
eventbridge_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, which you can use to retrieve the next set of results. The value of Using an expired pagination token results in an |
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"|"EXTERNAL",
NetworkConfiguration = list(
awsvpcConfiguration = list(
Subnets = list(
"string"
),
SecurityGroups = list(
"string"
),
AssignPublicIp = "ENABLED"|"DISABLED"
)
),
PlatformVersion = "string",
Group = "string",
CapacityProviderStrategy = list(
list(
capacityProvider = "string",
weight = 123,
base = 123
)
),
EnableECSManagedTags = TRUE|FALSE,
EnableExecuteCommand = TRUE|FALSE,
PlacementConstraints = list(
list(
type = "distinctInstance"|"memberOf",
expression = "string"
)
),
PlacementStrategy = list(
list(
type = "random"|"spread"|"binpack",
field = "string"
)
),
PropagateTags = "TASK_DEFINITION",
ReferenceId = "string",
Tags = list(
list(
Key = "string",
Value = "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,
Sqls = list(
"string"
)
),
SageMakerPipelineParameters = list(
PipelineParameterList = list(
list(
Name = "string",
Value = "string"
)
)
),
DeadLetterConfig = list(
Arn = "string"
),
RetryPolicy = list(
MaximumRetryAttempts = 123,
MaximumEventAgeInSeconds = 123
),
AppSyncParameters = list(
GraphQLOperation = "string"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$list_targets_by_rule(
Rule = "string",
EventBusName = "string",
NextToken = "string",
Limit = 123
)