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¶
Arguments¶
-
Rule[required] The name of the rule.
-
EventBusNameThe name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
-
NextTokenThe token returned by a previous call, which you can use to retrieve the next set of results.
The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror. -
LimitThe 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"
)