aws-sdk-scheduler 1.0.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9208bcb01c427b99ec626adc224e57886b8dbc22a9cb526f0b51062154d483c
4
- data.tar.gz: 9495b7b51094d1aa857f07a6e35c0fb478b98dfb8a79d13469f3a83721fcd96a
3
+ metadata.gz: 3b711750e29975a8a704e79c95aac10595d4174d8555f4cfed0e61fd713f1a70
4
+ data.tar.gz: 18ef4be86d1fd6a135f5decb27bf780e2c393a2ee569edd60867260d2075ca30
5
5
  SHA512:
6
- metadata.gz: 4ab4a00a358520bfaca457a1390c768dd89c4cf95e33f5ad2c84ade04a32a9124132381eeb980e0a8331ef5e73f69dcbd353a2f677ac3a8fbf46ebe6e37f15a3
7
- data.tar.gz: 63d6604650a1df2263431f5151b039fb7ffddd0c2b88b25d7bac7961086d686935b8e2cc84d895cb7049df3ea8eed9543b5163ee804acb1feba186e75d678645
6
+ metadata.gz: 2b6e10e54b9033e25dd32568c51d6311b357140657fe57fc608540540573adb61aef7caaa3ea5d8d6cdfa2dc720eb59aedd77bb711f9b3281a46247f9f7fe4a8
7
+ data.tar.gz: db3919aff163539c68225d55e4c2dfb944ac755049ee31830470e640db45d0512693f058b454f9711ccc7492ff07cbb8585c3a71954b38e1465ff8dccde862d7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.2.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.1.0 (2022-12-21)
12
+ ------------------
13
+
14
+ * Feature - Updated the ListSchedules and ListScheduleGroups APIs to allow the NamePrefix field to start with a number. Updated the validation for executionRole field to support any role name.
15
+
4
16
  1.0.0 (2022-11-10)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.2.0
@@ -1240,7 +1240,7 @@ module Aws::Scheduler
1240
1240
  params: params,
1241
1241
  config: config)
1242
1242
  context[:gem_name] = 'aws-sdk-scheduler'
1243
- context[:gem_version] = '1.0.0'
1243
+ context[:gem_version] = '1.2.0'
1244
1244
  Seahorse::Client::Request.new(handlers, context)
1245
1245
  end
1246
1246
 
@@ -50,6 +50,9 @@ module Aws::Scheduler
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::Scheduler
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://scheduler-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://scheduler-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://scheduler.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://scheduler.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31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b3J0c0R1YWxTdGFjayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6
98
- W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8v
99
- c2NoZWR1bGVyLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNr
100
- RG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5
101
- cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJE
102
- dWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBu
103
- b3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29u
104
- ZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vc2NoZWR1
105
- bGVyLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInBy
106
- b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
107
- XX1dfQ==
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -14,15 +14,6 @@ module Aws::Scheduler
14
14
  # task, and whether a public IP address is to be used. This structure is
15
15
  # relevant only for ECS tasks that use the awsvpc network mode.
16
16
  #
17
- # @note When making an API call, you may pass AwsVpcConfiguration
18
- # data as a hash:
19
- #
20
- # {
21
- # assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
22
- # security_groups: ["SecurityGroup"],
23
- # subnets: ["Subnet"], # required
24
- # }
25
- #
26
17
  # @!attribute [rw] assign_public_ip
27
18
  # Specifies whether the task's elastic network interface receives a
28
19
  # public IP address. You can specify `ENABLED` only when `LaunchType`
@@ -53,15 +44,6 @@ module Aws::Scheduler
53
44
 
54
45
  # The details of a capacity provider strategy.
55
46
  #
56
- # @note When making an API call, you may pass CapacityProviderStrategyItem
57
- # data as a hash:
58
- #
59
- # {
60
- # base: 1,
61
- # capacity_provider: "CapacityProvider", # required
62
- # weight: 1,
63
- # }
64
- #
65
47
  # @!attribute [rw] base
66
48
  # The base value designates how many tasks, at a minimum, to run on
67
49
  # the specified capacity provider. Only one capacity provider in a
@@ -103,20 +85,6 @@ module Aws::Scheduler
103
85
  include Aws::Structure
104
86
  end
105
87
 
106
- # @note When making an API call, you may pass CreateScheduleGroupInput
107
- # data as a hash:
108
- #
109
- # {
110
- # client_token: "ClientToken",
111
- # name: "ScheduleGroupName", # required
112
- # tags: [
113
- # {
114
- # key: "TagKey", # required
115
- # value: "TagValue", # required
116
- # },
117
- # ],
118
- # }
119
- #
120
88
  # @!attribute [rw] client_token
121
89
  # Unique, case-sensitive identifier you provide to ensure the
122
90
  # idempotency of the request. If you do not specify a client token,
@@ -157,98 +125,6 @@ module Aws::Scheduler
157
125
  include Aws::Structure
158
126
  end
159
127
 
160
- # @note When making an API call, you may pass CreateScheduleInput
161
- # data as a hash:
162
- #
163
- # {
164
- # client_token: "ClientToken",
165
- # description: "Description",
166
- # end_date: Time.now,
167
- # flexible_time_window: { # required
168
- # maximum_window_in_minutes: 1,
169
- # mode: "OFF", # required, accepts OFF, FLEXIBLE
170
- # },
171
- # group_name: "ScheduleGroupName",
172
- # kms_key_arn: "KmsKeyArn",
173
- # name: "Name", # required
174
- # schedule_expression: "ScheduleExpression", # required
175
- # schedule_expression_timezone: "ScheduleExpressionTimezone",
176
- # start_date: Time.now,
177
- # state: "ENABLED", # accepts ENABLED, DISABLED
178
- # target: { # required
179
- # arn: "TargetArn", # required
180
- # dead_letter_config: {
181
- # arn: "DeadLetterConfigArnString",
182
- # },
183
- # ecs_parameters: {
184
- # capacity_provider_strategy: [
185
- # {
186
- # base: 1,
187
- # capacity_provider: "CapacityProvider", # required
188
- # weight: 1,
189
- # },
190
- # ],
191
- # enable_ecs_managed_tags: false,
192
- # enable_execute_command: false,
193
- # group: "Group",
194
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
195
- # network_configuration: {
196
- # awsvpc_configuration: {
197
- # assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
198
- # security_groups: ["SecurityGroup"],
199
- # subnets: ["Subnet"], # required
200
- # },
201
- # },
202
- # placement_constraints: [
203
- # {
204
- # expression: "PlacementConstraintExpression",
205
- # type: "distinctInstance", # accepts distinctInstance, memberOf
206
- # },
207
- # ],
208
- # placement_strategy: [
209
- # {
210
- # field: "PlacementStrategyField",
211
- # type: "random", # accepts random, spread, binpack
212
- # },
213
- # ],
214
- # platform_version: "PlatformVersion",
215
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION
216
- # reference_id: "ReferenceId",
217
- # tags: [
218
- # {
219
- # "TagKey" => "TagValue",
220
- # },
221
- # ],
222
- # task_count: 1,
223
- # task_definition_arn: "TaskDefinitionArn", # required
224
- # },
225
- # event_bridge_parameters: {
226
- # detail_type: "DetailType", # required
227
- # source: "Source", # required
228
- # },
229
- # input: "TargetInput",
230
- # kinesis_parameters: {
231
- # partition_key: "TargetPartitionKey", # required
232
- # },
233
- # retry_policy: {
234
- # maximum_event_age_in_seconds: 1,
235
- # maximum_retry_attempts: 1,
236
- # },
237
- # role_arn: "RoleArn", # required
238
- # sage_maker_pipeline_parameters: {
239
- # pipeline_parameter_list: [
240
- # {
241
- # name: "SageMakerPipelineParameterName", # required
242
- # value: "SageMakerPipelineParameterValue", # required
243
- # },
244
- # ],
245
- # },
246
- # sqs_parameters: {
247
- # message_group_id: "MessageGroupId",
248
- # },
249
- # },
250
- # }
251
- #
252
128
  # @!attribute [rw] client_token
253
129
  # Unique, case-sensitive identifier you provide to ensure the
254
130
  # idempotency of the request. If you do not specify a client token,
@@ -378,13 +254,6 @@ module Aws::Scheduler
378
254
  # If specified, EventBridge Scheduler delivers failed events that could
379
255
  # not be successfully delivered to a target to the queue.
380
256
  #
381
- # @note When making an API call, you may pass DeadLetterConfig
382
- # data as a hash:
383
- #
384
- # {
385
- # arn: "DeadLetterConfigArnString",
386
- # }
387
- #
388
257
  # @!attribute [rw] arn
389
258
  # The Amazon Resource Name (ARN) of the SQS queue specified as the
390
259
  # destination for the dead-letter queue.
@@ -398,14 +267,6 @@ module Aws::Scheduler
398
267
  include Aws::Structure
399
268
  end
400
269
 
401
- # @note When making an API call, you may pass DeleteScheduleGroupInput
402
- # data as a hash:
403
- #
404
- # {
405
- # client_token: "ClientToken",
406
- # name: "ScheduleGroupName", # required
407
- # }
408
- #
409
270
  # @!attribute [rw] client_token
410
271
  # Unique, case-sensitive identifier you provide to ensure the
411
272
  # idempotency of the request. If you do not specify a client token,
@@ -433,15 +294,6 @@ module Aws::Scheduler
433
294
  #
434
295
  class DeleteScheduleGroupOutput < Aws::EmptyStructure; end
435
296
 
436
- # @note When making an API call, you may pass DeleteScheduleInput
437
- # data as a hash:
438
- #
439
- # {
440
- # client_token: "ClientToken",
441
- # group_name: "ScheduleGroupName",
442
- # name: "Name", # required
443
- # }
444
- #
445
297
  # @!attribute [rw] client_token
446
298
  # Unique, case-sensitive identifier you provide to ensure the
447
299
  # idempotency of the request. If you do not specify a client token,
@@ -482,52 +334,6 @@ module Aws::Scheduler
482
334
  #
483
335
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html
484
336
  #
485
- # @note When making an API call, you may pass EcsParameters
486
- # data as a hash:
487
- #
488
- # {
489
- # capacity_provider_strategy: [
490
- # {
491
- # base: 1,
492
- # capacity_provider: "CapacityProvider", # required
493
- # weight: 1,
494
- # },
495
- # ],
496
- # enable_ecs_managed_tags: false,
497
- # enable_execute_command: false,
498
- # group: "Group",
499
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
500
- # network_configuration: {
501
- # awsvpc_configuration: {
502
- # assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
503
- # security_groups: ["SecurityGroup"],
504
- # subnets: ["Subnet"], # required
505
- # },
506
- # },
507
- # placement_constraints: [
508
- # {
509
- # expression: "PlacementConstraintExpression",
510
- # type: "distinctInstance", # accepts distinctInstance, memberOf
511
- # },
512
- # ],
513
- # placement_strategy: [
514
- # {
515
- # field: "PlacementStrategyField",
516
- # type: "random", # accepts random, spread, binpack
517
- # },
518
- # ],
519
- # platform_version: "PlatformVersion",
520
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION
521
- # reference_id: "ReferenceId",
522
- # tags: [
523
- # {
524
- # "TagKey" => "TagValue",
525
- # },
526
- # ],
527
- # task_count: 1,
528
- # task_definition_arn: "TaskDefinitionArn", # required
529
- # }
530
- #
531
337
  # @!attribute [rw] capacity_provider_strategy
532
338
  # The capacity provider strategy to use for the task.
533
339
  # @return [Array<Types::CapacityProviderStrategyItem>]
@@ -650,14 +456,6 @@ module Aws::Scheduler
650
456
  #
651
457
  # [1]: https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html
652
458
  #
653
- # @note When making an API call, you may pass EventBridgeParameters
654
- # data as a hash:
655
- #
656
- # {
657
- # detail_type: "DetailType", # required
658
- # source: "Source", # required
659
- # }
660
- #
661
459
  # @!attribute [rw] detail_type
662
460
  # A free-form string, with a maximum of 128 characters, used to decide
663
461
  # what fields to expect in the event detail.
@@ -679,14 +477,6 @@ module Aws::Scheduler
679
477
  # Allows you to configure a time window during which EventBridge
680
478
  # Scheduler invokes the schedule.
681
479
  #
682
- # @note When making an API call, you may pass FlexibleTimeWindow
683
- # data as a hash:
684
- #
685
- # {
686
- # maximum_window_in_minutes: 1,
687
- # mode: "OFF", # required, accepts OFF, FLEXIBLE
688
- # }
689
- #
690
480
  # @!attribute [rw] maximum_window_in_minutes
691
481
  # The maximum time window during which a schedule can be invoked.
692
482
  # @return [Integer]
@@ -705,13 +495,6 @@ module Aws::Scheduler
705
495
  include Aws::Structure
706
496
  end
707
497
 
708
- # @note When making an API call, you may pass GetScheduleGroupInput
709
- # data as a hash:
710
- #
711
- # {
712
- # name: "ScheduleGroupName", # required
713
- # }
714
- #
715
498
  # @!attribute [rw] name
716
499
  # The name of the schedule group to retrieve.
717
500
  # @return [String]
@@ -756,14 +539,6 @@ module Aws::Scheduler
756
539
  include Aws::Structure
757
540
  end
758
541
 
759
- # @note When making an API call, you may pass GetScheduleInput
760
- # data as a hash:
761
- #
762
- # {
763
- # group_name: "ScheduleGroupName",
764
- # name: "Name", # required
765
- # }
766
- #
767
542
  # @!attribute [rw] group_name
768
543
  # The name of the schedule group associated with this schedule. If you
769
544
  # omit this, EventBridge Scheduler assumes that the schedule is
@@ -914,13 +689,6 @@ module Aws::Scheduler
914
689
  # The templated target type for the Amazon Kinesis [ `PutRecord`
915
690
  # ](kinesis/latest/APIReference/API_PutRecord.html) API operation.
916
691
  #
917
- # @note When making an API call, you may pass KinesisParameters
918
- # data as a hash:
919
- #
920
- # {
921
- # partition_key: "TargetPartitionKey", # required
922
- # }
923
- #
924
692
  # @!attribute [rw] partition_key
925
693
  # Specifies the shard to which EventBridge Scheduler sends the event.
926
694
  # For more information, see [Amazon Kinesis Data Streams terminology
@@ -939,15 +707,6 @@ module Aws::Scheduler
939
707
  include Aws::Structure
940
708
  end
941
709
 
942
- # @note When making an API call, you may pass ListScheduleGroupsInput
943
- # data as a hash:
944
- #
945
- # {
946
- # max_results: 1,
947
- # name_prefix: "ScheduleGroupNamePrefix",
948
- # next_token: "NextToken",
949
- # }
950
- #
951
710
  # @!attribute [rw] max_results
952
711
  # If specified, limits the number of results returned by this
953
712
  # operation. The operation also returns a `NextToken` which you can
@@ -992,17 +751,6 @@ module Aws::Scheduler
992
751
  include Aws::Structure
993
752
  end
994
753
 
995
- # @note When making an API call, you may pass ListSchedulesInput
996
- # data as a hash:
997
- #
998
- # {
999
- # group_name: "ScheduleGroupName",
1000
- # max_results: 1,
1001
- # name_prefix: "NamePrefix",
1002
- # next_token: "NextToken",
1003
- # state: "ENABLED", # accepts ENABLED, DISABLED
1004
- # }
1005
- #
1006
754
  # @!attribute [rw] group_name
1007
755
  # If specified, only lists the schedules whose associated schedule
1008
756
  # group matches the given filter.
@@ -1058,13 +806,6 @@ module Aws::Scheduler
1058
806
  include Aws::Structure
1059
807
  end
1060
808
 
1061
- # @note When making an API call, you may pass ListTagsForResourceInput
1062
- # data as a hash:
1063
- #
1064
- # {
1065
- # resource_arn: "TagResourceArn", # required
1066
- # }
1067
- #
1068
809
  # @!attribute [rw] resource_arn
1069
810
  # The ARN of the EventBridge Scheduler resource for which you want to
1070
811
  # view tags.
@@ -1092,17 +833,6 @@ module Aws::Scheduler
1092
833
 
1093
834
  # Specifies the network configuration for an ECS task.
1094
835
  #
1095
- # @note When making an API call, you may pass NetworkConfiguration
1096
- # data as a hash:
1097
- #
1098
- # {
1099
- # awsvpc_configuration: {
1100
- # assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
1101
- # security_groups: ["SecurityGroup"],
1102
- # subnets: ["Subnet"], # required
1103
- # },
1104
- # }
1105
- #
1106
836
  # @!attribute [rw] awsvpc_configuration
1107
837
  # Specifies the Amazon VPC subnets and security groups for the task,
1108
838
  # and whether a public IP address is to be used. This structure is
@@ -1119,14 +849,6 @@ module Aws::Scheduler
1119
849
 
1120
850
  # An object representing a constraint on task placement.
1121
851
  #
1122
- # @note When making an API call, you may pass PlacementConstraint
1123
- # data as a hash:
1124
- #
1125
- # {
1126
- # expression: "PlacementConstraintExpression",
1127
- # type: "distinctInstance", # accepts distinctInstance, memberOf
1128
- # }
1129
- #
1130
852
  # @!attribute [rw] expression
1131
853
  # A cluster query language expression to apply to the constraint. You
1132
854
  # cannot specify an expression if the constraint type is
@@ -1156,14 +878,6 @@ module Aws::Scheduler
1156
878
 
1157
879
  # The task placement strategy for a task or service.
1158
880
  #
1159
- # @note When making an API call, you may pass PlacementStrategy
1160
- # data as a hash:
1161
- #
1162
- # {
1163
- # field: "PlacementStrategyField",
1164
- # type: "random", # accepts random, spread, binpack
1165
- # }
1166
- #
1167
881
  # @!attribute [rw] field
1168
882
  # The field to apply the placement strategy against. For the spread
1169
883
  # placement strategy, valid values are `instanceId` (or `instanceId`,
@@ -1212,14 +926,6 @@ module Aws::Scheduler
1212
926
  # maximum number of times EventBridge Scheduler will try to deliver the
1213
927
  # event to a target.
1214
928
  #
1215
- # @note When making an API call, you may pass RetryPolicy
1216
- # data as a hash:
1217
- #
1218
- # {
1219
- # maximum_event_age_in_seconds: 1,
1220
- # maximum_retry_attempts: 1,
1221
- # }
1222
- #
1223
929
  # @!attribute [rw] maximum_event_age_in_seconds
1224
930
  # The maximum amount of time, in seconds, to continue to make retry
1225
931
  # attempts.
@@ -1244,14 +950,6 @@ module Aws::Scheduler
1244
950
  # The name and value pair of a parameter to use to start execution of a
1245
951
  # SageMaker Model Building Pipeline.
1246
952
  #
1247
- # @note When making an API call, you may pass SageMakerPipelineParameter
1248
- # data as a hash:
1249
- #
1250
- # {
1251
- # name: "SageMakerPipelineParameterName", # required
1252
- # value: "SageMakerPipelineParameterValue", # required
1253
- # }
1254
- #
1255
953
  # @!attribute [rw] name
1256
954
  # Name of parameter to start execution of a SageMaker Model Building
1257
955
  # Pipeline.
@@ -1278,18 +976,6 @@ module Aws::Scheduler
1278
976
  #
1279
977
  # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StartPipelineExecution.html
1280
978
  #
1281
- # @note When making an API call, you may pass SageMakerPipelineParameters
1282
- # data as a hash:
1283
- #
1284
- # {
1285
- # pipeline_parameter_list: [
1286
- # {
1287
- # name: "SageMakerPipelineParameterName", # required
1288
- # value: "SageMakerPipelineParameterValue", # required
1289
- # },
1290
- # ],
1291
- # }
1292
- #
1293
979
  # @!attribute [rw] pipeline_parameter_list
1294
980
  # List of parameter names and values to use when executing the
1295
981
  # SageMaker Model Building Pipeline.
@@ -1406,13 +1092,6 @@ module Aws::Scheduler
1406
1092
  # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html
1407
1093
  # [2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
1408
1094
  #
1409
- # @note When making an API call, you may pass SqsParameters
1410
- # data as a hash:
1411
- #
1412
- # {
1413
- # message_group_id: "MessageGroupId",
1414
- # }
1415
- #
1416
1095
  # @!attribute [rw] message_group_id
1417
1096
  # The FIFO message group ID to use as the target.
1418
1097
  # @return [String]
@@ -1427,14 +1106,6 @@ module Aws::Scheduler
1427
1106
 
1428
1107
  # Tag to associate with a schedule group.
1429
1108
  #
1430
- # @note When making an API call, you may pass Tag
1431
- # data as a hash:
1432
- #
1433
- # {
1434
- # key: "TagKey", # required
1435
- # value: "TagValue", # required
1436
- # }
1437
- #
1438
1109
  # @!attribute [rw] key
1439
1110
  # The key for the tag.
1440
1111
  # @return [String]
@@ -1452,19 +1123,6 @@ module Aws::Scheduler
1452
1123
  include Aws::Structure
1453
1124
  end
1454
1125
 
1455
- # @note When making an API call, you may pass TagResourceInput
1456
- # data as a hash:
1457
- #
1458
- # {
1459
- # resource_arn: "TagResourceArn", # required
1460
- # tags: [ # required
1461
- # {
1462
- # key: "TagKey", # required
1463
- # value: "TagValue", # required
1464
- # },
1465
- # ],
1466
- # }
1467
- #
1468
1126
  # @!attribute [rw] resource_arn
1469
1127
  # The Amazon Resource Name (ARN) of the schedule group that you are
1470
1128
  # adding tags to.
@@ -1493,82 +1151,6 @@ module Aws::Scheduler
1493
1151
  # than 270 services. You can only specify one templated or universal
1494
1152
  # target for a schedule.
1495
1153
  #
1496
- # @note When making an API call, you may pass Target
1497
- # data as a hash:
1498
- #
1499
- # {
1500
- # arn: "TargetArn", # required
1501
- # dead_letter_config: {
1502
- # arn: "DeadLetterConfigArnString",
1503
- # },
1504
- # ecs_parameters: {
1505
- # capacity_provider_strategy: [
1506
- # {
1507
- # base: 1,
1508
- # capacity_provider: "CapacityProvider", # required
1509
- # weight: 1,
1510
- # },
1511
- # ],
1512
- # enable_ecs_managed_tags: false,
1513
- # enable_execute_command: false,
1514
- # group: "Group",
1515
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
1516
- # network_configuration: {
1517
- # awsvpc_configuration: {
1518
- # assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
1519
- # security_groups: ["SecurityGroup"],
1520
- # subnets: ["Subnet"], # required
1521
- # },
1522
- # },
1523
- # placement_constraints: [
1524
- # {
1525
- # expression: "PlacementConstraintExpression",
1526
- # type: "distinctInstance", # accepts distinctInstance, memberOf
1527
- # },
1528
- # ],
1529
- # placement_strategy: [
1530
- # {
1531
- # field: "PlacementStrategyField",
1532
- # type: "random", # accepts random, spread, binpack
1533
- # },
1534
- # ],
1535
- # platform_version: "PlatformVersion",
1536
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION
1537
- # reference_id: "ReferenceId",
1538
- # tags: [
1539
- # {
1540
- # "TagKey" => "TagValue",
1541
- # },
1542
- # ],
1543
- # task_count: 1,
1544
- # task_definition_arn: "TaskDefinitionArn", # required
1545
- # },
1546
- # event_bridge_parameters: {
1547
- # detail_type: "DetailType", # required
1548
- # source: "Source", # required
1549
- # },
1550
- # input: "TargetInput",
1551
- # kinesis_parameters: {
1552
- # partition_key: "TargetPartitionKey", # required
1553
- # },
1554
- # retry_policy: {
1555
- # maximum_event_age_in_seconds: 1,
1556
- # maximum_retry_attempts: 1,
1557
- # },
1558
- # role_arn: "RoleArn", # required
1559
- # sage_maker_pipeline_parameters: {
1560
- # pipeline_parameter_list: [
1561
- # {
1562
- # name: "SageMakerPipelineParameterName", # required
1563
- # value: "SageMakerPipelineParameterValue", # required
1564
- # },
1565
- # ],
1566
- # },
1567
- # sqs_parameters: {
1568
- # message_group_id: "MessageGroupId",
1569
- # },
1570
- # }
1571
- #
1572
1154
  # @!attribute [rw] arn
1573
1155
  # The Amazon Resource Name (ARN) of the target.
1574
1156
  # @return [String]
@@ -1691,14 +1273,6 @@ module Aws::Scheduler
1691
1273
  include Aws::Structure
1692
1274
  end
1693
1275
 
1694
- # @note When making an API call, you may pass UntagResourceInput
1695
- # data as a hash:
1696
- #
1697
- # {
1698
- # resource_arn: "TagResourceArn", # required
1699
- # tag_keys: ["TagKey"], # required
1700
- # }
1701
- #
1702
1276
  # @!attribute [rw] resource_arn
1703
1277
  # The Amazon Resource Name (ARN) of the schedule group from which you
1704
1278
  # are removing tags.
@@ -1721,98 +1295,6 @@ module Aws::Scheduler
1721
1295
  #
1722
1296
  class UntagResourceOutput < Aws::EmptyStructure; end
1723
1297
 
1724
- # @note When making an API call, you may pass UpdateScheduleInput
1725
- # data as a hash:
1726
- #
1727
- # {
1728
- # client_token: "ClientToken",
1729
- # description: "Description",
1730
- # end_date: Time.now,
1731
- # flexible_time_window: { # required
1732
- # maximum_window_in_minutes: 1,
1733
- # mode: "OFF", # required, accepts OFF, FLEXIBLE
1734
- # },
1735
- # group_name: "ScheduleGroupName",
1736
- # kms_key_arn: "KmsKeyArn",
1737
- # name: "Name", # required
1738
- # schedule_expression: "ScheduleExpression", # required
1739
- # schedule_expression_timezone: "ScheduleExpressionTimezone",
1740
- # start_date: Time.now,
1741
- # state: "ENABLED", # accepts ENABLED, DISABLED
1742
- # target: { # required
1743
- # arn: "TargetArn", # required
1744
- # dead_letter_config: {
1745
- # arn: "DeadLetterConfigArnString",
1746
- # },
1747
- # ecs_parameters: {
1748
- # capacity_provider_strategy: [
1749
- # {
1750
- # base: 1,
1751
- # capacity_provider: "CapacityProvider", # required
1752
- # weight: 1,
1753
- # },
1754
- # ],
1755
- # enable_ecs_managed_tags: false,
1756
- # enable_execute_command: false,
1757
- # group: "Group",
1758
- # launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
1759
- # network_configuration: {
1760
- # awsvpc_configuration: {
1761
- # assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
1762
- # security_groups: ["SecurityGroup"],
1763
- # subnets: ["Subnet"], # required
1764
- # },
1765
- # },
1766
- # placement_constraints: [
1767
- # {
1768
- # expression: "PlacementConstraintExpression",
1769
- # type: "distinctInstance", # accepts distinctInstance, memberOf
1770
- # },
1771
- # ],
1772
- # placement_strategy: [
1773
- # {
1774
- # field: "PlacementStrategyField",
1775
- # type: "random", # accepts random, spread, binpack
1776
- # },
1777
- # ],
1778
- # platform_version: "PlatformVersion",
1779
- # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION
1780
- # reference_id: "ReferenceId",
1781
- # tags: [
1782
- # {
1783
- # "TagKey" => "TagValue",
1784
- # },
1785
- # ],
1786
- # task_count: 1,
1787
- # task_definition_arn: "TaskDefinitionArn", # required
1788
- # },
1789
- # event_bridge_parameters: {
1790
- # detail_type: "DetailType", # required
1791
- # source: "Source", # required
1792
- # },
1793
- # input: "TargetInput",
1794
- # kinesis_parameters: {
1795
- # partition_key: "TargetPartitionKey", # required
1796
- # },
1797
- # retry_policy: {
1798
- # maximum_event_age_in_seconds: 1,
1799
- # maximum_retry_attempts: 1,
1800
- # },
1801
- # role_arn: "RoleArn", # required
1802
- # sage_maker_pipeline_parameters: {
1803
- # pipeline_parameter_list: [
1804
- # {
1805
- # name: "SageMakerPipelineParameterName", # required
1806
- # value: "SageMakerPipelineParameterValue", # required
1807
- # },
1808
- # ],
1809
- # },
1810
- # sqs_parameters: {
1811
- # message_group_id: "MessageGroupId",
1812
- # },
1813
- # },
1814
- # }
1815
- #
1816
1298
  # @!attribute [rw] client_token
1817
1299
  # Unique, case-sensitive identifier you provide to ensure the
1818
1300
  # idempotency of the request. If you do not specify a client token,
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-scheduler/customizations'
52
52
  # @!group service
53
53
  module Aws::Scheduler
54
54
 
55
- GEM_VERSION = '1.0.0'
55
+ GEM_VERSION = '1.2.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.2.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: 2022-11-10 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core