aws-sdk-connect 1.35.0 → 1.36.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,11 +18,23 @@ module Aws::Connect
18
18
  AgentFirstName = Shapes::StringShape.new(name: 'AgentFirstName')
19
19
  AgentLastName = Shapes::StringShape.new(name: 'AgentLastName')
20
20
  AgentUsername = Shapes::StringShape.new(name: 'AgentUsername')
21
+ AssociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'AssociateApprovedOriginRequest')
22
+ AssociateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'AssociateInstanceStorageConfigRequest')
23
+ AssociateInstanceStorageConfigResponse = Shapes::StructureShape.new(name: 'AssociateInstanceStorageConfigResponse')
24
+ AssociateLambdaFunctionRequest = Shapes::StructureShape.new(name: 'AssociateLambdaFunctionRequest')
25
+ AssociateLexBotRequest = Shapes::StructureShape.new(name: 'AssociateLexBotRequest')
21
26
  AssociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'AssociateRoutingProfileQueuesRequest')
27
+ AssociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'AssociateSecurityKeyRequest')
28
+ AssociateSecurityKeyResponse = Shapes::StructureShape.new(name: 'AssociateSecurityKeyResponse')
29
+ AssociationId = Shapes::StringShape.new(name: 'AssociationId')
30
+ Attribute = Shapes::StructureShape.new(name: 'Attribute')
22
31
  AttributeName = Shapes::StringShape.new(name: 'AttributeName')
23
32
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
24
33
  Attributes = Shapes::MapShape.new(name: 'Attributes')
34
+ AttributesList = Shapes::ListShape.new(name: 'AttributesList')
25
35
  AutoAccept = Shapes::BooleanShape.new(name: 'AutoAccept')
36
+ BotName = Shapes::StringShape.new(name: 'BotName')
37
+ BucketName = Shapes::StringShape.new(name: 'BucketName')
26
38
  Channel = Shapes::StringShape.new(name: 'Channel')
27
39
  Channels = Shapes::ListShape.new(name: 'Channels')
28
40
  ChatContent = Shapes::StringShape.new(name: 'ChatContent')
@@ -45,6 +57,8 @@ module Aws::Connect
45
57
  ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
46
58
  CreateContactFlowRequest = Shapes::StructureShape.new(name: 'CreateContactFlowRequest')
47
59
  CreateContactFlowResponse = Shapes::StructureShape.new(name: 'CreateContactFlowResponse')
60
+ CreateInstanceRequest = Shapes::StructureShape.new(name: 'CreateInstanceRequest')
61
+ CreateInstanceResponse = Shapes::StructureShape.new(name: 'CreateInstanceResponse')
48
62
  CreateRoutingProfileRequest = Shapes::StructureShape.new(name: 'CreateRoutingProfileRequest')
49
63
  CreateRoutingProfileResponse = Shapes::StructureShape.new(name: 'CreateRoutingProfileResponse')
50
64
  CreateUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupRequest')
@@ -60,10 +74,17 @@ module Aws::Connect
60
74
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
61
75
  CurrentMetrics = Shapes::ListShape.new(name: 'CurrentMetrics')
62
76
  Delay = Shapes::IntegerShape.new(name: 'Delay')
77
+ DeleteInstanceRequest = Shapes::StructureShape.new(name: 'DeleteInstanceRequest')
63
78
  DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
64
79
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
65
80
  DescribeContactFlowRequest = Shapes::StructureShape.new(name: 'DescribeContactFlowRequest')
66
81
  DescribeContactFlowResponse = Shapes::StructureShape.new(name: 'DescribeContactFlowResponse')
82
+ DescribeInstanceAttributeRequest = Shapes::StructureShape.new(name: 'DescribeInstanceAttributeRequest')
83
+ DescribeInstanceAttributeResponse = Shapes::StructureShape.new(name: 'DescribeInstanceAttributeResponse')
84
+ DescribeInstanceRequest = Shapes::StructureShape.new(name: 'DescribeInstanceRequest')
85
+ DescribeInstanceResponse = Shapes::StructureShape.new(name: 'DescribeInstanceResponse')
86
+ DescribeInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'DescribeInstanceStorageConfigRequest')
87
+ DescribeInstanceStorageConfigResponse = Shapes::StructureShape.new(name: 'DescribeInstanceStorageConfigResponse')
67
88
  DescribeRoutingProfileRequest = Shapes::StructureShape.new(name: 'DescribeRoutingProfileRequest')
68
89
  DescribeRoutingProfileResponse = Shapes::StructureShape.new(name: 'DescribeRoutingProfileResponse')
69
90
  DescribeUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupRequest')
@@ -74,12 +95,24 @@ module Aws::Connect
74
95
  DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
75
96
  DestinationNotAllowedException = Shapes::StructureShape.new(name: 'DestinationNotAllowedException')
76
97
  Dimensions = Shapes::StructureShape.new(name: 'Dimensions')
98
+ DirectoryAlias = Shapes::StringShape.new(name: 'DirectoryAlias')
99
+ DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
100
+ DirectoryType = Shapes::StringShape.new(name: 'DirectoryType')
77
101
  DirectoryUserId = Shapes::StringShape.new(name: 'DirectoryUserId')
102
+ DisassociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'DisassociateApprovedOriginRequest')
103
+ DisassociateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'DisassociateInstanceStorageConfigRequest')
104
+ DisassociateLambdaFunctionRequest = Shapes::StructureShape.new(name: 'DisassociateLambdaFunctionRequest')
105
+ DisassociateLexBotRequest = Shapes::StructureShape.new(name: 'DisassociateLexBotRequest')
78
106
  DisassociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'DisassociateRoutingProfileQueuesRequest')
107
+ DisassociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'DisassociateSecurityKeyRequest')
79
108
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
80
109
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
81
110
  Email = Shapes::StringShape.new(name: 'Email')
111
+ EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
112
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
82
113
  Filters = Shapes::StructureShape.new(name: 'Filters')
114
+ FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
115
+ FunctionArnsList = Shapes::ListShape.new(name: 'FunctionArnsList')
83
116
  GetContactAttributesRequest = Shapes::StructureShape.new(name: 'GetContactAttributesRequest')
84
117
  GetContactAttributesResponse = Shapes::StructureShape.new(name: 'GetContactAttributesResponse')
85
118
  GetCurrentMetricDataRequest = Shapes::StructureShape.new(name: 'GetCurrentMetricDataRequest')
@@ -109,20 +142,51 @@ module Aws::Connect
109
142
  HistoricalMetricResult = Shapes::StructureShape.new(name: 'HistoricalMetricResult')
110
143
  HistoricalMetricResults = Shapes::ListShape.new(name: 'HistoricalMetricResults')
111
144
  HistoricalMetrics = Shapes::ListShape.new(name: 'HistoricalMetrics')
145
+ Hours = Shapes::IntegerShape.new(name: 'Hours')
112
146
  HoursOfOperationId = Shapes::StringShape.new(name: 'HoursOfOperationId')
113
147
  HoursOfOperationName = Shapes::StringShape.new(name: 'HoursOfOperationName')
114
148
  HoursOfOperationSummary = Shapes::StructureShape.new(name: 'HoursOfOperationSummary')
115
149
  HoursOfOperationSummaryList = Shapes::ListShape.new(name: 'HoursOfOperationSummaryList')
150
+ InboundCallsEnabled = Shapes::BooleanShape.new(name: 'InboundCallsEnabled')
151
+ Instance = Shapes::StructureShape.new(name: 'Instance')
152
+ InstanceAttributeType = Shapes::StringShape.new(name: 'InstanceAttributeType')
153
+ InstanceAttributeValue = Shapes::StringShape.new(name: 'InstanceAttributeValue')
116
154
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
155
+ InstanceStatus = Shapes::StringShape.new(name: 'InstanceStatus')
156
+ InstanceStatusReason = Shapes::StructureShape.new(name: 'InstanceStatusReason')
157
+ InstanceStorageConfig = Shapes::StructureShape.new(name: 'InstanceStorageConfig')
158
+ InstanceStorageConfigs = Shapes::ListShape.new(name: 'InstanceStorageConfigs')
159
+ InstanceStorageResourceType = Shapes::StringShape.new(name: 'InstanceStorageResourceType')
160
+ InstanceSummary = Shapes::StructureShape.new(name: 'InstanceSummary')
161
+ InstanceSummaryList = Shapes::ListShape.new(name: 'InstanceSummaryList')
117
162
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
118
163
  InvalidContactFlowException = Shapes::StructureShape.new(name: 'InvalidContactFlowException')
119
164
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
120
165
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
166
+ KeyId = Shapes::StringShape.new(name: 'KeyId')
167
+ KinesisFirehoseConfig = Shapes::StructureShape.new(name: 'KinesisFirehoseConfig')
168
+ KinesisStreamConfig = Shapes::StructureShape.new(name: 'KinesisStreamConfig')
169
+ KinesisVideoStreamConfig = Shapes::StructureShape.new(name: 'KinesisVideoStreamConfig')
170
+ LexBot = Shapes::StructureShape.new(name: 'LexBot')
171
+ LexBotsList = Shapes::ListShape.new(name: 'LexBotsList')
172
+ LexRegion = Shapes::StringShape.new(name: 'LexRegion')
121
173
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
174
+ ListApprovedOriginsRequest = Shapes::StructureShape.new(name: 'ListApprovedOriginsRequest')
175
+ ListApprovedOriginsResponse = Shapes::StructureShape.new(name: 'ListApprovedOriginsResponse')
122
176
  ListContactFlowsRequest = Shapes::StructureShape.new(name: 'ListContactFlowsRequest')
123
177
  ListContactFlowsResponse = Shapes::StructureShape.new(name: 'ListContactFlowsResponse')
124
178
  ListHoursOfOperationsRequest = Shapes::StructureShape.new(name: 'ListHoursOfOperationsRequest')
125
179
  ListHoursOfOperationsResponse = Shapes::StructureShape.new(name: 'ListHoursOfOperationsResponse')
180
+ ListInstanceAttributesRequest = Shapes::StructureShape.new(name: 'ListInstanceAttributesRequest')
181
+ ListInstanceAttributesResponse = Shapes::StructureShape.new(name: 'ListInstanceAttributesResponse')
182
+ ListInstanceStorageConfigsRequest = Shapes::StructureShape.new(name: 'ListInstanceStorageConfigsRequest')
183
+ ListInstanceStorageConfigsResponse = Shapes::StructureShape.new(name: 'ListInstanceStorageConfigsResponse')
184
+ ListInstancesRequest = Shapes::StructureShape.new(name: 'ListInstancesRequest')
185
+ ListInstancesResponse = Shapes::StructureShape.new(name: 'ListInstancesResponse')
186
+ ListLambdaFunctionsRequest = Shapes::StructureShape.new(name: 'ListLambdaFunctionsRequest')
187
+ ListLambdaFunctionsResponse = Shapes::StructureShape.new(name: 'ListLambdaFunctionsResponse')
188
+ ListLexBotsRequest = Shapes::StructureShape.new(name: 'ListLexBotsRequest')
189
+ ListLexBotsResponse = Shapes::StructureShape.new(name: 'ListLexBotsResponse')
126
190
  ListPhoneNumbersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumbersRequest')
127
191
  ListPhoneNumbersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumbersResponse')
128
192
  ListPromptsRequest = Shapes::StructureShape.new(name: 'ListPromptsRequest')
@@ -133,6 +197,8 @@ module Aws::Connect
133
197
  ListRoutingProfileQueuesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfileQueuesResponse')
134
198
  ListRoutingProfilesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfilesRequest')
135
199
  ListRoutingProfilesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfilesResponse')
200
+ ListSecurityKeysRequest = Shapes::StructureShape.new(name: 'ListSecurityKeysRequest')
201
+ ListSecurityKeysResponse = Shapes::StructureShape.new(name: 'ListSecurityKeysResponse')
136
202
  ListSecurityProfilesRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesRequest')
137
203
  ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
138
204
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -141,13 +207,21 @@ module Aws::Connect
141
207
  ListUserHierarchyGroupsResponse = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsResponse')
142
208
  ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
143
209
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
210
+ MaxResult10 = Shapes::IntegerShape.new(name: 'MaxResult10')
144
211
  MaxResult100 = Shapes::IntegerShape.new(name: 'MaxResult100')
145
212
  MaxResult1000 = Shapes::IntegerShape.new(name: 'MaxResult1000')
213
+ MaxResult2 = Shapes::IntegerShape.new(name: 'MaxResult2')
214
+ MaxResult25 = Shapes::IntegerShape.new(name: 'MaxResult25')
215
+ MaxResult7 = Shapes::IntegerShape.new(name: 'MaxResult7')
146
216
  MediaConcurrencies = Shapes::ListShape.new(name: 'MediaConcurrencies')
147
217
  MediaConcurrency = Shapes::StructureShape.new(name: 'MediaConcurrency')
148
218
  Message = Shapes::StringShape.new(name: 'Message')
149
219
  NextToken = Shapes::StringShape.new(name: 'NextToken')
220
+ Origin = Shapes::StringShape.new(name: 'Origin')
221
+ OriginsList = Shapes::ListShape.new(name: 'OriginsList')
222
+ OutboundCallsEnabled = Shapes::BooleanShape.new(name: 'OutboundCallsEnabled')
150
223
  OutboundContactNotPermittedException = Shapes::StructureShape.new(name: 'OutboundContactNotPermittedException')
224
+ PEM = Shapes::StringShape.new(name: 'PEM')
151
225
  ParticipantDetails = Shapes::StructureShape.new(name: 'ParticipantDetails')
152
226
  ParticipantId = Shapes::StringShape.new(name: 'ParticipantId')
153
227
  ParticipantToken = Shapes::StringShape.new(name: 'ParticipantToken')
@@ -161,6 +235,7 @@ module Aws::Connect
161
235
  PhoneNumberType = Shapes::StringShape.new(name: 'PhoneNumberType')
162
236
  PhoneNumberTypes = Shapes::ListShape.new(name: 'PhoneNumberTypes')
163
237
  PhoneType = Shapes::StringShape.new(name: 'PhoneType')
238
+ Prefix = Shapes::StringShape.new(name: 'Prefix')
164
239
  Priority = Shapes::IntegerShape.new(name: 'Priority')
165
240
  ProblemDetail = Shapes::StructureShape.new(name: 'ProblemDetail')
166
241
  ProblemMessageString = Shapes::StringShape.new(name: 'ProblemMessageString')
@@ -177,6 +252,7 @@ module Aws::Connect
177
252
  QueueType = Shapes::StringShape.new(name: 'QueueType')
178
253
  QueueTypes = Shapes::ListShape.new(name: 'QueueTypes')
179
254
  Queues = Shapes::ListShape.new(name: 'Queues')
255
+ ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
180
256
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
181
257
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
182
258
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
@@ -194,12 +270,16 @@ module Aws::Connect
194
270
  RoutingProfileQueueReferenceList = Shapes::ListShape.new(name: 'RoutingProfileQueueReferenceList')
195
271
  RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
196
272
  RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
273
+ S3Config = Shapes::StructureShape.new(name: 'S3Config')
274
+ SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey')
275
+ SecurityKeysList = Shapes::ListShape.new(name: 'SecurityKeysList')
197
276
  SecurityProfileId = Shapes::StringShape.new(name: 'SecurityProfileId')
198
277
  SecurityProfileIds = Shapes::ListShape.new(name: 'SecurityProfileIds')
199
278
  SecurityProfileName = Shapes::StringShape.new(name: 'SecurityProfileName')
200
279
  SecurityProfileSummary = Shapes::StructureShape.new(name: 'SecurityProfileSummary')
201
280
  SecurityProfileSummaryList = Shapes::ListShape.new(name: 'SecurityProfileSummaryList')
202
281
  SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
282
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
203
283
  StartChatContactRequest = Shapes::StructureShape.new(name: 'StartChatContactRequest')
204
284
  StartChatContactResponse = Shapes::StructureShape.new(name: 'StartChatContactResponse')
205
285
  StartContactRecordingRequest = Shapes::StructureShape.new(name: 'StartContactRecordingRequest')
@@ -211,6 +291,8 @@ module Aws::Connect
211
291
  StopContactRecordingResponse = Shapes::StructureShape.new(name: 'StopContactRecordingResponse')
212
292
  StopContactRequest = Shapes::StructureShape.new(name: 'StopContactRequest')
213
293
  StopContactResponse = Shapes::StructureShape.new(name: 'StopContactResponse')
294
+ StorageType = Shapes::StringShape.new(name: 'StorageType')
295
+ String = Shapes::StringShape.new(name: 'String')
214
296
  SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
215
297
  SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
216
298
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -221,12 +303,15 @@ module Aws::Connect
221
303
  Threshold = Shapes::StructureShape.new(name: 'Threshold')
222
304
  ThresholdValue = Shapes::FloatShape.new(name: 'ThresholdValue')
223
305
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
306
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
224
307
  Unit = Shapes::StringShape.new(name: 'Unit')
225
308
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
226
309
  UpdateContactAttributesRequest = Shapes::StructureShape.new(name: 'UpdateContactAttributesRequest')
227
310
  UpdateContactAttributesResponse = Shapes::StructureShape.new(name: 'UpdateContactAttributesResponse')
228
311
  UpdateContactFlowContentRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowContentRequest')
229
312
  UpdateContactFlowNameRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowNameRequest')
313
+ UpdateInstanceAttributeRequest = Shapes::StructureShape.new(name: 'UpdateInstanceAttributeRequest')
314
+ UpdateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'UpdateInstanceStorageConfigRequest')
230
315
  UpdateRoutingProfileConcurrencyRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileConcurrencyRequest')
231
316
  UpdateRoutingProfileDefaultOutboundQueueRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileDefaultOutboundQueueRequest')
232
317
  UpdateRoutingProfileNameRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileNameRequest')
@@ -250,14 +335,47 @@ module Aws::Connect
250
335
  VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
251
336
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
252
337
 
338
+ AssociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
339
+ AssociateApprovedOriginRequest.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, required: true, location_name: "Origin"))
340
+ AssociateApprovedOriginRequest.struct_class = Types::AssociateApprovedOriginRequest
341
+
342
+ AssociateInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
343
+ AssociateInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location_name: "ResourceType"))
344
+ AssociateInstanceStorageConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, required: true, location_name: "StorageConfig"))
345
+ AssociateInstanceStorageConfigRequest.struct_class = Types::AssociateInstanceStorageConfigRequest
346
+
347
+ AssociateInstanceStorageConfigResponse.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
348
+ AssociateInstanceStorageConfigResponse.struct_class = Types::AssociateInstanceStorageConfigResponse
349
+
350
+ AssociateLambdaFunctionRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
351
+ AssociateLambdaFunctionRequest.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
352
+ AssociateLambdaFunctionRequest.struct_class = Types::AssociateLambdaFunctionRequest
353
+
354
+ AssociateLexBotRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
355
+ AssociateLexBotRequest.add_member(:lex_bot, Shapes::ShapeRef.new(shape: LexBot, required: true, location_name: "LexBot"))
356
+ AssociateLexBotRequest.struct_class = Types::AssociateLexBotRequest
357
+
253
358
  AssociateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
254
359
  AssociateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
255
360
  AssociateRoutingProfileQueuesRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, required: true, location_name: "QueueConfigs"))
256
361
  AssociateRoutingProfileQueuesRequest.struct_class = Types::AssociateRoutingProfileQueuesRequest
257
362
 
363
+ AssociateSecurityKeyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
364
+ AssociateSecurityKeyRequest.add_member(:key, Shapes::ShapeRef.new(shape: PEM, required: true, location_name: "Key"))
365
+ AssociateSecurityKeyRequest.struct_class = Types::AssociateSecurityKeyRequest
366
+
367
+ AssociateSecurityKeyResponse.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
368
+ AssociateSecurityKeyResponse.struct_class = Types::AssociateSecurityKeyResponse
369
+
370
+ Attribute.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, location_name: "AttributeType"))
371
+ Attribute.add_member(:value, Shapes::ShapeRef.new(shape: InstanceAttributeValue, location_name: "Value"))
372
+ Attribute.struct_class = Types::Attribute
373
+
258
374
  Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
259
375
  Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
260
376
 
377
+ AttributesList.member = Shapes::ShapeRef.new(shape: Attribute)
378
+
261
379
  Channels.member = Shapes::ShapeRef.new(shape: Channel)
262
380
 
263
381
  ChatMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, required: true, location_name: "ContentType"))
@@ -301,6 +419,18 @@ module Aws::Connect
301
419
  CreateContactFlowResponse.add_member(:contact_flow_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactFlowArn"))
302
420
  CreateContactFlowResponse.struct_class = Types::CreateContactFlowResponse
303
421
 
422
+ CreateInstanceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
423
+ CreateInstanceRequest.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, required: true, location_name: "IdentityManagementType"))
424
+ CreateInstanceRequest.add_member(:instance_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, location_name: "InstanceAlias"))
425
+ CreateInstanceRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
426
+ CreateInstanceRequest.add_member(:inbound_calls_enabled, Shapes::ShapeRef.new(shape: InboundCallsEnabled, required: true, location_name: "InboundCallsEnabled"))
427
+ CreateInstanceRequest.add_member(:outbound_calls_enabled, Shapes::ShapeRef.new(shape: OutboundCallsEnabled, required: true, location_name: "OutboundCallsEnabled"))
428
+ CreateInstanceRequest.struct_class = Types::CreateInstanceRequest
429
+
430
+ CreateInstanceResponse.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
431
+ CreateInstanceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
432
+ CreateInstanceResponse.struct_class = Types::CreateInstanceResponse
433
+
304
434
  CreateRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
305
435
  CreateRoutingProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, required: true, location_name: "Name"))
306
436
  CreateRoutingProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: RoutingProfileDescription, required: true, location_name: "Description"))
@@ -363,6 +493,9 @@ module Aws::Connect
363
493
 
364
494
  CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
365
495
 
496
+ DeleteInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
497
+ DeleteInstanceRequest.struct_class = Types::DeleteInstanceRequest
498
+
366
499
  DeleteUserHierarchyGroupRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
367
500
  DeleteUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
368
501
  DeleteUserHierarchyGroupRequest.struct_class = Types::DeleteUserHierarchyGroupRequest
@@ -378,6 +511,27 @@ module Aws::Connect
378
511
  DescribeContactFlowResponse.add_member(:contact_flow, Shapes::ShapeRef.new(shape: ContactFlow, location_name: "ContactFlow"))
379
512
  DescribeContactFlowResponse.struct_class = Types::DescribeContactFlowResponse
380
513
 
514
+ DescribeInstanceAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
515
+ DescribeInstanceAttributeRequest.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, required: true, location: "uri", location_name: "AttributeType"))
516
+ DescribeInstanceAttributeRequest.struct_class = Types::DescribeInstanceAttributeRequest
517
+
518
+ DescribeInstanceAttributeResponse.add_member(:attribute, Shapes::ShapeRef.new(shape: Attribute, location_name: "Attribute"))
519
+ DescribeInstanceAttributeResponse.struct_class = Types::DescribeInstanceAttributeResponse
520
+
521
+ DescribeInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
522
+ DescribeInstanceRequest.struct_class = Types::DescribeInstanceRequest
523
+
524
+ DescribeInstanceResponse.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, location_name: "Instance"))
525
+ DescribeInstanceResponse.struct_class = Types::DescribeInstanceResponse
526
+
527
+ DescribeInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
528
+ DescribeInstanceStorageConfigRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
529
+ DescribeInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
530
+ DescribeInstanceStorageConfigRequest.struct_class = Types::DescribeInstanceStorageConfigRequest
531
+
532
+ DescribeInstanceStorageConfigResponse.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, location_name: "StorageConfig"))
533
+ DescribeInstanceStorageConfigResponse.struct_class = Types::DescribeInstanceStorageConfigResponse
534
+
381
535
  DescribeRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
382
536
  DescribeRoutingProfileRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
383
537
  DescribeRoutingProfileRequest.struct_class = Types::DescribeRoutingProfileRequest
@@ -412,18 +566,46 @@ module Aws::Connect
412
566
  Dimensions.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
413
567
  Dimensions.struct_class = Types::Dimensions
414
568
 
569
+ DisassociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
570
+ DisassociateApprovedOriginRequest.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, required: true, location: "querystring", location_name: "origin"))
571
+ DisassociateApprovedOriginRequest.struct_class = Types::DisassociateApprovedOriginRequest
572
+
573
+ DisassociateInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
574
+ DisassociateInstanceStorageConfigRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
575
+ DisassociateInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
576
+ DisassociateInstanceStorageConfigRequest.struct_class = Types::DisassociateInstanceStorageConfigRequest
577
+
578
+ DisassociateLambdaFunctionRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
579
+ DisassociateLambdaFunctionRequest.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location: "querystring", location_name: "functionArn"))
580
+ DisassociateLambdaFunctionRequest.struct_class = Types::DisassociateLambdaFunctionRequest
581
+
582
+ DisassociateLexBotRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
583
+ DisassociateLexBotRequest.add_member(:bot_name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "querystring", location_name: "botName"))
584
+ DisassociateLexBotRequest.add_member(:lex_region, Shapes::ShapeRef.new(shape: LexRegion, required: true, location: "querystring", location_name: "lexRegion"))
585
+ DisassociateLexBotRequest.struct_class = Types::DisassociateLexBotRequest
586
+
415
587
  DisassociateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
416
588
  DisassociateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
417
589
  DisassociateRoutingProfileQueuesRequest.add_member(:queue_references, Shapes::ShapeRef.new(shape: RoutingProfileQueueReferenceList, required: true, location_name: "QueueReferences"))
418
590
  DisassociateRoutingProfileQueuesRequest.struct_class = Types::DisassociateRoutingProfileQueuesRequest
419
591
 
592
+ DisassociateSecurityKeyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
593
+ DisassociateSecurityKeyRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
594
+ DisassociateSecurityKeyRequest.struct_class = Types::DisassociateSecurityKeyRequest
595
+
420
596
  DuplicateResourceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
421
597
  DuplicateResourceException.struct_class = Types::DuplicateResourceException
422
598
 
599
+ EncryptionConfig.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "EncryptionType"))
600
+ EncryptionConfig.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, required: true, location_name: "KeyId"))
601
+ EncryptionConfig.struct_class = Types::EncryptionConfig
602
+
423
603
  Filters.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
424
604
  Filters.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "Channels"))
425
605
  Filters.struct_class = Types::Filters
426
606
 
607
+ FunctionArnsList.member = Shapes::ShapeRef.new(shape: FunctionArn)
608
+
427
609
  GetContactAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
428
610
  GetContactAttributesRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "InitialContactId"))
429
611
  GetContactAttributesRequest.struct_class = Types::GetContactAttributesRequest
@@ -536,6 +718,44 @@ module Aws::Connect
536
718
 
537
719
  HoursOfOperationSummaryList.member = Shapes::ShapeRef.new(shape: HoursOfOperationSummary)
538
720
 
721
+ Instance.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
722
+ Instance.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
723
+ Instance.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, location_name: "IdentityManagementType"))
724
+ Instance.add_member(:instance_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, location_name: "InstanceAlias"))
725
+ Instance.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
726
+ Instance.add_member(:service_role, Shapes::ShapeRef.new(shape: ARN, location_name: "ServiceRole"))
727
+ Instance.add_member(:instance_status, Shapes::ShapeRef.new(shape: InstanceStatus, location_name: "InstanceStatus"))
728
+ Instance.add_member(:status_reason, Shapes::ShapeRef.new(shape: InstanceStatusReason, location_name: "StatusReason"))
729
+ Instance.add_member(:inbound_calls_enabled, Shapes::ShapeRef.new(shape: InboundCallsEnabled, location_name: "InboundCallsEnabled"))
730
+ Instance.add_member(:outbound_calls_enabled, Shapes::ShapeRef.new(shape: OutboundCallsEnabled, location_name: "OutboundCallsEnabled"))
731
+ Instance.struct_class = Types::Instance
732
+
733
+ InstanceStatusReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
734
+ InstanceStatusReason.struct_class = Types::InstanceStatusReason
735
+
736
+ InstanceStorageConfig.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
737
+ InstanceStorageConfig.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "StorageType"))
738
+ InstanceStorageConfig.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "S3Config"))
739
+ InstanceStorageConfig.add_member(:kinesis_video_stream_config, Shapes::ShapeRef.new(shape: KinesisVideoStreamConfig, location_name: "KinesisVideoStreamConfig"))
740
+ InstanceStorageConfig.add_member(:kinesis_stream_config, Shapes::ShapeRef.new(shape: KinesisStreamConfig, location_name: "KinesisStreamConfig"))
741
+ InstanceStorageConfig.add_member(:kinesis_firehose_config, Shapes::ShapeRef.new(shape: KinesisFirehoseConfig, location_name: "KinesisFirehoseConfig"))
742
+ InstanceStorageConfig.struct_class = Types::InstanceStorageConfig
743
+
744
+ InstanceStorageConfigs.member = Shapes::ShapeRef.new(shape: InstanceStorageConfig)
745
+
746
+ InstanceSummary.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
747
+ InstanceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
748
+ InstanceSummary.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, location_name: "IdentityManagementType"))
749
+ InstanceSummary.add_member(:instance_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, location_name: "InstanceAlias"))
750
+ InstanceSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
751
+ InstanceSummary.add_member(:service_role, Shapes::ShapeRef.new(shape: ARN, location_name: "ServiceRole"))
752
+ InstanceSummary.add_member(:instance_status, Shapes::ShapeRef.new(shape: InstanceStatus, location_name: "InstanceStatus"))
753
+ InstanceSummary.add_member(:inbound_calls_enabled, Shapes::ShapeRef.new(shape: InboundCallsEnabled, location_name: "InboundCallsEnabled"))
754
+ InstanceSummary.add_member(:outbound_calls_enabled, Shapes::ShapeRef.new(shape: OutboundCallsEnabled, location_name: "OutboundCallsEnabled"))
755
+ InstanceSummary.struct_class = Types::InstanceSummary
756
+
757
+ InstanceSummaryList.member = Shapes::ShapeRef.new(shape: InstanceSummary)
758
+
539
759
  InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
540
760
  InternalServiceException.struct_class = Types::InternalServiceException
541
761
 
@@ -548,9 +768,35 @@ module Aws::Connect
548
768
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
549
769
  InvalidRequestException.struct_class = Types::InvalidRequestException
550
770
 
771
+ KinesisFirehoseConfig.add_member(:firehose_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "FirehoseArn"))
772
+ KinesisFirehoseConfig.struct_class = Types::KinesisFirehoseConfig
773
+
774
+ KinesisStreamConfig.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "StreamArn"))
775
+ KinesisStreamConfig.struct_class = Types::KinesisStreamConfig
776
+
777
+ KinesisVideoStreamConfig.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "Prefix"))
778
+ KinesisVideoStreamConfig.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: Hours, required: true, location_name: "RetentionPeriodHours"))
779
+ KinesisVideoStreamConfig.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, required: true, location_name: "EncryptionConfig"))
780
+ KinesisVideoStreamConfig.struct_class = Types::KinesisVideoStreamConfig
781
+
782
+ LexBot.add_member(:name, Shapes::ShapeRef.new(shape: BotName, location_name: "Name"))
783
+ LexBot.add_member(:lex_region, Shapes::ShapeRef.new(shape: LexRegion, location_name: "LexRegion"))
784
+ LexBot.struct_class = Types::LexBot
785
+
786
+ LexBotsList.member = Shapes::ShapeRef.new(shape: LexBot)
787
+
551
788
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
552
789
  LimitExceededException.struct_class = Types::LimitExceededException
553
790
 
791
+ ListApprovedOriginsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
792
+ ListApprovedOriginsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
793
+ ListApprovedOriginsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult25, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
794
+ ListApprovedOriginsRequest.struct_class = Types::ListApprovedOriginsRequest
795
+
796
+ ListApprovedOriginsResponse.add_member(:origins, Shapes::ShapeRef.new(shape: OriginsList, location_name: "Origins"))
797
+ ListApprovedOriginsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
798
+ ListApprovedOriginsResponse.struct_class = Types::ListApprovedOriginsResponse
799
+
554
800
  ListContactFlowsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
555
801
  ListContactFlowsRequest.add_member(:contact_flow_types, Shapes::ShapeRef.new(shape: ContactFlowTypes, location: "querystring", location_name: "contactFlowTypes"))
556
802
  ListContactFlowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -570,6 +816,51 @@ module Aws::Connect
570
816
  ListHoursOfOperationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
571
817
  ListHoursOfOperationsResponse.struct_class = Types::ListHoursOfOperationsResponse
572
818
 
819
+ ListInstanceAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
820
+ ListInstanceAttributesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
821
+ ListInstanceAttributesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult7, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
822
+ ListInstanceAttributesRequest.struct_class = Types::ListInstanceAttributesRequest
823
+
824
+ ListInstanceAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributesList, location_name: "Attributes"))
825
+ ListInstanceAttributesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
826
+ ListInstanceAttributesResponse.struct_class = Types::ListInstanceAttributesResponse
827
+
828
+ ListInstanceStorageConfigsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
829
+ ListInstanceStorageConfigsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
830
+ ListInstanceStorageConfigsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
831
+ ListInstanceStorageConfigsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
832
+ ListInstanceStorageConfigsRequest.struct_class = Types::ListInstanceStorageConfigsRequest
833
+
834
+ ListInstanceStorageConfigsResponse.add_member(:storage_configs, Shapes::ShapeRef.new(shape: InstanceStorageConfigs, location_name: "StorageConfigs"))
835
+ ListInstanceStorageConfigsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
836
+ ListInstanceStorageConfigsResponse.struct_class = Types::ListInstanceStorageConfigsResponse
837
+
838
+ ListInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
839
+ ListInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
840
+ ListInstancesRequest.struct_class = Types::ListInstancesRequest
841
+
842
+ ListInstancesResponse.add_member(:instance_summary_list, Shapes::ShapeRef.new(shape: InstanceSummaryList, location_name: "InstanceSummaryList"))
843
+ ListInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
844
+ ListInstancesResponse.struct_class = Types::ListInstancesResponse
845
+
846
+ ListLambdaFunctionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
847
+ ListLambdaFunctionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
848
+ ListLambdaFunctionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult25, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
849
+ ListLambdaFunctionsRequest.struct_class = Types::ListLambdaFunctionsRequest
850
+
851
+ ListLambdaFunctionsResponse.add_member(:lambda_functions, Shapes::ShapeRef.new(shape: FunctionArnsList, location_name: "LambdaFunctions"))
852
+ ListLambdaFunctionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
853
+ ListLambdaFunctionsResponse.struct_class = Types::ListLambdaFunctionsResponse
854
+
855
+ ListLexBotsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
856
+ ListLexBotsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
857
+ ListLexBotsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult25, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
858
+ ListLexBotsRequest.struct_class = Types::ListLexBotsRequest
859
+
860
+ ListLexBotsResponse.add_member(:lex_bots, Shapes::ShapeRef.new(shape: LexBotsList, location_name: "LexBots"))
861
+ ListLexBotsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
862
+ ListLexBotsResponse.struct_class = Types::ListLexBotsResponse
863
+
573
864
  ListPhoneNumbersRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
574
865
  ListPhoneNumbersRequest.add_member(:phone_number_types, Shapes::ShapeRef.new(shape: PhoneNumberTypes, location: "querystring", location_name: "phoneNumberTypes"))
575
866
  ListPhoneNumbersRequest.add_member(:phone_number_country_codes, Shapes::ShapeRef.new(shape: PhoneNumberCountryCodes, location: "querystring", location_name: "phoneNumberCountryCodes"))
@@ -619,6 +910,15 @@ module Aws::Connect
619
910
  ListRoutingProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
620
911
  ListRoutingProfilesResponse.struct_class = Types::ListRoutingProfilesResponse
621
912
 
913
+ ListSecurityKeysRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
914
+ ListSecurityKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
915
+ ListSecurityKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult2, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
916
+ ListSecurityKeysRequest.struct_class = Types::ListSecurityKeysRequest
917
+
918
+ ListSecurityKeysResponse.add_member(:security_keys, Shapes::ShapeRef.new(shape: SecurityKeysList, location_name: "SecurityKeys"))
919
+ ListSecurityKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
920
+ ListSecurityKeysResponse.struct_class = Types::ListSecurityKeysResponse
921
+
622
922
  ListSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
623
923
  ListSecurityProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
624
924
  ListSecurityProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -658,6 +958,8 @@ module Aws::Connect
658
958
  MediaConcurrency.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, required: true, location_name: "Concurrency"))
659
959
  MediaConcurrency.struct_class = Types::MediaConcurrency
660
960
 
961
+ OriginsList.member = Shapes::ShapeRef.new(shape: Origin)
962
+
661
963
  OutboundContactNotPermittedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
662
964
  OutboundContactNotPermittedException.struct_class = Types::OutboundContactNotPermittedException
663
965
 
@@ -705,6 +1007,9 @@ module Aws::Connect
705
1007
 
706
1008
  Queues.member = Shapes::ShapeRef.new(shape: QueueId)
707
1009
 
1010
+ ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1011
+ ResourceConflictException.struct_class = Types::ResourceConflictException
1012
+
708
1013
  ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
709
1014
  ResourceInUseException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
710
1015
  ResourceInUseException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceId"))
@@ -760,6 +1065,18 @@ module Aws::Connect
760
1065
 
761
1066
  RoutingProfileSummaryList.member = Shapes::ShapeRef.new(shape: RoutingProfileSummary)
762
1067
 
1068
+ S3Config.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "BucketName"))
1069
+ S3Config.add_member(:bucket_prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "BucketPrefix"))
1070
+ S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
1071
+ S3Config.struct_class = Types::S3Config
1072
+
1073
+ SecurityKey.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
1074
+ SecurityKey.add_member(:key, Shapes::ShapeRef.new(shape: PEM, location_name: "Key"))
1075
+ SecurityKey.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
1076
+ SecurityKey.struct_class = Types::SecurityKey
1077
+
1078
+ SecurityKeysList.member = Shapes::ShapeRef.new(shape: SecurityKey)
1079
+
763
1080
  SecurityProfileIds.member = Shapes::ShapeRef.new(shape: SecurityProfileId)
764
1081
 
765
1082
  SecurityProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "Id"))
@@ -769,6 +1086,9 @@ module Aws::Connect
769
1086
 
770
1087
  SecurityProfileSummaryList.member = Shapes::ShapeRef.new(shape: SecurityProfileSummary)
771
1088
 
1089
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1090
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1091
+
772
1092
  StartChatContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
773
1093
  StartChatContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
774
1094
  StartChatContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
@@ -860,6 +1180,17 @@ module Aws::Connect
860
1180
  UpdateContactFlowNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
861
1181
  UpdateContactFlowNameRequest.struct_class = Types::UpdateContactFlowNameRequest
862
1182
 
1183
+ UpdateInstanceAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1184
+ UpdateInstanceAttributeRequest.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, required: true, location: "uri", location_name: "AttributeType"))
1185
+ UpdateInstanceAttributeRequest.add_member(:value, Shapes::ShapeRef.new(shape: InstanceAttributeValue, required: true, location_name: "Value"))
1186
+ UpdateInstanceAttributeRequest.struct_class = Types::UpdateInstanceAttributeRequest
1187
+
1188
+ UpdateInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1189
+ UpdateInstanceStorageConfigRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
1190
+ UpdateInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
1191
+ UpdateInstanceStorageConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, required: true, location_name: "StorageConfig"))
1192
+ UpdateInstanceStorageConfigRequest.struct_class = Types::UpdateInstanceStorageConfigRequest
1193
+
863
1194
  UpdateRoutingProfileConcurrencyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
864
1195
  UpdateRoutingProfileConcurrencyRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
865
1196
  UpdateRoutingProfileConcurrencyRequest.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, required: true, location_name: "MediaConcurrencies"))
@@ -970,6 +1301,65 @@ module Aws::Connect
970
1301
  "uid" => "connect-2017-08-08",
971
1302
  }
972
1303
 
1304
+ api.add_operation(:associate_approved_origin, Seahorse::Model::Operation.new.tap do |o|
1305
+ o.name = "AssociateApprovedOrigin"
1306
+ o.http_method = "PUT"
1307
+ o.http_request_uri = "/instance/{InstanceId}/approved-origin"
1308
+ o.input = Shapes::ShapeRef.new(shape: AssociateApprovedOriginRequest)
1309
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1310
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1311
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1312
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1313
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1314
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1315
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1317
+ end)
1318
+
1319
+ api.add_operation(:associate_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
1320
+ o.name = "AssociateInstanceStorageConfig"
1321
+ o.http_method = "PUT"
1322
+ o.http_request_uri = "/instance/{InstanceId}/storage-config"
1323
+ o.input = Shapes::ShapeRef.new(shape: AssociateInstanceStorageConfigRequest)
1324
+ o.output = Shapes::ShapeRef.new(shape: AssociateInstanceStorageConfigResponse)
1325
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1326
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1327
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1329
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1330
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1331
+ end)
1332
+
1333
+ api.add_operation(:associate_lambda_function, Seahorse::Model::Operation.new.tap do |o|
1334
+ o.name = "AssociateLambdaFunction"
1335
+ o.http_method = "PUT"
1336
+ o.http_request_uri = "/instance/{InstanceId}/lambda-function"
1337
+ o.input = Shapes::ShapeRef.new(shape: AssociateLambdaFunctionRequest)
1338
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1339
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1340
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1341
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1342
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1343
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1344
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1345
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1346
+ end)
1347
+
1348
+ api.add_operation(:associate_lex_bot, Seahorse::Model::Operation.new.tap do |o|
1349
+ o.name = "AssociateLexBot"
1350
+ o.http_method = "PUT"
1351
+ o.http_request_uri = "/instance/{InstanceId}/lex-bot"
1352
+ o.input = Shapes::ShapeRef.new(shape: AssociateLexBotRequest)
1353
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1354
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1355
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1356
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1357
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1358
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1359
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1360
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1361
+ end)
1362
+
973
1363
  api.add_operation(:associate_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
974
1364
  o.name = "AssociateRoutingProfileQueues"
975
1365
  o.http_method = "POST"
@@ -983,6 +1373,21 @@ module Aws::Connect
983
1373
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
984
1374
  end)
985
1375
 
1376
+ api.add_operation(:associate_security_key, Seahorse::Model::Operation.new.tap do |o|
1377
+ o.name = "AssociateSecurityKey"
1378
+ o.http_method = "PUT"
1379
+ o.http_request_uri = "/instance/{InstanceId}/security-key"
1380
+ o.input = Shapes::ShapeRef.new(shape: AssociateSecurityKeyRequest)
1381
+ o.output = Shapes::ShapeRef.new(shape: AssociateSecurityKeyResponse)
1382
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1383
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1384
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1385
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1386
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1387
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1388
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1389
+ end)
1390
+
986
1391
  api.add_operation(:create_contact_flow, Seahorse::Model::Operation.new.tap do |o|
987
1392
  o.name = "CreateContactFlow"
988
1393
  o.http_method = "PUT"
@@ -999,6 +1404,19 @@ module Aws::Connect
999
1404
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1000
1405
  end)
1001
1406
 
1407
+ api.add_operation(:create_instance, Seahorse::Model::Operation.new.tap do |o|
1408
+ o.name = "CreateInstance"
1409
+ o.http_method = "PUT"
1410
+ o.http_request_uri = "/instance"
1411
+ o.input = Shapes::ShapeRef.new(shape: CreateInstanceRequest)
1412
+ o.output = Shapes::ShapeRef.new(shape: CreateInstanceResponse)
1413
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1414
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1415
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1416
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1417
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1418
+ end)
1419
+
1002
1420
  api.add_operation(:create_routing_profile, Seahorse::Model::Operation.new.tap do |o|
1003
1421
  o.name = "CreateRoutingProfile"
1004
1422
  o.http_method = "PUT"
@@ -1044,6 +1462,17 @@ module Aws::Connect
1044
1462
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1045
1463
  end)
1046
1464
 
1465
+ api.add_operation(:delete_instance, Seahorse::Model::Operation.new.tap do |o|
1466
+ o.name = "DeleteInstance"
1467
+ o.http_method = "DELETE"
1468
+ o.http_request_uri = "/instance/{InstanceId}"
1469
+ o.input = Shapes::ShapeRef.new(shape: DeleteInstanceRequest)
1470
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1471
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1472
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1473
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1474
+ end)
1475
+
1047
1476
  api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
1048
1477
  o.name = "DeleteUser"
1049
1478
  o.http_method = "DELETE"
@@ -1085,6 +1514,43 @@ module Aws::Connect
1085
1514
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1086
1515
  end)
1087
1516
 
1517
+ api.add_operation(:describe_instance, Seahorse::Model::Operation.new.tap do |o|
1518
+ o.name = "DescribeInstance"
1519
+ o.http_method = "GET"
1520
+ o.http_request_uri = "/instance/{InstanceId}"
1521
+ o.input = Shapes::ShapeRef.new(shape: DescribeInstanceRequest)
1522
+ o.output = Shapes::ShapeRef.new(shape: DescribeInstanceResponse)
1523
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1524
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1525
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1526
+ end)
1527
+
1528
+ api.add_operation(:describe_instance_attribute, Seahorse::Model::Operation.new.tap do |o|
1529
+ o.name = "DescribeInstanceAttribute"
1530
+ o.http_method = "GET"
1531
+ o.http_request_uri = "/instance/{InstanceId}/attribute/{AttributeType}"
1532
+ o.input = Shapes::ShapeRef.new(shape: DescribeInstanceAttributeRequest)
1533
+ o.output = Shapes::ShapeRef.new(shape: DescribeInstanceAttributeResponse)
1534
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1535
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1536
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1537
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1538
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1539
+ end)
1540
+
1541
+ api.add_operation(:describe_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
1542
+ o.name = "DescribeInstanceStorageConfig"
1543
+ o.http_method = "GET"
1544
+ o.http_request_uri = "/instance/{InstanceId}/storage-config/{AssociationId}"
1545
+ o.input = Shapes::ShapeRef.new(shape: DescribeInstanceStorageConfigRequest)
1546
+ o.output = Shapes::ShapeRef.new(shape: DescribeInstanceStorageConfigResponse)
1547
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1548
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1549
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1550
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1551
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1552
+ end)
1553
+
1088
1554
  api.add_operation(:describe_routing_profile, Seahorse::Model::Operation.new.tap do |o|
1089
1555
  o.name = "DescribeRoutingProfile"
1090
1556
  o.http_method = "GET"
@@ -1137,6 +1603,58 @@ module Aws::Connect
1137
1603
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1138
1604
  end)
1139
1605
 
1606
+ api.add_operation(:disassociate_approved_origin, Seahorse::Model::Operation.new.tap do |o|
1607
+ o.name = "DisassociateApprovedOrigin"
1608
+ o.http_method = "DELETE"
1609
+ o.http_request_uri = "/instance/{InstanceId}/approved-origin"
1610
+ o.input = Shapes::ShapeRef.new(shape: DisassociateApprovedOriginRequest)
1611
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1612
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1613
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1614
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1615
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1616
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1617
+ end)
1618
+
1619
+ api.add_operation(:disassociate_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
1620
+ o.name = "DisassociateInstanceStorageConfig"
1621
+ o.http_method = "DELETE"
1622
+ o.http_request_uri = "/instance/{InstanceId}/storage-config/{AssociationId}"
1623
+ o.input = Shapes::ShapeRef.new(shape: DisassociateInstanceStorageConfigRequest)
1624
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1625
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1626
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1627
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1628
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1629
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1630
+ end)
1631
+
1632
+ api.add_operation(:disassociate_lambda_function, Seahorse::Model::Operation.new.tap do |o|
1633
+ o.name = "DisassociateLambdaFunction"
1634
+ o.http_method = "DELETE"
1635
+ o.http_request_uri = "/instance/{InstanceId}/lambda-function"
1636
+ o.input = Shapes::ShapeRef.new(shape: DisassociateLambdaFunctionRequest)
1637
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1638
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1639
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1640
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1641
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1642
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1643
+ end)
1644
+
1645
+ api.add_operation(:disassociate_lex_bot, Seahorse::Model::Operation.new.tap do |o|
1646
+ o.name = "DisassociateLexBot"
1647
+ o.http_method = "DELETE"
1648
+ o.http_request_uri = "/instance/{InstanceId}/lex-bot"
1649
+ o.input = Shapes::ShapeRef.new(shape: DisassociateLexBotRequest)
1650
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1651
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1652
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1653
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1654
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1655
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1656
+ end)
1657
+
1140
1658
  api.add_operation(:disassociate_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
1141
1659
  o.name = "DisassociateRoutingProfileQueues"
1142
1660
  o.http_method = "POST"
@@ -1150,6 +1668,19 @@ module Aws::Connect
1150
1668
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1151
1669
  end)
1152
1670
 
1671
+ api.add_operation(:disassociate_security_key, Seahorse::Model::Operation.new.tap do |o|
1672
+ o.name = "DisassociateSecurityKey"
1673
+ o.http_method = "DELETE"
1674
+ o.http_request_uri = "/instance/{InstanceId}/security-key/{AssociationId}"
1675
+ o.input = Shapes::ShapeRef.new(shape: DisassociateSecurityKeyRequest)
1676
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1677
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1678
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1679
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1680
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1681
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1682
+ end)
1683
+
1153
1684
  api.add_operation(:get_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
1154
1685
  o.name = "GetContactAttributes"
1155
1686
  o.http_method = "GET"
@@ -1213,6 +1744,25 @@ module Aws::Connect
1213
1744
  )
1214
1745
  end)
1215
1746
 
1747
+ api.add_operation(:list_approved_origins, Seahorse::Model::Operation.new.tap do |o|
1748
+ o.name = "ListApprovedOrigins"
1749
+ o.http_method = "GET"
1750
+ o.http_request_uri = "/instance/{InstanceId}/approved-origins"
1751
+ o.input = Shapes::ShapeRef.new(shape: ListApprovedOriginsRequest)
1752
+ o.output = Shapes::ShapeRef.new(shape: ListApprovedOriginsResponse)
1753
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1754
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1755
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1756
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1757
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1758
+ o[:pager] = Aws::Pager.new(
1759
+ limit_key: "max_results",
1760
+ tokens: {
1761
+ "next_token" => "next_token"
1762
+ }
1763
+ )
1764
+ end)
1765
+
1216
1766
  api.add_operation(:list_contact_flows, Seahorse::Model::Operation.new.tap do |o|
1217
1767
  o.name = "ListContactFlows"
1218
1768
  o.http_method = "GET"
@@ -1251,6 +1801,98 @@ module Aws::Connect
1251
1801
  )
1252
1802
  end)
1253
1803
 
1804
+ api.add_operation(:list_instance_attributes, Seahorse::Model::Operation.new.tap do |o|
1805
+ o.name = "ListInstanceAttributes"
1806
+ o.http_method = "GET"
1807
+ o.http_request_uri = "/instance/{InstanceId}/attributes"
1808
+ o.input = Shapes::ShapeRef.new(shape: ListInstanceAttributesRequest)
1809
+ o.output = Shapes::ShapeRef.new(shape: ListInstanceAttributesResponse)
1810
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1811
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1812
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1813
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1814
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1815
+ o[:pager] = Aws::Pager.new(
1816
+ limit_key: "max_results",
1817
+ tokens: {
1818
+ "next_token" => "next_token"
1819
+ }
1820
+ )
1821
+ end)
1822
+
1823
+ api.add_operation(:list_instance_storage_configs, Seahorse::Model::Operation.new.tap do |o|
1824
+ o.name = "ListInstanceStorageConfigs"
1825
+ o.http_method = "GET"
1826
+ o.http_request_uri = "/instance/{InstanceId}/storage-configs"
1827
+ o.input = Shapes::ShapeRef.new(shape: ListInstanceStorageConfigsRequest)
1828
+ o.output = Shapes::ShapeRef.new(shape: ListInstanceStorageConfigsResponse)
1829
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1830
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1831
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1832
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1833
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1834
+ o[:pager] = Aws::Pager.new(
1835
+ limit_key: "max_results",
1836
+ tokens: {
1837
+ "next_token" => "next_token"
1838
+ }
1839
+ )
1840
+ end)
1841
+
1842
+ api.add_operation(:list_instances, Seahorse::Model::Operation.new.tap do |o|
1843
+ o.name = "ListInstances"
1844
+ o.http_method = "GET"
1845
+ o.http_request_uri = "/instance"
1846
+ o.input = Shapes::ShapeRef.new(shape: ListInstancesRequest)
1847
+ o.output = Shapes::ShapeRef.new(shape: ListInstancesResponse)
1848
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1849
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1850
+ o[:pager] = Aws::Pager.new(
1851
+ limit_key: "max_results",
1852
+ tokens: {
1853
+ "next_token" => "next_token"
1854
+ }
1855
+ )
1856
+ end)
1857
+
1858
+ api.add_operation(:list_lambda_functions, Seahorse::Model::Operation.new.tap do |o|
1859
+ o.name = "ListLambdaFunctions"
1860
+ o.http_method = "GET"
1861
+ o.http_request_uri = "/instance/{InstanceId}/lambda-functions"
1862
+ o.input = Shapes::ShapeRef.new(shape: ListLambdaFunctionsRequest)
1863
+ o.output = Shapes::ShapeRef.new(shape: ListLambdaFunctionsResponse)
1864
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1865
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1866
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1867
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1868
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1869
+ o[:pager] = Aws::Pager.new(
1870
+ limit_key: "max_results",
1871
+ tokens: {
1872
+ "next_token" => "next_token"
1873
+ }
1874
+ )
1875
+ end)
1876
+
1877
+ api.add_operation(:list_lex_bots, Seahorse::Model::Operation.new.tap do |o|
1878
+ o.name = "ListLexBots"
1879
+ o.http_method = "GET"
1880
+ o.http_request_uri = "/instance/{InstanceId}/lex-bots"
1881
+ o.input = Shapes::ShapeRef.new(shape: ListLexBotsRequest)
1882
+ o.output = Shapes::ShapeRef.new(shape: ListLexBotsResponse)
1883
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1884
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1885
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1886
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1887
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1888
+ o[:pager] = Aws::Pager.new(
1889
+ limit_key: "max_results",
1890
+ tokens: {
1891
+ "next_token" => "next_token"
1892
+ }
1893
+ )
1894
+ end)
1895
+
1254
1896
  api.add_operation(:list_phone_numbers, Seahorse::Model::Operation.new.tap do |o|
1255
1897
  o.name = "ListPhoneNumbers"
1256
1898
  o.http_method = "GET"
@@ -1346,6 +1988,25 @@ module Aws::Connect
1346
1988
  )
1347
1989
  end)
1348
1990
 
1991
+ api.add_operation(:list_security_keys, Seahorse::Model::Operation.new.tap do |o|
1992
+ o.name = "ListSecurityKeys"
1993
+ o.http_method = "GET"
1994
+ o.http_request_uri = "/instance/{InstanceId}/security-keys"
1995
+ o.input = Shapes::ShapeRef.new(shape: ListSecurityKeysRequest)
1996
+ o.output = Shapes::ShapeRef.new(shape: ListSecurityKeysResponse)
1997
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1998
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1999
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2000
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2001
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2002
+ o[:pager] = Aws::Pager.new(
2003
+ limit_key: "max_results",
2004
+ tokens: {
2005
+ "next_token" => "next_token"
2006
+ }
2007
+ )
2008
+ end)
2009
+
1349
2010
  api.add_operation(:list_security_profiles, Seahorse::Model::Operation.new.tap do |o|
1350
2011
  o.name = "ListSecurityProfiles"
1351
2012
  o.http_method = "GET"
@@ -1568,6 +2229,32 @@ module Aws::Connect
1568
2229
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1569
2230
  end)
1570
2231
 
2232
+ api.add_operation(:update_instance_attribute, Seahorse::Model::Operation.new.tap do |o|
2233
+ o.name = "UpdateInstanceAttribute"
2234
+ o.http_method = "POST"
2235
+ o.http_request_uri = "/instance/{InstanceId}/attribute/{AttributeType}"
2236
+ o.input = Shapes::ShapeRef.new(shape: UpdateInstanceAttributeRequest)
2237
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2238
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2239
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2240
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2241
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2242
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2243
+ end)
2244
+
2245
+ api.add_operation(:update_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
2246
+ o.name = "UpdateInstanceStorageConfig"
2247
+ o.http_method = "POST"
2248
+ o.http_request_uri = "/instance/{InstanceId}/storage-config/{AssociationId}"
2249
+ o.input = Shapes::ShapeRef.new(shape: UpdateInstanceStorageConfigRequest)
2250
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2251
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2252
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2253
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2254
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2255
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2256
+ end)
2257
+
1571
2258
  api.add_operation(:update_routing_profile_concurrency, Seahorse::Model::Operation.new.tap do |o|
1572
2259
  o.name = "UpdateRoutingProfileConcurrency"
1573
2260
  o.http_method = "POST"