aws-sdk-scheduler 1.61.0 → 1.63.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-scheduler/client.rb +240 -218
- data/lib/aws-sdk-scheduler/client_api.rb +77 -56
- data/lib/aws-sdk-scheduler/types.rb +435 -360
- data/lib/aws-sdk-scheduler/waiters.rb +15 -0
- data/lib/aws-sdk-scheduler.rb +2 -1
- data/sig/client.rbs +46 -46
- data/sig/params.rbs +32 -25
- data/sig/types.rbs +67 -54
- metadata +6 -5
|
@@ -41,7 +41,12 @@ module Aws::Scheduler
|
|
|
41
41
|
EnableECSManagedTags = Shapes::BooleanShape.new(name: 'EnableECSManagedTags')
|
|
42
42
|
EnableExecuteCommand = Shapes::BooleanShape.new(name: 'EnableExecuteCommand')
|
|
43
43
|
EndDate = Shapes::TimestampShape.new(name: 'EndDate')
|
|
44
|
+
EventBridgeMetadataKey = Shapes::StringShape.new(name: 'EventBridgeMetadataKey')
|
|
45
|
+
EventBridgeMetadataMap = Shapes::MapShape.new(name: 'EventBridgeMetadataMap')
|
|
46
|
+
EventBridgeMetadataValue = Shapes::StringShape.new(name: 'EventBridgeMetadataValue')
|
|
44
47
|
EventBridgeParameters = Shapes::StructureShape.new(name: 'EventBridgeParameters')
|
|
48
|
+
EventBridgePutEventsV2Parameters = Shapes::StructureShape.new(name: 'EventBridgePutEventsV2Parameters')
|
|
49
|
+
EventBridgePutRawEventsParameters = Shapes::StructureShape.new(name: 'EventBridgePutRawEventsParameters')
|
|
45
50
|
FlexibleTimeWindow = Shapes::StructureShape.new(name: 'FlexibleTimeWindow')
|
|
46
51
|
FlexibleTimeWindowMode = Shapes::StringShape.new(name: 'FlexibleTimeWindowMode')
|
|
47
52
|
GetScheduleGroupInput = Shapes::StructureShape.new(name: 'GetScheduleGroupInput')
|
|
@@ -133,42 +138,42 @@ module Aws::Scheduler
|
|
|
133
138
|
UpdateScheduleOutput = Shapes::StructureShape.new(name: 'UpdateScheduleOutput')
|
|
134
139
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
135
140
|
|
|
136
|
-
AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "AssignPublicIp"))
|
|
137
|
-
AwsVpcConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroups"))
|
|
138
141
|
AwsVpcConfiguration.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, required: true, location_name: "Subnets"))
|
|
142
|
+
AwsVpcConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroups"))
|
|
143
|
+
AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "AssignPublicIp"))
|
|
139
144
|
AwsVpcConfiguration.struct_class = Types::AwsVpcConfiguration
|
|
140
145
|
|
|
141
146
|
CapacityProviderStrategy.member = Shapes::ShapeRef.new(shape: CapacityProviderStrategyItem)
|
|
142
147
|
|
|
143
|
-
CapacityProviderStrategyItem.add_member(:base, Shapes::ShapeRef.new(shape: CapacityProviderStrategyItemBase, location_name: "base"))
|
|
144
148
|
CapacityProviderStrategyItem.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: CapacityProvider, required: true, location_name: "capacityProvider"))
|
|
145
149
|
CapacityProviderStrategyItem.add_member(:weight, Shapes::ShapeRef.new(shape: CapacityProviderStrategyItemWeight, location_name: "weight"))
|
|
150
|
+
CapacityProviderStrategyItem.add_member(:base, Shapes::ShapeRef.new(shape: CapacityProviderStrategyItemBase, location_name: "base"))
|
|
146
151
|
CapacityProviderStrategyItem.struct_class = Types::CapacityProviderStrategyItem
|
|
147
152
|
|
|
148
153
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
|
149
154
|
ConflictException.struct_class = Types::ConflictException
|
|
150
155
|
|
|
151
|
-
CreateScheduleGroupInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
152
156
|
CreateScheduleGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleGroupName, required: true, location: "uri", location_name: "Name"))
|
|
153
157
|
CreateScheduleGroupInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
158
|
+
CreateScheduleGroupInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
154
159
|
CreateScheduleGroupInput.struct_class = Types::CreateScheduleGroupInput
|
|
155
160
|
|
|
156
161
|
CreateScheduleGroupOutput.add_member(:schedule_group_arn, Shapes::ShapeRef.new(shape: ScheduleGroupArn, required: true, location_name: "ScheduleGroupArn"))
|
|
157
162
|
CreateScheduleGroupOutput.struct_class = Types::CreateScheduleGroupOutput
|
|
158
163
|
|
|
159
|
-
CreateScheduleInput.add_member(:action_after_completion, Shapes::ShapeRef.new(shape: ActionAfterCompletion, location_name: "ActionAfterCompletion"))
|
|
160
|
-
CreateScheduleInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
161
|
-
CreateScheduleInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
162
|
-
CreateScheduleInput.add_member(:end_date, Shapes::ShapeRef.new(shape: EndDate, location_name: "EndDate"))
|
|
163
|
-
CreateScheduleInput.add_member(:flexible_time_window, Shapes::ShapeRef.new(shape: FlexibleTimeWindow, required: true, location_name: "FlexibleTimeWindow"))
|
|
164
|
-
CreateScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "GroupName"))
|
|
165
|
-
CreateScheduleInput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
166
164
|
CreateScheduleInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "Name"))
|
|
165
|
+
CreateScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "GroupName"))
|
|
167
166
|
CreateScheduleInput.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "ScheduleExpression"))
|
|
168
|
-
CreateScheduleInput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: ScheduleExpressionTimezone, location_name: "ScheduleExpressionTimezone"))
|
|
169
167
|
CreateScheduleInput.add_member(:start_date, Shapes::ShapeRef.new(shape: StartDate, location_name: "StartDate"))
|
|
168
|
+
CreateScheduleInput.add_member(:end_date, Shapes::ShapeRef.new(shape: EndDate, location_name: "EndDate"))
|
|
169
|
+
CreateScheduleInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
170
|
+
CreateScheduleInput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: ScheduleExpressionTimezone, location_name: "ScheduleExpressionTimezone"))
|
|
170
171
|
CreateScheduleInput.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleState, location_name: "State"))
|
|
172
|
+
CreateScheduleInput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
171
173
|
CreateScheduleInput.add_member(:target, Shapes::ShapeRef.new(shape: Target, required: true, location_name: "Target"))
|
|
174
|
+
CreateScheduleInput.add_member(:flexible_time_window, Shapes::ShapeRef.new(shape: FlexibleTimeWindow, required: true, location_name: "FlexibleTimeWindow"))
|
|
175
|
+
CreateScheduleInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
176
|
+
CreateScheduleInput.add_member(:action_after_completion, Shapes::ShapeRef.new(shape: ActionAfterCompletion, location_name: "ActionAfterCompletion"))
|
|
172
177
|
CreateScheduleInput.struct_class = Types::CreateScheduleInput
|
|
173
178
|
|
|
174
179
|
CreateScheduleOutput.add_member(:schedule_arn, Shapes::ShapeRef.new(shape: ScheduleArn, required: true, location_name: "ScheduleArn"))
|
|
@@ -177,72 +182,82 @@ module Aws::Scheduler
|
|
|
177
182
|
DeadLetterConfig.add_member(:arn, Shapes::ShapeRef.new(shape: DeadLetterConfigArnString, location_name: "Arn"))
|
|
178
183
|
DeadLetterConfig.struct_class = Types::DeadLetterConfig
|
|
179
184
|
|
|
180
|
-
DeleteScheduleGroupInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
181
185
|
DeleteScheduleGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleGroupName, required: true, location: "uri", location_name: "Name"))
|
|
186
|
+
DeleteScheduleGroupInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
182
187
|
DeleteScheduleGroupInput.struct_class = Types::DeleteScheduleGroupInput
|
|
183
188
|
|
|
184
189
|
DeleteScheduleGroupOutput.struct_class = Types::DeleteScheduleGroupOutput
|
|
185
190
|
|
|
186
|
-
DeleteScheduleInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
187
|
-
DeleteScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location: "querystring", location_name: "groupName"))
|
|
188
191
|
DeleteScheduleInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "Name"))
|
|
192
|
+
DeleteScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location: "querystring", location_name: "groupName"))
|
|
193
|
+
DeleteScheduleInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
189
194
|
DeleteScheduleInput.struct_class = Types::DeleteScheduleInput
|
|
190
195
|
|
|
191
196
|
DeleteScheduleOutput.struct_class = Types::DeleteScheduleOutput
|
|
192
197
|
|
|
198
|
+
EcsParameters.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: TaskDefinitionArn, required: true, location_name: "TaskDefinitionArn"))
|
|
199
|
+
EcsParameters.add_member(:task_count, Shapes::ShapeRef.new(shape: TaskCount, location_name: "TaskCount"))
|
|
200
|
+
EcsParameters.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "LaunchType"))
|
|
201
|
+
EcsParameters.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "NetworkConfiguration"))
|
|
202
|
+
EcsParameters.add_member(:platform_version, Shapes::ShapeRef.new(shape: PlatformVersion, location_name: "PlatformVersion"))
|
|
203
|
+
EcsParameters.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
|
|
193
204
|
EcsParameters.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "CapacityProviderStrategy"))
|
|
194
205
|
EcsParameters.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: EnableECSManagedTags, location_name: "EnableECSManagedTags"))
|
|
195
206
|
EcsParameters.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: EnableExecuteCommand, location_name: "EnableExecuteCommand"))
|
|
196
|
-
EcsParameters.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
|
|
197
|
-
EcsParameters.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "LaunchType"))
|
|
198
|
-
EcsParameters.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "NetworkConfiguration"))
|
|
199
207
|
EcsParameters.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: PlacementConstraints, location_name: "PlacementConstraints"))
|
|
200
208
|
EcsParameters.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementStrategies, location_name: "PlacementStrategy"))
|
|
201
|
-
EcsParameters.add_member(:platform_version, Shapes::ShapeRef.new(shape: PlatformVersion, location_name: "PlatformVersion"))
|
|
202
209
|
EcsParameters.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "PropagateTags"))
|
|
203
210
|
EcsParameters.add_member(:reference_id, Shapes::ShapeRef.new(shape: ReferenceId, location_name: "ReferenceId"))
|
|
204
211
|
EcsParameters.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
205
|
-
EcsParameters.add_member(:task_count, Shapes::ShapeRef.new(shape: TaskCount, location_name: "TaskCount"))
|
|
206
|
-
EcsParameters.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: TaskDefinitionArn, required: true, location_name: "TaskDefinitionArn"))
|
|
207
212
|
EcsParameters.struct_class = Types::EcsParameters
|
|
208
213
|
|
|
214
|
+
EventBridgeMetadataMap.key = Shapes::ShapeRef.new(shape: EventBridgeMetadataKey)
|
|
215
|
+
EventBridgeMetadataMap.value = Shapes::ShapeRef.new(shape: EventBridgeMetadataValue)
|
|
216
|
+
|
|
209
217
|
EventBridgeParameters.add_member(:detail_type, Shapes::ShapeRef.new(shape: DetailType, required: true, location_name: "DetailType"))
|
|
210
218
|
EventBridgeParameters.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "Source"))
|
|
211
219
|
EventBridgeParameters.struct_class = Types::EventBridgeParameters
|
|
212
220
|
|
|
213
|
-
|
|
221
|
+
EventBridgePutEventsV2Parameters.add_member(:detail_type, Shapes::ShapeRef.new(shape: DetailType, required: true, location_name: "DetailType"))
|
|
222
|
+
EventBridgePutEventsV2Parameters.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "Source"))
|
|
223
|
+
EventBridgePutEventsV2Parameters.struct_class = Types::EventBridgePutEventsV2Parameters
|
|
224
|
+
|
|
225
|
+
EventBridgePutRawEventsParameters.add_member(:metadata, Shapes::ShapeRef.new(shape: EventBridgeMetadataMap, location_name: "Metadata"))
|
|
226
|
+
EventBridgePutRawEventsParameters.struct_class = Types::EventBridgePutRawEventsParameters
|
|
227
|
+
|
|
214
228
|
FlexibleTimeWindow.add_member(:mode, Shapes::ShapeRef.new(shape: FlexibleTimeWindowMode, required: true, location_name: "Mode"))
|
|
229
|
+
FlexibleTimeWindow.add_member(:maximum_window_in_minutes, Shapes::ShapeRef.new(shape: MaximumWindowInMinutes, location_name: "MaximumWindowInMinutes"))
|
|
215
230
|
FlexibleTimeWindow.struct_class = Types::FlexibleTimeWindow
|
|
216
231
|
|
|
217
232
|
GetScheduleGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleGroupName, required: true, location: "uri", location_name: "Name"))
|
|
218
233
|
GetScheduleGroupInput.struct_class = Types::GetScheduleGroupInput
|
|
219
234
|
|
|
220
235
|
GetScheduleGroupOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ScheduleGroupArn, location_name: "Arn"))
|
|
221
|
-
GetScheduleGroupOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
|
222
|
-
GetScheduleGroupOutput.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
|
223
236
|
GetScheduleGroupOutput.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "Name"))
|
|
224
237
|
GetScheduleGroupOutput.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleGroupState, location_name: "State"))
|
|
238
|
+
GetScheduleGroupOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
|
239
|
+
GetScheduleGroupOutput.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
|
225
240
|
GetScheduleGroupOutput.struct_class = Types::GetScheduleGroupOutput
|
|
226
241
|
|
|
227
|
-
GetScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location: "querystring", location_name: "groupName"))
|
|
228
242
|
GetScheduleInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "Name"))
|
|
243
|
+
GetScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location: "querystring", location_name: "groupName"))
|
|
229
244
|
GetScheduleInput.struct_class = Types::GetScheduleInput
|
|
230
245
|
|
|
231
|
-
GetScheduleOutput.add_member(:action_after_completion, Shapes::ShapeRef.new(shape: ActionAfterCompletion, location_name: "ActionAfterCompletion"))
|
|
232
246
|
GetScheduleOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ScheduleArn, location_name: "Arn"))
|
|
233
|
-
GetScheduleOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
|
234
|
-
GetScheduleOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
235
|
-
GetScheduleOutput.add_member(:end_date, Shapes::ShapeRef.new(shape: EndDate, location_name: "EndDate"))
|
|
236
|
-
GetScheduleOutput.add_member(:flexible_time_window, Shapes::ShapeRef.new(shape: FlexibleTimeWindow, location_name: "FlexibleTimeWindow"))
|
|
237
247
|
GetScheduleOutput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "GroupName"))
|
|
238
|
-
GetScheduleOutput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
239
|
-
GetScheduleOutput.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
|
240
248
|
GetScheduleOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
|
241
249
|
GetScheduleOutput.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
|
242
|
-
GetScheduleOutput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: ScheduleExpressionTimezone, location_name: "ScheduleExpressionTimezone"))
|
|
243
250
|
GetScheduleOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: StartDate, location_name: "StartDate"))
|
|
251
|
+
GetScheduleOutput.add_member(:end_date, Shapes::ShapeRef.new(shape: EndDate, location_name: "EndDate"))
|
|
252
|
+
GetScheduleOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
253
|
+
GetScheduleOutput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: ScheduleExpressionTimezone, location_name: "ScheduleExpressionTimezone"))
|
|
244
254
|
GetScheduleOutput.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleState, location_name: "State"))
|
|
255
|
+
GetScheduleOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
|
256
|
+
GetScheduleOutput.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
|
257
|
+
GetScheduleOutput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
245
258
|
GetScheduleOutput.add_member(:target, Shapes::ShapeRef.new(shape: Target, location_name: "Target"))
|
|
259
|
+
GetScheduleOutput.add_member(:flexible_time_window, Shapes::ShapeRef.new(shape: FlexibleTimeWindow, location_name: "FlexibleTimeWindow"))
|
|
260
|
+
GetScheduleOutput.add_member(:action_after_completion, Shapes::ShapeRef.new(shape: ActionAfterCompletion, location_name: "ActionAfterCompletion"))
|
|
246
261
|
GetScheduleOutput.struct_class = Types::GetScheduleOutput
|
|
247
262
|
|
|
248
263
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
|
@@ -251,9 +266,9 @@ module Aws::Scheduler
|
|
|
251
266
|
KinesisParameters.add_member(:partition_key, Shapes::ShapeRef.new(shape: TargetPartitionKey, required: true, location_name: "PartitionKey"))
|
|
252
267
|
KinesisParameters.struct_class = Types::KinesisParameters
|
|
253
268
|
|
|
254
|
-
ListScheduleGroupsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
|
255
269
|
ListScheduleGroupsInput.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ScheduleGroupNamePrefix, location: "querystring", location_name: "NamePrefix"))
|
|
256
270
|
ListScheduleGroupsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
|
271
|
+
ListScheduleGroupsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
|
257
272
|
ListScheduleGroupsInput.struct_class = Types::ListScheduleGroupsInput
|
|
258
273
|
|
|
259
274
|
ListScheduleGroupsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
@@ -261,10 +276,10 @@ module Aws::Scheduler
|
|
|
261
276
|
ListScheduleGroupsOutput.struct_class = Types::ListScheduleGroupsOutput
|
|
262
277
|
|
|
263
278
|
ListSchedulesInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location: "querystring", location_name: "ScheduleGroup"))
|
|
264
|
-
ListSchedulesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
|
265
279
|
ListSchedulesInput.add_member(:name_prefix, Shapes::ShapeRef.new(shape: NamePrefix, location: "querystring", location_name: "NamePrefix"))
|
|
266
|
-
ListSchedulesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
|
267
280
|
ListSchedulesInput.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleState, location: "querystring", location_name: "State"))
|
|
281
|
+
ListSchedulesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
|
282
|
+
ListSchedulesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
|
268
283
|
ListSchedulesInput.struct_class = Types::ListSchedulesInput
|
|
269
284
|
|
|
270
285
|
ListSchedulesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
@@ -280,16 +295,16 @@ module Aws::Scheduler
|
|
|
280
295
|
NetworkConfiguration.add_member(:awsvpc_configuration, Shapes::ShapeRef.new(shape: AwsVpcConfiguration, location_name: "awsvpcConfiguration"))
|
|
281
296
|
NetworkConfiguration.struct_class = Types::NetworkConfiguration
|
|
282
297
|
|
|
283
|
-
PlacementConstraint.add_member(:expression, Shapes::ShapeRef.new(shape: PlacementConstraintExpression, location_name: "expression"))
|
|
284
298
|
PlacementConstraint.add_member(:type, Shapes::ShapeRef.new(shape: PlacementConstraintType, location_name: "type"))
|
|
299
|
+
PlacementConstraint.add_member(:expression, Shapes::ShapeRef.new(shape: PlacementConstraintExpression, location_name: "expression"))
|
|
285
300
|
PlacementConstraint.struct_class = Types::PlacementConstraint
|
|
286
301
|
|
|
287
302
|
PlacementConstraints.member = Shapes::ShapeRef.new(shape: PlacementConstraint)
|
|
288
303
|
|
|
289
304
|
PlacementStrategies.member = Shapes::ShapeRef.new(shape: PlacementStrategy)
|
|
290
305
|
|
|
291
|
-
PlacementStrategy.add_member(:field, Shapes::ShapeRef.new(shape: PlacementStrategyField, location_name: "field"))
|
|
292
306
|
PlacementStrategy.add_member(:type, Shapes::ShapeRef.new(shape: PlacementStrategyType, location_name: "type"))
|
|
307
|
+
PlacementStrategy.add_member(:field, Shapes::ShapeRef.new(shape: PlacementStrategyField, location_name: "field"))
|
|
293
308
|
PlacementStrategy.struct_class = Types::PlacementStrategy
|
|
294
309
|
|
|
295
310
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
|
@@ -311,20 +326,20 @@ module Aws::Scheduler
|
|
|
311
326
|
ScheduleGroupList.member = Shapes::ShapeRef.new(shape: ScheduleGroupSummary)
|
|
312
327
|
|
|
313
328
|
ScheduleGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ScheduleGroupArn, location_name: "Arn"))
|
|
314
|
-
ScheduleGroupSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
|
315
|
-
ScheduleGroupSummary.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
|
316
329
|
ScheduleGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "Name"))
|
|
317
330
|
ScheduleGroupSummary.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleGroupState, location_name: "State"))
|
|
331
|
+
ScheduleGroupSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
|
332
|
+
ScheduleGroupSummary.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
|
318
333
|
ScheduleGroupSummary.struct_class = Types::ScheduleGroupSummary
|
|
319
334
|
|
|
320
335
|
ScheduleList.member = Shapes::ShapeRef.new(shape: ScheduleSummary)
|
|
321
336
|
|
|
322
337
|
ScheduleSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ScheduleArn, location_name: "Arn"))
|
|
323
|
-
ScheduleSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
|
324
|
-
ScheduleSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "GroupName"))
|
|
325
|
-
ScheduleSummary.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
|
326
338
|
ScheduleSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
|
339
|
+
ScheduleSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "GroupName"))
|
|
327
340
|
ScheduleSummary.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleState, location_name: "State"))
|
|
341
|
+
ScheduleSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
|
342
|
+
ScheduleSummary.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
|
328
343
|
ScheduleSummary.add_member(:target, Shapes::ShapeRef.new(shape: TargetSummary, location_name: "Target"))
|
|
329
344
|
ScheduleSummary.struct_class = Types::ScheduleSummary
|
|
330
345
|
|
|
@@ -358,13 +373,15 @@ module Aws::Scheduler
|
|
|
358
373
|
Tags.member = Shapes::ShapeRef.new(shape: TagMap)
|
|
359
374
|
|
|
360
375
|
Target.add_member(:arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "Arn"))
|
|
376
|
+
Target.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
|
361
377
|
Target.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
|
378
|
+
Target.add_member(:retry_policy, Shapes::ShapeRef.new(shape: RetryPolicy, location_name: "RetryPolicy"))
|
|
379
|
+
Target.add_member(:input, Shapes::ShapeRef.new(shape: TargetInput, location_name: "Input"))
|
|
362
380
|
Target.add_member(:ecs_parameters, Shapes::ShapeRef.new(shape: EcsParameters, location_name: "EcsParameters"))
|
|
363
381
|
Target.add_member(:event_bridge_parameters, Shapes::ShapeRef.new(shape: EventBridgeParameters, location_name: "EventBridgeParameters"))
|
|
364
|
-
Target.add_member(:
|
|
382
|
+
Target.add_member(:event_bridge_put_events_v2_parameters, Shapes::ShapeRef.new(shape: EventBridgePutEventsV2Parameters, location_name: "EventBridgePutEventsV2Parameters"))
|
|
383
|
+
Target.add_member(:event_bridge_put_raw_events_parameters, Shapes::ShapeRef.new(shape: EventBridgePutRawEventsParameters, location_name: "EventBridgePutRawEventsParameters"))
|
|
365
384
|
Target.add_member(:kinesis_parameters, Shapes::ShapeRef.new(shape: KinesisParameters, location_name: "KinesisParameters"))
|
|
366
|
-
Target.add_member(:retry_policy, Shapes::ShapeRef.new(shape: RetryPolicy, location_name: "RetryPolicy"))
|
|
367
|
-
Target.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
|
368
385
|
Target.add_member(:sage_maker_pipeline_parameters, Shapes::ShapeRef.new(shape: SageMakerPipelineParameters, location_name: "SageMakerPipelineParameters"))
|
|
369
386
|
Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
|
|
370
387
|
Target.struct_class = Types::Target
|
|
@@ -381,19 +398,19 @@ module Aws::Scheduler
|
|
|
381
398
|
|
|
382
399
|
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
|
383
400
|
|
|
384
|
-
UpdateScheduleInput.add_member(:action_after_completion, Shapes::ShapeRef.new(shape: ActionAfterCompletion, location_name: "ActionAfterCompletion"))
|
|
385
|
-
UpdateScheduleInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
386
|
-
UpdateScheduleInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
387
|
-
UpdateScheduleInput.add_member(:end_date, Shapes::ShapeRef.new(shape: EndDate, location_name: "EndDate"))
|
|
388
|
-
UpdateScheduleInput.add_member(:flexible_time_window, Shapes::ShapeRef.new(shape: FlexibleTimeWindow, required: true, location_name: "FlexibleTimeWindow"))
|
|
389
|
-
UpdateScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "GroupName"))
|
|
390
|
-
UpdateScheduleInput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
391
401
|
UpdateScheduleInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "Name"))
|
|
402
|
+
UpdateScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "GroupName"))
|
|
392
403
|
UpdateScheduleInput.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "ScheduleExpression"))
|
|
393
|
-
UpdateScheduleInput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: ScheduleExpressionTimezone, location_name: "ScheduleExpressionTimezone"))
|
|
394
404
|
UpdateScheduleInput.add_member(:start_date, Shapes::ShapeRef.new(shape: StartDate, location_name: "StartDate"))
|
|
405
|
+
UpdateScheduleInput.add_member(:end_date, Shapes::ShapeRef.new(shape: EndDate, location_name: "EndDate"))
|
|
406
|
+
UpdateScheduleInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
407
|
+
UpdateScheduleInput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: ScheduleExpressionTimezone, location_name: "ScheduleExpressionTimezone"))
|
|
395
408
|
UpdateScheduleInput.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleState, location_name: "State"))
|
|
409
|
+
UpdateScheduleInput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
396
410
|
UpdateScheduleInput.add_member(:target, Shapes::ShapeRef.new(shape: Target, required: true, location_name: "Target"))
|
|
411
|
+
UpdateScheduleInput.add_member(:flexible_time_window, Shapes::ShapeRef.new(shape: FlexibleTimeWindow, required: true, location_name: "FlexibleTimeWindow"))
|
|
412
|
+
UpdateScheduleInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
413
|
+
UpdateScheduleInput.add_member(:action_after_completion, Shapes::ShapeRef.new(shape: ActionAfterCompletion, location_name: "ActionAfterCompletion"))
|
|
397
414
|
UpdateScheduleInput.struct_class = Types::UpdateScheduleInput
|
|
398
415
|
|
|
399
416
|
UpdateScheduleOutput.add_member(:schedule_arn, Shapes::ShapeRef.new(shape: ScheduleArn, required: true, location_name: "ScheduleArn"))
|
|
@@ -410,9 +427,10 @@ module Aws::Scheduler
|
|
|
410
427
|
|
|
411
428
|
api.metadata = {
|
|
412
429
|
"apiVersion" => "2021-06-30",
|
|
430
|
+
"auth" => ["aws.auth#sigv4"],
|
|
413
431
|
"endpointPrefix" => "scheduler",
|
|
414
|
-
"jsonVersion" => "1.1",
|
|
415
432
|
"protocol" => "rest-json",
|
|
433
|
+
"protocols" => ["rest-json"],
|
|
416
434
|
"serviceFullName" => "Amazon EventBridge Scheduler",
|
|
417
435
|
"serviceId" => "Scheduler",
|
|
418
436
|
"signatureVersion" => "v4",
|
|
@@ -430,8 +448,8 @@ module Aws::Scheduler
|
|
|
430
448
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
431
449
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
432
450
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
433
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
434
451
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
435
453
|
end)
|
|
436
454
|
|
|
437
455
|
api.add_operation(:create_schedule_group, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -453,6 +471,7 @@ module Aws::Scheduler
|
|
|
453
471
|
o.http_request_uri = "/schedules/{Name}"
|
|
454
472
|
o.input = Shapes::ShapeRef.new(shape: DeleteScheduleInput)
|
|
455
473
|
o.output = Shapes::ShapeRef.new(shape: DeleteScheduleOutput)
|
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
456
475
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
457
476
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
458
477
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
@@ -479,6 +498,7 @@ module Aws::Scheduler
|
|
|
479
498
|
o.http_request_uri = "/schedules/{Name}"
|
|
480
499
|
o.input = Shapes::ShapeRef.new(shape: GetScheduleInput)
|
|
481
500
|
o.output = Shapes::ShapeRef.new(shape: GetScheduleOutput)
|
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
482
502
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
483
503
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
484
504
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
@@ -576,6 +596,7 @@ module Aws::Scheduler
|
|
|
576
596
|
o.http_request_uri = "/schedules/{Name}"
|
|
577
597
|
o.input = Shapes::ShapeRef.new(shape: UpdateScheduleInput)
|
|
578
598
|
o.output = Shapes::ShapeRef.new(shape: UpdateScheduleOutput)
|
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
579
600
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
580
601
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
581
602
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|