aws-sdk-sqs 1.5.0 → 1.80.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +505 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-sqs/client.rb +1435 -642
- data/lib/aws-sdk-sqs/client_api.rb +391 -46
- data/lib/aws-sdk-sqs/customizations.rb +2 -0
- data/lib/aws-sdk-sqs/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-sqs/endpoint_provider.rb +57 -0
- data/lib/aws-sdk-sqs/endpoints.rb +338 -0
- data/lib/aws-sdk-sqs/errors.rb +463 -1
- data/lib/aws-sdk-sqs/message.rb +40 -13
- data/lib/aws-sdk-sqs/plugins/endpoints.rb +116 -0
- data/lib/aws-sdk-sqs/plugins/md5s.rb +93 -42
- data/lib/aws-sdk-sqs/plugins/queue_urls.rb +26 -12
- data/lib/aws-sdk-sqs/queue.rb +324 -188
- data/lib/aws-sdk-sqs/queue_poller.rb +75 -37
- data/lib/aws-sdk-sqs/resource.rb +213 -97
- data/lib/aws-sdk-sqs/types.rb +1413 -645
- data/lib/aws-sdk-sqs.rb +16 -6
- data/sig/client.rbs +365 -0
- data/sig/errors.rbs +98 -0
- data/sig/message.rbs +73 -0
- data/sig/queue.rbs +164 -0
- data/sig/resource.rbs +106 -0
- data/sig/types.rbs +472 -0
- data/sig/waiters.rbs +13 -0
- metadata +33 -14
@@ -1,7 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
4
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
@@ -22,6 +24,9 @@ module Aws::SQS
|
|
22
24
|
Binary = Shapes::BlobShape.new(name: 'Binary')
|
23
25
|
BinaryList = Shapes::ListShape.new(name: 'BinaryList', flattened: true)
|
24
26
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
27
|
+
BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
|
28
|
+
CancelMessageMoveTaskRequest = Shapes::StructureShape.new(name: 'CancelMessageMoveTaskRequest')
|
29
|
+
CancelMessageMoveTaskResult = Shapes::StructureShape.new(name: 'CancelMessageMoveTaskResult')
|
25
30
|
ChangeMessageVisibilityBatchRequest = Shapes::StructureShape.new(name: 'ChangeMessageVisibilityBatchRequest')
|
26
31
|
ChangeMessageVisibilityBatchRequestEntry = Shapes::StructureShape.new(name: 'ChangeMessageVisibilityBatchRequestEntry')
|
27
32
|
ChangeMessageVisibilityBatchRequestEntryList = Shapes::ListShape.new(name: 'ChangeMessageVisibilityBatchRequestEntryList', flattened: true)
|
@@ -40,30 +45,51 @@ module Aws::SQS
|
|
40
45
|
DeleteMessageRequest = Shapes::StructureShape.new(name: 'DeleteMessageRequest')
|
41
46
|
DeleteQueueRequest = Shapes::StructureShape.new(name: 'DeleteQueueRequest')
|
42
47
|
EmptyBatchRequest = Shapes::StructureShape.new(name: 'EmptyBatchRequest')
|
48
|
+
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
43
49
|
GetQueueAttributesRequest = Shapes::StructureShape.new(name: 'GetQueueAttributesRequest')
|
44
50
|
GetQueueAttributesResult = Shapes::StructureShape.new(name: 'GetQueueAttributesResult')
|
45
51
|
GetQueueUrlRequest = Shapes::StructureShape.new(name: 'GetQueueUrlRequest')
|
46
52
|
GetQueueUrlResult = Shapes::StructureShape.new(name: 'GetQueueUrlResult')
|
47
|
-
|
53
|
+
InvalidAddress = Shapes::StructureShape.new(name: 'InvalidAddress')
|
48
54
|
InvalidAttributeName = Shapes::StructureShape.new(name: 'InvalidAttributeName')
|
55
|
+
InvalidAttributeValue = Shapes::StructureShape.new(name: 'InvalidAttributeValue')
|
49
56
|
InvalidBatchEntryId = Shapes::StructureShape.new(name: 'InvalidBatchEntryId')
|
50
57
|
InvalidIdFormat = Shapes::StructureShape.new(name: 'InvalidIdFormat')
|
51
58
|
InvalidMessageContents = Shapes::StructureShape.new(name: 'InvalidMessageContents')
|
59
|
+
InvalidSecurity = Shapes::StructureShape.new(name: 'InvalidSecurity')
|
60
|
+
KmsAccessDenied = Shapes::StructureShape.new(name: 'KmsAccessDenied')
|
61
|
+
KmsDisabled = Shapes::StructureShape.new(name: 'KmsDisabled')
|
62
|
+
KmsInvalidKeyUsage = Shapes::StructureShape.new(name: 'KmsInvalidKeyUsage')
|
63
|
+
KmsInvalidState = Shapes::StructureShape.new(name: 'KmsInvalidState')
|
64
|
+
KmsNotFound = Shapes::StructureShape.new(name: 'KmsNotFound')
|
65
|
+
KmsOptInRequired = Shapes::StructureShape.new(name: 'KmsOptInRequired')
|
66
|
+
KmsThrottled = Shapes::StructureShape.new(name: 'KmsThrottled')
|
52
67
|
ListDeadLetterSourceQueuesRequest = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesRequest')
|
53
68
|
ListDeadLetterSourceQueuesResult = Shapes::StructureShape.new(name: 'ListDeadLetterSourceQueuesResult')
|
69
|
+
ListMessageMoveTasksRequest = Shapes::StructureShape.new(name: 'ListMessageMoveTasksRequest')
|
70
|
+
ListMessageMoveTasksResult = Shapes::StructureShape.new(name: 'ListMessageMoveTasksResult')
|
71
|
+
ListMessageMoveTasksResultEntry = Shapes::StructureShape.new(name: 'ListMessageMoveTasksResultEntry')
|
72
|
+
ListMessageMoveTasksResultEntryList = Shapes::ListShape.new(name: 'ListMessageMoveTasksResultEntryList', flattened: true)
|
54
73
|
ListQueueTagsRequest = Shapes::StructureShape.new(name: 'ListQueueTagsRequest')
|
55
74
|
ListQueueTagsResult = Shapes::StructureShape.new(name: 'ListQueueTagsResult')
|
56
75
|
ListQueuesRequest = Shapes::StructureShape.new(name: 'ListQueuesRequest')
|
57
76
|
ListQueuesResult = Shapes::StructureShape.new(name: 'ListQueuesResult')
|
77
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
58
78
|
Message = Shapes::StructureShape.new(name: 'Message')
|
59
79
|
MessageAttributeName = Shapes::StringShape.new(name: 'MessageAttributeName')
|
60
80
|
MessageAttributeNameList = Shapes::ListShape.new(name: 'MessageAttributeNameList', flattened: true)
|
61
81
|
MessageAttributeValue = Shapes::StructureShape.new(name: 'MessageAttributeValue')
|
62
82
|
MessageBodyAttributeMap = Shapes::MapShape.new(name: 'MessageBodyAttributeMap', flattened: true)
|
83
|
+
MessageBodySystemAttributeMap = Shapes::MapShape.new(name: 'MessageBodySystemAttributeMap', flattened: true)
|
63
84
|
MessageList = Shapes::ListShape.new(name: 'MessageList', flattened: true)
|
64
85
|
MessageNotInflight = Shapes::StructureShape.new(name: 'MessageNotInflight')
|
86
|
+
MessageSystemAttributeList = Shapes::ListShape.new(name: 'MessageSystemAttributeList', flattened: true)
|
65
87
|
MessageSystemAttributeMap = Shapes::MapShape.new(name: 'MessageSystemAttributeMap', flattened: true)
|
66
88
|
MessageSystemAttributeName = Shapes::StringShape.new(name: 'MessageSystemAttributeName')
|
89
|
+
MessageSystemAttributeNameForSends = Shapes::StringShape.new(name: 'MessageSystemAttributeNameForSends')
|
90
|
+
MessageSystemAttributeValue = Shapes::StructureShape.new(name: 'MessageSystemAttributeValue')
|
91
|
+
NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
|
92
|
+
NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
|
67
93
|
OverLimit = Shapes::StructureShape.new(name: 'OverLimit')
|
68
94
|
PurgeQueueInProgress = Shapes::StructureShape.new(name: 'PurgeQueueInProgress')
|
69
95
|
PurgeQueueRequest = Shapes::StructureShape.new(name: 'PurgeQueueRequest')
|
@@ -77,6 +103,8 @@ module Aws::SQS
|
|
77
103
|
ReceiveMessageRequest = Shapes::StructureShape.new(name: 'ReceiveMessageRequest')
|
78
104
|
ReceiveMessageResult = Shapes::StructureShape.new(name: 'ReceiveMessageResult')
|
79
105
|
RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
|
106
|
+
RequestThrottled = Shapes::StructureShape.new(name: 'RequestThrottled')
|
107
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
80
108
|
SendMessageBatchRequest = Shapes::StructureShape.new(name: 'SendMessageBatchRequest')
|
81
109
|
SendMessageBatchRequestEntry = Shapes::StructureShape.new(name: 'SendMessageBatchRequestEntry')
|
82
110
|
SendMessageBatchRequestEntryList = Shapes::ListShape.new(name: 'SendMessageBatchRequestEntryList', flattened: true)
|
@@ -86,6 +114,8 @@ module Aws::SQS
|
|
86
114
|
SendMessageRequest = Shapes::StructureShape.new(name: 'SendMessageRequest')
|
87
115
|
SendMessageResult = Shapes::StructureShape.new(name: 'SendMessageResult')
|
88
116
|
SetQueueAttributesRequest = Shapes::StructureShape.new(name: 'SetQueueAttributesRequest')
|
117
|
+
StartMessageMoveTaskRequest = Shapes::StructureShape.new(name: 'StartMessageMoveTaskRequest')
|
118
|
+
StartMessageMoveTaskResult = Shapes::StructureShape.new(name: 'StartMessageMoveTaskResult')
|
89
119
|
String = Shapes::StringShape.new(name: 'String')
|
90
120
|
StringList = Shapes::ListShape.new(name: 'StringList', flattened: true)
|
91
121
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -93,13 +123,14 @@ module Aws::SQS
|
|
93
123
|
TagMap = Shapes::MapShape.new(name: 'TagMap', flattened: true)
|
94
124
|
TagQueueRequest = Shapes::StructureShape.new(name: 'TagQueueRequest')
|
95
125
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
126
|
+
Token = Shapes::StringShape.new(name: 'Token')
|
96
127
|
TooManyEntriesInBatchRequest = Shapes::StructureShape.new(name: 'TooManyEntriesInBatchRequest')
|
97
128
|
UnsupportedOperation = Shapes::StructureShape.new(name: 'UnsupportedOperation')
|
98
129
|
UntagQueueRequest = Shapes::StructureShape.new(name: 'UntagQueueRequest')
|
99
130
|
|
100
|
-
AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String
|
131
|
+
AWSAccountIdList.member = Shapes::ShapeRef.new(shape: String)
|
101
132
|
|
102
|
-
ActionNameList.member = Shapes::ShapeRef.new(shape: String
|
133
|
+
ActionNameList.member = Shapes::ShapeRef.new(shape: String)
|
103
134
|
|
104
135
|
AddPermissionRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
105
136
|
AddPermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
|
@@ -107,7 +138,13 @@ module Aws::SQS
|
|
107
138
|
AddPermissionRequest.add_member(:actions, Shapes::ShapeRef.new(shape: ActionNameList, required: true, location_name: "Actions"))
|
108
139
|
AddPermissionRequest.struct_class = Types::AddPermissionRequest
|
109
140
|
|
110
|
-
AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName
|
141
|
+
AttributeNameList.member = Shapes::ShapeRef.new(shape: QueueAttributeName)
|
142
|
+
|
143
|
+
BatchEntryIdsNotDistinct.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
144
|
+
BatchEntryIdsNotDistinct.struct_class = Types::BatchEntryIdsNotDistinct
|
145
|
+
|
146
|
+
BatchRequestTooLong.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
147
|
+
BatchRequestTooLong.struct_class = Types::BatchRequestTooLong
|
111
148
|
|
112
149
|
BatchResultErrorEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
113
150
|
BatchResultErrorEntry.add_member(:sender_fault, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "SenderFault"))
|
@@ -115,9 +152,15 @@ module Aws::SQS
|
|
115
152
|
BatchResultErrorEntry.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
116
153
|
BatchResultErrorEntry.struct_class = Types::BatchResultErrorEntry
|
117
154
|
|
118
|
-
BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry
|
155
|
+
BatchResultErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchResultErrorEntry)
|
119
156
|
|
120
|
-
BinaryList.member = Shapes::ShapeRef.new(shape: Binary
|
157
|
+
BinaryList.member = Shapes::ShapeRef.new(shape: Binary)
|
158
|
+
|
159
|
+
CancelMessageMoveTaskRequest.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TaskHandle"))
|
160
|
+
CancelMessageMoveTaskRequest.struct_class = Types::CancelMessageMoveTaskRequest
|
161
|
+
|
162
|
+
CancelMessageMoveTaskResult.add_member(:approximate_number_of_messages_moved, Shapes::ShapeRef.new(shape: Long, location_name: "ApproximateNumberOfMessagesMoved"))
|
163
|
+
CancelMessageMoveTaskResult.struct_class = Types::CancelMessageMoveTaskResult
|
121
164
|
|
122
165
|
ChangeMessageVisibilityBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
123
166
|
ChangeMessageVisibilityBatchRequest.add_member(:entries, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntryList, required: true, location_name: "Entries"))
|
@@ -125,10 +168,10 @@ module Aws::SQS
|
|
125
168
|
|
126
169
|
ChangeMessageVisibilityBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
127
170
|
ChangeMessageVisibilityBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
128
|
-
ChangeMessageVisibilityBatchRequestEntry.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape:
|
171
|
+
ChangeMessageVisibilityBatchRequestEntry.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "VisibilityTimeout"))
|
129
172
|
ChangeMessageVisibilityBatchRequestEntry.struct_class = Types::ChangeMessageVisibilityBatchRequestEntry
|
130
173
|
|
131
|
-
ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry
|
174
|
+
ChangeMessageVisibilityBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchRequestEntry)
|
132
175
|
|
133
176
|
ChangeMessageVisibilityBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntryList, required: true, location_name: "Successful"))
|
134
177
|
ChangeMessageVisibilityBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
|
@@ -137,15 +180,16 @@ module Aws::SQS
|
|
137
180
|
ChangeMessageVisibilityBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
138
181
|
ChangeMessageVisibilityBatchResultEntry.struct_class = Types::ChangeMessageVisibilityBatchResultEntry
|
139
182
|
|
140
|
-
ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry
|
183
|
+
ChangeMessageVisibilityBatchResultEntryList.member = Shapes::ShapeRef.new(shape: ChangeMessageVisibilityBatchResultEntry)
|
141
184
|
|
142
185
|
ChangeMessageVisibilityRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
143
186
|
ChangeMessageVisibilityRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
144
|
-
ChangeMessageVisibilityRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape:
|
187
|
+
ChangeMessageVisibilityRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, required: true, location_name: "VisibilityTimeout"))
|
145
188
|
ChangeMessageVisibilityRequest.struct_class = Types::ChangeMessageVisibilityRequest
|
146
189
|
|
147
190
|
CreateQueueRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
|
148
|
-
CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "
|
191
|
+
CreateQueueRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attributes"))
|
192
|
+
CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
149
193
|
CreateQueueRequest.struct_class = Types::CreateQueueRequest
|
150
194
|
|
151
195
|
CreateQueueResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
|
@@ -159,7 +203,7 @@ module Aws::SQS
|
|
159
203
|
DeleteMessageBatchRequestEntry.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
160
204
|
DeleteMessageBatchRequestEntry.struct_class = Types::DeleteMessageBatchRequestEntry
|
161
205
|
|
162
|
-
DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry
|
206
|
+
DeleteMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchRequestEntry)
|
163
207
|
|
164
208
|
DeleteMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntryList, required: true, location_name: "Successful"))
|
165
209
|
DeleteMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
|
@@ -168,7 +212,7 @@ module Aws::SQS
|
|
168
212
|
DeleteMessageBatchResultEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
169
213
|
DeleteMessageBatchResultEntry.struct_class = Types::DeleteMessageBatchResultEntry
|
170
214
|
|
171
|
-
DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry
|
215
|
+
DeleteMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: DeleteMessageBatchResultEntry)
|
172
216
|
|
173
217
|
DeleteMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
174
218
|
DeleteMessageRequest.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReceiptHandle"))
|
@@ -177,11 +221,14 @@ module Aws::SQS
|
|
177
221
|
DeleteQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
178
222
|
DeleteQueueRequest.struct_class = Types::DeleteQueueRequest
|
179
223
|
|
224
|
+
EmptyBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
225
|
+
EmptyBatchRequest.struct_class = Types::EmptyBatchRequest
|
226
|
+
|
180
227
|
GetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
181
228
|
GetQueueAttributesRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
|
182
229
|
GetQueueAttributesRequest.struct_class = Types::GetQueueAttributesRequest
|
183
230
|
|
184
|
-
GetQueueAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "
|
231
|
+
GetQueueAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, location_name: "Attributes"))
|
185
232
|
GetQueueAttributesResult.struct_class = Types::GetQueueAttributesResult
|
186
233
|
|
187
234
|
GetQueueUrlRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueName"))
|
@@ -191,64 +238,164 @@ module Aws::SQS
|
|
191
238
|
GetQueueUrlResult.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, location_name: "QueueUrl"))
|
192
239
|
GetQueueUrlResult.struct_class = Types::GetQueueUrlResult
|
193
240
|
|
241
|
+
InvalidAddress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
242
|
+
InvalidAddress.struct_class = Types::InvalidAddress
|
243
|
+
|
244
|
+
InvalidAttributeName.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
245
|
+
InvalidAttributeName.struct_class = Types::InvalidAttributeName
|
246
|
+
|
247
|
+
InvalidAttributeValue.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
248
|
+
InvalidAttributeValue.struct_class = Types::InvalidAttributeValue
|
249
|
+
|
250
|
+
InvalidBatchEntryId.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
251
|
+
InvalidBatchEntryId.struct_class = Types::InvalidBatchEntryId
|
252
|
+
|
253
|
+
InvalidIdFormat.struct_class = Types::InvalidIdFormat
|
254
|
+
|
255
|
+
InvalidMessageContents.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
256
|
+
InvalidMessageContents.struct_class = Types::InvalidMessageContents
|
257
|
+
|
258
|
+
InvalidSecurity.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
259
|
+
InvalidSecurity.struct_class = Types::InvalidSecurity
|
260
|
+
|
261
|
+
KmsAccessDenied.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
262
|
+
KmsAccessDenied.struct_class = Types::KmsAccessDenied
|
263
|
+
|
264
|
+
KmsDisabled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
265
|
+
KmsDisabled.struct_class = Types::KmsDisabled
|
266
|
+
|
267
|
+
KmsInvalidKeyUsage.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
268
|
+
KmsInvalidKeyUsage.struct_class = Types::KmsInvalidKeyUsage
|
269
|
+
|
270
|
+
KmsInvalidState.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
271
|
+
KmsInvalidState.struct_class = Types::KmsInvalidState
|
272
|
+
|
273
|
+
KmsNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
274
|
+
KmsNotFound.struct_class = Types::KmsNotFound
|
275
|
+
|
276
|
+
KmsOptInRequired.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
277
|
+
KmsOptInRequired.struct_class = Types::KmsOptInRequired
|
278
|
+
|
279
|
+
KmsThrottled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
280
|
+
KmsThrottled.struct_class = Types::KmsThrottled
|
281
|
+
|
194
282
|
ListDeadLetterSourceQueuesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
283
|
+
ListDeadLetterSourceQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
284
|
+
ListDeadLetterSourceQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"))
|
195
285
|
ListDeadLetterSourceQueuesRequest.struct_class = Types::ListDeadLetterSourceQueuesRequest
|
196
286
|
|
197
287
|
ListDeadLetterSourceQueuesResult.add_member(:queue_urls, Shapes::ShapeRef.new(shape: QueueUrlList, required: true, location_name: "queueUrls"))
|
288
|
+
ListDeadLetterSourceQueuesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
198
289
|
ListDeadLetterSourceQueuesResult.struct_class = Types::ListDeadLetterSourceQueuesResult
|
199
290
|
|
291
|
+
ListMessageMoveTasksRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
|
292
|
+
ListMessageMoveTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxResults"))
|
293
|
+
ListMessageMoveTasksRequest.struct_class = Types::ListMessageMoveTasksRequest
|
294
|
+
|
295
|
+
ListMessageMoveTasksResult.add_member(:results, Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntryList, location_name: "Results", metadata: {"flattened"=>true}))
|
296
|
+
ListMessageMoveTasksResult.struct_class = Types::ListMessageMoveTasksResult
|
297
|
+
|
298
|
+
ListMessageMoveTasksResultEntry.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
|
299
|
+
ListMessageMoveTasksResultEntry.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
300
|
+
ListMessageMoveTasksResultEntry.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceArn"))
|
301
|
+
ListMessageMoveTasksResultEntry.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationArn"))
|
302
|
+
ListMessageMoveTasksResultEntry.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessagesPerSecond"))
|
303
|
+
ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_moved, Shapes::ShapeRef.new(shape: Long, location_name: "ApproximateNumberOfMessagesMoved"))
|
304
|
+
ListMessageMoveTasksResultEntry.add_member(:approximate_number_of_messages_to_move, Shapes::ShapeRef.new(shape: NullableLong, location_name: "ApproximateNumberOfMessagesToMove"))
|
305
|
+
ListMessageMoveTasksResultEntry.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "FailureReason"))
|
306
|
+
ListMessageMoveTasksResultEntry.add_member(:started_timestamp, Shapes::ShapeRef.new(shape: Long, location_name: "StartedTimestamp"))
|
307
|
+
ListMessageMoveTasksResultEntry.struct_class = Types::ListMessageMoveTasksResultEntry
|
308
|
+
|
309
|
+
ListMessageMoveTasksResultEntryList.member = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResultEntry)
|
310
|
+
|
200
311
|
ListQueueTagsRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
201
312
|
ListQueueTagsRequest.struct_class = Types::ListQueueTagsRequest
|
202
313
|
|
203
|
-
ListQueueTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "
|
314
|
+
ListQueueTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
204
315
|
ListQueueTagsResult.struct_class = Types::ListQueueTagsResult
|
205
316
|
|
206
317
|
ListQueuesRequest.add_member(:queue_name_prefix, Shapes::ShapeRef.new(shape: String, location_name: "QueueNamePrefix"))
|
318
|
+
ListQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
319
|
+
ListQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"))
|
207
320
|
ListQueuesRequest.struct_class = Types::ListQueuesRequest
|
208
321
|
|
209
322
|
ListQueuesResult.add_member(:queue_urls, Shapes::ShapeRef.new(shape: QueueUrlList, location_name: "QueueUrls"))
|
323
|
+
ListQueuesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
210
324
|
ListQueuesResult.struct_class = Types::ListQueuesResult
|
211
325
|
|
212
326
|
Message.add_member(:message_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageId"))
|
213
327
|
Message.add_member(:receipt_handle, Shapes::ShapeRef.new(shape: String, location_name: "ReceiptHandle"))
|
214
328
|
Message.add_member(:md5_of_body, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfBody"))
|
215
329
|
Message.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "Body"))
|
216
|
-
Message.add_member(:attributes, Shapes::ShapeRef.new(shape: MessageSystemAttributeMap, location_name: "
|
330
|
+
Message.add_member(:attributes, Shapes::ShapeRef.new(shape: MessageSystemAttributeMap, location_name: "Attributes"))
|
217
331
|
Message.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
|
218
|
-
Message.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "
|
332
|
+
Message.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
|
219
333
|
Message.struct_class = Types::Message
|
220
334
|
|
221
|
-
MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName
|
335
|
+
MessageAttributeNameList.member = Shapes::ShapeRef.new(shape: MessageAttributeName)
|
222
336
|
|
223
337
|
MessageAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
|
224
338
|
MessageAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
|
225
|
-
MessageAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "
|
226
|
-
MessageAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "
|
339
|
+
MessageAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValues"))
|
340
|
+
MessageAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValues"))
|
227
341
|
MessageAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
|
228
342
|
MessageAttributeValue.struct_class = Types::MessageAttributeValue
|
229
343
|
|
230
|
-
MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String
|
231
|
-
MessageBodyAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue
|
344
|
+
MessageBodyAttributeMap.key = Shapes::ShapeRef.new(shape: String)
|
345
|
+
MessageBodyAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue)
|
346
|
+
|
347
|
+
MessageBodySystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeNameForSends)
|
348
|
+
MessageBodySystemAttributeMap.value = Shapes::ShapeRef.new(shape: MessageSystemAttributeValue)
|
349
|
+
|
350
|
+
MessageList.member = Shapes::ShapeRef.new(shape: Message)
|
351
|
+
|
352
|
+
MessageNotInflight.struct_class = Types::MessageNotInflight
|
353
|
+
|
354
|
+
MessageSystemAttributeList.member = Shapes::ShapeRef.new(shape: MessageSystemAttributeName)
|
355
|
+
|
356
|
+
MessageSystemAttributeMap.key = Shapes::ShapeRef.new(shape: MessageSystemAttributeName)
|
357
|
+
MessageSystemAttributeMap.value = Shapes::ShapeRef.new(shape: String)
|
232
358
|
|
233
|
-
|
359
|
+
MessageSystemAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
|
360
|
+
MessageSystemAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
|
361
|
+
MessageSystemAttributeValue.add_member(:string_list_values, Shapes::ShapeRef.new(shape: StringList, location_name: "StringListValues", metadata: {"flattened"=>true}))
|
362
|
+
MessageSystemAttributeValue.add_member(:binary_list_values, Shapes::ShapeRef.new(shape: BinaryList, location_name: "BinaryListValues", metadata: {"flattened"=>true}))
|
363
|
+
MessageSystemAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
|
364
|
+
MessageSystemAttributeValue.struct_class = Types::MessageSystemAttributeValue
|
234
365
|
|
235
|
-
|
236
|
-
|
366
|
+
OverLimit.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
367
|
+
OverLimit.struct_class = Types::OverLimit
|
368
|
+
|
369
|
+
PurgeQueueInProgress.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
370
|
+
PurgeQueueInProgress.struct_class = Types::PurgeQueueInProgress
|
237
371
|
|
238
372
|
PurgeQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
239
373
|
PurgeQueueRequest.struct_class = Types::PurgeQueueRequest
|
240
374
|
|
241
|
-
QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName
|
242
|
-
QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String
|
375
|
+
QueueAttributeMap.key = Shapes::ShapeRef.new(shape: QueueAttributeName)
|
376
|
+
QueueAttributeMap.value = Shapes::ShapeRef.new(shape: String)
|
377
|
+
|
378
|
+
QueueDeletedRecently.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
379
|
+
QueueDeletedRecently.struct_class = Types::QueueDeletedRecently
|
380
|
+
|
381
|
+
QueueDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
382
|
+
QueueDoesNotExist.struct_class = Types::QueueDoesNotExist
|
383
|
+
|
384
|
+
QueueNameExists.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
385
|
+
QueueNameExists.struct_class = Types::QueueNameExists
|
386
|
+
|
387
|
+
QueueUrlList.member = Shapes::ShapeRef.new(shape: String)
|
243
388
|
|
244
|
-
|
389
|
+
ReceiptHandleIsInvalid.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
390
|
+
ReceiptHandleIsInvalid.struct_class = Types::ReceiptHandleIsInvalid
|
245
391
|
|
246
392
|
ReceiveMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
247
|
-
ReceiveMessageRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
|
393
|
+
ReceiveMessageRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, deprecated: true, location_name: "AttributeNames", metadata: {"deprecatedMessage"=>"AttributeNames has been replaced by MessageSystemAttributeNames"}))
|
394
|
+
ReceiveMessageRequest.add_member(:message_system_attribute_names, Shapes::ShapeRef.new(shape: MessageSystemAttributeList, location_name: "MessageSystemAttributeNames"))
|
248
395
|
ReceiveMessageRequest.add_member(:message_attribute_names, Shapes::ShapeRef.new(shape: MessageAttributeNameList, location_name: "MessageAttributeNames"))
|
249
|
-
ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape:
|
250
|
-
ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape:
|
251
|
-
ReceiveMessageRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape:
|
396
|
+
ReceiveMessageRequest.add_member(:max_number_of_messages, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessages"))
|
397
|
+
ReceiveMessageRequest.add_member(:visibility_timeout, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "VisibilityTimeout"))
|
398
|
+
ReceiveMessageRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "WaitTimeSeconds"))
|
252
399
|
ReceiveMessageRequest.add_member(:receive_request_attempt_id, Shapes::ShapeRef.new(shape: String, location_name: "ReceiveRequestAttemptId"))
|
253
400
|
ReceiveMessageRequest.struct_class = Types::ReceiveMessageRequest
|
254
401
|
|
@@ -259,19 +406,26 @@ module Aws::SQS
|
|
259
406
|
RemovePermissionRequest.add_member(:label, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Label"))
|
260
407
|
RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
|
261
408
|
|
409
|
+
RequestThrottled.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
410
|
+
RequestThrottled.struct_class = Types::RequestThrottled
|
411
|
+
|
412
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
413
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
414
|
+
|
262
415
|
SendMessageBatchRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
263
416
|
SendMessageBatchRequest.add_member(:entries, Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntryList, required: true, location_name: "Entries"))
|
264
417
|
SendMessageBatchRequest.struct_class = Types::SendMessageBatchRequest
|
265
418
|
|
266
419
|
SendMessageBatchRequestEntry.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
267
420
|
SendMessageBatchRequestEntry.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
|
268
|
-
SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape:
|
269
|
-
SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "
|
421
|
+
SendMessageBatchRequestEntry.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "DelaySeconds"))
|
422
|
+
SendMessageBatchRequestEntry.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
|
423
|
+
SendMessageBatchRequestEntry.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttributes"))
|
270
424
|
SendMessageBatchRequestEntry.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
|
271
425
|
SendMessageBatchRequestEntry.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
|
272
426
|
SendMessageBatchRequestEntry.struct_class = Types::SendMessageBatchRequestEntry
|
273
427
|
|
274
|
-
SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry
|
428
|
+
SendMessageBatchRequestEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchRequestEntry)
|
275
429
|
|
276
430
|
SendMessageBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: SendMessageBatchResultEntryList, required: true, location_name: "Successful"))
|
277
431
|
SendMessageBatchResult.add_member(:failed, Shapes::ShapeRef.new(shape: BatchResultErrorEntryList, required: true, location_name: "Failed"))
|
@@ -281,40 +435,57 @@ module Aws::SQS
|
|
281
435
|
SendMessageBatchResultEntry.add_member(:message_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageId"))
|
282
436
|
SendMessageBatchResultEntry.add_member(:md5_of_message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MD5OfMessageBody"))
|
283
437
|
SendMessageBatchResultEntry.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
|
438
|
+
SendMessageBatchResultEntry.add_member(:md5_of_message_system_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageSystemAttributes"))
|
284
439
|
SendMessageBatchResultEntry.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
|
285
440
|
SendMessageBatchResultEntry.struct_class = Types::SendMessageBatchResultEntry
|
286
441
|
|
287
|
-
SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry
|
442
|
+
SendMessageBatchResultEntryList.member = Shapes::ShapeRef.new(shape: SendMessageBatchResultEntry)
|
288
443
|
|
289
444
|
SendMessageRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
290
445
|
SendMessageRequest.add_member(:message_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageBody"))
|
291
|
-
SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape:
|
292
|
-
SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "
|
446
|
+
SendMessageRequest.add_member(:delay_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "DelaySeconds"))
|
447
|
+
SendMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageBodyAttributeMap, location_name: "MessageAttributes"))
|
448
|
+
SendMessageRequest.add_member(:message_system_attributes, Shapes::ShapeRef.new(shape: MessageBodySystemAttributeMap, location_name: "MessageSystemAttributes"))
|
293
449
|
SendMessageRequest.add_member(:message_deduplication_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageDeduplicationId"))
|
294
450
|
SendMessageRequest.add_member(:message_group_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageGroupId"))
|
295
451
|
SendMessageRequest.struct_class = Types::SendMessageRequest
|
296
452
|
|
297
453
|
SendMessageResult.add_member(:md5_of_message_body, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageBody"))
|
298
454
|
SendMessageResult.add_member(:md5_of_message_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageAttributes"))
|
455
|
+
SendMessageResult.add_member(:md5_of_message_system_attributes, Shapes::ShapeRef.new(shape: String, location_name: "MD5OfMessageSystemAttributes"))
|
299
456
|
SendMessageResult.add_member(:message_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageId"))
|
300
457
|
SendMessageResult.add_member(:sequence_number, Shapes::ShapeRef.new(shape: String, location_name: "SequenceNumber"))
|
301
458
|
SendMessageResult.struct_class = Types::SendMessageResult
|
302
459
|
|
303
460
|
SetQueueAttributesRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
304
|
-
SetQueueAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, required: true, location_name: "
|
461
|
+
SetQueueAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: QueueAttributeMap, required: true, location_name: "Attributes"))
|
305
462
|
SetQueueAttributesRequest.struct_class = Types::SetQueueAttributesRequest
|
306
463
|
|
307
|
-
|
464
|
+
StartMessageMoveTaskRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
|
465
|
+
StartMessageMoveTaskRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationArn"))
|
466
|
+
StartMessageMoveTaskRequest.add_member(:max_number_of_messages_per_second, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxNumberOfMessagesPerSecond"))
|
467
|
+
StartMessageMoveTaskRequest.struct_class = Types::StartMessageMoveTaskRequest
|
468
|
+
|
469
|
+
StartMessageMoveTaskResult.add_member(:task_handle, Shapes::ShapeRef.new(shape: String, location_name: "TaskHandle"))
|
470
|
+
StartMessageMoveTaskResult.struct_class = Types::StartMessageMoveTaskResult
|
308
471
|
|
309
|
-
|
472
|
+
StringList.member = Shapes::ShapeRef.new(shape: String)
|
310
473
|
|
311
|
-
|
312
|
-
|
474
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
475
|
+
|
476
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
477
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
313
478
|
|
314
479
|
TagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
315
480
|
TagQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
316
481
|
TagQueueRequest.struct_class = Types::TagQueueRequest
|
317
482
|
|
483
|
+
TooManyEntriesInBatchRequest.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
484
|
+
TooManyEntriesInBatchRequest.struct_class = Types::TooManyEntriesInBatchRequest
|
485
|
+
|
486
|
+
UnsupportedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
487
|
+
UnsupportedOperation.struct_class = Types::UnsupportedOperation
|
488
|
+
|
318
489
|
UntagQueueRequest.add_member(:queue_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueueUrl"))
|
319
490
|
UntagQueueRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
320
491
|
UntagQueueRequest.struct_class = Types::UntagQueueRequest
|
@@ -327,14 +498,19 @@ module Aws::SQS
|
|
327
498
|
|
328
499
|
api.metadata = {
|
329
500
|
"apiVersion" => "2012-11-05",
|
501
|
+
"auth" => ["aws.auth#sigv4"],
|
502
|
+
"awsQueryCompatible" => {},
|
330
503
|
"endpointPrefix" => "sqs",
|
331
504
|
"errorPrefix" => "AWS.SimpleQueueService.",
|
332
|
-
"
|
505
|
+
"jsonVersion" => "1.0",
|
506
|
+
"protocol" => "json",
|
507
|
+
"protocols" => ["json"],
|
333
508
|
"serviceAbbreviation" => "Amazon SQS",
|
334
509
|
"serviceFullName" => "Amazon Simple Queue Service",
|
510
|
+
"serviceId" => "SQS",
|
335
511
|
"signatureVersion" => "v4",
|
512
|
+
"targetPrefix" => "AmazonSQS",
|
336
513
|
"uid" => "sqs-2012-11-05",
|
337
|
-
"xmlNamespace" => "http://queue.amazonaws.com/doc/2012-11-05/",
|
338
514
|
}
|
339
515
|
|
340
516
|
api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
|
@@ -344,6 +520,24 @@ module Aws::SQS
|
|
344
520
|
o.input = Shapes::ShapeRef.new(shape: AddPermissionRequest)
|
345
521
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
346
522
|
o.errors << Shapes::ShapeRef.new(shape: OverLimit)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
528
|
+
end)
|
529
|
+
|
530
|
+
api.add_operation(:cancel_message_move_task, Seahorse::Model::Operation.new.tap do |o|
|
531
|
+
o.name = "CancelMessageMoveTask"
|
532
|
+
o.http_method = "POST"
|
533
|
+
o.http_request_uri = "/"
|
534
|
+
o.input = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskRequest)
|
535
|
+
o.output = Shapes::ShapeRef.new(shape: CancelMessageMoveTaskResult)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
347
541
|
end)
|
348
542
|
|
349
543
|
api.add_operation(:change_message_visibility, Seahorse::Model::Operation.new.tap do |o|
|
@@ -354,6 +548,11 @@ module Aws::SQS
|
|
354
548
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
355
549
|
o.errors << Shapes::ShapeRef.new(shape: MessageNotInflight)
|
356
550
|
o.errors << Shapes::ShapeRef.new(shape: ReceiptHandleIsInvalid)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
555
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
357
556
|
end)
|
358
557
|
|
359
558
|
api.add_operation(:change_message_visibility_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -366,6 +565,11 @@ module Aws::SQS
|
|
366
565
|
o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
|
367
566
|
o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
|
368
567
|
o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
|
568
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
569
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
570
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
571
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
572
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
369
573
|
end)
|
370
574
|
|
371
575
|
api.add_operation(:create_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -376,6 +580,12 @@ module Aws::SQS
|
|
376
580
|
o.output = Shapes::ShapeRef.new(shape: CreateQueueResult)
|
377
581
|
o.errors << Shapes::ShapeRef.new(shape: QueueDeletedRecently)
|
378
582
|
o.errors << Shapes::ShapeRef.new(shape: QueueNameExists)
|
583
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
584
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
585
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeValue)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
379
589
|
end)
|
380
590
|
|
381
591
|
api.add_operation(:delete_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -386,6 +596,11 @@ module Aws::SQS
|
|
386
596
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
387
597
|
o.errors << Shapes::ShapeRef.new(shape: InvalidIdFormat)
|
388
598
|
o.errors << Shapes::ShapeRef.new(shape: ReceiptHandleIsInvalid)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
389
604
|
end)
|
390
605
|
|
391
606
|
api.add_operation(:delete_message_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -398,6 +613,11 @@ module Aws::SQS
|
|
398
613
|
o.errors << Shapes::ShapeRef.new(shape: EmptyBatchRequest)
|
399
614
|
o.errors << Shapes::ShapeRef.new(shape: BatchEntryIdsNotDistinct)
|
400
615
|
o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
401
621
|
end)
|
402
622
|
|
403
623
|
api.add_operation(:delete_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -406,6 +626,11 @@ module Aws::SQS
|
|
406
626
|
o.http_request_uri = "/"
|
407
627
|
o.input = Shapes::ShapeRef.new(shape: DeleteQueueRequest)
|
408
628
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
409
634
|
end)
|
410
635
|
|
411
636
|
api.add_operation(:get_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -415,6 +640,11 @@ module Aws::SQS
|
|
415
640
|
o.input = Shapes::ShapeRef.new(shape: GetQueueAttributesRequest)
|
416
641
|
o.output = Shapes::ShapeRef.new(shape: GetQueueAttributesResult)
|
417
642
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
418
648
|
end)
|
419
649
|
|
420
650
|
api.add_operation(:get_queue_url, Seahorse::Model::Operation.new.tap do |o|
|
@@ -423,7 +653,11 @@ module Aws::SQS
|
|
423
653
|
o.http_request_uri = "/"
|
424
654
|
o.input = Shapes::ShapeRef.new(shape: GetQueueUrlRequest)
|
425
655
|
o.output = Shapes::ShapeRef.new(shape: GetQueueUrlResult)
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
426
657
|
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
660
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
427
661
|
end)
|
428
662
|
|
429
663
|
api.add_operation(:list_dead_letter_source_queues, Seahorse::Model::Operation.new.tap do |o|
|
@@ -433,6 +667,29 @@ module Aws::SQS
|
|
433
667
|
o.input = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesRequest)
|
434
668
|
o.output = Shapes::ShapeRef.new(shape: ListDeadLetterSourceQueuesResult)
|
435
669
|
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
674
|
+
o[:pager] = Aws::Pager.new(
|
675
|
+
limit_key: "max_results",
|
676
|
+
tokens: {
|
677
|
+
"next_token" => "next_token"
|
678
|
+
}
|
679
|
+
)
|
680
|
+
end)
|
681
|
+
|
682
|
+
api.add_operation(:list_message_move_tasks, Seahorse::Model::Operation.new.tap do |o|
|
683
|
+
o.name = "ListMessageMoveTasks"
|
684
|
+
o.http_method = "POST"
|
685
|
+
o.http_request_uri = "/"
|
686
|
+
o.input = Shapes::ShapeRef.new(shape: ListMessageMoveTasksRequest)
|
687
|
+
o.output = Shapes::ShapeRef.new(shape: ListMessageMoveTasksResult)
|
688
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
689
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
436
693
|
end)
|
437
694
|
|
438
695
|
api.add_operation(:list_queue_tags, Seahorse::Model::Operation.new.tap do |o|
|
@@ -441,6 +698,11 @@ module Aws::SQS
|
|
441
698
|
o.http_request_uri = "/"
|
442
699
|
o.input = Shapes::ShapeRef.new(shape: ListQueueTagsRequest)
|
443
700
|
o.output = Shapes::ShapeRef.new(shape: ListQueueTagsResult)
|
701
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
702
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
444
706
|
end)
|
445
707
|
|
446
708
|
api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
|
@@ -449,6 +711,16 @@ module Aws::SQS
|
|
449
711
|
o.http_request_uri = "/"
|
450
712
|
o.input = Shapes::ShapeRef.new(shape: ListQueuesRequest)
|
451
713
|
o.output = Shapes::ShapeRef.new(shape: ListQueuesResult)
|
714
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
715
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
718
|
+
o[:pager] = Aws::Pager.new(
|
719
|
+
limit_key: "max_results",
|
720
|
+
tokens: {
|
721
|
+
"next_token" => "next_token"
|
722
|
+
}
|
723
|
+
)
|
452
724
|
end)
|
453
725
|
|
454
726
|
api.add_operation(:purge_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -459,6 +731,10 @@ module Aws::SQS
|
|
459
731
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
460
732
|
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
461
733
|
o.errors << Shapes::ShapeRef.new(shape: PurgeQueueInProgress)
|
734
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
735
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
737
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
462
738
|
end)
|
463
739
|
|
464
740
|
api.add_operation(:receive_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -467,7 +743,19 @@ module Aws::SQS
|
|
467
743
|
o.http_request_uri = "/"
|
468
744
|
o.input = Shapes::ShapeRef.new(shape: ReceiveMessageRequest)
|
469
745
|
o.output = Shapes::ShapeRef.new(shape: ReceiveMessageResult)
|
746
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
470
747
|
o.errors << Shapes::ShapeRef.new(shape: OverLimit)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
749
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
750
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
|
757
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
|
758
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
471
759
|
end)
|
472
760
|
|
473
761
|
api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
|
@@ -476,6 +764,11 @@ module Aws::SQS
|
|
476
764
|
o.http_request_uri = "/"
|
477
765
|
o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
|
478
766
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
767
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
768
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
769
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
770
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
771
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
479
772
|
end)
|
480
773
|
|
481
774
|
api.add_operation(:send_message, Seahorse::Model::Operation.new.tap do |o|
|
@@ -486,6 +779,17 @@ module Aws::SQS
|
|
486
779
|
o.output = Shapes::ShapeRef.new(shape: SendMessageResult)
|
487
780
|
o.errors << Shapes::ShapeRef.new(shape: InvalidMessageContents)
|
488
781
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
782
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
783
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
|
788
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
|
789
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
|
790
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
|
791
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
|
792
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
489
793
|
end)
|
490
794
|
|
491
795
|
api.add_operation(:send_message_batch, Seahorse::Model::Operation.new.tap do |o|
|
@@ -500,6 +804,17 @@ module Aws::SQS
|
|
500
804
|
o.errors << Shapes::ShapeRef.new(shape: BatchRequestTooLong)
|
501
805
|
o.errors << Shapes::ShapeRef.new(shape: InvalidBatchEntryId)
|
502
806
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
808
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
809
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
810
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabled)
|
811
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidState)
|
812
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFound)
|
813
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsOptInRequired)
|
814
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsThrottled)
|
815
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsAccessDenied)
|
816
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsage)
|
817
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
503
818
|
end)
|
504
819
|
|
505
820
|
api.add_operation(:set_queue_attributes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -509,6 +824,26 @@ module Aws::SQS
|
|
509
824
|
o.input = Shapes::ShapeRef.new(shape: SetQueueAttributesRequest)
|
510
825
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
511
826
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeName)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAttributeValue)
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
829
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
830
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
831
|
+
o.errors << Shapes::ShapeRef.new(shape: OverLimit)
|
832
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
833
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
834
|
+
end)
|
835
|
+
|
836
|
+
api.add_operation(:start_message_move_task, Seahorse::Model::Operation.new.tap do |o|
|
837
|
+
o.name = "StartMessageMoveTask"
|
838
|
+
o.http_method = "POST"
|
839
|
+
o.http_request_uri = "/"
|
840
|
+
o.input = Shapes::ShapeRef.new(shape: StartMessageMoveTaskRequest)
|
841
|
+
o.output = Shapes::ShapeRef.new(shape: StartMessageMoveTaskResult)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
843
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
844
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
845
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
846
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
512
847
|
end)
|
513
848
|
|
514
849
|
api.add_operation(:tag_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -517,6 +852,11 @@ module Aws::SQS
|
|
517
852
|
o.http_request_uri = "/"
|
518
853
|
o.input = Shapes::ShapeRef.new(shape: TagQueueRequest)
|
519
854
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
857
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
858
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
859
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
520
860
|
end)
|
521
861
|
|
522
862
|
api.add_operation(:untag_queue, Seahorse::Model::Operation.new.tap do |o|
|
@@ -525,6 +865,11 @@ module Aws::SQS
|
|
525
865
|
o.http_request_uri = "/"
|
526
866
|
o.input = Shapes::ShapeRef.new(shape: UntagQueueRequest)
|
527
867
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
868
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddress)
|
869
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestThrottled)
|
870
|
+
o.errors << Shapes::ShapeRef.new(shape: QueueDoesNotExist)
|
871
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSecurity)
|
872
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
528
873
|
end)
|
529
874
|
end
|
530
875
|
|