aws-sdk-connect 1.32.0 → 1.37.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')
@@ -43,10 +55,19 @@ module Aws::Connect
43
55
  ContactFlowTypes = Shapes::ListShape.new(name: 'ContactFlowTypes')
44
56
  ContactId = Shapes::StringShape.new(name: 'ContactId')
45
57
  ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
58
+ ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
46
59
  CreateContactFlowRequest = Shapes::StructureShape.new(name: 'CreateContactFlowRequest')
47
60
  CreateContactFlowResponse = Shapes::StructureShape.new(name: 'CreateContactFlowResponse')
61
+ CreateInstanceRequest = Shapes::StructureShape.new(name: 'CreateInstanceRequest')
62
+ CreateInstanceResponse = Shapes::StructureShape.new(name: 'CreateInstanceResponse')
63
+ CreateIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'CreateIntegrationAssociationRequest')
64
+ CreateIntegrationAssociationResponse = Shapes::StructureShape.new(name: 'CreateIntegrationAssociationResponse')
48
65
  CreateRoutingProfileRequest = Shapes::StructureShape.new(name: 'CreateRoutingProfileRequest')
49
66
  CreateRoutingProfileResponse = Shapes::StructureShape.new(name: 'CreateRoutingProfileResponse')
67
+ CreateUseCaseRequest = Shapes::StructureShape.new(name: 'CreateUseCaseRequest')
68
+ CreateUseCaseResponse = Shapes::StructureShape.new(name: 'CreateUseCaseResponse')
69
+ CreateUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupRequest')
70
+ CreateUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupResponse')
50
71
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
51
72
  CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
52
73
  Credentials = Shapes::StructureShape.new(name: 'Credentials')
@@ -58,9 +79,19 @@ module Aws::Connect
58
79
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
59
80
  CurrentMetrics = Shapes::ListShape.new(name: 'CurrentMetrics')
60
81
  Delay = Shapes::IntegerShape.new(name: 'Delay')
82
+ DeleteInstanceRequest = Shapes::StructureShape.new(name: 'DeleteInstanceRequest')
83
+ DeleteIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationAssociationRequest')
84
+ DeleteUseCaseRequest = Shapes::StructureShape.new(name: 'DeleteUseCaseRequest')
85
+ DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
61
86
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
62
87
  DescribeContactFlowRequest = Shapes::StructureShape.new(name: 'DescribeContactFlowRequest')
63
88
  DescribeContactFlowResponse = Shapes::StructureShape.new(name: 'DescribeContactFlowResponse')
89
+ DescribeInstanceAttributeRequest = Shapes::StructureShape.new(name: 'DescribeInstanceAttributeRequest')
90
+ DescribeInstanceAttributeResponse = Shapes::StructureShape.new(name: 'DescribeInstanceAttributeResponse')
91
+ DescribeInstanceRequest = Shapes::StructureShape.new(name: 'DescribeInstanceRequest')
92
+ DescribeInstanceResponse = Shapes::StructureShape.new(name: 'DescribeInstanceResponse')
93
+ DescribeInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'DescribeInstanceStorageConfigRequest')
94
+ DescribeInstanceStorageConfigResponse = Shapes::StructureShape.new(name: 'DescribeInstanceStorageConfigResponse')
64
95
  DescribeRoutingProfileRequest = Shapes::StructureShape.new(name: 'DescribeRoutingProfileRequest')
65
96
  DescribeRoutingProfileResponse = Shapes::StructureShape.new(name: 'DescribeRoutingProfileResponse')
66
97
  DescribeUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupRequest')
@@ -69,14 +100,27 @@ module Aws::Connect
69
100
  DescribeUserHierarchyStructureResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureResponse')
70
101
  DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
71
102
  DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
103
+ Description = Shapes::StringShape.new(name: 'Description')
72
104
  DestinationNotAllowedException = Shapes::StructureShape.new(name: 'DestinationNotAllowedException')
73
105
  Dimensions = Shapes::StructureShape.new(name: 'Dimensions')
106
+ DirectoryAlias = Shapes::StringShape.new(name: 'DirectoryAlias')
107
+ DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
108
+ DirectoryType = Shapes::StringShape.new(name: 'DirectoryType')
74
109
  DirectoryUserId = Shapes::StringShape.new(name: 'DirectoryUserId')
110
+ DisassociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'DisassociateApprovedOriginRequest')
111
+ DisassociateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'DisassociateInstanceStorageConfigRequest')
112
+ DisassociateLambdaFunctionRequest = Shapes::StructureShape.new(name: 'DisassociateLambdaFunctionRequest')
113
+ DisassociateLexBotRequest = Shapes::StructureShape.new(name: 'DisassociateLexBotRequest')
75
114
  DisassociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'DisassociateRoutingProfileQueuesRequest')
115
+ DisassociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'DisassociateSecurityKeyRequest')
76
116
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
77
117
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
78
118
  Email = Shapes::StringShape.new(name: 'Email')
119
+ EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
120
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
79
121
  Filters = Shapes::StructureShape.new(name: 'Filters')
122
+ FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
123
+ FunctionArnsList = Shapes::ListShape.new(name: 'FunctionArnsList')
80
124
  GetContactAttributesRequest = Shapes::StructureShape.new(name: 'GetContactAttributesRequest')
81
125
  GetContactAttributesResponse = Shapes::StructureShape.new(name: 'GetContactAttributesResponse')
82
126
  GetCurrentMetricDataRequest = Shapes::StructureShape.new(name: 'GetCurrentMetricDataRequest')
@@ -95,8 +139,10 @@ module Aws::Connect
95
139
  HierarchyLevel = Shapes::StructureShape.new(name: 'HierarchyLevel')
96
140
  HierarchyLevelId = Shapes::StringShape.new(name: 'HierarchyLevelId')
97
141
  HierarchyLevelName = Shapes::StringShape.new(name: 'HierarchyLevelName')
142
+ HierarchyLevelUpdate = Shapes::StructureShape.new(name: 'HierarchyLevelUpdate')
98
143
  HierarchyPath = Shapes::StructureShape.new(name: 'HierarchyPath')
99
144
  HierarchyStructure = Shapes::StructureShape.new(name: 'HierarchyStructure')
145
+ HierarchyStructureUpdate = Shapes::StructureShape.new(name: 'HierarchyStructureUpdate')
100
146
  HistoricalMetric = Shapes::StructureShape.new(name: 'HistoricalMetric')
101
147
  HistoricalMetricData = Shapes::StructureShape.new(name: 'HistoricalMetricData')
102
148
  HistoricalMetricDataCollections = Shapes::ListShape.new(name: 'HistoricalMetricDataCollections')
@@ -104,20 +150,57 @@ module Aws::Connect
104
150
  HistoricalMetricResult = Shapes::StructureShape.new(name: 'HistoricalMetricResult')
105
151
  HistoricalMetricResults = Shapes::ListShape.new(name: 'HistoricalMetricResults')
106
152
  HistoricalMetrics = Shapes::ListShape.new(name: 'HistoricalMetrics')
153
+ Hours = Shapes::IntegerShape.new(name: 'Hours')
107
154
  HoursOfOperationId = Shapes::StringShape.new(name: 'HoursOfOperationId')
108
155
  HoursOfOperationName = Shapes::StringShape.new(name: 'HoursOfOperationName')
109
156
  HoursOfOperationSummary = Shapes::StructureShape.new(name: 'HoursOfOperationSummary')
110
157
  HoursOfOperationSummaryList = Shapes::ListShape.new(name: 'HoursOfOperationSummaryList')
158
+ InboundCallsEnabled = Shapes::BooleanShape.new(name: 'InboundCallsEnabled')
159
+ Instance = Shapes::StructureShape.new(name: 'Instance')
160
+ InstanceAttributeType = Shapes::StringShape.new(name: 'InstanceAttributeType')
161
+ InstanceAttributeValue = Shapes::StringShape.new(name: 'InstanceAttributeValue')
111
162
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
163
+ InstanceStatus = Shapes::StringShape.new(name: 'InstanceStatus')
164
+ InstanceStatusReason = Shapes::StructureShape.new(name: 'InstanceStatusReason')
165
+ InstanceStorageConfig = Shapes::StructureShape.new(name: 'InstanceStorageConfig')
166
+ InstanceStorageConfigs = Shapes::ListShape.new(name: 'InstanceStorageConfigs')
167
+ InstanceStorageResourceType = Shapes::StringShape.new(name: 'InstanceStorageResourceType')
168
+ InstanceSummary = Shapes::StructureShape.new(name: 'InstanceSummary')
169
+ InstanceSummaryList = Shapes::ListShape.new(name: 'InstanceSummaryList')
170
+ IntegrationAssociationId = Shapes::StringShape.new(name: 'IntegrationAssociationId')
171
+ IntegrationAssociationSummary = Shapes::StructureShape.new(name: 'IntegrationAssociationSummary')
172
+ IntegrationAssociationSummaryList = Shapes::ListShape.new(name: 'IntegrationAssociationSummaryList')
173
+ IntegrationType = Shapes::StringShape.new(name: 'IntegrationType')
112
174
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
113
175
  InvalidContactFlowException = Shapes::StructureShape.new(name: 'InvalidContactFlowException')
114
176
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
115
177
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
178
+ KeyId = Shapes::StringShape.new(name: 'KeyId')
179
+ KinesisFirehoseConfig = Shapes::StructureShape.new(name: 'KinesisFirehoseConfig')
180
+ KinesisStreamConfig = Shapes::StructureShape.new(name: 'KinesisStreamConfig')
181
+ KinesisVideoStreamConfig = Shapes::StructureShape.new(name: 'KinesisVideoStreamConfig')
182
+ LexBot = Shapes::StructureShape.new(name: 'LexBot')
183
+ LexBotsList = Shapes::ListShape.new(name: 'LexBotsList')
184
+ LexRegion = Shapes::StringShape.new(name: 'LexRegion')
116
185
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
186
+ ListApprovedOriginsRequest = Shapes::StructureShape.new(name: 'ListApprovedOriginsRequest')
187
+ ListApprovedOriginsResponse = Shapes::StructureShape.new(name: 'ListApprovedOriginsResponse')
117
188
  ListContactFlowsRequest = Shapes::StructureShape.new(name: 'ListContactFlowsRequest')
118
189
  ListContactFlowsResponse = Shapes::StructureShape.new(name: 'ListContactFlowsResponse')
119
190
  ListHoursOfOperationsRequest = Shapes::StructureShape.new(name: 'ListHoursOfOperationsRequest')
120
191
  ListHoursOfOperationsResponse = Shapes::StructureShape.new(name: 'ListHoursOfOperationsResponse')
192
+ ListInstanceAttributesRequest = Shapes::StructureShape.new(name: 'ListInstanceAttributesRequest')
193
+ ListInstanceAttributesResponse = Shapes::StructureShape.new(name: 'ListInstanceAttributesResponse')
194
+ ListInstanceStorageConfigsRequest = Shapes::StructureShape.new(name: 'ListInstanceStorageConfigsRequest')
195
+ ListInstanceStorageConfigsResponse = Shapes::StructureShape.new(name: 'ListInstanceStorageConfigsResponse')
196
+ ListInstancesRequest = Shapes::StructureShape.new(name: 'ListInstancesRequest')
197
+ ListInstancesResponse = Shapes::StructureShape.new(name: 'ListInstancesResponse')
198
+ ListIntegrationAssociationsRequest = Shapes::StructureShape.new(name: 'ListIntegrationAssociationsRequest')
199
+ ListIntegrationAssociationsResponse = Shapes::StructureShape.new(name: 'ListIntegrationAssociationsResponse')
200
+ ListLambdaFunctionsRequest = Shapes::StructureShape.new(name: 'ListLambdaFunctionsRequest')
201
+ ListLambdaFunctionsResponse = Shapes::StructureShape.new(name: 'ListLambdaFunctionsResponse')
202
+ ListLexBotsRequest = Shapes::StructureShape.new(name: 'ListLexBotsRequest')
203
+ ListLexBotsResponse = Shapes::StructureShape.new(name: 'ListLexBotsResponse')
121
204
  ListPhoneNumbersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumbersRequest')
122
205
  ListPhoneNumbersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumbersResponse')
123
206
  ListPromptsRequest = Shapes::StructureShape.new(name: 'ListPromptsRequest')
@@ -128,21 +211,34 @@ module Aws::Connect
128
211
  ListRoutingProfileQueuesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfileQueuesResponse')
129
212
  ListRoutingProfilesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfilesRequest')
130
213
  ListRoutingProfilesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfilesResponse')
214
+ ListSecurityKeysRequest = Shapes::StructureShape.new(name: 'ListSecurityKeysRequest')
215
+ ListSecurityKeysResponse = Shapes::StructureShape.new(name: 'ListSecurityKeysResponse')
131
216
  ListSecurityProfilesRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesRequest')
132
217
  ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
133
218
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
134
219
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
220
+ ListUseCasesRequest = Shapes::StructureShape.new(name: 'ListUseCasesRequest')
221
+ ListUseCasesResponse = Shapes::StructureShape.new(name: 'ListUseCasesResponse')
135
222
  ListUserHierarchyGroupsRequest = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsRequest')
136
223
  ListUserHierarchyGroupsResponse = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsResponse')
137
224
  ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
138
225
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
226
+ MaxResult10 = Shapes::IntegerShape.new(name: 'MaxResult10')
139
227
  MaxResult100 = Shapes::IntegerShape.new(name: 'MaxResult100')
140
228
  MaxResult1000 = Shapes::IntegerShape.new(name: 'MaxResult1000')
229
+ MaxResult2 = Shapes::IntegerShape.new(name: 'MaxResult2')
230
+ MaxResult25 = Shapes::IntegerShape.new(name: 'MaxResult25')
231
+ MaxResult7 = Shapes::IntegerShape.new(name: 'MaxResult7')
141
232
  MediaConcurrencies = Shapes::ListShape.new(name: 'MediaConcurrencies')
142
233
  MediaConcurrency = Shapes::StructureShape.new(name: 'MediaConcurrency')
143
234
  Message = Shapes::StringShape.new(name: 'Message')
235
+ Name = Shapes::StringShape.new(name: 'Name')
144
236
  NextToken = Shapes::StringShape.new(name: 'NextToken')
237
+ Origin = Shapes::StringShape.new(name: 'Origin')
238
+ OriginsList = Shapes::ListShape.new(name: 'OriginsList')
239
+ OutboundCallsEnabled = Shapes::BooleanShape.new(name: 'OutboundCallsEnabled')
145
240
  OutboundContactNotPermittedException = Shapes::StructureShape.new(name: 'OutboundContactNotPermittedException')
241
+ PEM = Shapes::StringShape.new(name: 'PEM')
146
242
  ParticipantDetails = Shapes::StructureShape.new(name: 'ParticipantDetails')
147
243
  ParticipantId = Shapes::StringShape.new(name: 'ParticipantId')
148
244
  ParticipantToken = Shapes::StringShape.new(name: 'ParticipantToken')
@@ -156,6 +252,7 @@ module Aws::Connect
156
252
  PhoneNumberType = Shapes::StringShape.new(name: 'PhoneNumberType')
157
253
  PhoneNumberTypes = Shapes::ListShape.new(name: 'PhoneNumberTypes')
158
254
  PhoneType = Shapes::StringShape.new(name: 'PhoneType')
255
+ Prefix = Shapes::StringShape.new(name: 'Prefix')
159
256
  Priority = Shapes::IntegerShape.new(name: 'Priority')
160
257
  ProblemDetail = Shapes::StructureShape.new(name: 'ProblemDetail')
161
258
  ProblemMessageString = Shapes::StringShape.new(name: 'ProblemMessageString')
@@ -172,7 +269,14 @@ module Aws::Connect
172
269
  QueueType = Shapes::StringShape.new(name: 'QueueType')
173
270
  QueueTypes = Shapes::ListShape.new(name: 'QueueTypes')
174
271
  Queues = Shapes::ListShape.new(name: 'Queues')
272
+ Reference = Shapes::StructureShape.new(name: 'Reference')
273
+ ReferenceKey = Shapes::StringShape.new(name: 'ReferenceKey')
274
+ ReferenceType = Shapes::StringShape.new(name: 'ReferenceType')
275
+ ReferenceValue = Shapes::StringShape.new(name: 'ReferenceValue')
276
+ ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
277
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
175
278
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
279
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
176
280
  ResumeContactRecordingRequest = Shapes::StructureShape.new(name: 'ResumeContactRecordingRequest')
177
281
  ResumeContactRecordingResponse = Shapes::StructureShape.new(name: 'ResumeContactRecordingResponse')
178
282
  RoutingProfile = Shapes::StructureShape.new(name: 'RoutingProfile')
@@ -187,23 +291,33 @@ module Aws::Connect
187
291
  RoutingProfileQueueReferenceList = Shapes::ListShape.new(name: 'RoutingProfileQueueReferenceList')
188
292
  RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
189
293
  RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
294
+ S3Config = Shapes::StructureShape.new(name: 'S3Config')
295
+ SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey')
296
+ SecurityKeysList = Shapes::ListShape.new(name: 'SecurityKeysList')
190
297
  SecurityProfileId = Shapes::StringShape.new(name: 'SecurityProfileId')
191
298
  SecurityProfileIds = Shapes::ListShape.new(name: 'SecurityProfileIds')
192
299
  SecurityProfileName = Shapes::StringShape.new(name: 'SecurityProfileName')
193
300
  SecurityProfileSummary = Shapes::StructureShape.new(name: 'SecurityProfileSummary')
194
301
  SecurityProfileSummaryList = Shapes::ListShape.new(name: 'SecurityProfileSummaryList')
195
302
  SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
303
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
304
+ SourceApplicationName = Shapes::StringShape.new(name: 'SourceApplicationName')
305
+ SourceType = Shapes::StringShape.new(name: 'SourceType')
196
306
  StartChatContactRequest = Shapes::StructureShape.new(name: 'StartChatContactRequest')
197
307
  StartChatContactResponse = Shapes::StructureShape.new(name: 'StartChatContactResponse')
198
308
  StartContactRecordingRequest = Shapes::StructureShape.new(name: 'StartContactRecordingRequest')
199
309
  StartContactRecordingResponse = Shapes::StructureShape.new(name: 'StartContactRecordingResponse')
200
310
  StartOutboundVoiceContactRequest = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactRequest')
201
311
  StartOutboundVoiceContactResponse = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactResponse')
312
+ StartTaskContactRequest = Shapes::StructureShape.new(name: 'StartTaskContactRequest')
313
+ StartTaskContactResponse = Shapes::StructureShape.new(name: 'StartTaskContactResponse')
202
314
  Statistic = Shapes::StringShape.new(name: 'Statistic')
203
315
  StopContactRecordingRequest = Shapes::StructureShape.new(name: 'StopContactRecordingRequest')
204
316
  StopContactRecordingResponse = Shapes::StructureShape.new(name: 'StopContactRecordingResponse')
205
317
  StopContactRequest = Shapes::StructureShape.new(name: 'StopContactRequest')
206
318
  StopContactResponse = Shapes::StructureShape.new(name: 'StopContactResponse')
319
+ StorageType = Shapes::StringShape.new(name: 'StorageType')
320
+ String = Shapes::StringShape.new(name: 'String')
207
321
  SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
208
322
  SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
209
323
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -214,21 +328,31 @@ module Aws::Connect
214
328
  Threshold = Shapes::StructureShape.new(name: 'Threshold')
215
329
  ThresholdValue = Shapes::FloatShape.new(name: 'ThresholdValue')
216
330
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
331
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
332
+ URI = Shapes::StringShape.new(name: 'URI')
217
333
  Unit = Shapes::StringShape.new(name: 'Unit')
218
334
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
219
335
  UpdateContactAttributesRequest = Shapes::StructureShape.new(name: 'UpdateContactAttributesRequest')
220
336
  UpdateContactAttributesResponse = Shapes::StructureShape.new(name: 'UpdateContactAttributesResponse')
221
337
  UpdateContactFlowContentRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowContentRequest')
222
338
  UpdateContactFlowNameRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowNameRequest')
339
+ UpdateInstanceAttributeRequest = Shapes::StructureShape.new(name: 'UpdateInstanceAttributeRequest')
340
+ UpdateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'UpdateInstanceStorageConfigRequest')
223
341
  UpdateRoutingProfileConcurrencyRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileConcurrencyRequest')
224
342
  UpdateRoutingProfileDefaultOutboundQueueRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileDefaultOutboundQueueRequest')
225
343
  UpdateRoutingProfileNameRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileNameRequest')
226
344
  UpdateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileQueuesRequest')
345
+ UpdateUserHierarchyGroupNameRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyGroupNameRequest')
227
346
  UpdateUserHierarchyRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyRequest')
347
+ UpdateUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyStructureRequest')
228
348
  UpdateUserIdentityInfoRequest = Shapes::StructureShape.new(name: 'UpdateUserIdentityInfoRequest')
229
349
  UpdateUserPhoneConfigRequest = Shapes::StructureShape.new(name: 'UpdateUserPhoneConfigRequest')
230
350
  UpdateUserRoutingProfileRequest = Shapes::StructureShape.new(name: 'UpdateUserRoutingProfileRequest')
231
351
  UpdateUserSecurityProfilesRequest = Shapes::StructureShape.new(name: 'UpdateUserSecurityProfilesRequest')
352
+ UseCase = Shapes::StructureShape.new(name: 'UseCase')
353
+ UseCaseId = Shapes::StringShape.new(name: 'UseCaseId')
354
+ UseCaseSummaryList = Shapes::ListShape.new(name: 'UseCaseSummaryList')
355
+ UseCaseType = Shapes::StringShape.new(name: 'UseCaseType')
232
356
  User = Shapes::StructureShape.new(name: 'User')
233
357
  UserId = Shapes::StringShape.new(name: 'UserId')
234
358
  UserIdentityInfo = Shapes::StructureShape.new(name: 'UserIdentityInfo')
@@ -241,14 +365,47 @@ module Aws::Connect
241
365
  VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
242
366
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
243
367
 
368
+ AssociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
369
+ AssociateApprovedOriginRequest.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, required: true, location_name: "Origin"))
370
+ AssociateApprovedOriginRequest.struct_class = Types::AssociateApprovedOriginRequest
371
+
372
+ AssociateInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
373
+ AssociateInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location_name: "ResourceType"))
374
+ AssociateInstanceStorageConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, required: true, location_name: "StorageConfig"))
375
+ AssociateInstanceStorageConfigRequest.struct_class = Types::AssociateInstanceStorageConfigRequest
376
+
377
+ AssociateInstanceStorageConfigResponse.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
378
+ AssociateInstanceStorageConfigResponse.struct_class = Types::AssociateInstanceStorageConfigResponse
379
+
380
+ AssociateLambdaFunctionRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
381
+ AssociateLambdaFunctionRequest.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
382
+ AssociateLambdaFunctionRequest.struct_class = Types::AssociateLambdaFunctionRequest
383
+
384
+ AssociateLexBotRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
385
+ AssociateLexBotRequest.add_member(:lex_bot, Shapes::ShapeRef.new(shape: LexBot, required: true, location_name: "LexBot"))
386
+ AssociateLexBotRequest.struct_class = Types::AssociateLexBotRequest
387
+
244
388
  AssociateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
245
389
  AssociateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
246
390
  AssociateRoutingProfileQueuesRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, required: true, location_name: "QueueConfigs"))
247
391
  AssociateRoutingProfileQueuesRequest.struct_class = Types::AssociateRoutingProfileQueuesRequest
248
392
 
393
+ AssociateSecurityKeyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
394
+ AssociateSecurityKeyRequest.add_member(:key, Shapes::ShapeRef.new(shape: PEM, required: true, location_name: "Key"))
395
+ AssociateSecurityKeyRequest.struct_class = Types::AssociateSecurityKeyRequest
396
+
397
+ AssociateSecurityKeyResponse.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
398
+ AssociateSecurityKeyResponse.struct_class = Types::AssociateSecurityKeyResponse
399
+
400
+ Attribute.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, location_name: "AttributeType"))
401
+ Attribute.add_member(:value, Shapes::ShapeRef.new(shape: InstanceAttributeValue, location_name: "Value"))
402
+ Attribute.struct_class = Types::Attribute
403
+
249
404
  Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
250
405
  Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
251
406
 
407
+ AttributesList.member = Shapes::ShapeRef.new(shape: Attribute)
408
+
252
409
  Channels.member = Shapes::ShapeRef.new(shape: Channel)
253
410
 
254
411
  ChatMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, required: true, location_name: "ContentType"))
@@ -280,6 +437,9 @@ module Aws::Connect
280
437
  ContactNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
281
438
  ContactNotFoundException.struct_class = Types::ContactNotFoundException
282
439
 
440
+ ContactReferences.key = Shapes::ShapeRef.new(shape: ReferenceKey)
441
+ ContactReferences.value = Shapes::ShapeRef.new(shape: Reference)
442
+
283
443
  CreateContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
284
444
  CreateContactFlowRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, required: true, location_name: "Name"))
285
445
  CreateContactFlowRequest.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, required: true, location_name: "Type"))
@@ -292,6 +452,30 @@ module Aws::Connect
292
452
  CreateContactFlowResponse.add_member(:contact_flow_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactFlowArn"))
293
453
  CreateContactFlowResponse.struct_class = Types::CreateContactFlowResponse
294
454
 
455
+ CreateInstanceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
456
+ CreateInstanceRequest.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, required: true, location_name: "IdentityManagementType"))
457
+ CreateInstanceRequest.add_member(:instance_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, location_name: "InstanceAlias"))
458
+ CreateInstanceRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
459
+ CreateInstanceRequest.add_member(:inbound_calls_enabled, Shapes::ShapeRef.new(shape: InboundCallsEnabled, required: true, location_name: "InboundCallsEnabled"))
460
+ CreateInstanceRequest.add_member(:outbound_calls_enabled, Shapes::ShapeRef.new(shape: OutboundCallsEnabled, required: true, location_name: "OutboundCallsEnabled"))
461
+ CreateInstanceRequest.struct_class = Types::CreateInstanceRequest
462
+
463
+ CreateInstanceResponse.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
464
+ CreateInstanceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
465
+ CreateInstanceResponse.struct_class = Types::CreateInstanceResponse
466
+
467
+ CreateIntegrationAssociationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
468
+ CreateIntegrationAssociationRequest.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, required: true, location_name: "IntegrationType"))
469
+ CreateIntegrationAssociationRequest.add_member(:integration_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "IntegrationArn"))
470
+ CreateIntegrationAssociationRequest.add_member(:source_application_url, Shapes::ShapeRef.new(shape: URI, required: true, location_name: "SourceApplicationUrl"))
471
+ CreateIntegrationAssociationRequest.add_member(:source_application_name, Shapes::ShapeRef.new(shape: SourceApplicationName, required: true, location_name: "SourceApplicationName"))
472
+ CreateIntegrationAssociationRequest.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, required: true, location_name: "SourceType"))
473
+ CreateIntegrationAssociationRequest.struct_class = Types::CreateIntegrationAssociationRequest
474
+
475
+ CreateIntegrationAssociationResponse.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, location_name: "IntegrationAssociationId"))
476
+ CreateIntegrationAssociationResponse.add_member(:integration_association_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "IntegrationAssociationArn"))
477
+ CreateIntegrationAssociationResponse.struct_class = Types::CreateIntegrationAssociationResponse
478
+
295
479
  CreateRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
296
480
  CreateRoutingProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, required: true, location_name: "Name"))
297
481
  CreateRoutingProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: RoutingProfileDescription, required: true, location_name: "Description"))
@@ -305,6 +489,24 @@ module Aws::Connect
305
489
  CreateRoutingProfileResponse.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
306
490
  CreateRoutingProfileResponse.struct_class = Types::CreateRoutingProfileResponse
307
491
 
492
+ CreateUseCaseRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
493
+ CreateUseCaseRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
494
+ CreateUseCaseRequest.add_member(:use_case_type, Shapes::ShapeRef.new(shape: UseCaseType, required: true, location_name: "UseCaseType"))
495
+ CreateUseCaseRequest.struct_class = Types::CreateUseCaseRequest
496
+
497
+ CreateUseCaseResponse.add_member(:use_case_id, Shapes::ShapeRef.new(shape: UseCaseId, location_name: "UseCaseId"))
498
+ CreateUseCaseResponse.add_member(:use_case_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "UseCaseArn"))
499
+ CreateUseCaseResponse.struct_class = Types::CreateUseCaseResponse
500
+
501
+ CreateUserHierarchyGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
502
+ CreateUserHierarchyGroupRequest.add_member(:parent_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "ParentGroupId"))
503
+ CreateUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
504
+ CreateUserHierarchyGroupRequest.struct_class = Types::CreateUserHierarchyGroupRequest
505
+
506
+ CreateUserHierarchyGroupResponse.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
507
+ CreateUserHierarchyGroupResponse.add_member(:hierarchy_group_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "HierarchyGroupArn"))
508
+ CreateUserHierarchyGroupResponse.struct_class = Types::CreateUserHierarchyGroupResponse
509
+
308
510
  CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, required: true, location_name: "Username"))
309
511
  CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password"))
310
512
  CreateUserRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, location_name: "IdentityInfo"))
@@ -345,6 +547,22 @@ module Aws::Connect
345
547
 
346
548
  CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
347
549
 
550
+ DeleteInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
551
+ DeleteInstanceRequest.struct_class = Types::DeleteInstanceRequest
552
+
553
+ DeleteIntegrationAssociationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
554
+ DeleteIntegrationAssociationRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
555
+ DeleteIntegrationAssociationRequest.struct_class = Types::DeleteIntegrationAssociationRequest
556
+
557
+ DeleteUseCaseRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
558
+ DeleteUseCaseRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
559
+ DeleteUseCaseRequest.add_member(:use_case_id, Shapes::ShapeRef.new(shape: UseCaseId, required: true, location: "uri", location_name: "UseCaseId"))
560
+ DeleteUseCaseRequest.struct_class = Types::DeleteUseCaseRequest
561
+
562
+ DeleteUserHierarchyGroupRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
563
+ DeleteUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
564
+ DeleteUserHierarchyGroupRequest.struct_class = Types::DeleteUserHierarchyGroupRequest
565
+
348
566
  DeleteUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
349
567
  DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
350
568
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
@@ -356,6 +574,27 @@ module Aws::Connect
356
574
  DescribeContactFlowResponse.add_member(:contact_flow, Shapes::ShapeRef.new(shape: ContactFlow, location_name: "ContactFlow"))
357
575
  DescribeContactFlowResponse.struct_class = Types::DescribeContactFlowResponse
358
576
 
577
+ DescribeInstanceAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
578
+ DescribeInstanceAttributeRequest.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, required: true, location: "uri", location_name: "AttributeType"))
579
+ DescribeInstanceAttributeRequest.struct_class = Types::DescribeInstanceAttributeRequest
580
+
581
+ DescribeInstanceAttributeResponse.add_member(:attribute, Shapes::ShapeRef.new(shape: Attribute, location_name: "Attribute"))
582
+ DescribeInstanceAttributeResponse.struct_class = Types::DescribeInstanceAttributeResponse
583
+
584
+ DescribeInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
585
+ DescribeInstanceRequest.struct_class = Types::DescribeInstanceRequest
586
+
587
+ DescribeInstanceResponse.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, location_name: "Instance"))
588
+ DescribeInstanceResponse.struct_class = Types::DescribeInstanceResponse
589
+
590
+ DescribeInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
591
+ DescribeInstanceStorageConfigRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
592
+ DescribeInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
593
+ DescribeInstanceStorageConfigRequest.struct_class = Types::DescribeInstanceStorageConfigRequest
594
+
595
+ DescribeInstanceStorageConfigResponse.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, location_name: "StorageConfig"))
596
+ DescribeInstanceStorageConfigResponse.struct_class = Types::DescribeInstanceStorageConfigResponse
597
+
359
598
  DescribeRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
360
599
  DescribeRoutingProfileRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
361
600
  DescribeRoutingProfileRequest.struct_class = Types::DescribeRoutingProfileRequest
@@ -390,18 +629,46 @@ module Aws::Connect
390
629
  Dimensions.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
391
630
  Dimensions.struct_class = Types::Dimensions
392
631
 
632
+ DisassociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
633
+ DisassociateApprovedOriginRequest.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, required: true, location: "querystring", location_name: "origin"))
634
+ DisassociateApprovedOriginRequest.struct_class = Types::DisassociateApprovedOriginRequest
635
+
636
+ DisassociateInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
637
+ DisassociateInstanceStorageConfigRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
638
+ DisassociateInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
639
+ DisassociateInstanceStorageConfigRequest.struct_class = Types::DisassociateInstanceStorageConfigRequest
640
+
641
+ DisassociateLambdaFunctionRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
642
+ DisassociateLambdaFunctionRequest.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location: "querystring", location_name: "functionArn"))
643
+ DisassociateLambdaFunctionRequest.struct_class = Types::DisassociateLambdaFunctionRequest
644
+
645
+ DisassociateLexBotRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
646
+ DisassociateLexBotRequest.add_member(:bot_name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "querystring", location_name: "botName"))
647
+ DisassociateLexBotRequest.add_member(:lex_region, Shapes::ShapeRef.new(shape: LexRegion, required: true, location: "querystring", location_name: "lexRegion"))
648
+ DisassociateLexBotRequest.struct_class = Types::DisassociateLexBotRequest
649
+
393
650
  DisassociateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
394
651
  DisassociateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
395
652
  DisassociateRoutingProfileQueuesRequest.add_member(:queue_references, Shapes::ShapeRef.new(shape: RoutingProfileQueueReferenceList, required: true, location_name: "QueueReferences"))
396
653
  DisassociateRoutingProfileQueuesRequest.struct_class = Types::DisassociateRoutingProfileQueuesRequest
397
654
 
655
+ DisassociateSecurityKeyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
656
+ DisassociateSecurityKeyRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
657
+ DisassociateSecurityKeyRequest.struct_class = Types::DisassociateSecurityKeyRequest
658
+
398
659
  DuplicateResourceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
399
660
  DuplicateResourceException.struct_class = Types::DuplicateResourceException
400
661
 
662
+ EncryptionConfig.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "EncryptionType"))
663
+ EncryptionConfig.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, required: true, location_name: "KeyId"))
664
+ EncryptionConfig.struct_class = Types::EncryptionConfig
665
+
401
666
  Filters.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
402
667
  Filters.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "Channels"))
403
668
  Filters.struct_class = Types::Filters
404
669
 
670
+ FunctionArnsList.member = Shapes::ShapeRef.new(shape: FunctionArn)
671
+
405
672
  GetContactAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
406
673
  GetContactAttributesRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "InitialContactId"))
407
674
  GetContactAttributesRequest.struct_class = Types::GetContactAttributesRequest
@@ -463,6 +730,9 @@ module Aws::Connect
463
730
  HierarchyLevel.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyLevelName, location_name: "Name"))
464
731
  HierarchyLevel.struct_class = Types::HierarchyLevel
465
732
 
733
+ HierarchyLevelUpdate.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyLevelName, required: true, location_name: "Name"))
734
+ HierarchyLevelUpdate.struct_class = Types::HierarchyLevelUpdate
735
+
466
736
  HierarchyPath.add_member(:level_one, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelOne"))
467
737
  HierarchyPath.add_member(:level_two, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelTwo"))
468
738
  HierarchyPath.add_member(:level_three, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelThree"))
@@ -477,6 +747,13 @@ module Aws::Connect
477
747
  HierarchyStructure.add_member(:level_five, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelFive"))
478
748
  HierarchyStructure.struct_class = Types::HierarchyStructure
479
749
 
750
+ HierarchyStructureUpdate.add_member(:level_one, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelOne"))
751
+ HierarchyStructureUpdate.add_member(:level_two, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelTwo"))
752
+ HierarchyStructureUpdate.add_member(:level_three, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelThree"))
753
+ HierarchyStructureUpdate.add_member(:level_four, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelFour"))
754
+ HierarchyStructureUpdate.add_member(:level_five, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelFive"))
755
+ HierarchyStructureUpdate.struct_class = Types::HierarchyStructureUpdate
756
+
480
757
  HistoricalMetric.add_member(:name, Shapes::ShapeRef.new(shape: HistoricalMetricName, location_name: "Name"))
481
758
  HistoricalMetric.add_member(:threshold, Shapes::ShapeRef.new(shape: Threshold, location_name: "Threshold", metadata: {"box"=>true}))
482
759
  HistoricalMetric.add_member(:statistic, Shapes::ShapeRef.new(shape: Statistic, location_name: "Statistic"))
@@ -504,6 +781,56 @@ module Aws::Connect
504
781
 
505
782
  HoursOfOperationSummaryList.member = Shapes::ShapeRef.new(shape: HoursOfOperationSummary)
506
783
 
784
+ Instance.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
785
+ Instance.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
786
+ Instance.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, location_name: "IdentityManagementType"))
787
+ Instance.add_member(:instance_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, location_name: "InstanceAlias"))
788
+ Instance.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
789
+ Instance.add_member(:service_role, Shapes::ShapeRef.new(shape: ARN, location_name: "ServiceRole"))
790
+ Instance.add_member(:instance_status, Shapes::ShapeRef.new(shape: InstanceStatus, location_name: "InstanceStatus"))
791
+ Instance.add_member(:status_reason, Shapes::ShapeRef.new(shape: InstanceStatusReason, location_name: "StatusReason"))
792
+ Instance.add_member(:inbound_calls_enabled, Shapes::ShapeRef.new(shape: InboundCallsEnabled, location_name: "InboundCallsEnabled"))
793
+ Instance.add_member(:outbound_calls_enabled, Shapes::ShapeRef.new(shape: OutboundCallsEnabled, location_name: "OutboundCallsEnabled"))
794
+ Instance.struct_class = Types::Instance
795
+
796
+ InstanceStatusReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
797
+ InstanceStatusReason.struct_class = Types::InstanceStatusReason
798
+
799
+ InstanceStorageConfig.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
800
+ InstanceStorageConfig.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "StorageType"))
801
+ InstanceStorageConfig.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "S3Config"))
802
+ InstanceStorageConfig.add_member(:kinesis_video_stream_config, Shapes::ShapeRef.new(shape: KinesisVideoStreamConfig, location_name: "KinesisVideoStreamConfig"))
803
+ InstanceStorageConfig.add_member(:kinesis_stream_config, Shapes::ShapeRef.new(shape: KinesisStreamConfig, location_name: "KinesisStreamConfig"))
804
+ InstanceStorageConfig.add_member(:kinesis_firehose_config, Shapes::ShapeRef.new(shape: KinesisFirehoseConfig, location_name: "KinesisFirehoseConfig"))
805
+ InstanceStorageConfig.struct_class = Types::InstanceStorageConfig
806
+
807
+ InstanceStorageConfigs.member = Shapes::ShapeRef.new(shape: InstanceStorageConfig)
808
+
809
+ InstanceSummary.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
810
+ InstanceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
811
+ InstanceSummary.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, location_name: "IdentityManagementType"))
812
+ InstanceSummary.add_member(:instance_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, location_name: "InstanceAlias"))
813
+ InstanceSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
814
+ InstanceSummary.add_member(:service_role, Shapes::ShapeRef.new(shape: ARN, location_name: "ServiceRole"))
815
+ InstanceSummary.add_member(:instance_status, Shapes::ShapeRef.new(shape: InstanceStatus, location_name: "InstanceStatus"))
816
+ InstanceSummary.add_member(:inbound_calls_enabled, Shapes::ShapeRef.new(shape: InboundCallsEnabled, location_name: "InboundCallsEnabled"))
817
+ InstanceSummary.add_member(:outbound_calls_enabled, Shapes::ShapeRef.new(shape: OutboundCallsEnabled, location_name: "OutboundCallsEnabled"))
818
+ InstanceSummary.struct_class = Types::InstanceSummary
819
+
820
+ InstanceSummaryList.member = Shapes::ShapeRef.new(shape: InstanceSummary)
821
+
822
+ IntegrationAssociationSummary.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, location_name: "IntegrationAssociationId"))
823
+ IntegrationAssociationSummary.add_member(:integration_association_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "IntegrationAssociationArn"))
824
+ IntegrationAssociationSummary.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
825
+ IntegrationAssociationSummary.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "IntegrationType"))
826
+ IntegrationAssociationSummary.add_member(:integration_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "IntegrationArn"))
827
+ IntegrationAssociationSummary.add_member(:source_application_url, Shapes::ShapeRef.new(shape: URI, location_name: "SourceApplicationUrl"))
828
+ IntegrationAssociationSummary.add_member(:source_application_name, Shapes::ShapeRef.new(shape: SourceApplicationName, location_name: "SourceApplicationName"))
829
+ IntegrationAssociationSummary.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, location_name: "SourceType"))
830
+ IntegrationAssociationSummary.struct_class = Types::IntegrationAssociationSummary
831
+
832
+ IntegrationAssociationSummaryList.member = Shapes::ShapeRef.new(shape: IntegrationAssociationSummary)
833
+
507
834
  InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
508
835
  InternalServiceException.struct_class = Types::InternalServiceException
509
836
 
@@ -516,9 +843,35 @@ module Aws::Connect
516
843
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
517
844
  InvalidRequestException.struct_class = Types::InvalidRequestException
518
845
 
846
+ KinesisFirehoseConfig.add_member(:firehose_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "FirehoseArn"))
847
+ KinesisFirehoseConfig.struct_class = Types::KinesisFirehoseConfig
848
+
849
+ KinesisStreamConfig.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "StreamArn"))
850
+ KinesisStreamConfig.struct_class = Types::KinesisStreamConfig
851
+
852
+ KinesisVideoStreamConfig.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "Prefix"))
853
+ KinesisVideoStreamConfig.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: Hours, required: true, location_name: "RetentionPeriodHours"))
854
+ KinesisVideoStreamConfig.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, required: true, location_name: "EncryptionConfig"))
855
+ KinesisVideoStreamConfig.struct_class = Types::KinesisVideoStreamConfig
856
+
857
+ LexBot.add_member(:name, Shapes::ShapeRef.new(shape: BotName, location_name: "Name"))
858
+ LexBot.add_member(:lex_region, Shapes::ShapeRef.new(shape: LexRegion, location_name: "LexRegion"))
859
+ LexBot.struct_class = Types::LexBot
860
+
861
+ LexBotsList.member = Shapes::ShapeRef.new(shape: LexBot)
862
+
519
863
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
520
864
  LimitExceededException.struct_class = Types::LimitExceededException
521
865
 
866
+ ListApprovedOriginsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
867
+ ListApprovedOriginsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
868
+ ListApprovedOriginsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult25, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
869
+ ListApprovedOriginsRequest.struct_class = Types::ListApprovedOriginsRequest
870
+
871
+ ListApprovedOriginsResponse.add_member(:origins, Shapes::ShapeRef.new(shape: OriginsList, location_name: "Origins"))
872
+ ListApprovedOriginsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
873
+ ListApprovedOriginsResponse.struct_class = Types::ListApprovedOriginsResponse
874
+
522
875
  ListContactFlowsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
523
876
  ListContactFlowsRequest.add_member(:contact_flow_types, Shapes::ShapeRef.new(shape: ContactFlowTypes, location: "querystring", location_name: "contactFlowTypes"))
524
877
  ListContactFlowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -538,6 +891,60 @@ module Aws::Connect
538
891
  ListHoursOfOperationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
539
892
  ListHoursOfOperationsResponse.struct_class = Types::ListHoursOfOperationsResponse
540
893
 
894
+ ListInstanceAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
895
+ ListInstanceAttributesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
896
+ ListInstanceAttributesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult7, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
897
+ ListInstanceAttributesRequest.struct_class = Types::ListInstanceAttributesRequest
898
+
899
+ ListInstanceAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributesList, location_name: "Attributes"))
900
+ ListInstanceAttributesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
901
+ ListInstanceAttributesResponse.struct_class = Types::ListInstanceAttributesResponse
902
+
903
+ ListInstanceStorageConfigsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
904
+ ListInstanceStorageConfigsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
905
+ ListInstanceStorageConfigsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
906
+ ListInstanceStorageConfigsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
907
+ ListInstanceStorageConfigsRequest.struct_class = Types::ListInstanceStorageConfigsRequest
908
+
909
+ ListInstanceStorageConfigsResponse.add_member(:storage_configs, Shapes::ShapeRef.new(shape: InstanceStorageConfigs, location_name: "StorageConfigs"))
910
+ ListInstanceStorageConfigsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
911
+ ListInstanceStorageConfigsResponse.struct_class = Types::ListInstanceStorageConfigsResponse
912
+
913
+ ListInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
914
+ ListInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
915
+ ListInstancesRequest.struct_class = Types::ListInstancesRequest
916
+
917
+ ListInstancesResponse.add_member(:instance_summary_list, Shapes::ShapeRef.new(shape: InstanceSummaryList, location_name: "InstanceSummaryList"))
918
+ ListInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
919
+ ListInstancesResponse.struct_class = Types::ListInstancesResponse
920
+
921
+ ListIntegrationAssociationsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
922
+ ListIntegrationAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
923
+ ListIntegrationAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
924
+ ListIntegrationAssociationsRequest.struct_class = Types::ListIntegrationAssociationsRequest
925
+
926
+ ListIntegrationAssociationsResponse.add_member(:integration_association_summary_list, Shapes::ShapeRef.new(shape: IntegrationAssociationSummaryList, location_name: "IntegrationAssociationSummaryList"))
927
+ ListIntegrationAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
928
+ ListIntegrationAssociationsResponse.struct_class = Types::ListIntegrationAssociationsResponse
929
+
930
+ ListLambdaFunctionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
931
+ ListLambdaFunctionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
932
+ ListLambdaFunctionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult25, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
933
+ ListLambdaFunctionsRequest.struct_class = Types::ListLambdaFunctionsRequest
934
+
935
+ ListLambdaFunctionsResponse.add_member(:lambda_functions, Shapes::ShapeRef.new(shape: FunctionArnsList, location_name: "LambdaFunctions"))
936
+ ListLambdaFunctionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
937
+ ListLambdaFunctionsResponse.struct_class = Types::ListLambdaFunctionsResponse
938
+
939
+ ListLexBotsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
940
+ ListLexBotsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
941
+ ListLexBotsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult25, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
942
+ ListLexBotsRequest.struct_class = Types::ListLexBotsRequest
943
+
944
+ ListLexBotsResponse.add_member(:lex_bots, Shapes::ShapeRef.new(shape: LexBotsList, location_name: "LexBots"))
945
+ ListLexBotsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
946
+ ListLexBotsResponse.struct_class = Types::ListLexBotsResponse
947
+
541
948
  ListPhoneNumbersRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
542
949
  ListPhoneNumbersRequest.add_member(:phone_number_types, Shapes::ShapeRef.new(shape: PhoneNumberTypes, location: "querystring", location_name: "phoneNumberTypes"))
543
950
  ListPhoneNumbersRequest.add_member(:phone_number_country_codes, Shapes::ShapeRef.new(shape: PhoneNumberCountryCodes, location: "querystring", location_name: "phoneNumberCountryCodes"))
@@ -587,6 +994,15 @@ module Aws::Connect
587
994
  ListRoutingProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
588
995
  ListRoutingProfilesResponse.struct_class = Types::ListRoutingProfilesResponse
589
996
 
997
+ ListSecurityKeysRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
998
+ ListSecurityKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
999
+ ListSecurityKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult2, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
1000
+ ListSecurityKeysRequest.struct_class = Types::ListSecurityKeysRequest
1001
+
1002
+ ListSecurityKeysResponse.add_member(:security_keys, Shapes::ShapeRef.new(shape: SecurityKeysList, location_name: "SecurityKeys"))
1003
+ ListSecurityKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1004
+ ListSecurityKeysResponse.struct_class = Types::ListSecurityKeysResponse
1005
+
590
1006
  ListSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
591
1007
  ListSecurityProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
592
1008
  ListSecurityProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -602,6 +1018,16 @@ module Aws::Connect
602
1018
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
603
1019
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
604
1020
 
1021
+ ListUseCasesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1022
+ ListUseCasesRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
1023
+ ListUseCasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1024
+ ListUseCasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
1025
+ ListUseCasesRequest.struct_class = Types::ListUseCasesRequest
1026
+
1027
+ ListUseCasesResponse.add_member(:use_case_summary_list, Shapes::ShapeRef.new(shape: UseCaseSummaryList, location_name: "UseCaseSummaryList"))
1028
+ ListUseCasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1029
+ ListUseCasesResponse.struct_class = Types::ListUseCasesResponse
1030
+
605
1031
  ListUserHierarchyGroupsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
606
1032
  ListUserHierarchyGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
607
1033
  ListUserHierarchyGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -626,6 +1052,8 @@ module Aws::Connect
626
1052
  MediaConcurrency.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, required: true, location_name: "Concurrency"))
627
1053
  MediaConcurrency.struct_class = Types::MediaConcurrency
628
1054
 
1055
+ OriginsList.member = Shapes::ShapeRef.new(shape: Origin)
1056
+
629
1057
  OutboundContactNotPermittedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
630
1058
  OutboundContactNotPermittedException.struct_class = Types::OutboundContactNotPermittedException
631
1059
 
@@ -673,6 +1101,18 @@ module Aws::Connect
673
1101
 
674
1102
  Queues.member = Shapes::ShapeRef.new(shape: QueueId)
675
1103
 
1104
+ Reference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, required: true, location_name: "Value"))
1105
+ Reference.add_member(:type, Shapes::ShapeRef.new(shape: ReferenceType, required: true, location_name: "Type"))
1106
+ Reference.struct_class = Types::Reference
1107
+
1108
+ ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1109
+ ResourceConflictException.struct_class = Types::ResourceConflictException
1110
+
1111
+ ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1112
+ ResourceInUseException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
1113
+ ResourceInUseException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceId"))
1114
+ ResourceInUseException.struct_class = Types::ResourceInUseException
1115
+
676
1116
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
677
1117
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
678
1118
 
@@ -723,6 +1163,18 @@ module Aws::Connect
723
1163
 
724
1164
  RoutingProfileSummaryList.member = Shapes::ShapeRef.new(shape: RoutingProfileSummary)
725
1165
 
1166
+ S3Config.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "BucketName"))
1167
+ S3Config.add_member(:bucket_prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "BucketPrefix"))
1168
+ S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
1169
+ S3Config.struct_class = Types::S3Config
1170
+
1171
+ SecurityKey.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
1172
+ SecurityKey.add_member(:key, Shapes::ShapeRef.new(shape: PEM, location_name: "Key"))
1173
+ SecurityKey.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
1174
+ SecurityKey.struct_class = Types::SecurityKey
1175
+
1176
+ SecurityKeysList.member = Shapes::ShapeRef.new(shape: SecurityKey)
1177
+
726
1178
  SecurityProfileIds.member = Shapes::ShapeRef.new(shape: SecurityProfileId)
727
1179
 
728
1180
  SecurityProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "Id"))
@@ -732,6 +1184,9 @@ module Aws::Connect
732
1184
 
733
1185
  SecurityProfileSummaryList.member = Shapes::ShapeRef.new(shape: SecurityProfileSummary)
734
1186
 
1187
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1188
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1189
+
735
1190
  StartChatContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
736
1191
  StartChatContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
737
1192
  StartChatContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
@@ -765,6 +1220,19 @@ module Aws::Connect
765
1220
  StartOutboundVoiceContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
766
1221
  StartOutboundVoiceContactResponse.struct_class = Types::StartOutboundVoiceContactResponse
767
1222
 
1223
+ StartTaskContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
1224
+ StartTaskContactRequest.add_member(:previous_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "PreviousContactId"))
1225
+ StartTaskContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
1226
+ StartTaskContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
1227
+ StartTaskContactRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
1228
+ StartTaskContactRequest.add_member(:references, Shapes::ShapeRef.new(shape: ContactReferences, location_name: "References"))
1229
+ StartTaskContactRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1230
+ StartTaskContactRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
1231
+ StartTaskContactRequest.struct_class = Types::StartTaskContactRequest
1232
+
1233
+ StartTaskContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
1234
+ StartTaskContactResponse.struct_class = Types::StartTaskContactResponse
1235
+
768
1236
  StopContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
769
1237
  StopContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
770
1238
  StopContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
@@ -823,6 +1291,17 @@ module Aws::Connect
823
1291
  UpdateContactFlowNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
824
1292
  UpdateContactFlowNameRequest.struct_class = Types::UpdateContactFlowNameRequest
825
1293
 
1294
+ UpdateInstanceAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1295
+ UpdateInstanceAttributeRequest.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, required: true, location: "uri", location_name: "AttributeType"))
1296
+ UpdateInstanceAttributeRequest.add_member(:value, Shapes::ShapeRef.new(shape: InstanceAttributeValue, required: true, location_name: "Value"))
1297
+ UpdateInstanceAttributeRequest.struct_class = Types::UpdateInstanceAttributeRequest
1298
+
1299
+ UpdateInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1300
+ UpdateInstanceStorageConfigRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
1301
+ UpdateInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
1302
+ UpdateInstanceStorageConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, required: true, location_name: "StorageConfig"))
1303
+ UpdateInstanceStorageConfigRequest.struct_class = Types::UpdateInstanceStorageConfigRequest
1304
+
826
1305
  UpdateRoutingProfileConcurrencyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
827
1306
  UpdateRoutingProfileConcurrencyRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
828
1307
  UpdateRoutingProfileConcurrencyRequest.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, required: true, location_name: "MediaConcurrencies"))
@@ -844,11 +1323,20 @@ module Aws::Connect
844
1323
  UpdateRoutingProfileQueuesRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, required: true, location_name: "QueueConfigs"))
845
1324
  UpdateRoutingProfileQueuesRequest.struct_class = Types::UpdateRoutingProfileQueuesRequest
846
1325
 
1326
+ UpdateUserHierarchyGroupNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
1327
+ UpdateUserHierarchyGroupNameRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
1328
+ UpdateUserHierarchyGroupNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1329
+ UpdateUserHierarchyGroupNameRequest.struct_class = Types::UpdateUserHierarchyGroupNameRequest
1330
+
847
1331
  UpdateUserHierarchyRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
848
1332
  UpdateUserHierarchyRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
849
1333
  UpdateUserHierarchyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
850
1334
  UpdateUserHierarchyRequest.struct_class = Types::UpdateUserHierarchyRequest
851
1335
 
1336
+ UpdateUserHierarchyStructureRequest.add_member(:hierarchy_structure, Shapes::ShapeRef.new(shape: HierarchyStructureUpdate, required: true, location_name: "HierarchyStructure"))
1337
+ UpdateUserHierarchyStructureRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1338
+ UpdateUserHierarchyStructureRequest.struct_class = Types::UpdateUserHierarchyStructureRequest
1339
+
852
1340
  UpdateUserIdentityInfoRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, required: true, location_name: "IdentityInfo"))
853
1341
  UpdateUserIdentityInfoRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
854
1342
  UpdateUserIdentityInfoRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -869,6 +1357,13 @@ module Aws::Connect
869
1357
  UpdateUserSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
870
1358
  UpdateUserSecurityProfilesRequest.struct_class = Types::UpdateUserSecurityProfilesRequest
871
1359
 
1360
+ UseCase.add_member(:use_case_id, Shapes::ShapeRef.new(shape: UseCaseId, location_name: "UseCaseId"))
1361
+ UseCase.add_member(:use_case_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "UseCaseArn"))
1362
+ UseCase.add_member(:use_case_type, Shapes::ShapeRef.new(shape: UseCaseType, location_name: "UseCaseType"))
1363
+ UseCase.struct_class = Types::UseCase
1364
+
1365
+ UseCaseSummaryList.member = Shapes::ShapeRef.new(shape: UseCase)
1366
+
872
1367
  User.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id"))
873
1368
  User.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
874
1369
  User.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username"))
@@ -924,6 +1419,65 @@ module Aws::Connect
924
1419
  "uid" => "connect-2017-08-08",
925
1420
  }
926
1421
 
1422
+ api.add_operation(:associate_approved_origin, Seahorse::Model::Operation.new.tap do |o|
1423
+ o.name = "AssociateApprovedOrigin"
1424
+ o.http_method = "PUT"
1425
+ o.http_request_uri = "/instance/{InstanceId}/approved-origin"
1426
+ o.input = Shapes::ShapeRef.new(shape: AssociateApprovedOriginRequest)
1427
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1428
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1429
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1430
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1431
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1432
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1433
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1434
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1435
+ end)
1436
+
1437
+ api.add_operation(:associate_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
1438
+ o.name = "AssociateInstanceStorageConfig"
1439
+ o.http_method = "PUT"
1440
+ o.http_request_uri = "/instance/{InstanceId}/storage-config"
1441
+ o.input = Shapes::ShapeRef.new(shape: AssociateInstanceStorageConfigRequest)
1442
+ o.output = Shapes::ShapeRef.new(shape: AssociateInstanceStorageConfigResponse)
1443
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1444
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1445
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1446
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1447
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1448
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1449
+ end)
1450
+
1451
+ api.add_operation(:associate_lambda_function, Seahorse::Model::Operation.new.tap do |o|
1452
+ o.name = "AssociateLambdaFunction"
1453
+ o.http_method = "PUT"
1454
+ o.http_request_uri = "/instance/{InstanceId}/lambda-function"
1455
+ o.input = Shapes::ShapeRef.new(shape: AssociateLambdaFunctionRequest)
1456
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1457
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1458
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1459
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1460
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1461
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1462
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1463
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1464
+ end)
1465
+
1466
+ api.add_operation(:associate_lex_bot, Seahorse::Model::Operation.new.tap do |o|
1467
+ o.name = "AssociateLexBot"
1468
+ o.http_method = "PUT"
1469
+ o.http_request_uri = "/instance/{InstanceId}/lex-bot"
1470
+ o.input = Shapes::ShapeRef.new(shape: AssociateLexBotRequest)
1471
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1472
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1473
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1474
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1475
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1476
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1477
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1478
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1479
+ end)
1480
+
927
1481
  api.add_operation(:associate_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
928
1482
  o.name = "AssociateRoutingProfileQueues"
929
1483
  o.http_method = "POST"
@@ -937,6 +1491,21 @@ module Aws::Connect
937
1491
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
938
1492
  end)
939
1493
 
1494
+ api.add_operation(:associate_security_key, Seahorse::Model::Operation.new.tap do |o|
1495
+ o.name = "AssociateSecurityKey"
1496
+ o.http_method = "PUT"
1497
+ o.http_request_uri = "/instance/{InstanceId}/security-key"
1498
+ o.input = Shapes::ShapeRef.new(shape: AssociateSecurityKeyRequest)
1499
+ o.output = Shapes::ShapeRef.new(shape: AssociateSecurityKeyResponse)
1500
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1501
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1502
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1503
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1504
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1505
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1506
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1507
+ end)
1508
+
940
1509
  api.add_operation(:create_contact_flow, Seahorse::Model::Operation.new.tap do |o|
941
1510
  o.name = "CreateContactFlow"
942
1511
  o.http_method = "PUT"
@@ -953,6 +1522,32 @@ module Aws::Connect
953
1522
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
954
1523
  end)
955
1524
 
1525
+ api.add_operation(:create_instance, Seahorse::Model::Operation.new.tap do |o|
1526
+ o.name = "CreateInstance"
1527
+ o.http_method = "PUT"
1528
+ o.http_request_uri = "/instance"
1529
+ o.input = Shapes::ShapeRef.new(shape: CreateInstanceRequest)
1530
+ o.output = Shapes::ShapeRef.new(shape: CreateInstanceResponse)
1531
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1532
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1533
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1534
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1535
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1536
+ end)
1537
+
1538
+ api.add_operation(:create_integration_association, Seahorse::Model::Operation.new.tap do |o|
1539
+ o.name = "CreateIntegrationAssociation"
1540
+ o.http_method = "PUT"
1541
+ o.http_request_uri = "/instance/{InstanceId}/integration-associations"
1542
+ o.input = Shapes::ShapeRef.new(shape: CreateIntegrationAssociationRequest)
1543
+ o.output = Shapes::ShapeRef.new(shape: CreateIntegrationAssociationResponse)
1544
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1545
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1546
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1547
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1548
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1549
+ end)
1550
+
956
1551
  api.add_operation(:create_routing_profile, Seahorse::Model::Operation.new.tap do |o|
957
1552
  o.name = "CreateRoutingProfile"
958
1553
  o.http_method = "PUT"
@@ -968,6 +1563,19 @@ module Aws::Connect
968
1563
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
969
1564
  end)
970
1565
 
1566
+ api.add_operation(:create_use_case, Seahorse::Model::Operation.new.tap do |o|
1567
+ o.name = "CreateUseCase"
1568
+ o.http_method = "PUT"
1569
+ o.http_request_uri = "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases"
1570
+ o.input = Shapes::ShapeRef.new(shape: CreateUseCaseRequest)
1571
+ o.output = Shapes::ShapeRef.new(shape: CreateUseCaseResponse)
1572
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1573
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1574
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1575
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1576
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1577
+ end)
1578
+
971
1579
  api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
972
1580
  o.name = "CreateUser"
973
1581
  o.http_method = "PUT"
@@ -983,6 +1591,56 @@ module Aws::Connect
983
1591
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
984
1592
  end)
985
1593
 
1594
+ api.add_operation(:create_user_hierarchy_group, Seahorse::Model::Operation.new.tap do |o|
1595
+ o.name = "CreateUserHierarchyGroup"
1596
+ o.http_method = "PUT"
1597
+ o.http_request_uri = "/user-hierarchy-groups/{InstanceId}"
1598
+ o.input = Shapes::ShapeRef.new(shape: CreateUserHierarchyGroupRequest)
1599
+ o.output = Shapes::ShapeRef.new(shape: CreateUserHierarchyGroupResponse)
1600
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1601
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1602
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1603
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1604
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1605
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1606
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1607
+ end)
1608
+
1609
+ api.add_operation(:delete_instance, Seahorse::Model::Operation.new.tap do |o|
1610
+ o.name = "DeleteInstance"
1611
+ o.http_method = "DELETE"
1612
+ o.http_request_uri = "/instance/{InstanceId}"
1613
+ o.input = Shapes::ShapeRef.new(shape: DeleteInstanceRequest)
1614
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1615
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1616
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1617
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1618
+ end)
1619
+
1620
+ api.add_operation(:delete_integration_association, Seahorse::Model::Operation.new.tap do |o|
1621
+ o.name = "DeleteIntegrationAssociation"
1622
+ o.http_method = "DELETE"
1623
+ o.http_request_uri = "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}"
1624
+ o.input = Shapes::ShapeRef.new(shape: DeleteIntegrationAssociationRequest)
1625
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1626
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1627
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1628
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1629
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1630
+ end)
1631
+
1632
+ api.add_operation(:delete_use_case, Seahorse::Model::Operation.new.tap do |o|
1633
+ o.name = "DeleteUseCase"
1634
+ o.http_method = "DELETE"
1635
+ o.http_request_uri = "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}"
1636
+ o.input = Shapes::ShapeRef.new(shape: DeleteUseCaseRequest)
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: ThrottlingException)
1642
+ end)
1643
+
986
1644
  api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
987
1645
  o.name = "DeleteUser"
988
1646
  o.http_method = "DELETE"
@@ -996,6 +1654,20 @@ module Aws::Connect
996
1654
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
997
1655
  end)
998
1656
 
1657
+ api.add_operation(:delete_user_hierarchy_group, Seahorse::Model::Operation.new.tap do |o|
1658
+ o.name = "DeleteUserHierarchyGroup"
1659
+ o.http_method = "DELETE"
1660
+ o.http_request_uri = "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}"
1661
+ o.input = Shapes::ShapeRef.new(shape: DeleteUserHierarchyGroupRequest)
1662
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1663
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1664
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1665
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1666
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1667
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1668
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1669
+ end)
1670
+
999
1671
  api.add_operation(:describe_contact_flow, Seahorse::Model::Operation.new.tap do |o|
1000
1672
  o.name = "DescribeContactFlow"
1001
1673
  o.http_method = "GET"
@@ -1010,6 +1682,43 @@ module Aws::Connect
1010
1682
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1011
1683
  end)
1012
1684
 
1685
+ api.add_operation(:describe_instance, Seahorse::Model::Operation.new.tap do |o|
1686
+ o.name = "DescribeInstance"
1687
+ o.http_method = "GET"
1688
+ o.http_request_uri = "/instance/{InstanceId}"
1689
+ o.input = Shapes::ShapeRef.new(shape: DescribeInstanceRequest)
1690
+ o.output = Shapes::ShapeRef.new(shape: DescribeInstanceResponse)
1691
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1692
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1693
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1694
+ end)
1695
+
1696
+ api.add_operation(:describe_instance_attribute, Seahorse::Model::Operation.new.tap do |o|
1697
+ o.name = "DescribeInstanceAttribute"
1698
+ o.http_method = "GET"
1699
+ o.http_request_uri = "/instance/{InstanceId}/attribute/{AttributeType}"
1700
+ o.input = Shapes::ShapeRef.new(shape: DescribeInstanceAttributeRequest)
1701
+ o.output = Shapes::ShapeRef.new(shape: DescribeInstanceAttributeResponse)
1702
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1703
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1704
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1705
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1706
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1707
+ end)
1708
+
1709
+ api.add_operation(:describe_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
1710
+ o.name = "DescribeInstanceStorageConfig"
1711
+ o.http_method = "GET"
1712
+ o.http_request_uri = "/instance/{InstanceId}/storage-config/{AssociationId}"
1713
+ o.input = Shapes::ShapeRef.new(shape: DescribeInstanceStorageConfigRequest)
1714
+ o.output = Shapes::ShapeRef.new(shape: DescribeInstanceStorageConfigResponse)
1715
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1716
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1717
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1718
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1719
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1720
+ end)
1721
+
1013
1722
  api.add_operation(:describe_routing_profile, Seahorse::Model::Operation.new.tap do |o|
1014
1723
  o.name = "DescribeRoutingProfile"
1015
1724
  o.http_method = "GET"
@@ -1062,6 +1771,58 @@ module Aws::Connect
1062
1771
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1063
1772
  end)
1064
1773
 
1774
+ api.add_operation(:disassociate_approved_origin, Seahorse::Model::Operation.new.tap do |o|
1775
+ o.name = "DisassociateApprovedOrigin"
1776
+ o.http_method = "DELETE"
1777
+ o.http_request_uri = "/instance/{InstanceId}/approved-origin"
1778
+ o.input = Shapes::ShapeRef.new(shape: DisassociateApprovedOriginRequest)
1779
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1780
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1781
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1782
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1783
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1784
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1785
+ end)
1786
+
1787
+ api.add_operation(:disassociate_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
1788
+ o.name = "DisassociateInstanceStorageConfig"
1789
+ o.http_method = "DELETE"
1790
+ o.http_request_uri = "/instance/{InstanceId}/storage-config/{AssociationId}"
1791
+ o.input = Shapes::ShapeRef.new(shape: DisassociateInstanceStorageConfigRequest)
1792
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1793
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1794
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1795
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1796
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1797
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1798
+ end)
1799
+
1800
+ api.add_operation(:disassociate_lambda_function, Seahorse::Model::Operation.new.tap do |o|
1801
+ o.name = "DisassociateLambdaFunction"
1802
+ o.http_method = "DELETE"
1803
+ o.http_request_uri = "/instance/{InstanceId}/lambda-function"
1804
+ o.input = Shapes::ShapeRef.new(shape: DisassociateLambdaFunctionRequest)
1805
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1806
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1807
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1808
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1809
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1810
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1811
+ end)
1812
+
1813
+ api.add_operation(:disassociate_lex_bot, Seahorse::Model::Operation.new.tap do |o|
1814
+ o.name = "DisassociateLexBot"
1815
+ o.http_method = "DELETE"
1816
+ o.http_request_uri = "/instance/{InstanceId}/lex-bot"
1817
+ o.input = Shapes::ShapeRef.new(shape: DisassociateLexBotRequest)
1818
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1819
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1820
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1821
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1822
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1823
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1824
+ end)
1825
+
1065
1826
  api.add_operation(:disassociate_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
1066
1827
  o.name = "DisassociateRoutingProfileQueues"
1067
1828
  o.http_method = "POST"
@@ -1075,6 +1836,19 @@ module Aws::Connect
1075
1836
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1076
1837
  end)
1077
1838
 
1839
+ api.add_operation(:disassociate_security_key, Seahorse::Model::Operation.new.tap do |o|
1840
+ o.name = "DisassociateSecurityKey"
1841
+ o.http_method = "DELETE"
1842
+ o.http_request_uri = "/instance/{InstanceId}/security-key/{AssociationId}"
1843
+ o.input = Shapes::ShapeRef.new(shape: DisassociateSecurityKeyRequest)
1844
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1845
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1846
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1847
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1848
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1849
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1850
+ end)
1851
+
1078
1852
  api.add_operation(:get_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
1079
1853
  o.name = "GetContactAttributes"
1080
1854
  o.http_method = "GET"
@@ -1138,6 +1912,25 @@ module Aws::Connect
1138
1912
  )
1139
1913
  end)
1140
1914
 
1915
+ api.add_operation(:list_approved_origins, Seahorse::Model::Operation.new.tap do |o|
1916
+ o.name = "ListApprovedOrigins"
1917
+ o.http_method = "GET"
1918
+ o.http_request_uri = "/instance/{InstanceId}/approved-origins"
1919
+ o.input = Shapes::ShapeRef.new(shape: ListApprovedOriginsRequest)
1920
+ o.output = Shapes::ShapeRef.new(shape: ListApprovedOriginsResponse)
1921
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1922
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1923
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1924
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1925
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1926
+ o[:pager] = Aws::Pager.new(
1927
+ limit_key: "max_results",
1928
+ tokens: {
1929
+ "next_token" => "next_token"
1930
+ }
1931
+ )
1932
+ end)
1933
+
1141
1934
  api.add_operation(:list_contact_flows, Seahorse::Model::Operation.new.tap do |o|
1142
1935
  o.name = "ListContactFlows"
1143
1936
  o.http_method = "GET"
@@ -1176,6 +1969,116 @@ module Aws::Connect
1176
1969
  )
1177
1970
  end)
1178
1971
 
1972
+ api.add_operation(:list_instance_attributes, Seahorse::Model::Operation.new.tap do |o|
1973
+ o.name = "ListInstanceAttributes"
1974
+ o.http_method = "GET"
1975
+ o.http_request_uri = "/instance/{InstanceId}/attributes"
1976
+ o.input = Shapes::ShapeRef.new(shape: ListInstanceAttributesRequest)
1977
+ o.output = Shapes::ShapeRef.new(shape: ListInstanceAttributesResponse)
1978
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1979
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1980
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1981
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1982
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1983
+ o[:pager] = Aws::Pager.new(
1984
+ limit_key: "max_results",
1985
+ tokens: {
1986
+ "next_token" => "next_token"
1987
+ }
1988
+ )
1989
+ end)
1990
+
1991
+ api.add_operation(:list_instance_storage_configs, Seahorse::Model::Operation.new.tap do |o|
1992
+ o.name = "ListInstanceStorageConfigs"
1993
+ o.http_method = "GET"
1994
+ o.http_request_uri = "/instance/{InstanceId}/storage-configs"
1995
+ o.input = Shapes::ShapeRef.new(shape: ListInstanceStorageConfigsRequest)
1996
+ o.output = Shapes::ShapeRef.new(shape: ListInstanceStorageConfigsResponse)
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
+
2010
+ api.add_operation(:list_instances, Seahorse::Model::Operation.new.tap do |o|
2011
+ o.name = "ListInstances"
2012
+ o.http_method = "GET"
2013
+ o.http_request_uri = "/instance"
2014
+ o.input = Shapes::ShapeRef.new(shape: ListInstancesRequest)
2015
+ o.output = Shapes::ShapeRef.new(shape: ListInstancesResponse)
2016
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2017
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2018
+ o[:pager] = Aws::Pager.new(
2019
+ limit_key: "max_results",
2020
+ tokens: {
2021
+ "next_token" => "next_token"
2022
+ }
2023
+ )
2024
+ end)
2025
+
2026
+ api.add_operation(:list_integration_associations, Seahorse::Model::Operation.new.tap do |o|
2027
+ o.name = "ListIntegrationAssociations"
2028
+ o.http_method = "GET"
2029
+ o.http_request_uri = "/instance/{InstanceId}/integration-associations"
2030
+ o.input = Shapes::ShapeRef.new(shape: ListIntegrationAssociationsRequest)
2031
+ o.output = Shapes::ShapeRef.new(shape: ListIntegrationAssociationsResponse)
2032
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2033
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2034
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2035
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2036
+ o[:pager] = Aws::Pager.new(
2037
+ limit_key: "max_results",
2038
+ tokens: {
2039
+ "next_token" => "next_token"
2040
+ }
2041
+ )
2042
+ end)
2043
+
2044
+ api.add_operation(:list_lambda_functions, Seahorse::Model::Operation.new.tap do |o|
2045
+ o.name = "ListLambdaFunctions"
2046
+ o.http_method = "GET"
2047
+ o.http_request_uri = "/instance/{InstanceId}/lambda-functions"
2048
+ o.input = Shapes::ShapeRef.new(shape: ListLambdaFunctionsRequest)
2049
+ o.output = Shapes::ShapeRef.new(shape: ListLambdaFunctionsResponse)
2050
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2051
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2052
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2053
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2054
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2055
+ o[:pager] = Aws::Pager.new(
2056
+ limit_key: "max_results",
2057
+ tokens: {
2058
+ "next_token" => "next_token"
2059
+ }
2060
+ )
2061
+ end)
2062
+
2063
+ api.add_operation(:list_lex_bots, Seahorse::Model::Operation.new.tap do |o|
2064
+ o.name = "ListLexBots"
2065
+ o.http_method = "GET"
2066
+ o.http_request_uri = "/instance/{InstanceId}/lex-bots"
2067
+ o.input = Shapes::ShapeRef.new(shape: ListLexBotsRequest)
2068
+ o.output = Shapes::ShapeRef.new(shape: ListLexBotsResponse)
2069
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2070
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2071
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2072
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2073
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2074
+ o[:pager] = Aws::Pager.new(
2075
+ limit_key: "max_results",
2076
+ tokens: {
2077
+ "next_token" => "next_token"
2078
+ }
2079
+ )
2080
+ end)
2081
+
1179
2082
  api.add_operation(:list_phone_numbers, Seahorse::Model::Operation.new.tap do |o|
1180
2083
  o.name = "ListPhoneNumbers"
1181
2084
  o.http_method = "GET"
@@ -1271,6 +2174,25 @@ module Aws::Connect
1271
2174
  )
1272
2175
  end)
1273
2176
 
2177
+ api.add_operation(:list_security_keys, Seahorse::Model::Operation.new.tap do |o|
2178
+ o.name = "ListSecurityKeys"
2179
+ o.http_method = "GET"
2180
+ o.http_request_uri = "/instance/{InstanceId}/security-keys"
2181
+ o.input = Shapes::ShapeRef.new(shape: ListSecurityKeysRequest)
2182
+ o.output = Shapes::ShapeRef.new(shape: ListSecurityKeysResponse)
2183
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2184
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2185
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2186
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2187
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2188
+ o[:pager] = Aws::Pager.new(
2189
+ limit_key: "max_results",
2190
+ tokens: {
2191
+ "next_token" => "next_token"
2192
+ }
2193
+ )
2194
+ end)
2195
+
1274
2196
  api.add_operation(:list_security_profiles, Seahorse::Model::Operation.new.tap do |o|
1275
2197
  o.name = "ListSecurityProfiles"
1276
2198
  o.http_method = "GET"
@@ -1303,6 +2225,24 @@ module Aws::Connect
1303
2225
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1304
2226
  end)
1305
2227
 
2228
+ api.add_operation(:list_use_cases, Seahorse::Model::Operation.new.tap do |o|
2229
+ o.name = "ListUseCases"
2230
+ o.http_method = "GET"
2231
+ o.http_request_uri = "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases"
2232
+ o.input = Shapes::ShapeRef.new(shape: ListUseCasesRequest)
2233
+ o.output = Shapes::ShapeRef.new(shape: ListUseCasesResponse)
2234
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2235
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2236
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2237
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2238
+ o[:pager] = Aws::Pager.new(
2239
+ limit_key: "max_results",
2240
+ tokens: {
2241
+ "next_token" => "next_token"
2242
+ }
2243
+ )
2244
+ end)
2245
+
1306
2246
  api.add_operation(:list_user_hierarchy_groups, Seahorse::Model::Operation.new.tap do |o|
1307
2247
  o.name = "ListUserHierarchyGroups"
1308
2248
  o.http_method = "GET"
@@ -1392,6 +2332,20 @@ module Aws::Connect
1392
2332
  o.errors << Shapes::ShapeRef.new(shape: OutboundContactNotPermittedException)
1393
2333
  end)
1394
2334
 
2335
+ api.add_operation(:start_task_contact, Seahorse::Model::Operation.new.tap do |o|
2336
+ o.name = "StartTaskContact"
2337
+ o.http_method = "PUT"
2338
+ o.http_request_uri = "/contact/task"
2339
+ o.input = Shapes::ShapeRef.new(shape: StartTaskContactRequest)
2340
+ o.output = Shapes::ShapeRef.new(shape: StartTaskContactResponse)
2341
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2342
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2343
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2344
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2345
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2346
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2347
+ end)
2348
+
1395
2349
  api.add_operation(:stop_contact, Seahorse::Model::Operation.new.tap do |o|
1396
2350
  o.name = "StopContact"
1397
2351
  o.http_method = "POST"
@@ -1493,6 +2447,32 @@ module Aws::Connect
1493
2447
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1494
2448
  end)
1495
2449
 
2450
+ api.add_operation(:update_instance_attribute, Seahorse::Model::Operation.new.tap do |o|
2451
+ o.name = "UpdateInstanceAttribute"
2452
+ o.http_method = "POST"
2453
+ o.http_request_uri = "/instance/{InstanceId}/attribute/{AttributeType}"
2454
+ o.input = Shapes::ShapeRef.new(shape: UpdateInstanceAttributeRequest)
2455
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2456
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2457
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2458
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2459
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2460
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2461
+ end)
2462
+
2463
+ api.add_operation(:update_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
2464
+ o.name = "UpdateInstanceStorageConfig"
2465
+ o.http_method = "POST"
2466
+ o.http_request_uri = "/instance/{InstanceId}/storage-config/{AssociationId}"
2467
+ o.input = Shapes::ShapeRef.new(shape: UpdateInstanceStorageConfigRequest)
2468
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2469
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2470
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2471
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2472
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2473
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2474
+ end)
2475
+
1496
2476
  api.add_operation(:update_routing_profile_concurrency, Seahorse::Model::Operation.new.tap do |o|
1497
2477
  o.name = "UpdateRoutingProfileConcurrency"
1498
2478
  o.http_method = "POST"
@@ -1559,6 +2539,34 @@ module Aws::Connect
1559
2539
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1560
2540
  end)
1561
2541
 
2542
+ api.add_operation(:update_user_hierarchy_group_name, Seahorse::Model::Operation.new.tap do |o|
2543
+ o.name = "UpdateUserHierarchyGroupName"
2544
+ o.http_method = "POST"
2545
+ o.http_request_uri = "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name"
2546
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserHierarchyGroupNameRequest)
2547
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2548
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2549
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2550
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
2551
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2552
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2553
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2554
+ end)
2555
+
2556
+ api.add_operation(:update_user_hierarchy_structure, Seahorse::Model::Operation.new.tap do |o|
2557
+ o.name = "UpdateUserHierarchyStructure"
2558
+ o.http_method = "POST"
2559
+ o.http_request_uri = "/user-hierarchy-structure/{InstanceId}"
2560
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserHierarchyStructureRequest)
2561
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2562
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2563
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2564
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2565
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2566
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2567
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2568
+ end)
2569
+
1562
2570
  api.add_operation(:update_user_identity_info, Seahorse::Model::Operation.new.tap do |o|
1563
2571
  o.name = "UpdateUserIdentityInfo"
1564
2572
  o.http_method = "POST"