aws-sdk-eventbridge 1.22.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eventbridge.rb +1 -1
- data/lib/aws-sdk-eventbridge/client.rb +113 -35
- data/lib/aws-sdk-eventbridge/client_api.rb +57 -0
- data/lib/aws-sdk-eventbridge/types.rb +375 -6
- metadata +7 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76969cd4a0a6e4e95681760f2c2cd7c3fd6c33a4e8739aa23bc80d2ae01ef32c
|
|
4
|
+
data.tar.gz: 43cd2bd883282e3126493aa2396a4d765a12b9cb60d55cf852b01a31575be3a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e345f2e50e22452155a1147a6d5db67edbd2dd046d47d59b04bd7ca37df9d4948b090f31485fef8f9039572863a9c04b90518e64c0f1f0d8984da25ce0d465df
|
|
7
|
+
data.tar.gz: 79e4ebfd70514c09a931c9ceebcd8f57676f669e254571338b12b829698422471c9848b569d439bbc0b2fea88be2c2de8e479ffec56d597fe78cc93d6a3f1615
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.26.0 (2021-07-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.25.0 (2021-06-23)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Added the following parameters to ECS targets: CapacityProviderStrategy, EnableECSManagedTags, EnableExecuteCommand, PlacementConstraints, PlacementStrategy, PropagateTags, ReferenceId, and Tags
|
|
13
|
+
|
|
14
|
+
1.24.0 (2021-05-14)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Update InputTransformer variable limit from 10 to 100 variables.
|
|
18
|
+
|
|
19
|
+
1.23.0 (2021-03-26)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Add support for SageMaker Model Builder Pipelines Targets to EventBridge
|
|
23
|
+
|
|
4
24
|
1.22.0 (2021-03-10)
|
|
5
25
|
------------------
|
|
6
26
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.26.0
|
data/lib/aws-sdk-eventbridge.rb
CHANGED
|
@@ -946,6 +946,10 @@ module Aws::EventBridge
|
|
|
946
946
|
# When you delete a rule, incoming events might continue to match to the
|
|
947
947
|
# deleted rule. Allow a short period of time for changes to take effect.
|
|
948
948
|
#
|
|
949
|
+
# If you call delete rule multiple times for the same rule, all calls
|
|
950
|
+
# will succeed. When you call delete rule for a non-existent custom
|
|
951
|
+
# eventbus, `ResourceNotFoundException` is returned.
|
|
952
|
+
#
|
|
949
953
|
# Managed rules are rules created and managed by another AWS service on
|
|
950
954
|
# your behalf. These rules are created by those other AWS services to
|
|
951
955
|
# support functionality in those services. You can delete these rules
|
|
@@ -2052,6 +2056,23 @@ module Aws::EventBridge
|
|
|
2052
2056
|
# resp.targets[0].ecs_parameters.network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
|
2053
2057
|
# resp.targets[0].ecs_parameters.platform_version #=> String
|
|
2054
2058
|
# resp.targets[0].ecs_parameters.group #=> String
|
|
2059
|
+
# resp.targets[0].ecs_parameters.capacity_provider_strategy #=> Array
|
|
2060
|
+
# resp.targets[0].ecs_parameters.capacity_provider_strategy[0].capacity_provider #=> String
|
|
2061
|
+
# resp.targets[0].ecs_parameters.capacity_provider_strategy[0].weight #=> Integer
|
|
2062
|
+
# resp.targets[0].ecs_parameters.capacity_provider_strategy[0].base #=> Integer
|
|
2063
|
+
# resp.targets[0].ecs_parameters.enable_ecs_managed_tags #=> Boolean
|
|
2064
|
+
# resp.targets[0].ecs_parameters.enable_execute_command #=> Boolean
|
|
2065
|
+
# resp.targets[0].ecs_parameters.placement_constraints #=> Array
|
|
2066
|
+
# resp.targets[0].ecs_parameters.placement_constraints[0].type #=> String, one of "distinctInstance", "memberOf"
|
|
2067
|
+
# resp.targets[0].ecs_parameters.placement_constraints[0].expression #=> String
|
|
2068
|
+
# resp.targets[0].ecs_parameters.placement_strategy #=> Array
|
|
2069
|
+
# resp.targets[0].ecs_parameters.placement_strategy[0].type #=> String, one of "random", "spread", "binpack"
|
|
2070
|
+
# resp.targets[0].ecs_parameters.placement_strategy[0].field #=> String
|
|
2071
|
+
# resp.targets[0].ecs_parameters.propagate_tags #=> String, one of "TASK_DEFINITION"
|
|
2072
|
+
# resp.targets[0].ecs_parameters.reference_id #=> String
|
|
2073
|
+
# resp.targets[0].ecs_parameters.tags #=> Array
|
|
2074
|
+
# resp.targets[0].ecs_parameters.tags[0].key #=> String
|
|
2075
|
+
# resp.targets[0].ecs_parameters.tags[0].value #=> String
|
|
2055
2076
|
# resp.targets[0].batch_parameters.job_definition #=> String
|
|
2056
2077
|
# resp.targets[0].batch_parameters.job_name #=> String
|
|
2057
2078
|
# resp.targets[0].batch_parameters.array_properties.size #=> Integer
|
|
@@ -2069,6 +2090,9 @@ module Aws::EventBridge
|
|
|
2069
2090
|
# resp.targets[0].redshift_data_parameters.sql #=> String
|
|
2070
2091
|
# resp.targets[0].redshift_data_parameters.statement_name #=> String
|
|
2071
2092
|
# resp.targets[0].redshift_data_parameters.with_event #=> Boolean
|
|
2093
|
+
# resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list #=> Array
|
|
2094
|
+
# resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list[0].name #=> String
|
|
2095
|
+
# resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list[0].value #=> String
|
|
2072
2096
|
# resp.targets[0].dead_letter_config.arn #=> String
|
|
2073
2097
|
# resp.targets[0].retry_policy.maximum_retry_attempts #=> Integer
|
|
2074
2098
|
# resp.targets[0].retry_policy.maximum_event_age_in_seconds #=> Integer
|
|
@@ -2094,7 +2118,7 @@ module Aws::EventBridge
|
|
|
2094
2118
|
# @return [Types::PutEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2095
2119
|
#
|
|
2096
2120
|
# * {Types::PutEventsResponse#failed_entry_count #failed_entry_count} => Integer
|
|
2097
|
-
# * {Types::PutEventsResponse#entries #entries} => Array<Types::PutEventsResultEntry>
|
|
2121
|
+
# * {Types::PutEventsResponse#entries #data.entries} => Array<Types::PutEventsResultEntry> (This method conflicts with a method on Response, call it through the data member)
|
|
2098
2122
|
#
|
|
2099
2123
|
# @example Request syntax with placeholder values
|
|
2100
2124
|
#
|
|
@@ -2115,10 +2139,10 @@ module Aws::EventBridge
|
|
|
2115
2139
|
# @example Response structure
|
|
2116
2140
|
#
|
|
2117
2141
|
# resp.failed_entry_count #=> Integer
|
|
2118
|
-
# resp.entries #=> Array
|
|
2119
|
-
# resp.entries[0].event_id #=> String
|
|
2120
|
-
# resp.entries[0].error_code #=> String
|
|
2121
|
-
# resp.entries[0].error_message #=> String
|
|
2142
|
+
# resp.data.entries #=> Array
|
|
2143
|
+
# resp.data.entries[0].event_id #=> String
|
|
2144
|
+
# resp.data.entries[0].error_code #=> String
|
|
2145
|
+
# resp.data.entries[0].error_message #=> String
|
|
2122
2146
|
#
|
|
2123
2147
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutEvents AWS API Documentation
|
|
2124
2148
|
#
|
|
@@ -2138,7 +2162,7 @@ module Aws::EventBridge
|
|
|
2138
2162
|
# @return [Types::PutPartnerEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2139
2163
|
#
|
|
2140
2164
|
# * {Types::PutPartnerEventsResponse#failed_entry_count #failed_entry_count} => Integer
|
|
2141
|
-
# * {Types::PutPartnerEventsResponse#entries #entries} => Array<Types::PutPartnerEventsResultEntry>
|
|
2165
|
+
# * {Types::PutPartnerEventsResponse#entries #data.entries} => Array<Types::PutPartnerEventsResultEntry> (This method conflicts with a method on Response, call it through the data member)
|
|
2142
2166
|
#
|
|
2143
2167
|
# @example Request syntax with placeholder values
|
|
2144
2168
|
#
|
|
@@ -2157,10 +2181,10 @@ module Aws::EventBridge
|
|
|
2157
2181
|
# @example Response structure
|
|
2158
2182
|
#
|
|
2159
2183
|
# resp.failed_entry_count #=> Integer
|
|
2160
|
-
# resp.entries #=> Array
|
|
2161
|
-
# resp.entries[0].event_id #=> String
|
|
2162
|
-
# resp.entries[0].error_code #=> String
|
|
2163
|
-
# resp.entries[0].error_message #=> String
|
|
2184
|
+
# resp.data.entries #=> Array
|
|
2185
|
+
# resp.data.entries[0].event_id #=> String
|
|
2186
|
+
# resp.data.entries[0].error_code #=> String
|
|
2187
|
+
# resp.data.entries[0].error_message #=> String
|
|
2164
2188
|
#
|
|
2165
2189
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutPartnerEvents AWS API Documentation
|
|
2166
2190
|
#
|
|
@@ -2413,41 +2437,57 @@ module Aws::EventBridge
|
|
|
2413
2437
|
#
|
|
2414
2438
|
# You can configure the following as targets for Events:
|
|
2415
2439
|
#
|
|
2416
|
-
# *
|
|
2440
|
+
# * [API destination][1]
|
|
2417
2441
|
#
|
|
2418
|
-
# *
|
|
2442
|
+
# * Amazon API Gateway REST API endpoints
|
|
2419
2443
|
#
|
|
2420
|
-
# *
|
|
2444
|
+
# * API Gateway
|
|
2445
|
+
#
|
|
2446
|
+
# * AWS Batch job queue
|
|
2447
|
+
#
|
|
2448
|
+
# * CloudWatch Logs group
|
|
2449
|
+
#
|
|
2450
|
+
# * CodeBuild project
|
|
2451
|
+
#
|
|
2452
|
+
# * CodePineline
|
|
2421
2453
|
#
|
|
2422
|
-
# *
|
|
2454
|
+
# * Amazon EC2 `CreateSnapshot` API call
|
|
2423
2455
|
#
|
|
2424
|
-
# *
|
|
2456
|
+
# * Amazon EC2 `RebootInstances` API call
|
|
2425
2457
|
#
|
|
2426
|
-
# *
|
|
2458
|
+
# * Amazon EC2 `StopInstances` API call
|
|
2459
|
+
#
|
|
2460
|
+
# * Amazon EC2 `TerminateInstances` API call
|
|
2427
2461
|
#
|
|
2428
2462
|
# * Amazon ECS tasks
|
|
2429
2463
|
#
|
|
2430
|
-
# * AWS
|
|
2464
|
+
# * Event bus in a different AWS account or Region.
|
|
2465
|
+
#
|
|
2466
|
+
# You can use an event bus in the US East (N. Virginia) us-east-1, US
|
|
2467
|
+
# West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a
|
|
2468
|
+
# target for a rule.
|
|
2431
2469
|
#
|
|
2432
|
-
# *
|
|
2470
|
+
# * Firehose delivery stream (Kinesis Data Firehose)
|
|
2433
2471
|
#
|
|
2434
|
-
# *
|
|
2472
|
+
# * Inspector assessment template (Amazon Inspector)
|
|
2435
2473
|
#
|
|
2436
|
-
# *
|
|
2474
|
+
# * Kinesis stream (Kinesis Data Stream)
|
|
2437
2475
|
#
|
|
2438
|
-
# *
|
|
2476
|
+
# * AWS Lambda function
|
|
2439
2477
|
#
|
|
2440
|
-
# *
|
|
2478
|
+
# * Redshift clusters (Data API statement execution)
|
|
2441
2479
|
#
|
|
2442
|
-
# * Amazon
|
|
2480
|
+
# * Amazon SNS topic
|
|
2443
2481
|
#
|
|
2444
|
-
# *
|
|
2482
|
+
# * Amazon SQS queues (includes FIFO queues
|
|
2445
2483
|
#
|
|
2446
|
-
# *
|
|
2484
|
+
# * SSM Automation
|
|
2447
2485
|
#
|
|
2448
|
-
# *
|
|
2486
|
+
# * SSM OpsItem
|
|
2449
2487
|
#
|
|
2450
|
-
# *
|
|
2488
|
+
# * SSM Run Command
|
|
2489
|
+
#
|
|
2490
|
+
# * Step Functions state machines
|
|
2451
2491
|
#
|
|
2452
2492
|
# Creating rules with built-in targets is supported only in the AWS
|
|
2453
2493
|
# Management Console. The built-in targets are `EC2 CreateSnapshot API
|
|
@@ -2467,7 +2507,7 @@ module Aws::EventBridge
|
|
|
2467
2507
|
# streams, AWS Step Functions state machines and API Gateway REST APIs,
|
|
2468
2508
|
# EventBridge relies on IAM roles that you specify in the `RoleARN`
|
|
2469
2509
|
# argument in `PutTargets`. For more information, see [Authentication
|
|
2470
|
-
# and Access Control][
|
|
2510
|
+
# and Access Control][2] in the *Amazon EventBridge User Guide*.
|
|
2471
2511
|
#
|
|
2472
2512
|
# If another AWS account is in the same region and has granted you
|
|
2473
2513
|
# permission (using `PutPermission`), you can send events to that
|
|
@@ -2478,7 +2518,7 @@ module Aws::EventBridge
|
|
|
2478
2518
|
# account is charged for each sent event. Each event sent to another
|
|
2479
2519
|
# account is charged as a custom event. The account receiving the event
|
|
2480
2520
|
# is not charged. For more information, see [Amazon EventBridge
|
|
2481
|
-
# (CloudWatch Events) Pricing][
|
|
2521
|
+
# (CloudWatch Events) Pricing][3].
|
|
2482
2522
|
#
|
|
2483
2523
|
# <note markdown="1"> `Input`, `InputPath`, and `InputTransformer` are not available with
|
|
2484
2524
|
# `PutTarget` if the target is an event bus of a different AWS account.
|
|
@@ -2490,7 +2530,7 @@ module Aws::EventBridge
|
|
|
2490
2530
|
# organization instead of directly by the account ID, then you must
|
|
2491
2531
|
# specify a `RoleArn` with proper permissions in the `Target` structure.
|
|
2492
2532
|
# For more information, see [Sending and Receiving Events Between AWS
|
|
2493
|
-
# Accounts][
|
|
2533
|
+
# Accounts][4] in the *Amazon EventBridge User Guide*.
|
|
2494
2534
|
#
|
|
2495
2535
|
# For more information about enabling cross-account events, see
|
|
2496
2536
|
# PutPermission.
|
|
@@ -2530,9 +2570,10 @@ module Aws::EventBridge
|
|
|
2530
2570
|
#
|
|
2531
2571
|
#
|
|
2532
2572
|
#
|
|
2533
|
-
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/
|
|
2534
|
-
# [2]: https://aws.amazon.com/eventbridge/
|
|
2535
|
-
# [3]: https://
|
|
2573
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html
|
|
2574
|
+
# [2]: https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html
|
|
2575
|
+
# [3]: https://aws.amazon.com/eventbridge/pricing/
|
|
2576
|
+
# [4]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html
|
|
2536
2577
|
#
|
|
2537
2578
|
# @option params [required, String] :rule
|
|
2538
2579
|
# The name of the rule.
|
|
@@ -2591,6 +2632,35 @@ module Aws::EventBridge
|
|
|
2591
2632
|
# },
|
|
2592
2633
|
# platform_version: "String",
|
|
2593
2634
|
# group: "String",
|
|
2635
|
+
# capacity_provider_strategy: [
|
|
2636
|
+
# {
|
|
2637
|
+
# capacity_provider: "CapacityProvider", # required
|
|
2638
|
+
# weight: 1,
|
|
2639
|
+
# base: 1,
|
|
2640
|
+
# },
|
|
2641
|
+
# ],
|
|
2642
|
+
# enable_ecs_managed_tags: false,
|
|
2643
|
+
# enable_execute_command: false,
|
|
2644
|
+
# placement_constraints: [
|
|
2645
|
+
# {
|
|
2646
|
+
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
|
2647
|
+
# expression: "PlacementConstraintExpression",
|
|
2648
|
+
# },
|
|
2649
|
+
# ],
|
|
2650
|
+
# placement_strategy: [
|
|
2651
|
+
# {
|
|
2652
|
+
# type: "random", # accepts random, spread, binpack
|
|
2653
|
+
# field: "PlacementStrategyField",
|
|
2654
|
+
# },
|
|
2655
|
+
# ],
|
|
2656
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION
|
|
2657
|
+
# reference_id: "ReferenceId",
|
|
2658
|
+
# tags: [
|
|
2659
|
+
# {
|
|
2660
|
+
# key: "TagKey", # required
|
|
2661
|
+
# value: "TagValue", # required
|
|
2662
|
+
# },
|
|
2663
|
+
# ],
|
|
2594
2664
|
# },
|
|
2595
2665
|
# batch_parameters: {
|
|
2596
2666
|
# job_definition: "String", # required
|
|
@@ -2622,6 +2692,14 @@ module Aws::EventBridge
|
|
|
2622
2692
|
# statement_name: "StatementName",
|
|
2623
2693
|
# with_event: false,
|
|
2624
2694
|
# },
|
|
2695
|
+
# sage_maker_pipeline_parameters: {
|
|
2696
|
+
# pipeline_parameter_list: [
|
|
2697
|
+
# {
|
|
2698
|
+
# name: "SageMakerPipelineParameterName", # required
|
|
2699
|
+
# value: "SageMakerPipelineParameterValue", # required
|
|
2700
|
+
# },
|
|
2701
|
+
# ],
|
|
2702
|
+
# },
|
|
2625
2703
|
# dead_letter_config: {
|
|
2626
2704
|
# arn: "ResourceArn",
|
|
2627
2705
|
# },
|
|
@@ -2925,7 +3003,7 @@ module Aws::EventBridge
|
|
|
2925
3003
|
end
|
|
2926
3004
|
|
|
2927
3005
|
# Removes one or more tags from the specified EventBridge resource. In
|
|
2928
|
-
# Amazon EventBridge (CloudWatch Events, rules and event buses can be
|
|
3006
|
+
# Amazon EventBridge (CloudWatch Events), rules and event buses can be
|
|
2929
3007
|
# tagged.
|
|
2930
3008
|
#
|
|
2931
3009
|
# @option params [required, String] :resource_arn
|
|
@@ -3177,7 +3255,7 @@ module Aws::EventBridge
|
|
|
3177
3255
|
params: params,
|
|
3178
3256
|
config: config)
|
|
3179
3257
|
context[:gem_name] = 'aws-sdk-eventbridge'
|
|
3180
|
-
context[:gem_version] = '1.
|
|
3258
|
+
context[:gem_version] = '1.26.0'
|
|
3181
3259
|
Seahorse::Client::Request.new(handlers, context)
|
|
3182
3260
|
end
|
|
3183
3261
|
|
|
@@ -41,6 +41,11 @@ module Aws::EventBridge
|
|
|
41
41
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
42
42
|
CancelReplayRequest = Shapes::StructureShape.new(name: 'CancelReplayRequest')
|
|
43
43
|
CancelReplayResponse = Shapes::StructureShape.new(name: 'CancelReplayResponse')
|
|
44
|
+
CapacityProvider = Shapes::StringShape.new(name: 'CapacityProvider')
|
|
45
|
+
CapacityProviderStrategy = Shapes::ListShape.new(name: 'CapacityProviderStrategy')
|
|
46
|
+
CapacityProviderStrategyItem = Shapes::StructureShape.new(name: 'CapacityProviderStrategyItem')
|
|
47
|
+
CapacityProviderStrategyItemBase = Shapes::IntegerShape.new(name: 'CapacityProviderStrategyItemBase')
|
|
48
|
+
CapacityProviderStrategyItemWeight = Shapes::IntegerShape.new(name: 'CapacityProviderStrategyItemWeight')
|
|
44
49
|
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
|
45
50
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
|
46
51
|
Connection = Shapes::StructureShape.new(name: 'Connection')
|
|
@@ -189,8 +194,17 @@ module Aws::EventBridge
|
|
|
189
194
|
PartnerEventSourceNamePrefix = Shapes::StringShape.new(name: 'PartnerEventSourceNamePrefix')
|
|
190
195
|
PathParameter = Shapes::StringShape.new(name: 'PathParameter')
|
|
191
196
|
PathParameterList = Shapes::ListShape.new(name: 'PathParameterList')
|
|
197
|
+
PlacementConstraint = Shapes::StructureShape.new(name: 'PlacementConstraint')
|
|
198
|
+
PlacementConstraintExpression = Shapes::StringShape.new(name: 'PlacementConstraintExpression')
|
|
199
|
+
PlacementConstraintType = Shapes::StringShape.new(name: 'PlacementConstraintType')
|
|
200
|
+
PlacementConstraints = Shapes::ListShape.new(name: 'PlacementConstraints')
|
|
201
|
+
PlacementStrategies = Shapes::ListShape.new(name: 'PlacementStrategies')
|
|
202
|
+
PlacementStrategy = Shapes::StructureShape.new(name: 'PlacementStrategy')
|
|
203
|
+
PlacementStrategyField = Shapes::StringShape.new(name: 'PlacementStrategyField')
|
|
204
|
+
PlacementStrategyType = Shapes::StringShape.new(name: 'PlacementStrategyType')
|
|
192
205
|
PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
|
|
193
206
|
Principal = Shapes::StringShape.new(name: 'Principal')
|
|
207
|
+
PropagateTags = Shapes::StringShape.new(name: 'PropagateTags')
|
|
194
208
|
PutEventsRequest = Shapes::StructureShape.new(name: 'PutEventsRequest')
|
|
195
209
|
PutEventsRequestEntry = Shapes::StructureShape.new(name: 'PutEventsRequestEntry')
|
|
196
210
|
PutEventsRequestEntryList = Shapes::ListShape.new(name: 'PutEventsRequestEntryList')
|
|
@@ -215,6 +229,7 @@ module Aws::EventBridge
|
|
|
215
229
|
QueryStringValue = Shapes::StringShape.new(name: 'QueryStringValue')
|
|
216
230
|
RedshiftDataParameters = Shapes::StructureShape.new(name: 'RedshiftDataParameters')
|
|
217
231
|
RedshiftSecretManagerArn = Shapes::StringShape.new(name: 'RedshiftSecretManagerArn')
|
|
232
|
+
ReferenceId = Shapes::StringShape.new(name: 'ReferenceId')
|
|
218
233
|
RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
|
|
219
234
|
RemoveTargetsRequest = Shapes::StructureShape.new(name: 'RemoveTargetsRequest')
|
|
220
235
|
RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
|
|
@@ -248,6 +263,11 @@ module Aws::EventBridge
|
|
|
248
263
|
RunCommandTargetValue = Shapes::StringShape.new(name: 'RunCommandTargetValue')
|
|
249
264
|
RunCommandTargetValues = Shapes::ListShape.new(name: 'RunCommandTargetValues')
|
|
250
265
|
RunCommandTargets = Shapes::ListShape.new(name: 'RunCommandTargets')
|
|
266
|
+
SageMakerPipelineParameter = Shapes::StructureShape.new(name: 'SageMakerPipelineParameter')
|
|
267
|
+
SageMakerPipelineParameterList = Shapes::ListShape.new(name: 'SageMakerPipelineParameterList')
|
|
268
|
+
SageMakerPipelineParameterName = Shapes::StringShape.new(name: 'SageMakerPipelineParameterName')
|
|
269
|
+
SageMakerPipelineParameterValue = Shapes::StringShape.new(name: 'SageMakerPipelineParameterValue')
|
|
270
|
+
SageMakerPipelineParameters = Shapes::StructureShape.new(name: 'SageMakerPipelineParameters')
|
|
251
271
|
ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
|
|
252
272
|
SecretsManagerSecretArn = Shapes::StringShape.new(name: 'SecretsManagerSecretArn')
|
|
253
273
|
Sql = Shapes::StringShape.new(name: 'Sql')
|
|
@@ -346,6 +366,13 @@ module Aws::EventBridge
|
|
|
346
366
|
CancelReplayResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
|
|
347
367
|
CancelReplayResponse.struct_class = Types::CancelReplayResponse
|
|
348
368
|
|
|
369
|
+
CapacityProviderStrategy.member = Shapes::ShapeRef.new(shape: CapacityProviderStrategyItem)
|
|
370
|
+
|
|
371
|
+
CapacityProviderStrategyItem.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: CapacityProvider, required: true, location_name: "capacityProvider"))
|
|
372
|
+
CapacityProviderStrategyItem.add_member(:weight, Shapes::ShapeRef.new(shape: CapacityProviderStrategyItemWeight, location_name: "weight"))
|
|
373
|
+
CapacityProviderStrategyItem.add_member(:base, Shapes::ShapeRef.new(shape: CapacityProviderStrategyItemBase, location_name: "base"))
|
|
374
|
+
CapacityProviderStrategyItem.struct_class = Types::CapacityProviderStrategyItem
|
|
375
|
+
|
|
349
376
|
ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
|
|
350
377
|
|
|
351
378
|
Condition.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
|
|
@@ -654,6 +681,14 @@ module Aws::EventBridge
|
|
|
654
681
|
EcsParameters.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "NetworkConfiguration"))
|
|
655
682
|
EcsParameters.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "PlatformVersion"))
|
|
656
683
|
EcsParameters.add_member(:group, Shapes::ShapeRef.new(shape: String, location_name: "Group"))
|
|
684
|
+
EcsParameters.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "CapacityProviderStrategy"))
|
|
685
|
+
EcsParameters.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableECSManagedTags"))
|
|
686
|
+
EcsParameters.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableExecuteCommand"))
|
|
687
|
+
EcsParameters.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: PlacementConstraints, location_name: "PlacementConstraints"))
|
|
688
|
+
EcsParameters.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementStrategies, location_name: "PlacementStrategy"))
|
|
689
|
+
EcsParameters.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "PropagateTags"))
|
|
690
|
+
EcsParameters.add_member(:reference_id, Shapes::ShapeRef.new(shape: ReferenceId, location_name: "ReferenceId"))
|
|
691
|
+
EcsParameters.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
657
692
|
EcsParameters.struct_class = Types::EcsParameters
|
|
658
693
|
|
|
659
694
|
EnableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
|
|
@@ -841,6 +876,18 @@ module Aws::EventBridge
|
|
|
841
876
|
|
|
842
877
|
PathParameterList.member = Shapes::ShapeRef.new(shape: PathParameter)
|
|
843
878
|
|
|
879
|
+
PlacementConstraint.add_member(:type, Shapes::ShapeRef.new(shape: PlacementConstraintType, location_name: "type"))
|
|
880
|
+
PlacementConstraint.add_member(:expression, Shapes::ShapeRef.new(shape: PlacementConstraintExpression, location_name: "expression"))
|
|
881
|
+
PlacementConstraint.struct_class = Types::PlacementConstraint
|
|
882
|
+
|
|
883
|
+
PlacementConstraints.member = Shapes::ShapeRef.new(shape: PlacementConstraint)
|
|
884
|
+
|
|
885
|
+
PlacementStrategies.member = Shapes::ShapeRef.new(shape: PlacementStrategy)
|
|
886
|
+
|
|
887
|
+
PlacementStrategy.add_member(:type, Shapes::ShapeRef.new(shape: PlacementStrategyType, location_name: "type"))
|
|
888
|
+
PlacementStrategy.add_member(:field, Shapes::ShapeRef.new(shape: PlacementStrategyField, location_name: "field"))
|
|
889
|
+
PlacementStrategy.struct_class = Types::PlacementStrategy
|
|
890
|
+
|
|
844
891
|
PolicyLengthExceededException.struct_class = Types::PolicyLengthExceededException
|
|
845
892
|
|
|
846
893
|
PutEventsRequest.add_member(:entries, Shapes::ShapeRef.new(shape: PutEventsRequestEntryList, required: true, location_name: "Entries"))
|
|
@@ -1014,6 +1061,15 @@ module Aws::EventBridge
|
|
|
1014
1061
|
|
|
1015
1062
|
RunCommandTargets.member = Shapes::ShapeRef.new(shape: RunCommandTarget)
|
|
1016
1063
|
|
|
1064
|
+
SageMakerPipelineParameter.add_member(:name, Shapes::ShapeRef.new(shape: SageMakerPipelineParameterName, required: true, location_name: "Name"))
|
|
1065
|
+
SageMakerPipelineParameter.add_member(:value, Shapes::ShapeRef.new(shape: SageMakerPipelineParameterValue, required: true, location_name: "Value"))
|
|
1066
|
+
SageMakerPipelineParameter.struct_class = Types::SageMakerPipelineParameter
|
|
1067
|
+
|
|
1068
|
+
SageMakerPipelineParameterList.member = Shapes::ShapeRef.new(shape: SageMakerPipelineParameter)
|
|
1069
|
+
|
|
1070
|
+
SageMakerPipelineParameters.add_member(:pipeline_parameter_list, Shapes::ShapeRef.new(shape: SageMakerPipelineParameterList, location_name: "PipelineParameterList"))
|
|
1071
|
+
SageMakerPipelineParameters.struct_class = Types::SageMakerPipelineParameters
|
|
1072
|
+
|
|
1017
1073
|
SqsParameters.add_member(:message_group_id, Shapes::ShapeRef.new(shape: MessageGroupId, location_name: "MessageGroupId"))
|
|
1018
1074
|
SqsParameters.struct_class = Types::SqsParameters
|
|
1019
1075
|
|
|
@@ -1060,6 +1116,7 @@ module Aws::EventBridge
|
|
|
1060
1116
|
Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
|
|
1061
1117
|
Target.add_member(:http_parameters, Shapes::ShapeRef.new(shape: HttpParameters, location_name: "HttpParameters"))
|
|
1062
1118
|
Target.add_member(:redshift_data_parameters, Shapes::ShapeRef.new(shape: RedshiftDataParameters, location_name: "RedshiftDataParameters"))
|
|
1119
|
+
Target.add_member(:sage_maker_pipeline_parameters, Shapes::ShapeRef.new(shape: SageMakerPipelineParameters, location_name: "SageMakerPipelineParameters"))
|
|
1063
1120
|
Target.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
|
1064
1121
|
Target.add_member(:retry_policy, Shapes::ShapeRef.new(shape: RetryPolicy, location_name: "RetryPolicy"))
|
|
1065
1122
|
Target.struct_class = Types::Target
|
|
@@ -320,6 +320,50 @@ module Aws::EventBridge
|
|
|
320
320
|
include Aws::Structure
|
|
321
321
|
end
|
|
322
322
|
|
|
323
|
+
# The details of a capacity provider strategy. To learn more, see
|
|
324
|
+
# [CapacityProviderStrategyItem][1] in the Amazon ECS API Reference.
|
|
325
|
+
#
|
|
326
|
+
#
|
|
327
|
+
#
|
|
328
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CapacityProviderStrategyItem.html
|
|
329
|
+
#
|
|
330
|
+
# @note When making an API call, you may pass CapacityProviderStrategyItem
|
|
331
|
+
# data as a hash:
|
|
332
|
+
#
|
|
333
|
+
# {
|
|
334
|
+
# capacity_provider: "CapacityProvider", # required
|
|
335
|
+
# weight: 1,
|
|
336
|
+
# base: 1,
|
|
337
|
+
# }
|
|
338
|
+
#
|
|
339
|
+
# @!attribute [rw] capacity_provider
|
|
340
|
+
# The short name of the capacity provider.
|
|
341
|
+
# @return [String]
|
|
342
|
+
#
|
|
343
|
+
# @!attribute [rw] weight
|
|
344
|
+
# The weight value designates the relative percentage of the total
|
|
345
|
+
# number of tasks launched that should use the specified capacity
|
|
346
|
+
# provider. The weight value is taken into consideration after the
|
|
347
|
+
# base value, if defined, is satisfied.
|
|
348
|
+
# @return [Integer]
|
|
349
|
+
#
|
|
350
|
+
# @!attribute [rw] base
|
|
351
|
+
# The base value designates how many tasks, at a minimum, to run on
|
|
352
|
+
# the specified capacity provider. Only one capacity provider in a
|
|
353
|
+
# capacity provider strategy can have a base defined. If no value is
|
|
354
|
+
# specified, the default value of 0 is used.
|
|
355
|
+
# @return [Integer]
|
|
356
|
+
#
|
|
357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CapacityProviderStrategyItem AWS API Documentation
|
|
358
|
+
#
|
|
359
|
+
class CapacityProviderStrategyItem < Struct.new(
|
|
360
|
+
:capacity_provider,
|
|
361
|
+
:weight,
|
|
362
|
+
:base)
|
|
363
|
+
SENSITIVE = []
|
|
364
|
+
include Aws::Structure
|
|
365
|
+
end
|
|
366
|
+
|
|
323
367
|
# There is concurrent modification on a rule, target, archive, or
|
|
324
368
|
# replay.
|
|
325
369
|
#
|
|
@@ -2212,6 +2256,35 @@ module Aws::EventBridge
|
|
|
2212
2256
|
# },
|
|
2213
2257
|
# platform_version: "String",
|
|
2214
2258
|
# group: "String",
|
|
2259
|
+
# capacity_provider_strategy: [
|
|
2260
|
+
# {
|
|
2261
|
+
# capacity_provider: "CapacityProvider", # required
|
|
2262
|
+
# weight: 1,
|
|
2263
|
+
# base: 1,
|
|
2264
|
+
# },
|
|
2265
|
+
# ],
|
|
2266
|
+
# enable_ecs_managed_tags: false,
|
|
2267
|
+
# enable_execute_command: false,
|
|
2268
|
+
# placement_constraints: [
|
|
2269
|
+
# {
|
|
2270
|
+
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
|
2271
|
+
# expression: "PlacementConstraintExpression",
|
|
2272
|
+
# },
|
|
2273
|
+
# ],
|
|
2274
|
+
# placement_strategy: [
|
|
2275
|
+
# {
|
|
2276
|
+
# type: "random", # accepts random, spread, binpack
|
|
2277
|
+
# field: "PlacementStrategyField",
|
|
2278
|
+
# },
|
|
2279
|
+
# ],
|
|
2280
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION
|
|
2281
|
+
# reference_id: "ReferenceId",
|
|
2282
|
+
# tags: [
|
|
2283
|
+
# {
|
|
2284
|
+
# key: "TagKey", # required
|
|
2285
|
+
# value: "TagValue", # required
|
|
2286
|
+
# },
|
|
2287
|
+
# ],
|
|
2215
2288
|
# }
|
|
2216
2289
|
#
|
|
2217
2290
|
# @!attribute [rw] task_definition_arn
|
|
@@ -2267,6 +2340,64 @@ module Aws::EventBridge
|
|
|
2267
2340
|
# characters.
|
|
2268
2341
|
# @return [String]
|
|
2269
2342
|
#
|
|
2343
|
+
# @!attribute [rw] capacity_provider_strategy
|
|
2344
|
+
# The capacity provider strategy to use for the task.
|
|
2345
|
+
#
|
|
2346
|
+
# If a `capacityProviderStrategy` is specified, the `launchType`
|
|
2347
|
+
# parameter must be omitted. If no `capacityProviderStrategy` or
|
|
2348
|
+
# launchType is specified, the `defaultCapacityProviderStrategy` for
|
|
2349
|
+
# the cluster is used.
|
|
2350
|
+
# @return [Array<Types::CapacityProviderStrategyItem>]
|
|
2351
|
+
#
|
|
2352
|
+
# @!attribute [rw] enable_ecs_managed_tags
|
|
2353
|
+
# Specifies whether to enable Amazon ECS managed tags for the task.
|
|
2354
|
+
# For more information, see [Tagging Your Amazon ECS Resources][1] in
|
|
2355
|
+
# the Amazon Elastic Container Service Developer Guide.
|
|
2356
|
+
#
|
|
2357
|
+
#
|
|
2358
|
+
#
|
|
2359
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
|
|
2360
|
+
# @return [Boolean]
|
|
2361
|
+
#
|
|
2362
|
+
# @!attribute [rw] enable_execute_command
|
|
2363
|
+
# Whether or not to enable the execute command functionality for the
|
|
2364
|
+
# containers in this task. If true, this enables execute command
|
|
2365
|
+
# functionality on all containers in the task.
|
|
2366
|
+
# @return [Boolean]
|
|
2367
|
+
#
|
|
2368
|
+
# @!attribute [rw] placement_constraints
|
|
2369
|
+
# An array of placement constraint objects to use for the task. You
|
|
2370
|
+
# can specify up to 10 constraints per task (including constraints in
|
|
2371
|
+
# the task definition and those specified at runtime).
|
|
2372
|
+
# @return [Array<Types::PlacementConstraint>]
|
|
2373
|
+
#
|
|
2374
|
+
# @!attribute [rw] placement_strategy
|
|
2375
|
+
# The placement strategy objects to use for the task. You can specify
|
|
2376
|
+
# a maximum of five strategy rules per task.
|
|
2377
|
+
# @return [Array<Types::PlacementStrategy>]
|
|
2378
|
+
#
|
|
2379
|
+
# @!attribute [rw] propagate_tags
|
|
2380
|
+
# Specifies whether to propagate the tags from the task definition to
|
|
2381
|
+
# the task. If no value is specified, the tags are not propagated.
|
|
2382
|
+
# Tags can only be propagated to the task during task creation. To add
|
|
2383
|
+
# tags to a task after task creation, use the TagResource API action.
|
|
2384
|
+
# @return [String]
|
|
2385
|
+
#
|
|
2386
|
+
# @!attribute [rw] reference_id
|
|
2387
|
+
# The reference ID to use for the task.
|
|
2388
|
+
# @return [String]
|
|
2389
|
+
#
|
|
2390
|
+
# @!attribute [rw] tags
|
|
2391
|
+
# The metadata that you apply to the task to help you categorize and
|
|
2392
|
+
# organize them. Each tag consists of a key and an optional value,
|
|
2393
|
+
# both of which you define. To learn more, see [RunTask][1] in the
|
|
2394
|
+
# Amazon ECS API Reference.
|
|
2395
|
+
#
|
|
2396
|
+
#
|
|
2397
|
+
#
|
|
2398
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags
|
|
2399
|
+
# @return [Array<Types::Tag>]
|
|
2400
|
+
#
|
|
2270
2401
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/EcsParameters AWS API Documentation
|
|
2271
2402
|
#
|
|
2272
2403
|
class EcsParameters < Struct.new(
|
|
@@ -2275,7 +2406,15 @@ module Aws::EventBridge
|
|
|
2275
2406
|
:launch_type,
|
|
2276
2407
|
:network_configuration,
|
|
2277
2408
|
:platform_version,
|
|
2278
|
-
:group
|
|
2409
|
+
:group,
|
|
2410
|
+
:capacity_provider_strategy,
|
|
2411
|
+
:enable_ecs_managed_tags,
|
|
2412
|
+
:enable_execute_command,
|
|
2413
|
+
:placement_constraints,
|
|
2414
|
+
:placement_strategy,
|
|
2415
|
+
:propagate_tags,
|
|
2416
|
+
:reference_id,
|
|
2417
|
+
:tags)
|
|
2279
2418
|
SENSITIVE = []
|
|
2280
2419
|
include Aws::Structure
|
|
2281
2420
|
end
|
|
@@ -2308,11 +2447,10 @@ module Aws::EventBridge
|
|
|
2308
2447
|
|
|
2309
2448
|
# An event bus receives events from a source and routes them to rules
|
|
2310
2449
|
# associated with that event bus. Your account's default event bus
|
|
2311
|
-
# receives
|
|
2312
|
-
# from
|
|
2313
|
-
#
|
|
2314
|
-
#
|
|
2315
|
-
# applications.
|
|
2450
|
+
# receives events from AWS services. A custom event bus can receive
|
|
2451
|
+
# events from your custom applications and services. A partner event bus
|
|
2452
|
+
# receives events from an event source created by an SaaS partner. These
|
|
2453
|
+
# events come from the partners services or applications.
|
|
2316
2454
|
#
|
|
2317
2455
|
# @!attribute [rw] name
|
|
2318
2456
|
# The name of the event bus.
|
|
@@ -3344,6 +3482,95 @@ module Aws::EventBridge
|
|
|
3344
3482
|
include Aws::Structure
|
|
3345
3483
|
end
|
|
3346
3484
|
|
|
3485
|
+
# An object representing a constraint on task placement. To learn more,
|
|
3486
|
+
# see [Task Placement Constraints][1] in the Amazon Elastic Container
|
|
3487
|
+
# Service Developer Guide.
|
|
3488
|
+
#
|
|
3489
|
+
#
|
|
3490
|
+
#
|
|
3491
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html
|
|
3492
|
+
#
|
|
3493
|
+
# @note When making an API call, you may pass PlacementConstraint
|
|
3494
|
+
# data as a hash:
|
|
3495
|
+
#
|
|
3496
|
+
# {
|
|
3497
|
+
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
|
3498
|
+
# expression: "PlacementConstraintExpression",
|
|
3499
|
+
# }
|
|
3500
|
+
#
|
|
3501
|
+
# @!attribute [rw] type
|
|
3502
|
+
# The type of constraint. Use distinctInstance to ensure that each
|
|
3503
|
+
# task in a particular group is running on a different container
|
|
3504
|
+
# instance. Use memberOf to restrict the selection to a group of valid
|
|
3505
|
+
# candidates.
|
|
3506
|
+
# @return [String]
|
|
3507
|
+
#
|
|
3508
|
+
# @!attribute [rw] expression
|
|
3509
|
+
# A cluster query language expression to apply to the constraint. You
|
|
3510
|
+
# cannot specify an expression if the constraint type is
|
|
3511
|
+
# `distinctInstance`. To learn more, see [Cluster Query Language][1]
|
|
3512
|
+
# in the Amazon Elastic Container Service Developer Guide.
|
|
3513
|
+
#
|
|
3514
|
+
#
|
|
3515
|
+
#
|
|
3516
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html
|
|
3517
|
+
# @return [String]
|
|
3518
|
+
#
|
|
3519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PlacementConstraint AWS API Documentation
|
|
3520
|
+
#
|
|
3521
|
+
class PlacementConstraint < Struct.new(
|
|
3522
|
+
:type,
|
|
3523
|
+
:expression)
|
|
3524
|
+
SENSITIVE = []
|
|
3525
|
+
include Aws::Structure
|
|
3526
|
+
end
|
|
3527
|
+
|
|
3528
|
+
# The task placement strategy for a task or service. To learn more, see
|
|
3529
|
+
# [Task Placement Strategies][1] in the Amazon Elastic Container Service
|
|
3530
|
+
# Developer Guide.
|
|
3531
|
+
#
|
|
3532
|
+
#
|
|
3533
|
+
#
|
|
3534
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html
|
|
3535
|
+
#
|
|
3536
|
+
# @note When making an API call, you may pass PlacementStrategy
|
|
3537
|
+
# data as a hash:
|
|
3538
|
+
#
|
|
3539
|
+
# {
|
|
3540
|
+
# type: "random", # accepts random, spread, binpack
|
|
3541
|
+
# field: "PlacementStrategyField",
|
|
3542
|
+
# }
|
|
3543
|
+
#
|
|
3544
|
+
# @!attribute [rw] type
|
|
3545
|
+
# The type of placement strategy. The random placement strategy
|
|
3546
|
+
# randomly places tasks on available candidates. The spread placement
|
|
3547
|
+
# strategy spreads placement across available candidates evenly based
|
|
3548
|
+
# on the field parameter. The binpack strategy places tasks on
|
|
3549
|
+
# available candidates that have the least available amount of the
|
|
3550
|
+
# resource that is specified with the field parameter. For example, if
|
|
3551
|
+
# you binpack on memory, a task is placed on the instance with the
|
|
3552
|
+
# least amount of remaining memory (but still enough to run the task).
|
|
3553
|
+
# @return [String]
|
|
3554
|
+
#
|
|
3555
|
+
# @!attribute [rw] field
|
|
3556
|
+
# The field to apply the placement strategy against. For the spread
|
|
3557
|
+
# placement strategy, valid values are instanceId (or host, which has
|
|
3558
|
+
# the same effect), or any platform or custom attribute that is
|
|
3559
|
+
# applied to a container instance, such as
|
|
3560
|
+
# attribute:ecs.availability-zone. For the binpack placement strategy,
|
|
3561
|
+
# valid values are cpu and memory. For the random placement strategy,
|
|
3562
|
+
# this field is not used.
|
|
3563
|
+
# @return [String]
|
|
3564
|
+
#
|
|
3565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PlacementStrategy AWS API Documentation
|
|
3566
|
+
#
|
|
3567
|
+
class PlacementStrategy < Struct.new(
|
|
3568
|
+
:type,
|
|
3569
|
+
:field)
|
|
3570
|
+
SENSITIVE = []
|
|
3571
|
+
include Aws::Structure
|
|
3572
|
+
end
|
|
3573
|
+
|
|
3347
3574
|
# The event bus policy is too long. For more information, see the
|
|
3348
3575
|
# limits.
|
|
3349
3576
|
#
|
|
@@ -3834,6 +4061,35 @@ module Aws::EventBridge
|
|
|
3834
4061
|
# },
|
|
3835
4062
|
# platform_version: "String",
|
|
3836
4063
|
# group: "String",
|
|
4064
|
+
# capacity_provider_strategy: [
|
|
4065
|
+
# {
|
|
4066
|
+
# capacity_provider: "CapacityProvider", # required
|
|
4067
|
+
# weight: 1,
|
|
4068
|
+
# base: 1,
|
|
4069
|
+
# },
|
|
4070
|
+
# ],
|
|
4071
|
+
# enable_ecs_managed_tags: false,
|
|
4072
|
+
# enable_execute_command: false,
|
|
4073
|
+
# placement_constraints: [
|
|
4074
|
+
# {
|
|
4075
|
+
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
|
4076
|
+
# expression: "PlacementConstraintExpression",
|
|
4077
|
+
# },
|
|
4078
|
+
# ],
|
|
4079
|
+
# placement_strategy: [
|
|
4080
|
+
# {
|
|
4081
|
+
# type: "random", # accepts random, spread, binpack
|
|
4082
|
+
# field: "PlacementStrategyField",
|
|
4083
|
+
# },
|
|
4084
|
+
# ],
|
|
4085
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION
|
|
4086
|
+
# reference_id: "ReferenceId",
|
|
4087
|
+
# tags: [
|
|
4088
|
+
# {
|
|
4089
|
+
# key: "TagKey", # required
|
|
4090
|
+
# value: "TagValue", # required
|
|
4091
|
+
# },
|
|
4092
|
+
# ],
|
|
3837
4093
|
# },
|
|
3838
4094
|
# batch_parameters: {
|
|
3839
4095
|
# job_definition: "String", # required
|
|
@@ -3865,6 +4121,14 @@ module Aws::EventBridge
|
|
|
3865
4121
|
# statement_name: "StatementName",
|
|
3866
4122
|
# with_event: false,
|
|
3867
4123
|
# },
|
|
4124
|
+
# sage_maker_pipeline_parameters: {
|
|
4125
|
+
# pipeline_parameter_list: [
|
|
4126
|
+
# {
|
|
4127
|
+
# name: "SageMakerPipelineParameterName", # required
|
|
4128
|
+
# value: "SageMakerPipelineParameterValue", # required
|
|
4129
|
+
# },
|
|
4130
|
+
# ],
|
|
4131
|
+
# },
|
|
3868
4132
|
# dead_letter_config: {
|
|
3869
4133
|
# arn: "ResourceArn",
|
|
3870
4134
|
# },
|
|
@@ -4373,6 +4637,64 @@ module Aws::EventBridge
|
|
|
4373
4637
|
include Aws::Structure
|
|
4374
4638
|
end
|
|
4375
4639
|
|
|
4640
|
+
# Name/Value pair of a parameter to start execution of a SageMaker Model
|
|
4641
|
+
# Building Pipeline.
|
|
4642
|
+
#
|
|
4643
|
+
# @note When making an API call, you may pass SageMakerPipelineParameter
|
|
4644
|
+
# data as a hash:
|
|
4645
|
+
#
|
|
4646
|
+
# {
|
|
4647
|
+
# name: "SageMakerPipelineParameterName", # required
|
|
4648
|
+
# value: "SageMakerPipelineParameterValue", # required
|
|
4649
|
+
# }
|
|
4650
|
+
#
|
|
4651
|
+
# @!attribute [rw] name
|
|
4652
|
+
# Name of parameter to start execution of a SageMaker Model Building
|
|
4653
|
+
# Pipeline.
|
|
4654
|
+
# @return [String]
|
|
4655
|
+
#
|
|
4656
|
+
# @!attribute [rw] value
|
|
4657
|
+
# Value of parameter to start execution of a SageMaker Model Building
|
|
4658
|
+
# Pipeline.
|
|
4659
|
+
# @return [String]
|
|
4660
|
+
#
|
|
4661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/SageMakerPipelineParameter AWS API Documentation
|
|
4662
|
+
#
|
|
4663
|
+
class SageMakerPipelineParameter < Struct.new(
|
|
4664
|
+
:name,
|
|
4665
|
+
:value)
|
|
4666
|
+
SENSITIVE = []
|
|
4667
|
+
include Aws::Structure
|
|
4668
|
+
end
|
|
4669
|
+
|
|
4670
|
+
# These are custom parameters to use when the target is a SageMaker
|
|
4671
|
+
# Model Building Pipeline that starts based on EventBridge events.
|
|
4672
|
+
#
|
|
4673
|
+
# @note When making an API call, you may pass SageMakerPipelineParameters
|
|
4674
|
+
# data as a hash:
|
|
4675
|
+
#
|
|
4676
|
+
# {
|
|
4677
|
+
# pipeline_parameter_list: [
|
|
4678
|
+
# {
|
|
4679
|
+
# name: "SageMakerPipelineParameterName", # required
|
|
4680
|
+
# value: "SageMakerPipelineParameterValue", # required
|
|
4681
|
+
# },
|
|
4682
|
+
# ],
|
|
4683
|
+
# }
|
|
4684
|
+
#
|
|
4685
|
+
# @!attribute [rw] pipeline_parameter_list
|
|
4686
|
+
# List of Parameter names and values for SageMaker Model Building
|
|
4687
|
+
# Pipeline execution.
|
|
4688
|
+
# @return [Array<Types::SageMakerPipelineParameter>]
|
|
4689
|
+
#
|
|
4690
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/SageMakerPipelineParameters AWS API Documentation
|
|
4691
|
+
#
|
|
4692
|
+
class SageMakerPipelineParameters < Struct.new(
|
|
4693
|
+
:pipeline_parameter_list)
|
|
4694
|
+
SENSITIVE = []
|
|
4695
|
+
include Aws::Structure
|
|
4696
|
+
end
|
|
4697
|
+
|
|
4376
4698
|
# This structure includes the custom parameter to be used when the
|
|
4377
4699
|
# target is an SQS FIFO queue.
|
|
4378
4700
|
#
|
|
@@ -4596,6 +4918,35 @@ module Aws::EventBridge
|
|
|
4596
4918
|
# },
|
|
4597
4919
|
# platform_version: "String",
|
|
4598
4920
|
# group: "String",
|
|
4921
|
+
# capacity_provider_strategy: [
|
|
4922
|
+
# {
|
|
4923
|
+
# capacity_provider: "CapacityProvider", # required
|
|
4924
|
+
# weight: 1,
|
|
4925
|
+
# base: 1,
|
|
4926
|
+
# },
|
|
4927
|
+
# ],
|
|
4928
|
+
# enable_ecs_managed_tags: false,
|
|
4929
|
+
# enable_execute_command: false,
|
|
4930
|
+
# placement_constraints: [
|
|
4931
|
+
# {
|
|
4932
|
+
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
|
4933
|
+
# expression: "PlacementConstraintExpression",
|
|
4934
|
+
# },
|
|
4935
|
+
# ],
|
|
4936
|
+
# placement_strategy: [
|
|
4937
|
+
# {
|
|
4938
|
+
# type: "random", # accepts random, spread, binpack
|
|
4939
|
+
# field: "PlacementStrategyField",
|
|
4940
|
+
# },
|
|
4941
|
+
# ],
|
|
4942
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION
|
|
4943
|
+
# reference_id: "ReferenceId",
|
|
4944
|
+
# tags: [
|
|
4945
|
+
# {
|
|
4946
|
+
# key: "TagKey", # required
|
|
4947
|
+
# value: "TagValue", # required
|
|
4948
|
+
# },
|
|
4949
|
+
# ],
|
|
4599
4950
|
# },
|
|
4600
4951
|
# batch_parameters: {
|
|
4601
4952
|
# job_definition: "String", # required
|
|
@@ -4627,6 +4978,14 @@ module Aws::EventBridge
|
|
|
4627
4978
|
# statement_name: "StatementName",
|
|
4628
4979
|
# with_event: false,
|
|
4629
4980
|
# },
|
|
4981
|
+
# sage_maker_pipeline_parameters: {
|
|
4982
|
+
# pipeline_parameter_list: [
|
|
4983
|
+
# {
|
|
4984
|
+
# name: "SageMakerPipelineParameterName", # required
|
|
4985
|
+
# value: "SageMakerPipelineParameterValue", # required
|
|
4986
|
+
# },
|
|
4987
|
+
# ],
|
|
4988
|
+
# },
|
|
4630
4989
|
# dead_letter_config: {
|
|
4631
4990
|
# arn: "ResourceArn",
|
|
4632
4991
|
# },
|
|
@@ -4740,6 +5099,15 @@ module Aws::EventBridge
|
|
|
4740
5099
|
# based on EventBridge events.
|
|
4741
5100
|
# @return [Types::RedshiftDataParameters]
|
|
4742
5101
|
#
|
|
5102
|
+
# @!attribute [rw] sage_maker_pipeline_parameters
|
|
5103
|
+
# Contains the SageMaker Model Building Pipeline parameters to start
|
|
5104
|
+
# execution of a SageMaker Model Building Pipeline.
|
|
5105
|
+
#
|
|
5106
|
+
# If you specify a SageMaker Model Building Pipeline as a target, you
|
|
5107
|
+
# can use this to specify parameters to start a pipeline execution
|
|
5108
|
+
# based on EventBridge events.
|
|
5109
|
+
# @return [Types::SageMakerPipelineParameters]
|
|
5110
|
+
#
|
|
4743
5111
|
# @!attribute [rw] dead_letter_config
|
|
4744
5112
|
# The `DeadLetterConfig` that defines the target queue to send
|
|
4745
5113
|
# dead-letter queue events to.
|
|
@@ -4766,6 +5134,7 @@ module Aws::EventBridge
|
|
|
4766
5134
|
:sqs_parameters,
|
|
4767
5135
|
:http_parameters,
|
|
4768
5136
|
:redshift_data_parameters,
|
|
5137
|
+
:sage_maker_pipeline_parameters,
|
|
4769
5138
|
:dead_letter_config,
|
|
4770
5139
|
:retry_policy)
|
|
4771
5140
|
SENSITIVE = []
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-eventbridge
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.26.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.118.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
32
|
+
version: 3.118.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
|
66
66
|
licenses:
|
|
67
67
|
- Apache-2.0
|
|
68
68
|
metadata:
|
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-eventbridge
|
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-eventbridge/CHANGELOG.md
|
|
71
71
|
post_install_message:
|
|
72
72
|
rdoc_options: []
|
|
73
73
|
require_paths:
|
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
83
|
- !ruby/object:Gem::Version
|
|
84
84
|
version: '0'
|
|
85
85
|
requirements: []
|
|
86
|
-
|
|
87
|
-
rubygems_version: 2.7.6.2
|
|
86
|
+
rubygems_version: 3.1.6
|
|
88
87
|
signing_key:
|
|
89
88
|
specification_version: 4
|
|
90
89
|
summary: AWS SDK for Ruby - Amazon EventBridge
|