aws-sdk-scheduler 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-scheduler/client.rb +1265 -0
- data/lib/aws-sdk-scheduler/client_api.rb +583 -0
- data/lib/aws-sdk-scheduler/customizations.rb +0 -0
- data/lib/aws-sdk-scheduler/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-scheduler/endpoint_provider.rb +111 -0
- data/lib/aws-sdk-scheduler/endpoints.rb +183 -0
- data/lib/aws-sdk-scheduler/errors.rb +134 -0
- data/lib/aws-sdk-scheduler/plugins/endpoints.rb +92 -0
- data/lib/aws-sdk-scheduler/resource.rb +26 -0
- data/lib/aws-sdk-scheduler/types.rb +1959 -0
- data/lib/aws-sdk-scheduler.rb +57 -0
- metadata +94 -0
@@ -0,0 +1,583 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::Scheduler
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
AssignPublicIp = Shapes::StringShape.new(name: 'AssignPublicIp')
|
17
|
+
AwsVpcConfiguration = Shapes::StructureShape.new(name: 'AwsVpcConfiguration')
|
18
|
+
CapacityProvider = Shapes::StringShape.new(name: 'CapacityProvider')
|
19
|
+
CapacityProviderStrategy = Shapes::ListShape.new(name: 'CapacityProviderStrategy')
|
20
|
+
CapacityProviderStrategyItem = Shapes::StructureShape.new(name: 'CapacityProviderStrategyItem')
|
21
|
+
CapacityProviderStrategyItemBase = Shapes::IntegerShape.new(name: 'CapacityProviderStrategyItemBase')
|
22
|
+
CapacityProviderStrategyItemWeight = Shapes::IntegerShape.new(name: 'CapacityProviderStrategyItemWeight')
|
23
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
24
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
25
|
+
CreateScheduleGroupInput = Shapes::StructureShape.new(name: 'CreateScheduleGroupInput')
|
26
|
+
CreateScheduleGroupOutput = Shapes::StructureShape.new(name: 'CreateScheduleGroupOutput')
|
27
|
+
CreateScheduleInput = Shapes::StructureShape.new(name: 'CreateScheduleInput')
|
28
|
+
CreateScheduleOutput = Shapes::StructureShape.new(name: 'CreateScheduleOutput')
|
29
|
+
CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
|
30
|
+
DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
|
31
|
+
DeadLetterConfigArnString = Shapes::StringShape.new(name: 'DeadLetterConfigArnString')
|
32
|
+
DeleteScheduleGroupInput = Shapes::StructureShape.new(name: 'DeleteScheduleGroupInput')
|
33
|
+
DeleteScheduleGroupOutput = Shapes::StructureShape.new(name: 'DeleteScheduleGroupOutput')
|
34
|
+
DeleteScheduleInput = Shapes::StructureShape.new(name: 'DeleteScheduleInput')
|
35
|
+
DeleteScheduleOutput = Shapes::StructureShape.new(name: 'DeleteScheduleOutput')
|
36
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
37
|
+
DetailType = Shapes::StringShape.new(name: 'DetailType')
|
38
|
+
EcsParameters = Shapes::StructureShape.new(name: 'EcsParameters')
|
39
|
+
EnableECSManagedTags = Shapes::BooleanShape.new(name: 'EnableECSManagedTags')
|
40
|
+
EnableExecuteCommand = Shapes::BooleanShape.new(name: 'EnableExecuteCommand')
|
41
|
+
EndDate = Shapes::TimestampShape.new(name: 'EndDate')
|
42
|
+
EventBridgeParameters = Shapes::StructureShape.new(name: 'EventBridgeParameters')
|
43
|
+
FlexibleTimeWindow = Shapes::StructureShape.new(name: 'FlexibleTimeWindow')
|
44
|
+
FlexibleTimeWindowMode = Shapes::StringShape.new(name: 'FlexibleTimeWindowMode')
|
45
|
+
GetScheduleGroupInput = Shapes::StructureShape.new(name: 'GetScheduleGroupInput')
|
46
|
+
GetScheduleGroupOutput = Shapes::StructureShape.new(name: 'GetScheduleGroupOutput')
|
47
|
+
GetScheduleInput = Shapes::StructureShape.new(name: 'GetScheduleInput')
|
48
|
+
GetScheduleOutput = Shapes::StructureShape.new(name: 'GetScheduleOutput')
|
49
|
+
Group = Shapes::StringShape.new(name: 'Group')
|
50
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
51
|
+
KinesisParameters = Shapes::StructureShape.new(name: 'KinesisParameters')
|
52
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
53
|
+
LastModificationDate = Shapes::TimestampShape.new(name: 'LastModificationDate')
|
54
|
+
LaunchType = Shapes::StringShape.new(name: 'LaunchType')
|
55
|
+
ListScheduleGroupsInput = Shapes::StructureShape.new(name: 'ListScheduleGroupsInput')
|
56
|
+
ListScheduleGroupsOutput = Shapes::StructureShape.new(name: 'ListScheduleGroupsOutput')
|
57
|
+
ListSchedulesInput = Shapes::StructureShape.new(name: 'ListSchedulesInput')
|
58
|
+
ListSchedulesOutput = Shapes::StructureShape.new(name: 'ListSchedulesOutput')
|
59
|
+
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
60
|
+
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
61
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
62
|
+
MaximumEventAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumEventAgeInSeconds')
|
63
|
+
MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
|
64
|
+
MaximumWindowInMinutes = Shapes::IntegerShape.new(name: 'MaximumWindowInMinutes')
|
65
|
+
MessageGroupId = Shapes::StringShape.new(name: 'MessageGroupId')
|
66
|
+
Name = Shapes::StringShape.new(name: 'Name')
|
67
|
+
NamePrefix = Shapes::StringShape.new(name: 'NamePrefix')
|
68
|
+
NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
|
69
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
70
|
+
PlacementConstraint = Shapes::StructureShape.new(name: 'PlacementConstraint')
|
71
|
+
PlacementConstraintExpression = Shapes::StringShape.new(name: 'PlacementConstraintExpression')
|
72
|
+
PlacementConstraintType = Shapes::StringShape.new(name: 'PlacementConstraintType')
|
73
|
+
PlacementConstraints = Shapes::ListShape.new(name: 'PlacementConstraints')
|
74
|
+
PlacementStrategies = Shapes::ListShape.new(name: 'PlacementStrategies')
|
75
|
+
PlacementStrategy = Shapes::StructureShape.new(name: 'PlacementStrategy')
|
76
|
+
PlacementStrategyField = Shapes::StringShape.new(name: 'PlacementStrategyField')
|
77
|
+
PlacementStrategyType = Shapes::StringShape.new(name: 'PlacementStrategyType')
|
78
|
+
PlatformVersion = Shapes::StringShape.new(name: 'PlatformVersion')
|
79
|
+
PropagateTags = Shapes::StringShape.new(name: 'PropagateTags')
|
80
|
+
ReferenceId = Shapes::StringShape.new(name: 'ReferenceId')
|
81
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
82
|
+
RetryPolicy = Shapes::StructureShape.new(name: 'RetryPolicy')
|
83
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
84
|
+
SageMakerPipelineParameter = Shapes::StructureShape.new(name: 'SageMakerPipelineParameter')
|
85
|
+
SageMakerPipelineParameterList = Shapes::ListShape.new(name: 'SageMakerPipelineParameterList')
|
86
|
+
SageMakerPipelineParameterName = Shapes::StringShape.new(name: 'SageMakerPipelineParameterName')
|
87
|
+
SageMakerPipelineParameterValue = Shapes::StringShape.new(name: 'SageMakerPipelineParameterValue')
|
88
|
+
SageMakerPipelineParameters = Shapes::StructureShape.new(name: 'SageMakerPipelineParameters')
|
89
|
+
ScheduleArn = Shapes::StringShape.new(name: 'ScheduleArn')
|
90
|
+
ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
|
91
|
+
ScheduleExpressionTimezone = Shapes::StringShape.new(name: 'ScheduleExpressionTimezone')
|
92
|
+
ScheduleGroupArn = Shapes::StringShape.new(name: 'ScheduleGroupArn')
|
93
|
+
ScheduleGroupList = Shapes::ListShape.new(name: 'ScheduleGroupList')
|
94
|
+
ScheduleGroupName = Shapes::StringShape.new(name: 'ScheduleGroupName')
|
95
|
+
ScheduleGroupNamePrefix = Shapes::StringShape.new(name: 'ScheduleGroupNamePrefix')
|
96
|
+
ScheduleGroupState = Shapes::StringShape.new(name: 'ScheduleGroupState')
|
97
|
+
ScheduleGroupSummary = Shapes::StructureShape.new(name: 'ScheduleGroupSummary')
|
98
|
+
ScheduleList = Shapes::ListShape.new(name: 'ScheduleList')
|
99
|
+
ScheduleState = Shapes::StringShape.new(name: 'ScheduleState')
|
100
|
+
ScheduleSummary = Shapes::StructureShape.new(name: 'ScheduleSummary')
|
101
|
+
SecurityGroup = Shapes::StringShape.new(name: 'SecurityGroup')
|
102
|
+
SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
|
103
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
104
|
+
Source = Shapes::StringShape.new(name: 'Source')
|
105
|
+
SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
|
106
|
+
StartDate = Shapes::TimestampShape.new(name: 'StartDate')
|
107
|
+
String = Shapes::StringShape.new(name: 'String')
|
108
|
+
Subnet = Shapes::StringShape.new(name: 'Subnet')
|
109
|
+
Subnets = Shapes::ListShape.new(name: 'Subnets')
|
110
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
111
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
112
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
113
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
114
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
115
|
+
TagResourceArn = Shapes::StringShape.new(name: 'TagResourceArn')
|
116
|
+
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
117
|
+
TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
|
118
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
119
|
+
Tags = Shapes::ListShape.new(name: 'Tags')
|
120
|
+
Target = Shapes::StructureShape.new(name: 'Target')
|
121
|
+
TargetArn = Shapes::StringShape.new(name: 'TargetArn')
|
122
|
+
TargetInput = Shapes::StringShape.new(name: 'TargetInput')
|
123
|
+
TargetPartitionKey = Shapes::StringShape.new(name: 'TargetPartitionKey')
|
124
|
+
TargetSummary = Shapes::StructureShape.new(name: 'TargetSummary')
|
125
|
+
TaskCount = Shapes::IntegerShape.new(name: 'TaskCount')
|
126
|
+
TaskDefinitionArn = Shapes::StringShape.new(name: 'TaskDefinitionArn')
|
127
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
128
|
+
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
129
|
+
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
130
|
+
UpdateScheduleInput = Shapes::StructureShape.new(name: 'UpdateScheduleInput')
|
131
|
+
UpdateScheduleOutput = Shapes::StructureShape.new(name: 'UpdateScheduleOutput')
|
132
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
133
|
+
|
134
|
+
AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "AssignPublicIp"))
|
135
|
+
AwsVpcConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroups"))
|
136
|
+
AwsVpcConfiguration.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, required: true, location_name: "Subnets"))
|
137
|
+
AwsVpcConfiguration.struct_class = Types::AwsVpcConfiguration
|
138
|
+
|
139
|
+
CapacityProviderStrategy.member = Shapes::ShapeRef.new(shape: CapacityProviderStrategyItem)
|
140
|
+
|
141
|
+
CapacityProviderStrategyItem.add_member(:base, Shapes::ShapeRef.new(shape: CapacityProviderStrategyItemBase, location_name: "base"))
|
142
|
+
CapacityProviderStrategyItem.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: CapacityProvider, required: true, location_name: "capacityProvider"))
|
143
|
+
CapacityProviderStrategyItem.add_member(:weight, Shapes::ShapeRef.new(shape: CapacityProviderStrategyItemWeight, location_name: "weight"))
|
144
|
+
CapacityProviderStrategyItem.struct_class = Types::CapacityProviderStrategyItem
|
145
|
+
|
146
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
147
|
+
ConflictException.struct_class = Types::ConflictException
|
148
|
+
|
149
|
+
CreateScheduleGroupInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
150
|
+
CreateScheduleGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleGroupName, required: true, location: "uri", location_name: "Name"))
|
151
|
+
CreateScheduleGroupInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
152
|
+
CreateScheduleGroupInput.struct_class = Types::CreateScheduleGroupInput
|
153
|
+
|
154
|
+
CreateScheduleGroupOutput.add_member(:schedule_group_arn, Shapes::ShapeRef.new(shape: ScheduleGroupArn, required: true, location_name: "ScheduleGroupArn"))
|
155
|
+
CreateScheduleGroupOutput.struct_class = Types::CreateScheduleGroupOutput
|
156
|
+
|
157
|
+
CreateScheduleInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
158
|
+
CreateScheduleInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
159
|
+
CreateScheduleInput.add_member(:end_date, Shapes::ShapeRef.new(shape: EndDate, location_name: "EndDate"))
|
160
|
+
CreateScheduleInput.add_member(:flexible_time_window, Shapes::ShapeRef.new(shape: FlexibleTimeWindow, required: true, location_name: "FlexibleTimeWindow"))
|
161
|
+
CreateScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "GroupName"))
|
162
|
+
CreateScheduleInput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
163
|
+
CreateScheduleInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "Name"))
|
164
|
+
CreateScheduleInput.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "ScheduleExpression"))
|
165
|
+
CreateScheduleInput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: ScheduleExpressionTimezone, location_name: "ScheduleExpressionTimezone"))
|
166
|
+
CreateScheduleInput.add_member(:start_date, Shapes::ShapeRef.new(shape: StartDate, location_name: "StartDate"))
|
167
|
+
CreateScheduleInput.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleState, location_name: "State"))
|
168
|
+
CreateScheduleInput.add_member(:target, Shapes::ShapeRef.new(shape: Target, required: true, location_name: "Target"))
|
169
|
+
CreateScheduleInput.struct_class = Types::CreateScheduleInput
|
170
|
+
|
171
|
+
CreateScheduleOutput.add_member(:schedule_arn, Shapes::ShapeRef.new(shape: ScheduleArn, required: true, location_name: "ScheduleArn"))
|
172
|
+
CreateScheduleOutput.struct_class = Types::CreateScheduleOutput
|
173
|
+
|
174
|
+
DeadLetterConfig.add_member(:arn, Shapes::ShapeRef.new(shape: DeadLetterConfigArnString, location_name: "Arn"))
|
175
|
+
DeadLetterConfig.struct_class = Types::DeadLetterConfig
|
176
|
+
|
177
|
+
DeleteScheduleGroupInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
178
|
+
DeleteScheduleGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleGroupName, required: true, location: "uri", location_name: "Name"))
|
179
|
+
DeleteScheduleGroupInput.struct_class = Types::DeleteScheduleGroupInput
|
180
|
+
|
181
|
+
DeleteScheduleGroupOutput.struct_class = Types::DeleteScheduleGroupOutput
|
182
|
+
|
183
|
+
DeleteScheduleInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
184
|
+
DeleteScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location: "querystring", location_name: "groupName"))
|
185
|
+
DeleteScheduleInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "Name"))
|
186
|
+
DeleteScheduleInput.struct_class = Types::DeleteScheduleInput
|
187
|
+
|
188
|
+
DeleteScheduleOutput.struct_class = Types::DeleteScheduleOutput
|
189
|
+
|
190
|
+
EcsParameters.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "CapacityProviderStrategy"))
|
191
|
+
EcsParameters.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: EnableECSManagedTags, location_name: "EnableECSManagedTags"))
|
192
|
+
EcsParameters.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: EnableExecuteCommand, location_name: "EnableExecuteCommand"))
|
193
|
+
EcsParameters.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
|
194
|
+
EcsParameters.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "LaunchType"))
|
195
|
+
EcsParameters.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "NetworkConfiguration"))
|
196
|
+
EcsParameters.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: PlacementConstraints, location_name: "PlacementConstraints"))
|
197
|
+
EcsParameters.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementStrategies, location_name: "PlacementStrategy"))
|
198
|
+
EcsParameters.add_member(:platform_version, Shapes::ShapeRef.new(shape: PlatformVersion, location_name: "PlatformVersion"))
|
199
|
+
EcsParameters.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "PropagateTags"))
|
200
|
+
EcsParameters.add_member(:reference_id, Shapes::ShapeRef.new(shape: ReferenceId, location_name: "ReferenceId"))
|
201
|
+
EcsParameters.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
202
|
+
EcsParameters.add_member(:task_count, Shapes::ShapeRef.new(shape: TaskCount, location_name: "TaskCount"))
|
203
|
+
EcsParameters.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: TaskDefinitionArn, required: true, location_name: "TaskDefinitionArn"))
|
204
|
+
EcsParameters.struct_class = Types::EcsParameters
|
205
|
+
|
206
|
+
EventBridgeParameters.add_member(:detail_type, Shapes::ShapeRef.new(shape: DetailType, required: true, location_name: "DetailType"))
|
207
|
+
EventBridgeParameters.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "Source"))
|
208
|
+
EventBridgeParameters.struct_class = Types::EventBridgeParameters
|
209
|
+
|
210
|
+
FlexibleTimeWindow.add_member(:maximum_window_in_minutes, Shapes::ShapeRef.new(shape: MaximumWindowInMinutes, location_name: "MaximumWindowInMinutes"))
|
211
|
+
FlexibleTimeWindow.add_member(:mode, Shapes::ShapeRef.new(shape: FlexibleTimeWindowMode, required: true, location_name: "Mode"))
|
212
|
+
FlexibleTimeWindow.struct_class = Types::FlexibleTimeWindow
|
213
|
+
|
214
|
+
GetScheduleGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleGroupName, required: true, location: "uri", location_name: "Name"))
|
215
|
+
GetScheduleGroupInput.struct_class = Types::GetScheduleGroupInput
|
216
|
+
|
217
|
+
GetScheduleGroupOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ScheduleGroupArn, location_name: "Arn"))
|
218
|
+
GetScheduleGroupOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
219
|
+
GetScheduleGroupOutput.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
220
|
+
GetScheduleGroupOutput.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "Name"))
|
221
|
+
GetScheduleGroupOutput.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleGroupState, location_name: "State"))
|
222
|
+
GetScheduleGroupOutput.struct_class = Types::GetScheduleGroupOutput
|
223
|
+
|
224
|
+
GetScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location: "querystring", location_name: "groupName"))
|
225
|
+
GetScheduleInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "Name"))
|
226
|
+
GetScheduleInput.struct_class = Types::GetScheduleInput
|
227
|
+
|
228
|
+
GetScheduleOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ScheduleArn, location_name: "Arn"))
|
229
|
+
GetScheduleOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
230
|
+
GetScheduleOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
231
|
+
GetScheduleOutput.add_member(:end_date, Shapes::ShapeRef.new(shape: EndDate, location_name: "EndDate"))
|
232
|
+
GetScheduleOutput.add_member(:flexible_time_window, Shapes::ShapeRef.new(shape: FlexibleTimeWindow, location_name: "FlexibleTimeWindow"))
|
233
|
+
GetScheduleOutput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "GroupName"))
|
234
|
+
GetScheduleOutput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
235
|
+
GetScheduleOutput.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
236
|
+
GetScheduleOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
237
|
+
GetScheduleOutput.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
238
|
+
GetScheduleOutput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: ScheduleExpressionTimezone, location_name: "ScheduleExpressionTimezone"))
|
239
|
+
GetScheduleOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: StartDate, location_name: "StartDate"))
|
240
|
+
GetScheduleOutput.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleState, location_name: "State"))
|
241
|
+
GetScheduleOutput.add_member(:target, Shapes::ShapeRef.new(shape: Target, location_name: "Target"))
|
242
|
+
GetScheduleOutput.struct_class = Types::GetScheduleOutput
|
243
|
+
|
244
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
245
|
+
InternalServerException.struct_class = Types::InternalServerException
|
246
|
+
|
247
|
+
KinesisParameters.add_member(:partition_key, Shapes::ShapeRef.new(shape: TargetPartitionKey, required: true, location_name: "PartitionKey"))
|
248
|
+
KinesisParameters.struct_class = Types::KinesisParameters
|
249
|
+
|
250
|
+
ListScheduleGroupsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
251
|
+
ListScheduleGroupsInput.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ScheduleGroupNamePrefix, location: "querystring", location_name: "NamePrefix"))
|
252
|
+
ListScheduleGroupsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
253
|
+
ListScheduleGroupsInput.struct_class = Types::ListScheduleGroupsInput
|
254
|
+
|
255
|
+
ListScheduleGroupsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
256
|
+
ListScheduleGroupsOutput.add_member(:schedule_groups, Shapes::ShapeRef.new(shape: ScheduleGroupList, required: true, location_name: "ScheduleGroups"))
|
257
|
+
ListScheduleGroupsOutput.struct_class = Types::ListScheduleGroupsOutput
|
258
|
+
|
259
|
+
ListSchedulesInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location: "querystring", location_name: "ScheduleGroup"))
|
260
|
+
ListSchedulesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
261
|
+
ListSchedulesInput.add_member(:name_prefix, Shapes::ShapeRef.new(shape: NamePrefix, location: "querystring", location_name: "NamePrefix"))
|
262
|
+
ListSchedulesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
263
|
+
ListSchedulesInput.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleState, location: "querystring", location_name: "State"))
|
264
|
+
ListSchedulesInput.struct_class = Types::ListSchedulesInput
|
265
|
+
|
266
|
+
ListSchedulesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
267
|
+
ListSchedulesOutput.add_member(:schedules, Shapes::ShapeRef.new(shape: ScheduleList, required: true, location_name: "Schedules"))
|
268
|
+
ListSchedulesOutput.struct_class = Types::ListSchedulesOutput
|
269
|
+
|
270
|
+
ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TagResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
271
|
+
ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
|
272
|
+
|
273
|
+
ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
274
|
+
ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
|
275
|
+
|
276
|
+
NetworkConfiguration.add_member(:awsvpc_configuration, Shapes::ShapeRef.new(shape: AwsVpcConfiguration, location_name: "awsvpcConfiguration"))
|
277
|
+
NetworkConfiguration.struct_class = Types::NetworkConfiguration
|
278
|
+
|
279
|
+
PlacementConstraint.add_member(:expression, Shapes::ShapeRef.new(shape: PlacementConstraintExpression, location_name: "expression"))
|
280
|
+
PlacementConstraint.add_member(:type, Shapes::ShapeRef.new(shape: PlacementConstraintType, location_name: "type"))
|
281
|
+
PlacementConstraint.struct_class = Types::PlacementConstraint
|
282
|
+
|
283
|
+
PlacementConstraints.member = Shapes::ShapeRef.new(shape: PlacementConstraint)
|
284
|
+
|
285
|
+
PlacementStrategies.member = Shapes::ShapeRef.new(shape: PlacementStrategy)
|
286
|
+
|
287
|
+
PlacementStrategy.add_member(:field, Shapes::ShapeRef.new(shape: PlacementStrategyField, location_name: "field"))
|
288
|
+
PlacementStrategy.add_member(:type, Shapes::ShapeRef.new(shape: PlacementStrategyType, location_name: "type"))
|
289
|
+
PlacementStrategy.struct_class = Types::PlacementStrategy
|
290
|
+
|
291
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
292
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
293
|
+
|
294
|
+
RetryPolicy.add_member(:maximum_event_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumEventAgeInSeconds, location_name: "MaximumEventAgeInSeconds"))
|
295
|
+
RetryPolicy.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttempts, location_name: "MaximumRetryAttempts"))
|
296
|
+
RetryPolicy.struct_class = Types::RetryPolicy
|
297
|
+
|
298
|
+
SageMakerPipelineParameter.add_member(:name, Shapes::ShapeRef.new(shape: SageMakerPipelineParameterName, required: true, location_name: "Name"))
|
299
|
+
SageMakerPipelineParameter.add_member(:value, Shapes::ShapeRef.new(shape: SageMakerPipelineParameterValue, required: true, location_name: "Value"))
|
300
|
+
SageMakerPipelineParameter.struct_class = Types::SageMakerPipelineParameter
|
301
|
+
|
302
|
+
SageMakerPipelineParameterList.member = Shapes::ShapeRef.new(shape: SageMakerPipelineParameter)
|
303
|
+
|
304
|
+
SageMakerPipelineParameters.add_member(:pipeline_parameter_list, Shapes::ShapeRef.new(shape: SageMakerPipelineParameterList, location_name: "PipelineParameterList"))
|
305
|
+
SageMakerPipelineParameters.struct_class = Types::SageMakerPipelineParameters
|
306
|
+
|
307
|
+
ScheduleGroupList.member = Shapes::ShapeRef.new(shape: ScheduleGroupSummary)
|
308
|
+
|
309
|
+
ScheduleGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ScheduleGroupArn, location_name: "Arn"))
|
310
|
+
ScheduleGroupSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
311
|
+
ScheduleGroupSummary.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
312
|
+
ScheduleGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "Name"))
|
313
|
+
ScheduleGroupSummary.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleGroupState, location_name: "State"))
|
314
|
+
ScheduleGroupSummary.struct_class = Types::ScheduleGroupSummary
|
315
|
+
|
316
|
+
ScheduleList.member = Shapes::ShapeRef.new(shape: ScheduleSummary)
|
317
|
+
|
318
|
+
ScheduleSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ScheduleArn, location_name: "Arn"))
|
319
|
+
ScheduleSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
320
|
+
ScheduleSummary.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "GroupName"))
|
321
|
+
ScheduleSummary.add_member(:last_modification_date, Shapes::ShapeRef.new(shape: LastModificationDate, location_name: "LastModificationDate"))
|
322
|
+
ScheduleSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
323
|
+
ScheduleSummary.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleState, location_name: "State"))
|
324
|
+
ScheduleSummary.add_member(:target, Shapes::ShapeRef.new(shape: TargetSummary, location_name: "Target"))
|
325
|
+
ScheduleSummary.struct_class = Types::ScheduleSummary
|
326
|
+
|
327
|
+
SecurityGroups.member = Shapes::ShapeRef.new(shape: SecurityGroup)
|
328
|
+
|
329
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
330
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
331
|
+
|
332
|
+
SqsParameters.add_member(:message_group_id, Shapes::ShapeRef.new(shape: MessageGroupId, location_name: "MessageGroupId"))
|
333
|
+
SqsParameters.struct_class = Types::SqsParameters
|
334
|
+
|
335
|
+
Subnets.member = Shapes::ShapeRef.new(shape: Subnet)
|
336
|
+
|
337
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
338
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
339
|
+
Tag.struct_class = Types::Tag
|
340
|
+
|
341
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
342
|
+
|
343
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
344
|
+
|
345
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
346
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
347
|
+
|
348
|
+
TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TagResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
349
|
+
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
350
|
+
TagResourceInput.struct_class = Types::TagResourceInput
|
351
|
+
|
352
|
+
TagResourceOutput.struct_class = Types::TagResourceOutput
|
353
|
+
|
354
|
+
Tags.member = Shapes::ShapeRef.new(shape: TagMap)
|
355
|
+
|
356
|
+
Target.add_member(:arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "Arn"))
|
357
|
+
Target.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
|
358
|
+
Target.add_member(:ecs_parameters, Shapes::ShapeRef.new(shape: EcsParameters, location_name: "EcsParameters"))
|
359
|
+
Target.add_member(:event_bridge_parameters, Shapes::ShapeRef.new(shape: EventBridgeParameters, location_name: "EventBridgeParameters"))
|
360
|
+
Target.add_member(:input, Shapes::ShapeRef.new(shape: TargetInput, location_name: "Input"))
|
361
|
+
Target.add_member(:kinesis_parameters, Shapes::ShapeRef.new(shape: KinesisParameters, location_name: "KinesisParameters"))
|
362
|
+
Target.add_member(:retry_policy, Shapes::ShapeRef.new(shape: RetryPolicy, location_name: "RetryPolicy"))
|
363
|
+
Target.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
364
|
+
Target.add_member(:sage_maker_pipeline_parameters, Shapes::ShapeRef.new(shape: SageMakerPipelineParameters, location_name: "SageMakerPipelineParameters"))
|
365
|
+
Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
|
366
|
+
Target.struct_class = Types::Target
|
367
|
+
|
368
|
+
TargetSummary.add_member(:arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "Arn"))
|
369
|
+
TargetSummary.struct_class = Types::TargetSummary
|
370
|
+
|
371
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
372
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
373
|
+
|
374
|
+
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TagResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
375
|
+
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "TagKeys"))
|
376
|
+
UntagResourceInput.struct_class = Types::UntagResourceInput
|
377
|
+
|
378
|
+
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
379
|
+
|
380
|
+
UpdateScheduleInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
381
|
+
UpdateScheduleInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
382
|
+
UpdateScheduleInput.add_member(:end_date, Shapes::ShapeRef.new(shape: EndDate, location_name: "EndDate"))
|
383
|
+
UpdateScheduleInput.add_member(:flexible_time_window, Shapes::ShapeRef.new(shape: FlexibleTimeWindow, required: true, location_name: "FlexibleTimeWindow"))
|
384
|
+
UpdateScheduleInput.add_member(:group_name, Shapes::ShapeRef.new(shape: ScheduleGroupName, location_name: "GroupName"))
|
385
|
+
UpdateScheduleInput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
386
|
+
UpdateScheduleInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "Name"))
|
387
|
+
UpdateScheduleInput.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "ScheduleExpression"))
|
388
|
+
UpdateScheduleInput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: ScheduleExpressionTimezone, location_name: "ScheduleExpressionTimezone"))
|
389
|
+
UpdateScheduleInput.add_member(:start_date, Shapes::ShapeRef.new(shape: StartDate, location_name: "StartDate"))
|
390
|
+
UpdateScheduleInput.add_member(:state, Shapes::ShapeRef.new(shape: ScheduleState, location_name: "State"))
|
391
|
+
UpdateScheduleInput.add_member(:target, Shapes::ShapeRef.new(shape: Target, required: true, location_name: "Target"))
|
392
|
+
UpdateScheduleInput.struct_class = Types::UpdateScheduleInput
|
393
|
+
|
394
|
+
UpdateScheduleOutput.add_member(:schedule_arn, Shapes::ShapeRef.new(shape: ScheduleArn, required: true, location_name: "ScheduleArn"))
|
395
|
+
UpdateScheduleOutput.struct_class = Types::UpdateScheduleOutput
|
396
|
+
|
397
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
398
|
+
ValidationException.struct_class = Types::ValidationException
|
399
|
+
|
400
|
+
|
401
|
+
# @api private
|
402
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
403
|
+
|
404
|
+
api.version = "2021-06-30"
|
405
|
+
|
406
|
+
api.metadata = {
|
407
|
+
"apiVersion" => "2021-06-30",
|
408
|
+
"endpointPrefix" => "scheduler",
|
409
|
+
"jsonVersion" => "1.1",
|
410
|
+
"protocol" => "rest-json",
|
411
|
+
"serviceFullName" => "Amazon EventBridge Scheduler",
|
412
|
+
"serviceId" => "Scheduler",
|
413
|
+
"signatureVersion" => "v4",
|
414
|
+
"signingName" => "scheduler",
|
415
|
+
"uid" => "scheduler-2021-06-30",
|
416
|
+
}
|
417
|
+
|
418
|
+
api.add_operation(:create_schedule, Seahorse::Model::Operation.new.tap do |o|
|
419
|
+
o.name = "CreateSchedule"
|
420
|
+
o.http_method = "POST"
|
421
|
+
o.http_request_uri = "/schedules/{Name}"
|
422
|
+
o.input = Shapes::ShapeRef.new(shape: CreateScheduleInput)
|
423
|
+
o.output = Shapes::ShapeRef.new(shape: CreateScheduleOutput)
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
430
|
+
end)
|
431
|
+
|
432
|
+
api.add_operation(:create_schedule_group, Seahorse::Model::Operation.new.tap do |o|
|
433
|
+
o.name = "CreateScheduleGroup"
|
434
|
+
o.http_method = "POST"
|
435
|
+
o.http_request_uri = "/schedule-groups/{Name}"
|
436
|
+
o.input = Shapes::ShapeRef.new(shape: CreateScheduleGroupInput)
|
437
|
+
o.output = Shapes::ShapeRef.new(shape: CreateScheduleGroupOutput)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
443
|
+
end)
|
444
|
+
|
445
|
+
api.add_operation(:delete_schedule, Seahorse::Model::Operation.new.tap do |o|
|
446
|
+
o.name = "DeleteSchedule"
|
447
|
+
o.http_method = "DELETE"
|
448
|
+
o.http_request_uri = "/schedules/{Name}"
|
449
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteScheduleInput)
|
450
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteScheduleOutput)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
454
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
455
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
456
|
+
end)
|
457
|
+
|
458
|
+
api.add_operation(:delete_schedule_group, Seahorse::Model::Operation.new.tap do |o|
|
459
|
+
o.name = "DeleteScheduleGroup"
|
460
|
+
o.http_method = "DELETE"
|
461
|
+
o.http_request_uri = "/schedule-groups/{Name}"
|
462
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteScheduleGroupInput)
|
463
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteScheduleGroupOutput)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
469
|
+
end)
|
470
|
+
|
471
|
+
api.add_operation(:get_schedule, Seahorse::Model::Operation.new.tap do |o|
|
472
|
+
o.name = "GetSchedule"
|
473
|
+
o.http_method = "GET"
|
474
|
+
o.http_request_uri = "/schedules/{Name}"
|
475
|
+
o.input = Shapes::ShapeRef.new(shape: GetScheduleInput)
|
476
|
+
o.output = Shapes::ShapeRef.new(shape: GetScheduleOutput)
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
478
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
481
|
+
end)
|
482
|
+
|
483
|
+
api.add_operation(:get_schedule_group, Seahorse::Model::Operation.new.tap do |o|
|
484
|
+
o.name = "GetScheduleGroup"
|
485
|
+
o.http_method = "GET"
|
486
|
+
o.http_request_uri = "/schedule-groups/{Name}"
|
487
|
+
o.input = Shapes::ShapeRef.new(shape: GetScheduleGroupInput)
|
488
|
+
o.output = Shapes::ShapeRef.new(shape: GetScheduleGroupOutput)
|
489
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
490
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
493
|
+
end)
|
494
|
+
|
495
|
+
api.add_operation(:list_schedule_groups, Seahorse::Model::Operation.new.tap do |o|
|
496
|
+
o.name = "ListScheduleGroups"
|
497
|
+
o.http_method = "GET"
|
498
|
+
o.http_request_uri = "/schedule-groups"
|
499
|
+
o.input = Shapes::ShapeRef.new(shape: ListScheduleGroupsInput)
|
500
|
+
o.output = Shapes::ShapeRef.new(shape: ListScheduleGroupsOutput)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
504
|
+
o[:pager] = Aws::Pager.new(
|
505
|
+
limit_key: "max_results",
|
506
|
+
tokens: {
|
507
|
+
"next_token" => "next_token"
|
508
|
+
}
|
509
|
+
)
|
510
|
+
end)
|
511
|
+
|
512
|
+
api.add_operation(:list_schedules, Seahorse::Model::Operation.new.tap do |o|
|
513
|
+
o.name = "ListSchedules"
|
514
|
+
o.http_method = "GET"
|
515
|
+
o.http_request_uri = "/schedules"
|
516
|
+
o.input = Shapes::ShapeRef.new(shape: ListSchedulesInput)
|
517
|
+
o.output = Shapes::ShapeRef.new(shape: ListSchedulesOutput)
|
518
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
522
|
+
o[:pager] = Aws::Pager.new(
|
523
|
+
limit_key: "max_results",
|
524
|
+
tokens: {
|
525
|
+
"next_token" => "next_token"
|
526
|
+
}
|
527
|
+
)
|
528
|
+
end)
|
529
|
+
|
530
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
531
|
+
o.name = "ListTagsForResource"
|
532
|
+
o.http_method = "GET"
|
533
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
534
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
|
535
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
540
|
+
end)
|
541
|
+
|
542
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
543
|
+
o.name = "TagResource"
|
544
|
+
o.http_method = "POST"
|
545
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
546
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
|
547
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
553
|
+
end)
|
554
|
+
|
555
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
556
|
+
o.name = "UntagResource"
|
557
|
+
o.http_method = "DELETE"
|
558
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
559
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
|
560
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
566
|
+
end)
|
567
|
+
|
568
|
+
api.add_operation(:update_schedule, Seahorse::Model::Operation.new.tap do |o|
|
569
|
+
o.name = "UpdateSchedule"
|
570
|
+
o.http_method = "PUT"
|
571
|
+
o.http_request_uri = "/schedules/{Name}"
|
572
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateScheduleInput)
|
573
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateScheduleOutput)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
579
|
+
end)
|
580
|
+
end
|
581
|
+
|
582
|
+
end
|
583
|
+
end
|
File without changes
|