aws-sdk-scheduler 1.11.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 741ecb2cc08a1f4166792bf7b48a40014b10a37d6c5192cbbd9307b5d61119ce
4
- data.tar.gz: 468e38a4bb8f8ab006bff7eba542aafc821290ced53cfe2fc442212448ac0d29
3
+ metadata.gz: 20a35640048d7ef27b24bbc0cc78cf81664bcf37b83a1532b652f8f314653b7b
4
+ data.tar.gz: fa4a5e5b2864b9fd7430fe6bcc56983669d833529c5931c44e3d47950e4fa03a
5
5
  SHA512:
6
- metadata.gz: f6313dfa7d28235a8d715b83d73333867724761ae97e70a284ae6c0ccb0ba6c9076da1108f98f3abe724b92aa1db962083fb828cce5f1c931129c9e552d78389
7
- data.tar.gz: 66d6a5c96f6f0fda73de36932eb50cd6f48c1763d6b85d538457059703e22bec1bc3221bf39a86fe5e105033b8c5974f76fe34ef69e6f8868c587515fbbd3da6
6
+ metadata.gz: e4acdbf54de123c411db33ac9ce6212ca598c5482f36b95d1311d40030f15812d4226c449a7e6f3ae19af73b0f7259dac4ac5fe46a41130fc5f68ec0701458de
7
+ data.tar.gz: 6c7a53b3c9df9abd2b8648884d441223c8c91f7eec046a39ff3f89a55cace9e65f54a3789d54257cad9b933ec99ead0f92f97e2daf991066258a480b50c436bc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.12.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.11.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.13.0
@@ -1272,7 +1272,7 @@ module Aws::Scheduler
1272
1272
  params: params,
1273
1273
  config: config)
1274
1274
  context[:gem_name] = 'aws-sdk-scheduler'
1275
- context[:gem_version] = '1.11.0'
1275
+ context[:gem_version] = '1.13.0'
1276
1276
  Seahorse::Client::Request.new(handlers, context)
1277
1277
  end
1278
1278
 
@@ -14,6 +14,7 @@ module Aws::Scheduler
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::Scheduler::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -25,16 +26,17 @@ module Aws::Scheduler
25
26
  # @api private
26
27
  class Handler < Seahorse::Client::Handler
27
28
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
29
  unless context[:discovered_endpoint]
30
30
  params = parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
34
34
  apply_endpoint_headers(context, endpoint.headers)
35
+
36
+ context[:endpoint_params] = params
37
+ context[:endpoint_properties] = endpoint.properties
35
38
  end
36
39
 
37
- context[:endpoint_params] = params
38
40
  context[:auth_scheme] =
39
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
42
 
@@ -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.11.0'
55
+ GEM_VERSION = '1.13.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,405 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Scheduler
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CreateScheduleResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateScheduleOutput]
77
+ def schedule_arn: () -> ::String
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#create_schedule-instance_method
80
+ def create_schedule: (
81
+ ?action_after_completion: ("NONE" | "DELETE"),
82
+ ?client_token: ::String,
83
+ ?description: ::String,
84
+ ?end_date: ::Time,
85
+ flexible_time_window: {
86
+ maximum_window_in_minutes: ::Integer?,
87
+ mode: ("OFF" | "FLEXIBLE")
88
+ },
89
+ ?group_name: ::String,
90
+ ?kms_key_arn: ::String,
91
+ name: ::String,
92
+ schedule_expression: ::String,
93
+ ?schedule_expression_timezone: ::String,
94
+ ?start_date: ::Time,
95
+ ?state: ("ENABLED" | "DISABLED"),
96
+ target: {
97
+ arn: ::String,
98
+ dead_letter_config: {
99
+ arn: ::String?
100
+ }?,
101
+ ecs_parameters: {
102
+ capacity_provider_strategy: Array[
103
+ {
104
+ base: ::Integer?,
105
+ capacity_provider: ::String,
106
+ weight: ::Integer?
107
+ },
108
+ ]?,
109
+ enable_ecs_managed_tags: bool?,
110
+ enable_execute_command: bool?,
111
+ group: ::String?,
112
+ launch_type: ("EC2" | "FARGATE" | "EXTERNAL")?,
113
+ network_configuration: {
114
+ awsvpc_configuration: {
115
+ assign_public_ip: ("ENABLED" | "DISABLED")?,
116
+ security_groups: Array[::String]?,
117
+ subnets: Array[::String]
118
+ }?
119
+ }?,
120
+ placement_constraints: Array[
121
+ {
122
+ expression: ::String?,
123
+ type: ("distinctInstance" | "memberOf")?
124
+ },
125
+ ]?,
126
+ placement_strategy: Array[
127
+ {
128
+ field: ::String?,
129
+ type: ("random" | "spread" | "binpack")?
130
+ },
131
+ ]?,
132
+ platform_version: ::String?,
133
+ propagate_tags: ("TASK_DEFINITION")?,
134
+ reference_id: ::String?,
135
+ tags: Array[
136
+ Hash[::String, ::String],
137
+ ]?,
138
+ task_count: ::Integer?,
139
+ task_definition_arn: ::String
140
+ }?,
141
+ event_bridge_parameters: {
142
+ detail_type: ::String,
143
+ source: ::String
144
+ }?,
145
+ input: ::String?,
146
+ kinesis_parameters: {
147
+ partition_key: ::String
148
+ }?,
149
+ retry_policy: {
150
+ maximum_event_age_in_seconds: ::Integer?,
151
+ maximum_retry_attempts: ::Integer?
152
+ }?,
153
+ role_arn: ::String,
154
+ sage_maker_pipeline_parameters: {
155
+ pipeline_parameter_list: Array[
156
+ {
157
+ name: ::String,
158
+ value: ::String
159
+ },
160
+ ]?
161
+ }?,
162
+ sqs_parameters: {
163
+ message_group_id: ::String?
164
+ }?
165
+ }
166
+ ) -> _CreateScheduleResponseSuccess
167
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScheduleResponseSuccess
168
+
169
+ interface _CreateScheduleGroupResponseSuccess
170
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateScheduleGroupOutput]
171
+ def schedule_group_arn: () -> ::String
172
+ end
173
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#create_schedule_group-instance_method
174
+ def create_schedule_group: (
175
+ ?client_token: ::String,
176
+ name: ::String,
177
+ ?tags: Array[
178
+ {
179
+ key: ::String,
180
+ value: ::String
181
+ },
182
+ ]
183
+ ) -> _CreateScheduleGroupResponseSuccess
184
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScheduleGroupResponseSuccess
185
+
186
+ interface _DeleteScheduleResponseSuccess
187
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteScheduleOutput]
188
+ end
189
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#delete_schedule-instance_method
190
+ def delete_schedule: (
191
+ ?client_token: ::String,
192
+ ?group_name: ::String,
193
+ name: ::String
194
+ ) -> _DeleteScheduleResponseSuccess
195
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteScheduleResponseSuccess
196
+
197
+ interface _DeleteScheduleGroupResponseSuccess
198
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteScheduleGroupOutput]
199
+ end
200
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#delete_schedule_group-instance_method
201
+ def delete_schedule_group: (
202
+ ?client_token: ::String,
203
+ name: ::String
204
+ ) -> _DeleteScheduleGroupResponseSuccess
205
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteScheduleGroupResponseSuccess
206
+
207
+ interface _GetScheduleResponseSuccess
208
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetScheduleOutput]
209
+ def action_after_completion: () -> ("NONE" | "DELETE")
210
+ def arn: () -> ::String
211
+ def creation_date: () -> ::Time
212
+ def description: () -> ::String
213
+ def end_date: () -> ::Time
214
+ def flexible_time_window: () -> Types::FlexibleTimeWindow
215
+ def group_name: () -> ::String
216
+ def kms_key_arn: () -> ::String
217
+ def last_modification_date: () -> ::Time
218
+ def name: () -> ::String
219
+ def schedule_expression: () -> ::String
220
+ def schedule_expression_timezone: () -> ::String
221
+ def start_date: () -> ::Time
222
+ def state: () -> ("ENABLED" | "DISABLED")
223
+ def target: () -> Types::Target
224
+ end
225
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#get_schedule-instance_method
226
+ def get_schedule: (
227
+ ?group_name: ::String,
228
+ name: ::String
229
+ ) -> _GetScheduleResponseSuccess
230
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetScheduleResponseSuccess
231
+
232
+ interface _GetScheduleGroupResponseSuccess
233
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetScheduleGroupOutput]
234
+ def arn: () -> ::String
235
+ def creation_date: () -> ::Time
236
+ def last_modification_date: () -> ::Time
237
+ def name: () -> ::String
238
+ def state: () -> ("ACTIVE" | "DELETING")
239
+ end
240
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#get_schedule_group-instance_method
241
+ def get_schedule_group: (
242
+ name: ::String
243
+ ) -> _GetScheduleGroupResponseSuccess
244
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetScheduleGroupResponseSuccess
245
+
246
+ interface _ListScheduleGroupsResponseSuccess
247
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListScheduleGroupsOutput]
248
+ def next_token: () -> ::String
249
+ def schedule_groups: () -> ::Array[Types::ScheduleGroupSummary]
250
+ end
251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#list_schedule_groups-instance_method
252
+ def list_schedule_groups: (
253
+ ?max_results: ::Integer,
254
+ ?name_prefix: ::String,
255
+ ?next_token: ::String
256
+ ) -> _ListScheduleGroupsResponseSuccess
257
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScheduleGroupsResponseSuccess
258
+
259
+ interface _ListSchedulesResponseSuccess
260
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSchedulesOutput]
261
+ def next_token: () -> ::String
262
+ def schedules: () -> ::Array[Types::ScheduleSummary]
263
+ end
264
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#list_schedules-instance_method
265
+ def list_schedules: (
266
+ ?group_name: ::String,
267
+ ?max_results: ::Integer,
268
+ ?name_prefix: ::String,
269
+ ?next_token: ::String,
270
+ ?state: ("ENABLED" | "DISABLED")
271
+ ) -> _ListSchedulesResponseSuccess
272
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSchedulesResponseSuccess
273
+
274
+ interface _ListTagsForResourceResponseSuccess
275
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
276
+ def tags: () -> ::Array[Types::Tag]
277
+ end
278
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#list_tags_for_resource-instance_method
279
+ def list_tags_for_resource: (
280
+ resource_arn: ::String
281
+ ) -> _ListTagsForResourceResponseSuccess
282
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
283
+
284
+ interface _TagResourceResponseSuccess
285
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
286
+ end
287
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#tag_resource-instance_method
288
+ def tag_resource: (
289
+ resource_arn: ::String,
290
+ tags: Array[
291
+ {
292
+ key: ::String,
293
+ value: ::String
294
+ },
295
+ ]
296
+ ) -> _TagResourceResponseSuccess
297
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
298
+
299
+ interface _UntagResourceResponseSuccess
300
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
301
+ end
302
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#untag_resource-instance_method
303
+ def untag_resource: (
304
+ resource_arn: ::String,
305
+ tag_keys: Array[::String]
306
+ ) -> _UntagResourceResponseSuccess
307
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
308
+
309
+ interface _UpdateScheduleResponseSuccess
310
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateScheduleOutput]
311
+ def schedule_arn: () -> ::String
312
+ end
313
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Client.html#update_schedule-instance_method
314
+ def update_schedule: (
315
+ ?action_after_completion: ("NONE" | "DELETE"),
316
+ ?client_token: ::String,
317
+ ?description: ::String,
318
+ ?end_date: ::Time,
319
+ flexible_time_window: {
320
+ maximum_window_in_minutes: ::Integer?,
321
+ mode: ("OFF" | "FLEXIBLE")
322
+ },
323
+ ?group_name: ::String,
324
+ ?kms_key_arn: ::String,
325
+ name: ::String,
326
+ schedule_expression: ::String,
327
+ ?schedule_expression_timezone: ::String,
328
+ ?start_date: ::Time,
329
+ ?state: ("ENABLED" | "DISABLED"),
330
+ target: {
331
+ arn: ::String,
332
+ dead_letter_config: {
333
+ arn: ::String?
334
+ }?,
335
+ ecs_parameters: {
336
+ capacity_provider_strategy: Array[
337
+ {
338
+ base: ::Integer?,
339
+ capacity_provider: ::String,
340
+ weight: ::Integer?
341
+ },
342
+ ]?,
343
+ enable_ecs_managed_tags: bool?,
344
+ enable_execute_command: bool?,
345
+ group: ::String?,
346
+ launch_type: ("EC2" | "FARGATE" | "EXTERNAL")?,
347
+ network_configuration: {
348
+ awsvpc_configuration: {
349
+ assign_public_ip: ("ENABLED" | "DISABLED")?,
350
+ security_groups: Array[::String]?,
351
+ subnets: Array[::String]
352
+ }?
353
+ }?,
354
+ placement_constraints: Array[
355
+ {
356
+ expression: ::String?,
357
+ type: ("distinctInstance" | "memberOf")?
358
+ },
359
+ ]?,
360
+ placement_strategy: Array[
361
+ {
362
+ field: ::String?,
363
+ type: ("random" | "spread" | "binpack")?
364
+ },
365
+ ]?,
366
+ platform_version: ::String?,
367
+ propagate_tags: ("TASK_DEFINITION")?,
368
+ reference_id: ::String?,
369
+ tags: Array[
370
+ Hash[::String, ::String],
371
+ ]?,
372
+ task_count: ::Integer?,
373
+ task_definition_arn: ::String
374
+ }?,
375
+ event_bridge_parameters: {
376
+ detail_type: ::String,
377
+ source: ::String
378
+ }?,
379
+ input: ::String?,
380
+ kinesis_parameters: {
381
+ partition_key: ::String
382
+ }?,
383
+ retry_policy: {
384
+ maximum_event_age_in_seconds: ::Integer?,
385
+ maximum_retry_attempts: ::Integer?
386
+ }?,
387
+ role_arn: ::String,
388
+ sage_maker_pipeline_parameters: {
389
+ pipeline_parameter_list: Array[
390
+ {
391
+ name: ::String,
392
+ value: ::String
393
+ },
394
+ ]?
395
+ }?,
396
+ sqs_parameters: {
397
+ message_group_id: ::String?
398
+ }?
399
+ }
400
+ ) -> _UpdateScheduleResponseSuccess
401
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateScheduleResponseSuccess
402
+ end
403
+ end
404
+ end
405
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,34 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Scheduler
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class ConflictException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InternalServerException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ThrottlingException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ValidationException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ end
33
+ end
34
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Scheduler
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Scheduler/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,349 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Scheduler
9
+ module Types
10
+
11
+ class AwsVpcConfiguration
12
+ attr_accessor assign_public_ip: ("ENABLED" | "DISABLED")
13
+ attr_accessor security_groups: ::Array[::String]
14
+ attr_accessor subnets: ::Array[::String]
15
+ SENSITIVE: []
16
+ end
17
+
18
+ class CapacityProviderStrategyItem
19
+ attr_accessor base: ::Integer
20
+ attr_accessor capacity_provider: ::String
21
+ attr_accessor weight: ::Integer
22
+ SENSITIVE: []
23
+ end
24
+
25
+ class ConflictException
26
+ attr_accessor message: ::String
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class CreateScheduleGroupInput
31
+ attr_accessor client_token: ::String
32
+ attr_accessor name: ::String
33
+ attr_accessor tags: ::Array[Types::Tag]
34
+ SENSITIVE: []
35
+ end
36
+
37
+ class CreateScheduleGroupOutput
38
+ attr_accessor schedule_group_arn: ::String
39
+ SENSITIVE: []
40
+ end
41
+
42
+ class CreateScheduleInput
43
+ attr_accessor action_after_completion: ("NONE" | "DELETE")
44
+ attr_accessor client_token: ::String
45
+ attr_accessor description: ::String
46
+ attr_accessor end_date: ::Time
47
+ attr_accessor flexible_time_window: Types::FlexibleTimeWindow
48
+ attr_accessor group_name: ::String
49
+ attr_accessor kms_key_arn: ::String
50
+ attr_accessor name: ::String
51
+ attr_accessor schedule_expression: ::String
52
+ attr_accessor schedule_expression_timezone: ::String
53
+ attr_accessor start_date: ::Time
54
+ attr_accessor state: ("ENABLED" | "DISABLED")
55
+ attr_accessor target: Types::Target
56
+ SENSITIVE: []
57
+ end
58
+
59
+ class CreateScheduleOutput
60
+ attr_accessor schedule_arn: ::String
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class DeadLetterConfig
65
+ attr_accessor arn: ::String
66
+ SENSITIVE: []
67
+ end
68
+
69
+ class DeleteScheduleGroupInput
70
+ attr_accessor client_token: ::String
71
+ attr_accessor name: ::String
72
+ SENSITIVE: []
73
+ end
74
+
75
+ class DeleteScheduleGroupOutput < Aws::EmptyStructure
76
+ end
77
+
78
+ class DeleteScheduleInput
79
+ attr_accessor client_token: ::String
80
+ attr_accessor group_name: ::String
81
+ attr_accessor name: ::String
82
+ SENSITIVE: []
83
+ end
84
+
85
+ class DeleteScheduleOutput < Aws::EmptyStructure
86
+ end
87
+
88
+ class EcsParameters
89
+ attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
90
+ attr_accessor enable_ecs_managed_tags: bool
91
+ attr_accessor enable_execute_command: bool
92
+ attr_accessor group: ::String
93
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
94
+ attr_accessor network_configuration: Types::NetworkConfiguration
95
+ attr_accessor placement_constraints: ::Array[Types::PlacementConstraint]
96
+ attr_accessor placement_strategy: ::Array[Types::PlacementStrategy]
97
+ attr_accessor platform_version: ::String
98
+ attr_accessor propagate_tags: ("TASK_DEFINITION")
99
+ attr_accessor reference_id: ::String
100
+ attr_accessor tags: ::Array[::Hash[::String, ::String]]
101
+ attr_accessor task_count: ::Integer
102
+ attr_accessor task_definition_arn: ::String
103
+ SENSITIVE: []
104
+ end
105
+
106
+ class EventBridgeParameters
107
+ attr_accessor detail_type: ::String
108
+ attr_accessor source: ::String
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class FlexibleTimeWindow
113
+ attr_accessor maximum_window_in_minutes: ::Integer
114
+ attr_accessor mode: ("OFF" | "FLEXIBLE")
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class GetScheduleGroupInput
119
+ attr_accessor name: ::String
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class GetScheduleGroupOutput
124
+ attr_accessor arn: ::String
125
+ attr_accessor creation_date: ::Time
126
+ attr_accessor last_modification_date: ::Time
127
+ attr_accessor name: ::String
128
+ attr_accessor state: ("ACTIVE" | "DELETING")
129
+ SENSITIVE: []
130
+ end
131
+
132
+ class GetScheduleInput
133
+ attr_accessor group_name: ::String
134
+ attr_accessor name: ::String
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class GetScheduleOutput
139
+ attr_accessor action_after_completion: ("NONE" | "DELETE")
140
+ attr_accessor arn: ::String
141
+ attr_accessor creation_date: ::Time
142
+ attr_accessor description: ::String
143
+ attr_accessor end_date: ::Time
144
+ attr_accessor flexible_time_window: Types::FlexibleTimeWindow
145
+ attr_accessor group_name: ::String
146
+ attr_accessor kms_key_arn: ::String
147
+ attr_accessor last_modification_date: ::Time
148
+ attr_accessor name: ::String
149
+ attr_accessor schedule_expression: ::String
150
+ attr_accessor schedule_expression_timezone: ::String
151
+ attr_accessor start_date: ::Time
152
+ attr_accessor state: ("ENABLED" | "DISABLED")
153
+ attr_accessor target: Types::Target
154
+ SENSITIVE: []
155
+ end
156
+
157
+ class InternalServerException
158
+ attr_accessor message: ::String
159
+ SENSITIVE: []
160
+ end
161
+
162
+ class KinesisParameters
163
+ attr_accessor partition_key: ::String
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class ListScheduleGroupsInput
168
+ attr_accessor max_results: ::Integer
169
+ attr_accessor name_prefix: ::String
170
+ attr_accessor next_token: ::String
171
+ SENSITIVE: []
172
+ end
173
+
174
+ class ListScheduleGroupsOutput
175
+ attr_accessor next_token: ::String
176
+ attr_accessor schedule_groups: ::Array[Types::ScheduleGroupSummary]
177
+ SENSITIVE: []
178
+ end
179
+
180
+ class ListSchedulesInput
181
+ attr_accessor group_name: ::String
182
+ attr_accessor max_results: ::Integer
183
+ attr_accessor name_prefix: ::String
184
+ attr_accessor next_token: ::String
185
+ attr_accessor state: ("ENABLED" | "DISABLED")
186
+ SENSITIVE: []
187
+ end
188
+
189
+ class ListSchedulesOutput
190
+ attr_accessor next_token: ::String
191
+ attr_accessor schedules: ::Array[Types::ScheduleSummary]
192
+ SENSITIVE: []
193
+ end
194
+
195
+ class ListTagsForResourceInput
196
+ attr_accessor resource_arn: ::String
197
+ SENSITIVE: []
198
+ end
199
+
200
+ class ListTagsForResourceOutput
201
+ attr_accessor tags: ::Array[Types::Tag]
202
+ SENSITIVE: []
203
+ end
204
+
205
+ class NetworkConfiguration
206
+ attr_accessor awsvpc_configuration: Types::AwsVpcConfiguration
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class PlacementConstraint
211
+ attr_accessor expression: ::String
212
+ attr_accessor type: ("distinctInstance" | "memberOf")
213
+ SENSITIVE: []
214
+ end
215
+
216
+ class PlacementStrategy
217
+ attr_accessor field: ::String
218
+ attr_accessor type: ("random" | "spread" | "binpack")
219
+ SENSITIVE: []
220
+ end
221
+
222
+ class ResourceNotFoundException
223
+ attr_accessor message: ::String
224
+ SENSITIVE: []
225
+ end
226
+
227
+ class RetryPolicy
228
+ attr_accessor maximum_event_age_in_seconds: ::Integer
229
+ attr_accessor maximum_retry_attempts: ::Integer
230
+ SENSITIVE: []
231
+ end
232
+
233
+ class SageMakerPipelineParameter
234
+ attr_accessor name: ::String
235
+ attr_accessor value: ::String
236
+ SENSITIVE: []
237
+ end
238
+
239
+ class SageMakerPipelineParameters
240
+ attr_accessor pipeline_parameter_list: ::Array[Types::SageMakerPipelineParameter]
241
+ SENSITIVE: []
242
+ end
243
+
244
+ class ScheduleGroupSummary
245
+ attr_accessor arn: ::String
246
+ attr_accessor creation_date: ::Time
247
+ attr_accessor last_modification_date: ::Time
248
+ attr_accessor name: ::String
249
+ attr_accessor state: ("ACTIVE" | "DELETING")
250
+ SENSITIVE: []
251
+ end
252
+
253
+ class ScheduleSummary
254
+ attr_accessor arn: ::String
255
+ attr_accessor creation_date: ::Time
256
+ attr_accessor group_name: ::String
257
+ attr_accessor last_modification_date: ::Time
258
+ attr_accessor name: ::String
259
+ attr_accessor state: ("ENABLED" | "DISABLED")
260
+ attr_accessor target: Types::TargetSummary
261
+ SENSITIVE: []
262
+ end
263
+
264
+ class ServiceQuotaExceededException
265
+ attr_accessor message: ::String
266
+ SENSITIVE: []
267
+ end
268
+
269
+ class SqsParameters
270
+ attr_accessor message_group_id: ::String
271
+ SENSITIVE: []
272
+ end
273
+
274
+ class Tag
275
+ attr_accessor key: ::String
276
+ attr_accessor value: ::String
277
+ SENSITIVE: []
278
+ end
279
+
280
+ class TagResourceInput
281
+ attr_accessor resource_arn: ::String
282
+ attr_accessor tags: ::Array[Types::Tag]
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class TagResourceOutput < Aws::EmptyStructure
287
+ end
288
+
289
+ class Target
290
+ attr_accessor arn: ::String
291
+ attr_accessor dead_letter_config: Types::DeadLetterConfig
292
+ attr_accessor ecs_parameters: Types::EcsParameters
293
+ attr_accessor event_bridge_parameters: Types::EventBridgeParameters
294
+ attr_accessor input: ::String
295
+ attr_accessor kinesis_parameters: Types::KinesisParameters
296
+ attr_accessor retry_policy: Types::RetryPolicy
297
+ attr_accessor role_arn: ::String
298
+ attr_accessor sage_maker_pipeline_parameters: Types::SageMakerPipelineParameters
299
+ attr_accessor sqs_parameters: Types::SqsParameters
300
+ SENSITIVE: []
301
+ end
302
+
303
+ class TargetSummary
304
+ attr_accessor arn: ::String
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class ThrottlingException
309
+ attr_accessor message: ::String
310
+ SENSITIVE: []
311
+ end
312
+
313
+ class UntagResourceInput
314
+ attr_accessor resource_arn: ::String
315
+ attr_accessor tag_keys: ::Array[::String]
316
+ SENSITIVE: []
317
+ end
318
+
319
+ class UntagResourceOutput < Aws::EmptyStructure
320
+ end
321
+
322
+ class UpdateScheduleInput
323
+ attr_accessor action_after_completion: ("NONE" | "DELETE")
324
+ attr_accessor client_token: ::String
325
+ attr_accessor description: ::String
326
+ attr_accessor end_date: ::Time
327
+ attr_accessor flexible_time_window: Types::FlexibleTimeWindow
328
+ attr_accessor group_name: ::String
329
+ attr_accessor kms_key_arn: ::String
330
+ attr_accessor name: ::String
331
+ attr_accessor schedule_expression: ::String
332
+ attr_accessor schedule_expression_timezone: ::String
333
+ attr_accessor start_date: ::Time
334
+ attr_accessor state: ("ENABLED" | "DISABLED")
335
+ attr_accessor target: Types::Target
336
+ SENSITIVE: []
337
+ end
338
+
339
+ class UpdateScheduleOutput
340
+ attr_accessor schedule_arn: ::String
341
+ SENSITIVE: []
342
+ end
343
+
344
+ class ValidationException
345
+ attr_accessor message: ::String
346
+ SENSITIVE: []
347
+ end
348
+ end
349
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Scheduler
10
+ module Waiters
11
+ end
12
+ end
13
+ 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.11.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-scheduler/plugins/endpoints.rb
67
67
  - lib/aws-sdk-scheduler/resource.rb
68
68
  - lib/aws-sdk-scheduler/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-scheduler
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-scheduler/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - Amazon EventBridge Scheduler
94
99
  test_files: []