aws-sdk-connect 1.31.0 → 1.36.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,10 +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')
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')
21
31
  AttributeName = Shapes::StringShape.new(name: 'AttributeName')
22
32
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
23
33
  Attributes = Shapes::MapShape.new(name: 'Attributes')
34
+ AttributesList = Shapes::ListShape.new(name: 'AttributesList')
24
35
  AutoAccept = Shapes::BooleanShape.new(name: 'AutoAccept')
36
+ BotName = Shapes::StringShape.new(name: 'BotName')
37
+ BucketName = Shapes::StringShape.new(name: 'BucketName')
25
38
  Channel = Shapes::StringShape.new(name: 'Channel')
26
39
  Channels = Shapes::ListShape.new(name: 'Channels')
27
40
  ChatContent = Shapes::StringShape.new(name: 'ChatContent')
@@ -29,14 +42,27 @@ module Aws::Connect
29
42
  ChatMessage = Shapes::StructureShape.new(name: 'ChatMessage')
30
43
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
31
44
  Comparison = Shapes::StringShape.new(name: 'Comparison')
45
+ Concurrency = Shapes::IntegerShape.new(name: 'Concurrency')
46
+ ContactFlow = Shapes::StructureShape.new(name: 'ContactFlow')
47
+ ContactFlowContent = Shapes::StringShape.new(name: 'ContactFlowContent')
48
+ ContactFlowDescription = Shapes::StringShape.new(name: 'ContactFlowDescription')
32
49
  ContactFlowId = Shapes::StringShape.new(name: 'ContactFlowId')
33
50
  ContactFlowName = Shapes::StringShape.new(name: 'ContactFlowName')
51
+ ContactFlowNotPublishedException = Shapes::StructureShape.new(name: 'ContactFlowNotPublishedException')
34
52
  ContactFlowSummary = Shapes::StructureShape.new(name: 'ContactFlowSummary')
35
53
  ContactFlowSummaryList = Shapes::ListShape.new(name: 'ContactFlowSummaryList')
36
54
  ContactFlowType = Shapes::StringShape.new(name: 'ContactFlowType')
37
55
  ContactFlowTypes = Shapes::ListShape.new(name: 'ContactFlowTypes')
38
56
  ContactId = Shapes::StringShape.new(name: 'ContactId')
39
57
  ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
58
+ CreateContactFlowRequest = Shapes::StructureShape.new(name: 'CreateContactFlowRequest')
59
+ CreateContactFlowResponse = Shapes::StructureShape.new(name: 'CreateContactFlowResponse')
60
+ CreateInstanceRequest = Shapes::StructureShape.new(name: 'CreateInstanceRequest')
61
+ CreateInstanceResponse = Shapes::StructureShape.new(name: 'CreateInstanceResponse')
62
+ CreateRoutingProfileRequest = Shapes::StructureShape.new(name: 'CreateRoutingProfileRequest')
63
+ CreateRoutingProfileResponse = Shapes::StructureShape.new(name: 'CreateRoutingProfileResponse')
64
+ CreateUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupRequest')
65
+ CreateUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupResponse')
40
66
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
41
67
  CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
42
68
  Credentials = Shapes::StructureShape.new(name: 'Credentials')
@@ -47,7 +73,20 @@ module Aws::Connect
47
73
  CurrentMetricResult = Shapes::StructureShape.new(name: 'CurrentMetricResult')
48
74
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
49
75
  CurrentMetrics = Shapes::ListShape.new(name: 'CurrentMetrics')
76
+ Delay = Shapes::IntegerShape.new(name: 'Delay')
77
+ DeleteInstanceRequest = Shapes::StructureShape.new(name: 'DeleteInstanceRequest')
78
+ DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
50
79
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
80
+ DescribeContactFlowRequest = Shapes::StructureShape.new(name: 'DescribeContactFlowRequest')
81
+ DescribeContactFlowResponse = Shapes::StructureShape.new(name: 'DescribeContactFlowResponse')
82
+ DescribeInstanceAttributeRequest = Shapes::StructureShape.new(name: 'DescribeInstanceAttributeRequest')
83
+ DescribeInstanceAttributeResponse = Shapes::StructureShape.new(name: 'DescribeInstanceAttributeResponse')
84
+ DescribeInstanceRequest = Shapes::StructureShape.new(name: 'DescribeInstanceRequest')
85
+ DescribeInstanceResponse = Shapes::StructureShape.new(name: 'DescribeInstanceResponse')
86
+ DescribeInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'DescribeInstanceStorageConfigRequest')
87
+ DescribeInstanceStorageConfigResponse = Shapes::StructureShape.new(name: 'DescribeInstanceStorageConfigResponse')
88
+ DescribeRoutingProfileRequest = Shapes::StructureShape.new(name: 'DescribeRoutingProfileRequest')
89
+ DescribeRoutingProfileResponse = Shapes::StructureShape.new(name: 'DescribeRoutingProfileResponse')
51
90
  DescribeUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupRequest')
52
91
  DescribeUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupResponse')
53
92
  DescribeUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureRequest')
@@ -56,11 +95,24 @@ module Aws::Connect
56
95
  DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
57
96
  DestinationNotAllowedException = Shapes::StructureShape.new(name: 'DestinationNotAllowedException')
58
97
  Dimensions = Shapes::StructureShape.new(name: 'Dimensions')
98
+ DirectoryAlias = Shapes::StringShape.new(name: 'DirectoryAlias')
99
+ DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
100
+ DirectoryType = Shapes::StringShape.new(name: 'DirectoryType')
59
101
  DirectoryUserId = Shapes::StringShape.new(name: 'DirectoryUserId')
102
+ DisassociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'DisassociateApprovedOriginRequest')
103
+ DisassociateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'DisassociateInstanceStorageConfigRequest')
104
+ DisassociateLambdaFunctionRequest = Shapes::StructureShape.new(name: 'DisassociateLambdaFunctionRequest')
105
+ DisassociateLexBotRequest = Shapes::StructureShape.new(name: 'DisassociateLexBotRequest')
106
+ DisassociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'DisassociateRoutingProfileQueuesRequest')
107
+ DisassociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'DisassociateSecurityKeyRequest')
60
108
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
61
109
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
62
110
  Email = Shapes::StringShape.new(name: 'Email')
111
+ EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
112
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
63
113
  Filters = Shapes::StructureShape.new(name: 'Filters')
114
+ FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
115
+ FunctionArnsList = Shapes::ListShape.new(name: 'FunctionArnsList')
64
116
  GetContactAttributesRequest = Shapes::StructureShape.new(name: 'GetContactAttributesRequest')
65
117
  GetContactAttributesResponse = Shapes::StructureShape.new(name: 'GetContactAttributesResponse')
66
118
  GetCurrentMetricDataRequest = Shapes::StructureShape.new(name: 'GetCurrentMetricDataRequest')
@@ -79,8 +131,10 @@ module Aws::Connect
79
131
  HierarchyLevel = Shapes::StructureShape.new(name: 'HierarchyLevel')
80
132
  HierarchyLevelId = Shapes::StringShape.new(name: 'HierarchyLevelId')
81
133
  HierarchyLevelName = Shapes::StringShape.new(name: 'HierarchyLevelName')
134
+ HierarchyLevelUpdate = Shapes::StructureShape.new(name: 'HierarchyLevelUpdate')
82
135
  HierarchyPath = Shapes::StructureShape.new(name: 'HierarchyPath')
83
136
  HierarchyStructure = Shapes::StructureShape.new(name: 'HierarchyStructure')
137
+ HierarchyStructureUpdate = Shapes::StructureShape.new(name: 'HierarchyStructureUpdate')
84
138
  HistoricalMetric = Shapes::StructureShape.new(name: 'HistoricalMetric')
85
139
  HistoricalMetricData = Shapes::StructureShape.new(name: 'HistoricalMetricData')
86
140
  HistoricalMetricDataCollections = Shapes::ListShape.new(name: 'HistoricalMetricDataCollections')
@@ -88,25 +142,63 @@ module Aws::Connect
88
142
  HistoricalMetricResult = Shapes::StructureShape.new(name: 'HistoricalMetricResult')
89
143
  HistoricalMetricResults = Shapes::ListShape.new(name: 'HistoricalMetricResults')
90
144
  HistoricalMetrics = Shapes::ListShape.new(name: 'HistoricalMetrics')
145
+ Hours = Shapes::IntegerShape.new(name: 'Hours')
91
146
  HoursOfOperationId = Shapes::StringShape.new(name: 'HoursOfOperationId')
92
147
  HoursOfOperationName = Shapes::StringShape.new(name: 'HoursOfOperationName')
93
148
  HoursOfOperationSummary = Shapes::StructureShape.new(name: 'HoursOfOperationSummary')
94
149
  HoursOfOperationSummaryList = Shapes::ListShape.new(name: 'HoursOfOperationSummaryList')
150
+ InboundCallsEnabled = Shapes::BooleanShape.new(name: 'InboundCallsEnabled')
151
+ Instance = Shapes::StructureShape.new(name: 'Instance')
152
+ InstanceAttributeType = Shapes::StringShape.new(name: 'InstanceAttributeType')
153
+ InstanceAttributeValue = Shapes::StringShape.new(name: 'InstanceAttributeValue')
95
154
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
155
+ InstanceStatus = Shapes::StringShape.new(name: 'InstanceStatus')
156
+ InstanceStatusReason = Shapes::StructureShape.new(name: 'InstanceStatusReason')
157
+ InstanceStorageConfig = Shapes::StructureShape.new(name: 'InstanceStorageConfig')
158
+ InstanceStorageConfigs = Shapes::ListShape.new(name: 'InstanceStorageConfigs')
159
+ InstanceStorageResourceType = Shapes::StringShape.new(name: 'InstanceStorageResourceType')
160
+ InstanceSummary = Shapes::StructureShape.new(name: 'InstanceSummary')
161
+ InstanceSummaryList = Shapes::ListShape.new(name: 'InstanceSummaryList')
96
162
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
163
+ InvalidContactFlowException = Shapes::StructureShape.new(name: 'InvalidContactFlowException')
97
164
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
98
165
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
166
+ KeyId = Shapes::StringShape.new(name: 'KeyId')
167
+ KinesisFirehoseConfig = Shapes::StructureShape.new(name: 'KinesisFirehoseConfig')
168
+ KinesisStreamConfig = Shapes::StructureShape.new(name: 'KinesisStreamConfig')
169
+ KinesisVideoStreamConfig = Shapes::StructureShape.new(name: 'KinesisVideoStreamConfig')
170
+ LexBot = Shapes::StructureShape.new(name: 'LexBot')
171
+ LexBotsList = Shapes::ListShape.new(name: 'LexBotsList')
172
+ LexRegion = Shapes::StringShape.new(name: 'LexRegion')
99
173
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
174
+ ListApprovedOriginsRequest = Shapes::StructureShape.new(name: 'ListApprovedOriginsRequest')
175
+ ListApprovedOriginsResponse = Shapes::StructureShape.new(name: 'ListApprovedOriginsResponse')
100
176
  ListContactFlowsRequest = Shapes::StructureShape.new(name: 'ListContactFlowsRequest')
101
177
  ListContactFlowsResponse = Shapes::StructureShape.new(name: 'ListContactFlowsResponse')
102
178
  ListHoursOfOperationsRequest = Shapes::StructureShape.new(name: 'ListHoursOfOperationsRequest')
103
179
  ListHoursOfOperationsResponse = Shapes::StructureShape.new(name: 'ListHoursOfOperationsResponse')
180
+ ListInstanceAttributesRequest = Shapes::StructureShape.new(name: 'ListInstanceAttributesRequest')
181
+ ListInstanceAttributesResponse = Shapes::StructureShape.new(name: 'ListInstanceAttributesResponse')
182
+ ListInstanceStorageConfigsRequest = Shapes::StructureShape.new(name: 'ListInstanceStorageConfigsRequest')
183
+ ListInstanceStorageConfigsResponse = Shapes::StructureShape.new(name: 'ListInstanceStorageConfigsResponse')
184
+ ListInstancesRequest = Shapes::StructureShape.new(name: 'ListInstancesRequest')
185
+ ListInstancesResponse = Shapes::StructureShape.new(name: 'ListInstancesResponse')
186
+ ListLambdaFunctionsRequest = Shapes::StructureShape.new(name: 'ListLambdaFunctionsRequest')
187
+ ListLambdaFunctionsResponse = Shapes::StructureShape.new(name: 'ListLambdaFunctionsResponse')
188
+ ListLexBotsRequest = Shapes::StructureShape.new(name: 'ListLexBotsRequest')
189
+ ListLexBotsResponse = Shapes::StructureShape.new(name: 'ListLexBotsResponse')
104
190
  ListPhoneNumbersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumbersRequest')
105
191
  ListPhoneNumbersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumbersResponse')
192
+ ListPromptsRequest = Shapes::StructureShape.new(name: 'ListPromptsRequest')
193
+ ListPromptsResponse = Shapes::StructureShape.new(name: 'ListPromptsResponse')
106
194
  ListQueuesRequest = Shapes::StructureShape.new(name: 'ListQueuesRequest')
107
195
  ListQueuesResponse = Shapes::StructureShape.new(name: 'ListQueuesResponse')
196
+ ListRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfileQueuesRequest')
197
+ ListRoutingProfileQueuesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfileQueuesResponse')
108
198
  ListRoutingProfilesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfilesRequest')
109
199
  ListRoutingProfilesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfilesResponse')
200
+ ListSecurityKeysRequest = Shapes::StructureShape.new(name: 'ListSecurityKeysRequest')
201
+ ListSecurityKeysResponse = Shapes::StructureShape.new(name: 'ListSecurityKeysResponse')
110
202
  ListSecurityProfilesRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesRequest')
111
203
  ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
112
204
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -115,11 +207,21 @@ module Aws::Connect
115
207
  ListUserHierarchyGroupsResponse = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsResponse')
116
208
  ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
117
209
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
210
+ MaxResult10 = Shapes::IntegerShape.new(name: 'MaxResult10')
118
211
  MaxResult100 = Shapes::IntegerShape.new(name: 'MaxResult100')
119
212
  MaxResult1000 = Shapes::IntegerShape.new(name: 'MaxResult1000')
213
+ MaxResult2 = Shapes::IntegerShape.new(name: 'MaxResult2')
214
+ MaxResult25 = Shapes::IntegerShape.new(name: 'MaxResult25')
215
+ MaxResult7 = Shapes::IntegerShape.new(name: 'MaxResult7')
216
+ MediaConcurrencies = Shapes::ListShape.new(name: 'MediaConcurrencies')
217
+ MediaConcurrency = Shapes::StructureShape.new(name: 'MediaConcurrency')
120
218
  Message = Shapes::StringShape.new(name: 'Message')
121
219
  NextToken = Shapes::StringShape.new(name: 'NextToken')
220
+ Origin = Shapes::StringShape.new(name: 'Origin')
221
+ OriginsList = Shapes::ListShape.new(name: 'OriginsList')
222
+ OutboundCallsEnabled = Shapes::BooleanShape.new(name: 'OutboundCallsEnabled')
122
223
  OutboundContactNotPermittedException = Shapes::StructureShape.new(name: 'OutboundContactNotPermittedException')
224
+ PEM = Shapes::StringShape.new(name: 'PEM')
123
225
  ParticipantDetails = Shapes::StructureShape.new(name: 'ParticipantDetails')
124
226
  ParticipantId = Shapes::StringShape.new(name: 'ParticipantId')
125
227
  ParticipantToken = Shapes::StringShape.new(name: 'ParticipantToken')
@@ -133,6 +235,15 @@ module Aws::Connect
133
235
  PhoneNumberType = Shapes::StringShape.new(name: 'PhoneNumberType')
134
236
  PhoneNumberTypes = Shapes::ListShape.new(name: 'PhoneNumberTypes')
135
237
  PhoneType = Shapes::StringShape.new(name: 'PhoneType')
238
+ Prefix = Shapes::StringShape.new(name: 'Prefix')
239
+ Priority = Shapes::IntegerShape.new(name: 'Priority')
240
+ ProblemDetail = Shapes::StructureShape.new(name: 'ProblemDetail')
241
+ ProblemMessageString = Shapes::StringShape.new(name: 'ProblemMessageString')
242
+ Problems = Shapes::ListShape.new(name: 'Problems')
243
+ PromptId = Shapes::StringShape.new(name: 'PromptId')
244
+ PromptName = Shapes::StringShape.new(name: 'PromptName')
245
+ PromptSummary = Shapes::StructureShape.new(name: 'PromptSummary')
246
+ PromptSummaryList = Shapes::ListShape.new(name: 'PromptSummaryList')
136
247
  QueueId = Shapes::StringShape.new(name: 'QueueId')
137
248
  QueueName = Shapes::StringShape.new(name: 'QueueName')
138
249
  QueueReference = Shapes::StructureShape.new(name: 'QueueReference')
@@ -141,19 +252,34 @@ module Aws::Connect
141
252
  QueueType = Shapes::StringShape.new(name: 'QueueType')
142
253
  QueueTypes = Shapes::ListShape.new(name: 'QueueTypes')
143
254
  Queues = Shapes::ListShape.new(name: 'Queues')
255
+ ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
256
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
144
257
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
258
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
145
259
  ResumeContactRecordingRequest = Shapes::StructureShape.new(name: 'ResumeContactRecordingRequest')
146
260
  ResumeContactRecordingResponse = Shapes::StructureShape.new(name: 'ResumeContactRecordingResponse')
261
+ RoutingProfile = Shapes::StructureShape.new(name: 'RoutingProfile')
262
+ RoutingProfileDescription = Shapes::StringShape.new(name: 'RoutingProfileDescription')
147
263
  RoutingProfileId = Shapes::StringShape.new(name: 'RoutingProfileId')
148
264
  RoutingProfileName = Shapes::StringShape.new(name: 'RoutingProfileName')
265
+ RoutingProfileQueueConfig = Shapes::StructureShape.new(name: 'RoutingProfileQueueConfig')
266
+ RoutingProfileQueueConfigList = Shapes::ListShape.new(name: 'RoutingProfileQueueConfigList')
267
+ RoutingProfileQueueConfigSummary = Shapes::StructureShape.new(name: 'RoutingProfileQueueConfigSummary')
268
+ RoutingProfileQueueConfigSummaryList = Shapes::ListShape.new(name: 'RoutingProfileQueueConfigSummaryList')
269
+ RoutingProfileQueueReference = Shapes::StructureShape.new(name: 'RoutingProfileQueueReference')
270
+ RoutingProfileQueueReferenceList = Shapes::ListShape.new(name: 'RoutingProfileQueueReferenceList')
149
271
  RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
150
272
  RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
273
+ S3Config = Shapes::StructureShape.new(name: 'S3Config')
274
+ SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey')
275
+ SecurityKeysList = Shapes::ListShape.new(name: 'SecurityKeysList')
151
276
  SecurityProfileId = Shapes::StringShape.new(name: 'SecurityProfileId')
152
277
  SecurityProfileIds = Shapes::ListShape.new(name: 'SecurityProfileIds')
153
278
  SecurityProfileName = Shapes::StringShape.new(name: 'SecurityProfileName')
154
279
  SecurityProfileSummary = Shapes::StructureShape.new(name: 'SecurityProfileSummary')
155
280
  SecurityProfileSummaryList = Shapes::ListShape.new(name: 'SecurityProfileSummaryList')
156
281
  SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
282
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
157
283
  StartChatContactRequest = Shapes::StructureShape.new(name: 'StartChatContactRequest')
158
284
  StartChatContactResponse = Shapes::StructureShape.new(name: 'StartChatContactResponse')
159
285
  StartContactRecordingRequest = Shapes::StructureShape.new(name: 'StartContactRecordingRequest')
@@ -165,6 +291,8 @@ module Aws::Connect
165
291
  StopContactRecordingResponse = Shapes::StructureShape.new(name: 'StopContactRecordingResponse')
166
292
  StopContactRequest = Shapes::StructureShape.new(name: 'StopContactRequest')
167
293
  StopContactResponse = Shapes::StructureShape.new(name: 'StopContactResponse')
294
+ StorageType = Shapes::StringShape.new(name: 'StorageType')
295
+ String = Shapes::StringShape.new(name: 'String')
168
296
  SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
169
297
  SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
170
298
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -175,11 +303,22 @@ module Aws::Connect
175
303
  Threshold = Shapes::StructureShape.new(name: 'Threshold')
176
304
  ThresholdValue = Shapes::FloatShape.new(name: 'ThresholdValue')
177
305
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
306
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
178
307
  Unit = Shapes::StringShape.new(name: 'Unit')
179
308
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
180
309
  UpdateContactAttributesRequest = Shapes::StructureShape.new(name: 'UpdateContactAttributesRequest')
181
310
  UpdateContactAttributesResponse = Shapes::StructureShape.new(name: 'UpdateContactAttributesResponse')
311
+ UpdateContactFlowContentRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowContentRequest')
312
+ UpdateContactFlowNameRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowNameRequest')
313
+ UpdateInstanceAttributeRequest = Shapes::StructureShape.new(name: 'UpdateInstanceAttributeRequest')
314
+ UpdateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'UpdateInstanceStorageConfigRequest')
315
+ UpdateRoutingProfileConcurrencyRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileConcurrencyRequest')
316
+ UpdateRoutingProfileDefaultOutboundQueueRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileDefaultOutboundQueueRequest')
317
+ UpdateRoutingProfileNameRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileNameRequest')
318
+ UpdateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileQueuesRequest')
319
+ UpdateUserHierarchyGroupNameRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyGroupNameRequest')
182
320
  UpdateUserHierarchyRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyRequest')
321
+ UpdateUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyStructureRequest')
183
322
  UpdateUserIdentityInfoRequest = Shapes::StructureShape.new(name: 'UpdateUserIdentityInfoRequest')
184
323
  UpdateUserPhoneConfigRequest = Shapes::StructureShape.new(name: 'UpdateUserPhoneConfigRequest')
185
324
  UpdateUserRoutingProfileRequest = Shapes::StructureShape.new(name: 'UpdateUserRoutingProfileRequest')
@@ -196,15 +335,65 @@ module Aws::Connect
196
335
  VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
197
336
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
198
337
 
338
+ AssociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
339
+ AssociateApprovedOriginRequest.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, required: true, location_name: "Origin"))
340
+ AssociateApprovedOriginRequest.struct_class = Types::AssociateApprovedOriginRequest
341
+
342
+ AssociateInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
343
+ AssociateInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location_name: "ResourceType"))
344
+ AssociateInstanceStorageConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, required: true, location_name: "StorageConfig"))
345
+ AssociateInstanceStorageConfigRequest.struct_class = Types::AssociateInstanceStorageConfigRequest
346
+
347
+ AssociateInstanceStorageConfigResponse.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
348
+ AssociateInstanceStorageConfigResponse.struct_class = Types::AssociateInstanceStorageConfigResponse
349
+
350
+ AssociateLambdaFunctionRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
351
+ AssociateLambdaFunctionRequest.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "FunctionArn"))
352
+ AssociateLambdaFunctionRequest.struct_class = Types::AssociateLambdaFunctionRequest
353
+
354
+ AssociateLexBotRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
355
+ AssociateLexBotRequest.add_member(:lex_bot, Shapes::ShapeRef.new(shape: LexBot, required: true, location_name: "LexBot"))
356
+ AssociateLexBotRequest.struct_class = Types::AssociateLexBotRequest
357
+
358
+ AssociateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
359
+ AssociateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
360
+ AssociateRoutingProfileQueuesRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, required: true, location_name: "QueueConfigs"))
361
+ AssociateRoutingProfileQueuesRequest.struct_class = Types::AssociateRoutingProfileQueuesRequest
362
+
363
+ AssociateSecurityKeyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
364
+ AssociateSecurityKeyRequest.add_member(:key, Shapes::ShapeRef.new(shape: PEM, required: true, location_name: "Key"))
365
+ AssociateSecurityKeyRequest.struct_class = Types::AssociateSecurityKeyRequest
366
+
367
+ AssociateSecurityKeyResponse.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
368
+ AssociateSecurityKeyResponse.struct_class = Types::AssociateSecurityKeyResponse
369
+
370
+ Attribute.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, location_name: "AttributeType"))
371
+ Attribute.add_member(:value, Shapes::ShapeRef.new(shape: InstanceAttributeValue, location_name: "Value"))
372
+ Attribute.struct_class = Types::Attribute
373
+
199
374
  Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
200
375
  Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
201
376
 
377
+ AttributesList.member = Shapes::ShapeRef.new(shape: Attribute)
378
+
202
379
  Channels.member = Shapes::ShapeRef.new(shape: Channel)
203
380
 
204
381
  ChatMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, required: true, location_name: "ContentType"))
205
382
  ChatMessage.add_member(:content, Shapes::ShapeRef.new(shape: ChatContent, required: true, location_name: "Content"))
206
383
  ChatMessage.struct_class = Types::ChatMessage
207
384
 
385
+ ContactFlow.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
386
+ ContactFlow.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
387
+ ContactFlow.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
388
+ ContactFlow.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, location_name: "Type"))
389
+ ContactFlow.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
390
+ ContactFlow.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, location_name: "Content"))
391
+ ContactFlow.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
392
+ ContactFlow.struct_class = Types::ContactFlow
393
+
394
+ ContactFlowNotPublishedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
395
+ ContactFlowNotPublishedException.struct_class = Types::ContactFlowNotPublishedException
396
+
208
397
  ContactFlowSummary.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
209
398
  ContactFlowSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
210
399
  ContactFlowSummary.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
@@ -218,6 +407,52 @@ module Aws::Connect
218
407
  ContactNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
219
408
  ContactNotFoundException.struct_class = Types::ContactNotFoundException
220
409
 
410
+ CreateContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
411
+ CreateContactFlowRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, required: true, location_name: "Name"))
412
+ CreateContactFlowRequest.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, required: true, location_name: "Type"))
413
+ CreateContactFlowRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
414
+ CreateContactFlowRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, required: true, location_name: "Content"))
415
+ CreateContactFlowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
416
+ CreateContactFlowRequest.struct_class = Types::CreateContactFlowRequest
417
+
418
+ CreateContactFlowResponse.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
419
+ CreateContactFlowResponse.add_member(:contact_flow_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactFlowArn"))
420
+ CreateContactFlowResponse.struct_class = Types::CreateContactFlowResponse
421
+
422
+ CreateInstanceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
423
+ CreateInstanceRequest.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, required: true, location_name: "IdentityManagementType"))
424
+ CreateInstanceRequest.add_member(:instance_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, location_name: "InstanceAlias"))
425
+ CreateInstanceRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
426
+ CreateInstanceRequest.add_member(:inbound_calls_enabled, Shapes::ShapeRef.new(shape: InboundCallsEnabled, required: true, location_name: "InboundCallsEnabled"))
427
+ CreateInstanceRequest.add_member(:outbound_calls_enabled, Shapes::ShapeRef.new(shape: OutboundCallsEnabled, required: true, location_name: "OutboundCallsEnabled"))
428
+ CreateInstanceRequest.struct_class = Types::CreateInstanceRequest
429
+
430
+ CreateInstanceResponse.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
431
+ CreateInstanceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
432
+ CreateInstanceResponse.struct_class = Types::CreateInstanceResponse
433
+
434
+ CreateRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
435
+ CreateRoutingProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, required: true, location_name: "Name"))
436
+ CreateRoutingProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: RoutingProfileDescription, required: true, location_name: "Description"))
437
+ CreateRoutingProfileRequest.add_member(:default_outbound_queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "DefaultOutboundQueueId"))
438
+ CreateRoutingProfileRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, location_name: "QueueConfigs"))
439
+ CreateRoutingProfileRequest.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, required: true, location_name: "MediaConcurrencies"))
440
+ CreateRoutingProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
441
+ CreateRoutingProfileRequest.struct_class = Types::CreateRoutingProfileRequest
442
+
443
+ CreateRoutingProfileResponse.add_member(:routing_profile_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RoutingProfileArn"))
444
+ CreateRoutingProfileResponse.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
445
+ CreateRoutingProfileResponse.struct_class = Types::CreateRoutingProfileResponse
446
+
447
+ CreateUserHierarchyGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
448
+ CreateUserHierarchyGroupRequest.add_member(:parent_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "ParentGroupId"))
449
+ CreateUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
450
+ CreateUserHierarchyGroupRequest.struct_class = Types::CreateUserHierarchyGroupRequest
451
+
452
+ CreateUserHierarchyGroupResponse.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
453
+ CreateUserHierarchyGroupResponse.add_member(:hierarchy_group_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "HierarchyGroupArn"))
454
+ CreateUserHierarchyGroupResponse.struct_class = Types::CreateUserHierarchyGroupResponse
455
+
221
456
  CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, required: true, location_name: "Username"))
222
457
  CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password"))
223
458
  CreateUserRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, location_name: "IdentityInfo"))
@@ -258,10 +493,52 @@ module Aws::Connect
258
493
 
259
494
  CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
260
495
 
496
+ DeleteInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
497
+ DeleteInstanceRequest.struct_class = Types::DeleteInstanceRequest
498
+
499
+ DeleteUserHierarchyGroupRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
500
+ DeleteUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
501
+ DeleteUserHierarchyGroupRequest.struct_class = Types::DeleteUserHierarchyGroupRequest
502
+
261
503
  DeleteUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
262
504
  DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
263
505
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
264
506
 
507
+ DescribeContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
508
+ DescribeContactFlowRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
509
+ DescribeContactFlowRequest.struct_class = Types::DescribeContactFlowRequest
510
+
511
+ DescribeContactFlowResponse.add_member(:contact_flow, Shapes::ShapeRef.new(shape: ContactFlow, location_name: "ContactFlow"))
512
+ DescribeContactFlowResponse.struct_class = Types::DescribeContactFlowResponse
513
+
514
+ DescribeInstanceAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
515
+ DescribeInstanceAttributeRequest.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, required: true, location: "uri", location_name: "AttributeType"))
516
+ DescribeInstanceAttributeRequest.struct_class = Types::DescribeInstanceAttributeRequest
517
+
518
+ DescribeInstanceAttributeResponse.add_member(:attribute, Shapes::ShapeRef.new(shape: Attribute, location_name: "Attribute"))
519
+ DescribeInstanceAttributeResponse.struct_class = Types::DescribeInstanceAttributeResponse
520
+
521
+ DescribeInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
522
+ DescribeInstanceRequest.struct_class = Types::DescribeInstanceRequest
523
+
524
+ DescribeInstanceResponse.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, location_name: "Instance"))
525
+ DescribeInstanceResponse.struct_class = Types::DescribeInstanceResponse
526
+
527
+ DescribeInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
528
+ DescribeInstanceStorageConfigRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
529
+ DescribeInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
530
+ DescribeInstanceStorageConfigRequest.struct_class = Types::DescribeInstanceStorageConfigRequest
531
+
532
+ DescribeInstanceStorageConfigResponse.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, location_name: "StorageConfig"))
533
+ DescribeInstanceStorageConfigResponse.struct_class = Types::DescribeInstanceStorageConfigResponse
534
+
535
+ DescribeRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
536
+ DescribeRoutingProfileRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
537
+ DescribeRoutingProfileRequest.struct_class = Types::DescribeRoutingProfileRequest
538
+
539
+ DescribeRoutingProfileResponse.add_member(:routing_profile, Shapes::ShapeRef.new(shape: RoutingProfile, location_name: "RoutingProfile"))
540
+ DescribeRoutingProfileResponse.struct_class = Types::DescribeRoutingProfileResponse
541
+
265
542
  DescribeUserHierarchyGroupRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
266
543
  DescribeUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
267
544
  DescribeUserHierarchyGroupRequest.struct_class = Types::DescribeUserHierarchyGroupRequest
@@ -289,13 +566,46 @@ module Aws::Connect
289
566
  Dimensions.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
290
567
  Dimensions.struct_class = Types::Dimensions
291
568
 
569
+ DisassociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
570
+ DisassociateApprovedOriginRequest.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, required: true, location: "querystring", location_name: "origin"))
571
+ DisassociateApprovedOriginRequest.struct_class = Types::DisassociateApprovedOriginRequest
572
+
573
+ DisassociateInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
574
+ DisassociateInstanceStorageConfigRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
575
+ DisassociateInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
576
+ DisassociateInstanceStorageConfigRequest.struct_class = Types::DisassociateInstanceStorageConfigRequest
577
+
578
+ DisassociateLambdaFunctionRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
579
+ DisassociateLambdaFunctionRequest.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location: "querystring", location_name: "functionArn"))
580
+ DisassociateLambdaFunctionRequest.struct_class = Types::DisassociateLambdaFunctionRequest
581
+
582
+ DisassociateLexBotRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
583
+ DisassociateLexBotRequest.add_member(:bot_name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "querystring", location_name: "botName"))
584
+ DisassociateLexBotRequest.add_member(:lex_region, Shapes::ShapeRef.new(shape: LexRegion, required: true, location: "querystring", location_name: "lexRegion"))
585
+ DisassociateLexBotRequest.struct_class = Types::DisassociateLexBotRequest
586
+
587
+ DisassociateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
588
+ DisassociateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
589
+ DisassociateRoutingProfileQueuesRequest.add_member(:queue_references, Shapes::ShapeRef.new(shape: RoutingProfileQueueReferenceList, required: true, location_name: "QueueReferences"))
590
+ DisassociateRoutingProfileQueuesRequest.struct_class = Types::DisassociateRoutingProfileQueuesRequest
591
+
592
+ DisassociateSecurityKeyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
593
+ DisassociateSecurityKeyRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
594
+ DisassociateSecurityKeyRequest.struct_class = Types::DisassociateSecurityKeyRequest
595
+
292
596
  DuplicateResourceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
293
597
  DuplicateResourceException.struct_class = Types::DuplicateResourceException
294
598
 
599
+ EncryptionConfig.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "EncryptionType"))
600
+ EncryptionConfig.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, required: true, location_name: "KeyId"))
601
+ EncryptionConfig.struct_class = Types::EncryptionConfig
602
+
295
603
  Filters.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
296
604
  Filters.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "Channels"))
297
605
  Filters.struct_class = Types::Filters
298
606
 
607
+ FunctionArnsList.member = Shapes::ShapeRef.new(shape: FunctionArn)
608
+
299
609
  GetContactAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
300
610
  GetContactAttributesRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "InitialContactId"))
301
611
  GetContactAttributesRequest.struct_class = Types::GetContactAttributesRequest
@@ -357,6 +667,9 @@ module Aws::Connect
357
667
  HierarchyLevel.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyLevelName, location_name: "Name"))
358
668
  HierarchyLevel.struct_class = Types::HierarchyLevel
359
669
 
670
+ HierarchyLevelUpdate.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyLevelName, required: true, location_name: "Name"))
671
+ HierarchyLevelUpdate.struct_class = Types::HierarchyLevelUpdate
672
+
360
673
  HierarchyPath.add_member(:level_one, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelOne"))
361
674
  HierarchyPath.add_member(:level_two, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelTwo"))
362
675
  HierarchyPath.add_member(:level_three, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelThree"))
@@ -371,6 +684,13 @@ module Aws::Connect
371
684
  HierarchyStructure.add_member(:level_five, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelFive"))
372
685
  HierarchyStructure.struct_class = Types::HierarchyStructure
373
686
 
687
+ HierarchyStructureUpdate.add_member(:level_one, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelOne"))
688
+ HierarchyStructureUpdate.add_member(:level_two, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelTwo"))
689
+ HierarchyStructureUpdate.add_member(:level_three, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelThree"))
690
+ HierarchyStructureUpdate.add_member(:level_four, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelFour"))
691
+ HierarchyStructureUpdate.add_member(:level_five, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelFive"))
692
+ HierarchyStructureUpdate.struct_class = Types::HierarchyStructureUpdate
693
+
374
694
  HistoricalMetric.add_member(:name, Shapes::ShapeRef.new(shape: HistoricalMetricName, location_name: "Name"))
375
695
  HistoricalMetric.add_member(:threshold, Shapes::ShapeRef.new(shape: Threshold, location_name: "Threshold", metadata: {"box"=>true}))
376
696
  HistoricalMetric.add_member(:statistic, Shapes::ShapeRef.new(shape: Statistic, location_name: "Statistic"))
@@ -398,18 +718,85 @@ module Aws::Connect
398
718
 
399
719
  HoursOfOperationSummaryList.member = Shapes::ShapeRef.new(shape: HoursOfOperationSummary)
400
720
 
721
+ Instance.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
722
+ Instance.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
723
+ Instance.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, location_name: "IdentityManagementType"))
724
+ Instance.add_member(:instance_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, location_name: "InstanceAlias"))
725
+ Instance.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
726
+ Instance.add_member(:service_role, Shapes::ShapeRef.new(shape: ARN, location_name: "ServiceRole"))
727
+ Instance.add_member(:instance_status, Shapes::ShapeRef.new(shape: InstanceStatus, location_name: "InstanceStatus"))
728
+ Instance.add_member(:status_reason, Shapes::ShapeRef.new(shape: InstanceStatusReason, location_name: "StatusReason"))
729
+ Instance.add_member(:inbound_calls_enabled, Shapes::ShapeRef.new(shape: InboundCallsEnabled, location_name: "InboundCallsEnabled"))
730
+ Instance.add_member(:outbound_calls_enabled, Shapes::ShapeRef.new(shape: OutboundCallsEnabled, location_name: "OutboundCallsEnabled"))
731
+ Instance.struct_class = Types::Instance
732
+
733
+ InstanceStatusReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
734
+ InstanceStatusReason.struct_class = Types::InstanceStatusReason
735
+
736
+ InstanceStorageConfig.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
737
+ InstanceStorageConfig.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "StorageType"))
738
+ InstanceStorageConfig.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "S3Config"))
739
+ InstanceStorageConfig.add_member(:kinesis_video_stream_config, Shapes::ShapeRef.new(shape: KinesisVideoStreamConfig, location_name: "KinesisVideoStreamConfig"))
740
+ InstanceStorageConfig.add_member(:kinesis_stream_config, Shapes::ShapeRef.new(shape: KinesisStreamConfig, location_name: "KinesisStreamConfig"))
741
+ InstanceStorageConfig.add_member(:kinesis_firehose_config, Shapes::ShapeRef.new(shape: KinesisFirehoseConfig, location_name: "KinesisFirehoseConfig"))
742
+ InstanceStorageConfig.struct_class = Types::InstanceStorageConfig
743
+
744
+ InstanceStorageConfigs.member = Shapes::ShapeRef.new(shape: InstanceStorageConfig)
745
+
746
+ InstanceSummary.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
747
+ InstanceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
748
+ InstanceSummary.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, location_name: "IdentityManagementType"))
749
+ InstanceSummary.add_member(:instance_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, location_name: "InstanceAlias"))
750
+ InstanceSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
751
+ InstanceSummary.add_member(:service_role, Shapes::ShapeRef.new(shape: ARN, location_name: "ServiceRole"))
752
+ InstanceSummary.add_member(:instance_status, Shapes::ShapeRef.new(shape: InstanceStatus, location_name: "InstanceStatus"))
753
+ InstanceSummary.add_member(:inbound_calls_enabled, Shapes::ShapeRef.new(shape: InboundCallsEnabled, location_name: "InboundCallsEnabled"))
754
+ InstanceSummary.add_member(:outbound_calls_enabled, Shapes::ShapeRef.new(shape: OutboundCallsEnabled, location_name: "OutboundCallsEnabled"))
755
+ InstanceSummary.struct_class = Types::InstanceSummary
756
+
757
+ InstanceSummaryList.member = Shapes::ShapeRef.new(shape: InstanceSummary)
758
+
401
759
  InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
402
760
  InternalServiceException.struct_class = Types::InternalServiceException
403
761
 
762
+ InvalidContactFlowException.add_member(:problems, Shapes::ShapeRef.new(shape: Problems, location_name: "problems"))
763
+ InvalidContactFlowException.struct_class = Types::InvalidContactFlowException
764
+
404
765
  InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
405
766
  InvalidParameterException.struct_class = Types::InvalidParameterException
406
767
 
407
768
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
408
769
  InvalidRequestException.struct_class = Types::InvalidRequestException
409
770
 
771
+ KinesisFirehoseConfig.add_member(:firehose_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "FirehoseArn"))
772
+ KinesisFirehoseConfig.struct_class = Types::KinesisFirehoseConfig
773
+
774
+ KinesisStreamConfig.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "StreamArn"))
775
+ KinesisStreamConfig.struct_class = Types::KinesisStreamConfig
776
+
777
+ KinesisVideoStreamConfig.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "Prefix"))
778
+ KinesisVideoStreamConfig.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: Hours, required: true, location_name: "RetentionPeriodHours"))
779
+ KinesisVideoStreamConfig.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, required: true, location_name: "EncryptionConfig"))
780
+ KinesisVideoStreamConfig.struct_class = Types::KinesisVideoStreamConfig
781
+
782
+ LexBot.add_member(:name, Shapes::ShapeRef.new(shape: BotName, location_name: "Name"))
783
+ LexBot.add_member(:lex_region, Shapes::ShapeRef.new(shape: LexRegion, location_name: "LexRegion"))
784
+ LexBot.struct_class = Types::LexBot
785
+
786
+ LexBotsList.member = Shapes::ShapeRef.new(shape: LexBot)
787
+
410
788
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
411
789
  LimitExceededException.struct_class = Types::LimitExceededException
412
790
 
791
+ ListApprovedOriginsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
792
+ ListApprovedOriginsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
793
+ ListApprovedOriginsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult25, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
794
+ ListApprovedOriginsRequest.struct_class = Types::ListApprovedOriginsRequest
795
+
796
+ ListApprovedOriginsResponse.add_member(:origins, Shapes::ShapeRef.new(shape: OriginsList, location_name: "Origins"))
797
+ ListApprovedOriginsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
798
+ ListApprovedOriginsResponse.struct_class = Types::ListApprovedOriginsResponse
799
+
413
800
  ListContactFlowsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
414
801
  ListContactFlowsRequest.add_member(:contact_flow_types, Shapes::ShapeRef.new(shape: ContactFlowTypes, location: "querystring", location_name: "contactFlowTypes"))
415
802
  ListContactFlowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -429,6 +816,51 @@ module Aws::Connect
429
816
  ListHoursOfOperationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
430
817
  ListHoursOfOperationsResponse.struct_class = Types::ListHoursOfOperationsResponse
431
818
 
819
+ ListInstanceAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
820
+ ListInstanceAttributesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
821
+ ListInstanceAttributesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult7, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
822
+ ListInstanceAttributesRequest.struct_class = Types::ListInstanceAttributesRequest
823
+
824
+ ListInstanceAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributesList, location_name: "Attributes"))
825
+ ListInstanceAttributesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
826
+ ListInstanceAttributesResponse.struct_class = Types::ListInstanceAttributesResponse
827
+
828
+ ListInstanceStorageConfigsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
829
+ ListInstanceStorageConfigsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
830
+ ListInstanceStorageConfigsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
831
+ ListInstanceStorageConfigsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
832
+ ListInstanceStorageConfigsRequest.struct_class = Types::ListInstanceStorageConfigsRequest
833
+
834
+ ListInstanceStorageConfigsResponse.add_member(:storage_configs, Shapes::ShapeRef.new(shape: InstanceStorageConfigs, location_name: "StorageConfigs"))
835
+ ListInstanceStorageConfigsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
836
+ ListInstanceStorageConfigsResponse.struct_class = Types::ListInstanceStorageConfigsResponse
837
+
838
+ ListInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
839
+ ListInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
840
+ ListInstancesRequest.struct_class = Types::ListInstancesRequest
841
+
842
+ ListInstancesResponse.add_member(:instance_summary_list, Shapes::ShapeRef.new(shape: InstanceSummaryList, location_name: "InstanceSummaryList"))
843
+ ListInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
844
+ ListInstancesResponse.struct_class = Types::ListInstancesResponse
845
+
846
+ ListLambdaFunctionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
847
+ ListLambdaFunctionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
848
+ ListLambdaFunctionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult25, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
849
+ ListLambdaFunctionsRequest.struct_class = Types::ListLambdaFunctionsRequest
850
+
851
+ ListLambdaFunctionsResponse.add_member(:lambda_functions, Shapes::ShapeRef.new(shape: FunctionArnsList, location_name: "LambdaFunctions"))
852
+ ListLambdaFunctionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
853
+ ListLambdaFunctionsResponse.struct_class = Types::ListLambdaFunctionsResponse
854
+
855
+ ListLexBotsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
856
+ ListLexBotsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
857
+ ListLexBotsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult25, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
858
+ ListLexBotsRequest.struct_class = Types::ListLexBotsRequest
859
+
860
+ ListLexBotsResponse.add_member(:lex_bots, Shapes::ShapeRef.new(shape: LexBotsList, location_name: "LexBots"))
861
+ ListLexBotsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
862
+ ListLexBotsResponse.struct_class = Types::ListLexBotsResponse
863
+
432
864
  ListPhoneNumbersRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
433
865
  ListPhoneNumbersRequest.add_member(:phone_number_types, Shapes::ShapeRef.new(shape: PhoneNumberTypes, location: "querystring", location_name: "phoneNumberTypes"))
434
866
  ListPhoneNumbersRequest.add_member(:phone_number_country_codes, Shapes::ShapeRef.new(shape: PhoneNumberCountryCodes, location: "querystring", location_name: "phoneNumberCountryCodes"))
@@ -440,6 +872,15 @@ module Aws::Connect
440
872
  ListPhoneNumbersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
441
873
  ListPhoneNumbersResponse.struct_class = Types::ListPhoneNumbersResponse
442
874
 
875
+ ListPromptsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
876
+ ListPromptsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
877
+ ListPromptsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
878
+ ListPromptsRequest.struct_class = Types::ListPromptsRequest
879
+
880
+ ListPromptsResponse.add_member(:prompt_summary_list, Shapes::ShapeRef.new(shape: PromptSummaryList, location_name: "PromptSummaryList"))
881
+ ListPromptsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
882
+ ListPromptsResponse.struct_class = Types::ListPromptsResponse
883
+
443
884
  ListQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
444
885
  ListQueuesRequest.add_member(:queue_types, Shapes::ShapeRef.new(shape: QueueTypes, location: "querystring", location_name: "queueTypes"))
445
886
  ListQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -450,6 +891,16 @@ module Aws::Connect
450
891
  ListQueuesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
451
892
  ListQueuesResponse.struct_class = Types::ListQueuesResponse
452
893
 
894
+ ListRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
895
+ ListRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
896
+ ListRoutingProfileQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
897
+ ListRoutingProfileQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
898
+ ListRoutingProfileQueuesRequest.struct_class = Types::ListRoutingProfileQueuesRequest
899
+
900
+ ListRoutingProfileQueuesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
901
+ ListRoutingProfileQueuesResponse.add_member(:routing_profile_queue_config_summary_list, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigSummaryList, location_name: "RoutingProfileQueueConfigSummaryList"))
902
+ ListRoutingProfileQueuesResponse.struct_class = Types::ListRoutingProfileQueuesResponse
903
+
453
904
  ListRoutingProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
454
905
  ListRoutingProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
455
906
  ListRoutingProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -459,6 +910,15 @@ module Aws::Connect
459
910
  ListRoutingProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
460
911
  ListRoutingProfilesResponse.struct_class = Types::ListRoutingProfilesResponse
461
912
 
913
+ ListSecurityKeysRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
914
+ ListSecurityKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
915
+ ListSecurityKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult2, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
916
+ ListSecurityKeysRequest.struct_class = Types::ListSecurityKeysRequest
917
+
918
+ ListSecurityKeysResponse.add_member(:security_keys, Shapes::ShapeRef.new(shape: SecurityKeysList, location_name: "SecurityKeys"))
919
+ ListSecurityKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
920
+ ListSecurityKeysResponse.struct_class = Types::ListSecurityKeysResponse
921
+
462
922
  ListSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
463
923
  ListSecurityProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
464
924
  ListSecurityProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -492,6 +952,14 @@ module Aws::Connect
492
952
  ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
493
953
  ListUsersResponse.struct_class = Types::ListUsersResponse
494
954
 
955
+ MediaConcurrencies.member = Shapes::ShapeRef.new(shape: MediaConcurrency)
956
+
957
+ MediaConcurrency.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, required: true, location_name: "Channel"))
958
+ MediaConcurrency.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, required: true, location_name: "Concurrency"))
959
+ MediaConcurrency.struct_class = Types::MediaConcurrency
960
+
961
+ OriginsList.member = Shapes::ShapeRef.new(shape: Origin)
962
+
495
963
  OutboundContactNotPermittedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
496
964
  OutboundContactNotPermittedException.struct_class = Types::OutboundContactNotPermittedException
497
965
 
@@ -511,6 +979,18 @@ module Aws::Connect
511
979
 
512
980
  PhoneNumberTypes.member = Shapes::ShapeRef.new(shape: PhoneNumberType)
513
981
 
982
+ ProblemDetail.add_member(:message, Shapes::ShapeRef.new(shape: ProblemMessageString, location_name: "message"))
983
+ ProblemDetail.struct_class = Types::ProblemDetail
984
+
985
+ Problems.member = Shapes::ShapeRef.new(shape: ProblemDetail)
986
+
987
+ PromptSummary.add_member(:id, Shapes::ShapeRef.new(shape: PromptId, location_name: "Id"))
988
+ PromptSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
989
+ PromptSummary.add_member(:name, Shapes::ShapeRef.new(shape: PromptName, location_name: "Name"))
990
+ PromptSummary.struct_class = Types::PromptSummary
991
+
992
+ PromptSummaryList.member = Shapes::ShapeRef.new(shape: PromptSummary)
993
+
514
994
  QueueReference.add_member(:id, Shapes::ShapeRef.new(shape: QueueId, location_name: "Id"))
515
995
  QueueReference.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
516
996
  QueueReference.struct_class = Types::QueueReference
@@ -527,6 +1007,14 @@ module Aws::Connect
527
1007
 
528
1008
  Queues.member = Shapes::ShapeRef.new(shape: QueueId)
529
1009
 
1010
+ ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1011
+ ResourceConflictException.struct_class = Types::ResourceConflictException
1012
+
1013
+ ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1014
+ ResourceInUseException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
1015
+ ResourceInUseException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceId"))
1016
+ ResourceInUseException.struct_class = Types::ResourceInUseException
1017
+
530
1018
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
531
1019
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
532
1020
 
@@ -537,6 +1025,39 @@ module Aws::Connect
537
1025
 
538
1026
  ResumeContactRecordingResponse.struct_class = Types::ResumeContactRecordingResponse
539
1027
 
1028
+ RoutingProfile.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
1029
+ RoutingProfile.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
1030
+ RoutingProfile.add_member(:routing_profile_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RoutingProfileArn"))
1031
+ RoutingProfile.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
1032
+ RoutingProfile.add_member(:description, Shapes::ShapeRef.new(shape: RoutingProfileDescription, location_name: "Description"))
1033
+ RoutingProfile.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, location_name: "MediaConcurrencies"))
1034
+ RoutingProfile.add_member(:default_outbound_queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "DefaultOutboundQueueId"))
1035
+ RoutingProfile.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1036
+ RoutingProfile.struct_class = Types::RoutingProfile
1037
+
1038
+ RoutingProfileQueueConfig.add_member(:queue_reference, Shapes::ShapeRef.new(shape: RoutingProfileQueueReference, required: true, location_name: "QueueReference"))
1039
+ RoutingProfileQueueConfig.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, required: true, location_name: "Priority", metadata: {"box"=>true}))
1040
+ RoutingProfileQueueConfig.add_member(:delay, Shapes::ShapeRef.new(shape: Delay, required: true, location_name: "Delay", metadata: {"box"=>true}))
1041
+ RoutingProfileQueueConfig.struct_class = Types::RoutingProfileQueueConfig
1042
+
1043
+ RoutingProfileQueueConfigList.member = Shapes::ShapeRef.new(shape: RoutingProfileQueueConfig)
1044
+
1045
+ RoutingProfileQueueConfigSummary.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "QueueId"))
1046
+ RoutingProfileQueueConfigSummary.add_member(:queue_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "QueueArn"))
1047
+ RoutingProfileQueueConfigSummary.add_member(:queue_name, Shapes::ShapeRef.new(shape: QueueName, required: true, location_name: "QueueName"))
1048
+ RoutingProfileQueueConfigSummary.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, required: true, location_name: "Priority"))
1049
+ RoutingProfileQueueConfigSummary.add_member(:delay, Shapes::ShapeRef.new(shape: Delay, required: true, location_name: "Delay"))
1050
+ RoutingProfileQueueConfigSummary.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, required: true, location_name: "Channel"))
1051
+ RoutingProfileQueueConfigSummary.struct_class = Types::RoutingProfileQueueConfigSummary
1052
+
1053
+ RoutingProfileQueueConfigSummaryList.member = Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigSummary)
1054
+
1055
+ RoutingProfileQueueReference.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "QueueId"))
1056
+ RoutingProfileQueueReference.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, required: true, location_name: "Channel"))
1057
+ RoutingProfileQueueReference.struct_class = Types::RoutingProfileQueueReference
1058
+
1059
+ RoutingProfileQueueReferenceList.member = Shapes::ShapeRef.new(shape: RoutingProfileQueueReference)
1060
+
540
1061
  RoutingProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "Id"))
541
1062
  RoutingProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
542
1063
  RoutingProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
@@ -544,6 +1065,18 @@ module Aws::Connect
544
1065
 
545
1066
  RoutingProfileSummaryList.member = Shapes::ShapeRef.new(shape: RoutingProfileSummary)
546
1067
 
1068
+ S3Config.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "BucketName"))
1069
+ S3Config.add_member(:bucket_prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "BucketPrefix"))
1070
+ S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
1071
+ S3Config.struct_class = Types::S3Config
1072
+
1073
+ SecurityKey.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
1074
+ SecurityKey.add_member(:key, Shapes::ShapeRef.new(shape: PEM, location_name: "Key"))
1075
+ SecurityKey.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
1076
+ SecurityKey.struct_class = Types::SecurityKey
1077
+
1078
+ SecurityKeysList.member = Shapes::ShapeRef.new(shape: SecurityKey)
1079
+
547
1080
  SecurityProfileIds.member = Shapes::ShapeRef.new(shape: SecurityProfileId)
548
1081
 
549
1082
  SecurityProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "Id"))
@@ -553,6 +1086,9 @@ module Aws::Connect
553
1086
 
554
1087
  SecurityProfileSummaryList.member = Shapes::ShapeRef.new(shape: SecurityProfileSummary)
555
1088
 
1089
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1090
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1091
+
556
1092
  StartChatContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
557
1093
  StartChatContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
558
1094
  StartChatContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
@@ -633,11 +1169,63 @@ module Aws::Connect
633
1169
 
634
1170
  UpdateContactAttributesResponse.struct_class = Types::UpdateContactAttributesResponse
635
1171
 
1172
+ UpdateContactFlowContentRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1173
+ UpdateContactFlowContentRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
1174
+ UpdateContactFlowContentRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, required: true, location_name: "Content"))
1175
+ UpdateContactFlowContentRequest.struct_class = Types::UpdateContactFlowContentRequest
1176
+
1177
+ UpdateContactFlowNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1178
+ UpdateContactFlowNameRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
1179
+ UpdateContactFlowNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
1180
+ UpdateContactFlowNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
1181
+ UpdateContactFlowNameRequest.struct_class = Types::UpdateContactFlowNameRequest
1182
+
1183
+ UpdateInstanceAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1184
+ UpdateInstanceAttributeRequest.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, required: true, location: "uri", location_name: "AttributeType"))
1185
+ UpdateInstanceAttributeRequest.add_member(:value, Shapes::ShapeRef.new(shape: InstanceAttributeValue, required: true, location_name: "Value"))
1186
+ UpdateInstanceAttributeRequest.struct_class = Types::UpdateInstanceAttributeRequest
1187
+
1188
+ UpdateInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1189
+ UpdateInstanceStorageConfigRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
1190
+ UpdateInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location: "querystring", location_name: "resourceType"))
1191
+ UpdateInstanceStorageConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, required: true, location_name: "StorageConfig"))
1192
+ UpdateInstanceStorageConfigRequest.struct_class = Types::UpdateInstanceStorageConfigRequest
1193
+
1194
+ UpdateRoutingProfileConcurrencyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1195
+ UpdateRoutingProfileConcurrencyRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
1196
+ UpdateRoutingProfileConcurrencyRequest.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, required: true, location_name: "MediaConcurrencies"))
1197
+ UpdateRoutingProfileConcurrencyRequest.struct_class = Types::UpdateRoutingProfileConcurrencyRequest
1198
+
1199
+ UpdateRoutingProfileDefaultOutboundQueueRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1200
+ UpdateRoutingProfileDefaultOutboundQueueRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
1201
+ UpdateRoutingProfileDefaultOutboundQueueRequest.add_member(:default_outbound_queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "DefaultOutboundQueueId"))
1202
+ UpdateRoutingProfileDefaultOutboundQueueRequest.struct_class = Types::UpdateRoutingProfileDefaultOutboundQueueRequest
1203
+
1204
+ UpdateRoutingProfileNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1205
+ UpdateRoutingProfileNameRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
1206
+ UpdateRoutingProfileNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
1207
+ UpdateRoutingProfileNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: RoutingProfileDescription, location_name: "Description"))
1208
+ UpdateRoutingProfileNameRequest.struct_class = Types::UpdateRoutingProfileNameRequest
1209
+
1210
+ UpdateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1211
+ UpdateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
1212
+ UpdateRoutingProfileQueuesRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, required: true, location_name: "QueueConfigs"))
1213
+ UpdateRoutingProfileQueuesRequest.struct_class = Types::UpdateRoutingProfileQueuesRequest
1214
+
1215
+ UpdateUserHierarchyGroupNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
1216
+ UpdateUserHierarchyGroupNameRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
1217
+ UpdateUserHierarchyGroupNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1218
+ UpdateUserHierarchyGroupNameRequest.struct_class = Types::UpdateUserHierarchyGroupNameRequest
1219
+
636
1220
  UpdateUserHierarchyRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
637
1221
  UpdateUserHierarchyRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
638
1222
  UpdateUserHierarchyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
639
1223
  UpdateUserHierarchyRequest.struct_class = Types::UpdateUserHierarchyRequest
640
1224
 
1225
+ UpdateUserHierarchyStructureRequest.add_member(:hierarchy_structure, Shapes::ShapeRef.new(shape: HierarchyStructureUpdate, required: true, location_name: "HierarchyStructure"))
1226
+ UpdateUserHierarchyStructureRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1227
+ UpdateUserHierarchyStructureRequest.struct_class = Types::UpdateUserHierarchyStructureRequest
1228
+
641
1229
  UpdateUserIdentityInfoRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, required: true, location_name: "IdentityInfo"))
642
1230
  UpdateUserIdentityInfoRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
643
1231
  UpdateUserIdentityInfoRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -713,6 +1301,137 @@ module Aws::Connect
713
1301
  "uid" => "connect-2017-08-08",
714
1302
  }
715
1303
 
1304
+ api.add_operation(:associate_approved_origin, Seahorse::Model::Operation.new.tap do |o|
1305
+ o.name = "AssociateApprovedOrigin"
1306
+ o.http_method = "PUT"
1307
+ o.http_request_uri = "/instance/{InstanceId}/approved-origin"
1308
+ o.input = Shapes::ShapeRef.new(shape: AssociateApprovedOriginRequest)
1309
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1310
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1311
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1312
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1313
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1314
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1315
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1317
+ end)
1318
+
1319
+ api.add_operation(:associate_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
1320
+ o.name = "AssociateInstanceStorageConfig"
1321
+ o.http_method = "PUT"
1322
+ o.http_request_uri = "/instance/{InstanceId}/storage-config"
1323
+ o.input = Shapes::ShapeRef.new(shape: AssociateInstanceStorageConfigRequest)
1324
+ o.output = Shapes::ShapeRef.new(shape: AssociateInstanceStorageConfigResponse)
1325
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1326
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1327
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1329
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1330
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1331
+ end)
1332
+
1333
+ api.add_operation(:associate_lambda_function, Seahorse::Model::Operation.new.tap do |o|
1334
+ o.name = "AssociateLambdaFunction"
1335
+ o.http_method = "PUT"
1336
+ o.http_request_uri = "/instance/{InstanceId}/lambda-function"
1337
+ o.input = Shapes::ShapeRef.new(shape: AssociateLambdaFunctionRequest)
1338
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1339
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1340
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1341
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1342
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1343
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1344
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1345
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1346
+ end)
1347
+
1348
+ api.add_operation(:associate_lex_bot, Seahorse::Model::Operation.new.tap do |o|
1349
+ o.name = "AssociateLexBot"
1350
+ o.http_method = "PUT"
1351
+ o.http_request_uri = "/instance/{InstanceId}/lex-bot"
1352
+ o.input = Shapes::ShapeRef.new(shape: AssociateLexBotRequest)
1353
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1354
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1355
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1356
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1357
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1358
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1359
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1360
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1361
+ end)
1362
+
1363
+ api.add_operation(:associate_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
1364
+ o.name = "AssociateRoutingProfileQueues"
1365
+ o.http_method = "POST"
1366
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues"
1367
+ o.input = Shapes::ShapeRef.new(shape: AssociateRoutingProfileQueuesRequest)
1368
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1369
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1370
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1371
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1372
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1373
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1374
+ end)
1375
+
1376
+ api.add_operation(:associate_security_key, Seahorse::Model::Operation.new.tap do |o|
1377
+ o.name = "AssociateSecurityKey"
1378
+ o.http_method = "PUT"
1379
+ o.http_request_uri = "/instance/{InstanceId}/security-key"
1380
+ o.input = Shapes::ShapeRef.new(shape: AssociateSecurityKeyRequest)
1381
+ o.output = Shapes::ShapeRef.new(shape: AssociateSecurityKeyResponse)
1382
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1383
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
1384
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1385
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1386
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1387
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1388
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1389
+ end)
1390
+
1391
+ api.add_operation(:create_contact_flow, Seahorse::Model::Operation.new.tap do |o|
1392
+ o.name = "CreateContactFlow"
1393
+ o.http_method = "PUT"
1394
+ o.http_request_uri = "/contact-flows/{InstanceId}"
1395
+ o.input = Shapes::ShapeRef.new(shape: CreateContactFlowRequest)
1396
+ o.output = Shapes::ShapeRef.new(shape: CreateContactFlowResponse)
1397
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1398
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContactFlowException)
1399
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1400
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1401
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1402
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1404
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1405
+ end)
1406
+
1407
+ api.add_operation(:create_instance, Seahorse::Model::Operation.new.tap do |o|
1408
+ o.name = "CreateInstance"
1409
+ o.http_method = "PUT"
1410
+ o.http_request_uri = "/instance"
1411
+ o.input = Shapes::ShapeRef.new(shape: CreateInstanceRequest)
1412
+ o.output = Shapes::ShapeRef.new(shape: CreateInstanceResponse)
1413
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1414
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1415
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1416
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1417
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1418
+ end)
1419
+
1420
+ api.add_operation(:create_routing_profile, Seahorse::Model::Operation.new.tap do |o|
1421
+ o.name = "CreateRoutingProfile"
1422
+ o.http_method = "PUT"
1423
+ o.http_request_uri = "/routing-profiles/{InstanceId}"
1424
+ o.input = Shapes::ShapeRef.new(shape: CreateRoutingProfileRequest)
1425
+ o.output = Shapes::ShapeRef.new(shape: CreateRoutingProfileResponse)
1426
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1427
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1428
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1429
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1430
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1431
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1432
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1433
+ end)
1434
+
716
1435
  api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
717
1436
  o.name = "CreateUser"
718
1437
  o.http_method = "PUT"
@@ -728,6 +1447,32 @@ module Aws::Connect
728
1447
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
729
1448
  end)
730
1449
 
1450
+ api.add_operation(:create_user_hierarchy_group, Seahorse::Model::Operation.new.tap do |o|
1451
+ o.name = "CreateUserHierarchyGroup"
1452
+ o.http_method = "PUT"
1453
+ o.http_request_uri = "/user-hierarchy-groups/{InstanceId}"
1454
+ o.input = Shapes::ShapeRef.new(shape: CreateUserHierarchyGroupRequest)
1455
+ o.output = Shapes::ShapeRef.new(shape: CreateUserHierarchyGroupResponse)
1456
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1457
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1458
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1459
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1460
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1461
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1462
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1463
+ end)
1464
+
1465
+ api.add_operation(:delete_instance, Seahorse::Model::Operation.new.tap do |o|
1466
+ o.name = "DeleteInstance"
1467
+ o.http_method = "DELETE"
1468
+ o.http_request_uri = "/instance/{InstanceId}"
1469
+ o.input = Shapes::ShapeRef.new(shape: DeleteInstanceRequest)
1470
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1471
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1472
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1473
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1474
+ end)
1475
+
731
1476
  api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
732
1477
  o.name = "DeleteUser"
733
1478
  o.http_method = "DELETE"
@@ -741,6 +1486,84 @@ module Aws::Connect
741
1486
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
742
1487
  end)
743
1488
 
1489
+ api.add_operation(:delete_user_hierarchy_group, Seahorse::Model::Operation.new.tap do |o|
1490
+ o.name = "DeleteUserHierarchyGroup"
1491
+ o.http_method = "DELETE"
1492
+ o.http_request_uri = "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}"
1493
+ o.input = Shapes::ShapeRef.new(shape: DeleteUserHierarchyGroupRequest)
1494
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1495
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1496
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1497
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1498
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1499
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1500
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1501
+ end)
1502
+
1503
+ api.add_operation(:describe_contact_flow, Seahorse::Model::Operation.new.tap do |o|
1504
+ o.name = "DescribeContactFlow"
1505
+ o.http_method = "GET"
1506
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}"
1507
+ o.input = Shapes::ShapeRef.new(shape: DescribeContactFlowRequest)
1508
+ o.output = Shapes::ShapeRef.new(shape: DescribeContactFlowResponse)
1509
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1510
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1511
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1512
+ o.errors << Shapes::ShapeRef.new(shape: ContactFlowNotPublishedException)
1513
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1514
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1515
+ end)
1516
+
1517
+ api.add_operation(:describe_instance, Seahorse::Model::Operation.new.tap do |o|
1518
+ o.name = "DescribeInstance"
1519
+ o.http_method = "GET"
1520
+ o.http_request_uri = "/instance/{InstanceId}"
1521
+ o.input = Shapes::ShapeRef.new(shape: DescribeInstanceRequest)
1522
+ o.output = Shapes::ShapeRef.new(shape: DescribeInstanceResponse)
1523
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1524
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1525
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1526
+ end)
1527
+
1528
+ api.add_operation(:describe_instance_attribute, Seahorse::Model::Operation.new.tap do |o|
1529
+ o.name = "DescribeInstanceAttribute"
1530
+ o.http_method = "GET"
1531
+ o.http_request_uri = "/instance/{InstanceId}/attribute/{AttributeType}"
1532
+ o.input = Shapes::ShapeRef.new(shape: DescribeInstanceAttributeRequest)
1533
+ o.output = Shapes::ShapeRef.new(shape: DescribeInstanceAttributeResponse)
1534
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1535
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1536
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1537
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1538
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1539
+ end)
1540
+
1541
+ api.add_operation(:describe_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
1542
+ o.name = "DescribeInstanceStorageConfig"
1543
+ o.http_method = "GET"
1544
+ o.http_request_uri = "/instance/{InstanceId}/storage-config/{AssociationId}"
1545
+ o.input = Shapes::ShapeRef.new(shape: DescribeInstanceStorageConfigRequest)
1546
+ o.output = Shapes::ShapeRef.new(shape: DescribeInstanceStorageConfigResponse)
1547
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1548
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1549
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1550
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1551
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1552
+ end)
1553
+
1554
+ api.add_operation(:describe_routing_profile, Seahorse::Model::Operation.new.tap do |o|
1555
+ o.name = "DescribeRoutingProfile"
1556
+ o.http_method = "GET"
1557
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}"
1558
+ o.input = Shapes::ShapeRef.new(shape: DescribeRoutingProfileRequest)
1559
+ o.output = Shapes::ShapeRef.new(shape: DescribeRoutingProfileResponse)
1560
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1561
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1562
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1563
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1564
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1565
+ end)
1566
+
744
1567
  api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
745
1568
  o.name = "DescribeUser"
746
1569
  o.http_method = "GET"
@@ -780,6 +1603,84 @@ module Aws::Connect
780
1603
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
781
1604
  end)
782
1605
 
1606
+ api.add_operation(:disassociate_approved_origin, Seahorse::Model::Operation.new.tap do |o|
1607
+ o.name = "DisassociateApprovedOrigin"
1608
+ o.http_method = "DELETE"
1609
+ o.http_request_uri = "/instance/{InstanceId}/approved-origin"
1610
+ o.input = Shapes::ShapeRef.new(shape: DisassociateApprovedOriginRequest)
1611
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1612
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1613
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1614
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1615
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1616
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1617
+ end)
1618
+
1619
+ api.add_operation(:disassociate_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
1620
+ o.name = "DisassociateInstanceStorageConfig"
1621
+ o.http_method = "DELETE"
1622
+ o.http_request_uri = "/instance/{InstanceId}/storage-config/{AssociationId}"
1623
+ o.input = Shapes::ShapeRef.new(shape: DisassociateInstanceStorageConfigRequest)
1624
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1625
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1626
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1627
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1628
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1629
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1630
+ end)
1631
+
1632
+ api.add_operation(:disassociate_lambda_function, Seahorse::Model::Operation.new.tap do |o|
1633
+ o.name = "DisassociateLambdaFunction"
1634
+ o.http_method = "DELETE"
1635
+ o.http_request_uri = "/instance/{InstanceId}/lambda-function"
1636
+ o.input = Shapes::ShapeRef.new(shape: DisassociateLambdaFunctionRequest)
1637
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1638
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1639
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1640
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1641
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1642
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1643
+ end)
1644
+
1645
+ api.add_operation(:disassociate_lex_bot, Seahorse::Model::Operation.new.tap do |o|
1646
+ o.name = "DisassociateLexBot"
1647
+ o.http_method = "DELETE"
1648
+ o.http_request_uri = "/instance/{InstanceId}/lex-bot"
1649
+ o.input = Shapes::ShapeRef.new(shape: DisassociateLexBotRequest)
1650
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1651
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1652
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1653
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1654
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1655
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1656
+ end)
1657
+
1658
+ api.add_operation(:disassociate_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
1659
+ o.name = "DisassociateRoutingProfileQueues"
1660
+ o.http_method = "POST"
1661
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/disassociate-queues"
1662
+ o.input = Shapes::ShapeRef.new(shape: DisassociateRoutingProfileQueuesRequest)
1663
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1664
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1665
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1666
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1667
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1668
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1669
+ end)
1670
+
1671
+ api.add_operation(:disassociate_security_key, Seahorse::Model::Operation.new.tap do |o|
1672
+ o.name = "DisassociateSecurityKey"
1673
+ o.http_method = "DELETE"
1674
+ o.http_request_uri = "/instance/{InstanceId}/security-key/{AssociationId}"
1675
+ o.input = Shapes::ShapeRef.new(shape: DisassociateSecurityKeyRequest)
1676
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1677
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1678
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1679
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1680
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1681
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1682
+ end)
1683
+
783
1684
  api.add_operation(:get_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
784
1685
  o.name = "GetContactAttributes"
785
1686
  o.http_method = "GET"
@@ -843,6 +1744,25 @@ module Aws::Connect
843
1744
  )
844
1745
  end)
845
1746
 
1747
+ api.add_operation(:list_approved_origins, Seahorse::Model::Operation.new.tap do |o|
1748
+ o.name = "ListApprovedOrigins"
1749
+ o.http_method = "GET"
1750
+ o.http_request_uri = "/instance/{InstanceId}/approved-origins"
1751
+ o.input = Shapes::ShapeRef.new(shape: ListApprovedOriginsRequest)
1752
+ o.output = Shapes::ShapeRef.new(shape: ListApprovedOriginsResponse)
1753
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1754
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1755
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1756
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1757
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1758
+ o[:pager] = Aws::Pager.new(
1759
+ limit_key: "max_results",
1760
+ tokens: {
1761
+ "next_token" => "next_token"
1762
+ }
1763
+ )
1764
+ end)
1765
+
846
1766
  api.add_operation(:list_contact_flows, Seahorse::Model::Operation.new.tap do |o|
847
1767
  o.name = "ListContactFlows"
848
1768
  o.http_method = "GET"
@@ -881,6 +1801,98 @@ module Aws::Connect
881
1801
  )
882
1802
  end)
883
1803
 
1804
+ api.add_operation(:list_instance_attributes, Seahorse::Model::Operation.new.tap do |o|
1805
+ o.name = "ListInstanceAttributes"
1806
+ o.http_method = "GET"
1807
+ o.http_request_uri = "/instance/{InstanceId}/attributes"
1808
+ o.input = Shapes::ShapeRef.new(shape: ListInstanceAttributesRequest)
1809
+ o.output = Shapes::ShapeRef.new(shape: ListInstanceAttributesResponse)
1810
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1811
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1812
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1813
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1814
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1815
+ o[:pager] = Aws::Pager.new(
1816
+ limit_key: "max_results",
1817
+ tokens: {
1818
+ "next_token" => "next_token"
1819
+ }
1820
+ )
1821
+ end)
1822
+
1823
+ api.add_operation(:list_instance_storage_configs, Seahorse::Model::Operation.new.tap do |o|
1824
+ o.name = "ListInstanceStorageConfigs"
1825
+ o.http_method = "GET"
1826
+ o.http_request_uri = "/instance/{InstanceId}/storage-configs"
1827
+ o.input = Shapes::ShapeRef.new(shape: ListInstanceStorageConfigsRequest)
1828
+ o.output = Shapes::ShapeRef.new(shape: ListInstanceStorageConfigsResponse)
1829
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1830
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1831
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1832
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1833
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1834
+ o[:pager] = Aws::Pager.new(
1835
+ limit_key: "max_results",
1836
+ tokens: {
1837
+ "next_token" => "next_token"
1838
+ }
1839
+ )
1840
+ end)
1841
+
1842
+ api.add_operation(:list_instances, Seahorse::Model::Operation.new.tap do |o|
1843
+ o.name = "ListInstances"
1844
+ o.http_method = "GET"
1845
+ o.http_request_uri = "/instance"
1846
+ o.input = Shapes::ShapeRef.new(shape: ListInstancesRequest)
1847
+ o.output = Shapes::ShapeRef.new(shape: ListInstancesResponse)
1848
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1849
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1850
+ o[:pager] = Aws::Pager.new(
1851
+ limit_key: "max_results",
1852
+ tokens: {
1853
+ "next_token" => "next_token"
1854
+ }
1855
+ )
1856
+ end)
1857
+
1858
+ api.add_operation(:list_lambda_functions, Seahorse::Model::Operation.new.tap do |o|
1859
+ o.name = "ListLambdaFunctions"
1860
+ o.http_method = "GET"
1861
+ o.http_request_uri = "/instance/{InstanceId}/lambda-functions"
1862
+ o.input = Shapes::ShapeRef.new(shape: ListLambdaFunctionsRequest)
1863
+ o.output = Shapes::ShapeRef.new(shape: ListLambdaFunctionsResponse)
1864
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1865
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1866
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1867
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1868
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1869
+ o[:pager] = Aws::Pager.new(
1870
+ limit_key: "max_results",
1871
+ tokens: {
1872
+ "next_token" => "next_token"
1873
+ }
1874
+ )
1875
+ end)
1876
+
1877
+ api.add_operation(:list_lex_bots, Seahorse::Model::Operation.new.tap do |o|
1878
+ o.name = "ListLexBots"
1879
+ o.http_method = "GET"
1880
+ o.http_request_uri = "/instance/{InstanceId}/lex-bots"
1881
+ o.input = Shapes::ShapeRef.new(shape: ListLexBotsRequest)
1882
+ o.output = Shapes::ShapeRef.new(shape: ListLexBotsResponse)
1883
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1884
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1885
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1886
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1887
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1888
+ o[:pager] = Aws::Pager.new(
1889
+ limit_key: "max_results",
1890
+ tokens: {
1891
+ "next_token" => "next_token"
1892
+ }
1893
+ )
1894
+ end)
1895
+
884
1896
  api.add_operation(:list_phone_numbers, Seahorse::Model::Operation.new.tap do |o|
885
1897
  o.name = "ListPhoneNumbers"
886
1898
  o.http_method = "GET"
@@ -900,6 +1912,25 @@ module Aws::Connect
900
1912
  )
901
1913
  end)
902
1914
 
1915
+ api.add_operation(:list_prompts, Seahorse::Model::Operation.new.tap do |o|
1916
+ o.name = "ListPrompts"
1917
+ o.http_method = "GET"
1918
+ o.http_request_uri = "/prompts-summary/{InstanceId}"
1919
+ o.input = Shapes::ShapeRef.new(shape: ListPromptsRequest)
1920
+ o.output = Shapes::ShapeRef.new(shape: ListPromptsResponse)
1921
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1922
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1923
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1924
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1925
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1926
+ o[:pager] = Aws::Pager.new(
1927
+ limit_key: "max_results",
1928
+ tokens: {
1929
+ "next_token" => "next_token"
1930
+ }
1931
+ )
1932
+ end)
1933
+
903
1934
  api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
904
1935
  o.name = "ListQueues"
905
1936
  o.http_method = "GET"
@@ -919,6 +1950,25 @@ module Aws::Connect
919
1950
  )
920
1951
  end)
921
1952
 
1953
+ api.add_operation(:list_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
1954
+ o.name = "ListRoutingProfileQueues"
1955
+ o.http_method = "GET"
1956
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/queues"
1957
+ o.input = Shapes::ShapeRef.new(shape: ListRoutingProfileQueuesRequest)
1958
+ o.output = Shapes::ShapeRef.new(shape: ListRoutingProfileQueuesResponse)
1959
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1960
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1961
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1962
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1963
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1964
+ o[:pager] = Aws::Pager.new(
1965
+ limit_key: "max_results",
1966
+ tokens: {
1967
+ "next_token" => "next_token"
1968
+ }
1969
+ )
1970
+ end)
1971
+
922
1972
  api.add_operation(:list_routing_profiles, Seahorse::Model::Operation.new.tap do |o|
923
1973
  o.name = "ListRoutingProfiles"
924
1974
  o.http_method = "GET"
@@ -938,6 +1988,25 @@ module Aws::Connect
938
1988
  )
939
1989
  end)
940
1990
 
1991
+ api.add_operation(:list_security_keys, Seahorse::Model::Operation.new.tap do |o|
1992
+ o.name = "ListSecurityKeys"
1993
+ o.http_method = "GET"
1994
+ o.http_request_uri = "/instance/{InstanceId}/security-keys"
1995
+ o.input = Shapes::ShapeRef.new(shape: ListSecurityKeysRequest)
1996
+ o.output = Shapes::ShapeRef.new(shape: ListSecurityKeysResponse)
1997
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1998
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1999
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2000
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2001
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2002
+ o[:pager] = Aws::Pager.new(
2003
+ limit_key: "max_results",
2004
+ tokens: {
2005
+ "next_token" => "next_token"
2006
+ }
2007
+ )
2008
+ end)
2009
+
941
2010
  api.add_operation(:list_security_profiles, Seahorse::Model::Operation.new.tap do |o|
942
2011
  o.name = "ListSecurityProfiles"
943
2012
  o.http_method = "GET"
@@ -1132,6 +2201,113 @@ module Aws::Connect
1132
2201
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1133
2202
  end)
1134
2203
 
2204
+ api.add_operation(:update_contact_flow_content, Seahorse::Model::Operation.new.tap do |o|
2205
+ o.name = "UpdateContactFlowContent"
2206
+ o.http_method = "POST"
2207
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}/content"
2208
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowContentRequest)
2209
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2210
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2211
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContactFlowException)
2212
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2213
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2214
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2215
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2216
+ end)
2217
+
2218
+ api.add_operation(:update_contact_flow_name, Seahorse::Model::Operation.new.tap do |o|
2219
+ o.name = "UpdateContactFlowName"
2220
+ o.http_method = "POST"
2221
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}/name"
2222
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowNameRequest)
2223
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2224
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2225
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2226
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
2227
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2228
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2229
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2230
+ end)
2231
+
2232
+ api.add_operation(:update_instance_attribute, Seahorse::Model::Operation.new.tap do |o|
2233
+ o.name = "UpdateInstanceAttribute"
2234
+ o.http_method = "POST"
2235
+ o.http_request_uri = "/instance/{InstanceId}/attribute/{AttributeType}"
2236
+ o.input = Shapes::ShapeRef.new(shape: UpdateInstanceAttributeRequest)
2237
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2238
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2239
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2240
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2241
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2242
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2243
+ end)
2244
+
2245
+ api.add_operation(:update_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
2246
+ o.name = "UpdateInstanceStorageConfig"
2247
+ o.http_method = "POST"
2248
+ o.http_request_uri = "/instance/{InstanceId}/storage-config/{AssociationId}"
2249
+ o.input = Shapes::ShapeRef.new(shape: UpdateInstanceStorageConfigRequest)
2250
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2251
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2252
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2253
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2254
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2255
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2256
+ end)
2257
+
2258
+ api.add_operation(:update_routing_profile_concurrency, Seahorse::Model::Operation.new.tap do |o|
2259
+ o.name = "UpdateRoutingProfileConcurrency"
2260
+ o.http_method = "POST"
2261
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency"
2262
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileConcurrencyRequest)
2263
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2264
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2265
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2266
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2267
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2268
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2269
+ end)
2270
+
2271
+ api.add_operation(:update_routing_profile_default_outbound_queue, Seahorse::Model::Operation.new.tap do |o|
2272
+ o.name = "UpdateRoutingProfileDefaultOutboundQueue"
2273
+ o.http_method = "POST"
2274
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue"
2275
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileDefaultOutboundQueueRequest)
2276
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2277
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2278
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2279
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2280
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2281
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2282
+ end)
2283
+
2284
+ api.add_operation(:update_routing_profile_name, Seahorse::Model::Operation.new.tap do |o|
2285
+ o.name = "UpdateRoutingProfileName"
2286
+ o.http_method = "POST"
2287
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/name"
2288
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileNameRequest)
2289
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2290
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
2291
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2292
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2293
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2294
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2295
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2296
+ end)
2297
+
2298
+ api.add_operation(:update_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
2299
+ o.name = "UpdateRoutingProfileQueues"
2300
+ o.http_method = "POST"
2301
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/queues"
2302
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileQueuesRequest)
2303
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2304
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2305
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2306
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2307
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2308
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2309
+ end)
2310
+
1135
2311
  api.add_operation(:update_user_hierarchy, Seahorse::Model::Operation.new.tap do |o|
1136
2312
  o.name = "UpdateUserHierarchy"
1137
2313
  o.http_method = "POST"
@@ -1145,6 +2321,34 @@ module Aws::Connect
1145
2321
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1146
2322
  end)
1147
2323
 
2324
+ api.add_operation(:update_user_hierarchy_group_name, Seahorse::Model::Operation.new.tap do |o|
2325
+ o.name = "UpdateUserHierarchyGroupName"
2326
+ o.http_method = "POST"
2327
+ o.http_request_uri = "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name"
2328
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserHierarchyGroupNameRequest)
2329
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2330
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2331
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2332
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
2333
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2334
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2335
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2336
+ end)
2337
+
2338
+ api.add_operation(:update_user_hierarchy_structure, Seahorse::Model::Operation.new.tap do |o|
2339
+ o.name = "UpdateUserHierarchyStructure"
2340
+ o.http_method = "POST"
2341
+ o.http_request_uri = "/user-hierarchy-structure/{InstanceId}"
2342
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserHierarchyStructureRequest)
2343
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2344
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2345
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2346
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2347
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2348
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2349
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2350
+ end)
2351
+
1148
2352
  api.add_operation(:update_user_identity_info, Seahorse::Model::Operation.new.tap do |o|
1149
2353
  o.name = "UpdateUserIdentityInfo"
1150
2354
  o.http_method = "POST"