aws-sdk-connect 1.58.0 → 1.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,6 +35,8 @@ module Aws::Connect
35
35
  AnswerMachineDetectionConfig = Shapes::StructureShape.new(name: 'AnswerMachineDetectionConfig')
36
36
  AssociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'AssociateApprovedOriginRequest')
37
37
  AssociateBotRequest = Shapes::StructureShape.new(name: 'AssociateBotRequest')
38
+ AssociateDefaultVocabularyRequest = Shapes::StructureShape.new(name: 'AssociateDefaultVocabularyRequest')
39
+ AssociateDefaultVocabularyResponse = Shapes::StructureShape.new(name: 'AssociateDefaultVocabularyResponse')
38
40
  AssociateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'AssociateInstanceStorageConfigRequest')
39
41
  AssociateInstanceStorageConfigResponse = Shapes::StructureShape.new(name: 'AssociateInstanceStorageConfigResponse')
40
42
  AssociateLambdaFunctionRequest = Shapes::StructureShape.new(name: 'AssociateLambdaFunctionRequest')
@@ -117,6 +119,8 @@ module Aws::Connect
117
119
  CreateUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupResponse')
118
120
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
119
121
  CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
122
+ CreateVocabularyRequest = Shapes::StructureShape.new(name: 'CreateVocabularyRequest')
123
+ CreateVocabularyResponse = Shapes::StructureShape.new(name: 'CreateVocabularyResponse')
120
124
  Credentials = Shapes::StructureShape.new(name: 'Credentials')
121
125
  CurrentMetric = Shapes::StructureShape.new(name: 'CurrentMetric')
122
126
  CurrentMetricData = Shapes::StructureShape.new(name: 'CurrentMetricData')
@@ -125,6 +129,8 @@ module Aws::Connect
125
129
  CurrentMetricResult = Shapes::StructureShape.new(name: 'CurrentMetricResult')
126
130
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
127
131
  CurrentMetrics = Shapes::ListShape.new(name: 'CurrentMetrics')
132
+ DefaultVocabulary = Shapes::StructureShape.new(name: 'DefaultVocabulary')
133
+ DefaultVocabularyList = Shapes::ListShape.new(name: 'DefaultVocabularyList')
128
134
  Delay = Shapes::IntegerShape.new(name: 'Delay')
129
135
  DeleteContactFlowModuleRequest = Shapes::StructureShape.new(name: 'DeleteContactFlowModuleRequest')
130
136
  DeleteContactFlowModuleResponse = Shapes::StructureShape.new(name: 'DeleteContactFlowModuleResponse')
@@ -137,6 +143,8 @@ module Aws::Connect
137
143
  DeleteUseCaseRequest = Shapes::StructureShape.new(name: 'DeleteUseCaseRequest')
138
144
  DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
139
145
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
146
+ DeleteVocabularyRequest = Shapes::StructureShape.new(name: 'DeleteVocabularyRequest')
147
+ DeleteVocabularyResponse = Shapes::StructureShape.new(name: 'DeleteVocabularyResponse')
140
148
  DescribeAgentStatusRequest = Shapes::StructureShape.new(name: 'DescribeAgentStatusRequest')
141
149
  DescribeAgentStatusResponse = Shapes::StructureShape.new(name: 'DescribeAgentStatusResponse')
142
150
  DescribeContactFlowModuleRequest = Shapes::StructureShape.new(name: 'DescribeContactFlowModuleRequest')
@@ -167,6 +175,8 @@ module Aws::Connect
167
175
  DescribeUserHierarchyStructureResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureResponse')
168
176
  DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
169
177
  DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
178
+ DescribeVocabularyRequest = Shapes::StructureShape.new(name: 'DescribeVocabularyRequest')
179
+ DescribeVocabularyResponse = Shapes::StructureShape.new(name: 'DescribeVocabularyResponse')
170
180
  Description = Shapes::StringShape.new(name: 'Description')
171
181
  DestinationNotAllowedException = Shapes::StructureShape.new(name: 'DestinationNotAllowedException')
172
182
  Dimensions = Shapes::StructureShape.new(name: 'Dimensions')
@@ -277,6 +287,8 @@ module Aws::Connect
277
287
  ListContactFlowsResponse = Shapes::StructureShape.new(name: 'ListContactFlowsResponse')
278
288
  ListContactReferencesRequest = Shapes::StructureShape.new(name: 'ListContactReferencesRequest')
279
289
  ListContactReferencesResponse = Shapes::StructureShape.new(name: 'ListContactReferencesResponse')
290
+ ListDefaultVocabulariesRequest = Shapes::StructureShape.new(name: 'ListDefaultVocabulariesRequest')
291
+ ListDefaultVocabulariesResponse = Shapes::StructureShape.new(name: 'ListDefaultVocabulariesResponse')
280
292
  ListHoursOfOperationsRequest = Shapes::StructureShape.new(name: 'ListHoursOfOperationsRequest')
281
293
  ListHoursOfOperationsResponse = Shapes::StructureShape.new(name: 'ListHoursOfOperationsResponse')
282
294
  ListInstanceAttributesRequest = Shapes::StructureShape.new(name: 'ListInstanceAttributesRequest')
@@ -413,6 +425,8 @@ module Aws::Connect
413
425
  RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
414
426
  RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
415
427
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
428
+ SearchVocabulariesRequest = Shapes::StructureShape.new(name: 'SearchVocabulariesRequest')
429
+ SearchVocabulariesResponse = Shapes::StructureShape.new(name: 'SearchVocabulariesResponse')
416
430
  SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey')
417
431
  SecurityKeysList = Shapes::ListShape.new(name: 'SecurityKeysList')
418
432
  SecurityProfile = Shapes::StructureShape.new(name: 'SecurityProfile')
@@ -516,6 +530,17 @@ module Aws::Connect
516
530
  UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
517
531
  UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList')
518
532
  Value = Shapes::FloatShape.new(name: 'Value')
533
+ Vocabulary = Shapes::StructureShape.new(name: 'Vocabulary')
534
+ VocabularyContent = Shapes::StringShape.new(name: 'VocabularyContent')
535
+ VocabularyFailureReason = Shapes::StringShape.new(name: 'VocabularyFailureReason')
536
+ VocabularyId = Shapes::StringShape.new(name: 'VocabularyId')
537
+ VocabularyLanguageCode = Shapes::StringShape.new(name: 'VocabularyLanguageCode')
538
+ VocabularyLastModifiedTime = Shapes::TimestampShape.new(name: 'VocabularyLastModifiedTime')
539
+ VocabularyName = Shapes::StringShape.new(name: 'VocabularyName')
540
+ VocabularyNextToken = Shapes::StringShape.new(name: 'VocabularyNextToken')
541
+ VocabularyState = Shapes::StringShape.new(name: 'VocabularyState')
542
+ VocabularySummary = Shapes::StructureShape.new(name: 'VocabularySummary')
543
+ VocabularySummaryList = Shapes::ListShape.new(name: 'VocabularySummaryList')
519
544
  VoiceRecordingConfiguration = Shapes::StructureShape.new(name: 'VoiceRecordingConfiguration')
520
545
  VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
521
546
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
@@ -560,6 +585,13 @@ module Aws::Connect
560
585
  AssociateBotRequest.add_member(:lex_v2_bot, Shapes::ShapeRef.new(shape: LexV2Bot, location_name: "LexV2Bot"))
561
586
  AssociateBotRequest.struct_class = Types::AssociateBotRequest
562
587
 
588
+ AssociateDefaultVocabularyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
589
+ AssociateDefaultVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: VocabularyLanguageCode, required: true, location: "uri", location_name: "LanguageCode"))
590
+ AssociateDefaultVocabularyRequest.add_member(:vocabulary_id, Shapes::ShapeRef.new(shape: VocabularyId, location_name: "VocabularyId"))
591
+ AssociateDefaultVocabularyRequest.struct_class = Types::AssociateDefaultVocabularyRequest
592
+
593
+ AssociateDefaultVocabularyResponse.struct_class = Types::AssociateDefaultVocabularyResponse
594
+
563
595
  AssociateInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
564
596
  AssociateInstanceStorageConfigRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: InstanceStorageResourceType, required: true, location_name: "ResourceType"))
565
597
  AssociateInstanceStorageConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, required: true, location_name: "StorageConfig"))
@@ -815,6 +847,7 @@ module Aws::Connect
815
847
  CreateUserHierarchyGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
816
848
  CreateUserHierarchyGroupRequest.add_member(:parent_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "ParentGroupId"))
817
849
  CreateUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
850
+ CreateUserHierarchyGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
818
851
  CreateUserHierarchyGroupRequest.struct_class = Types::CreateUserHierarchyGroupRequest
819
852
 
820
853
  CreateUserHierarchyGroupResponse.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
@@ -837,6 +870,19 @@ module Aws::Connect
837
870
  CreateUserResponse.add_member(:user_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "UserArn"))
838
871
  CreateUserResponse.struct_class = Types::CreateUserResponse
839
872
 
873
+ CreateVocabularyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
874
+ CreateVocabularyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
875
+ CreateVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
876
+ CreateVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: VocabularyLanguageCode, required: true, location_name: "LanguageCode"))
877
+ CreateVocabularyRequest.add_member(:content, Shapes::ShapeRef.new(shape: VocabularyContent, required: true, location_name: "Content"))
878
+ CreateVocabularyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
879
+ CreateVocabularyRequest.struct_class = Types::CreateVocabularyRequest
880
+
881
+ CreateVocabularyResponse.add_member(:vocabulary_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "VocabularyArn"))
882
+ CreateVocabularyResponse.add_member(:vocabulary_id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location_name: "VocabularyId"))
883
+ CreateVocabularyResponse.add_member(:state, Shapes::ShapeRef.new(shape: VocabularyState, required: true, location_name: "State"))
884
+ CreateVocabularyResponse.struct_class = Types::CreateVocabularyResponse
885
+
840
886
  Credentials.add_member(:access_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "AccessToken"))
841
887
  Credentials.add_member(:access_token_expiration, Shapes::ShapeRef.new(shape: timestamp, location_name: "AccessTokenExpiration"))
842
888
  Credentials.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "RefreshToken"))
@@ -861,6 +907,14 @@ module Aws::Connect
861
907
 
862
908
  CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
863
909
 
910
+ DefaultVocabulary.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
911
+ DefaultVocabulary.add_member(:language_code, Shapes::ShapeRef.new(shape: VocabularyLanguageCode, required: true, location_name: "LanguageCode"))
912
+ DefaultVocabulary.add_member(:vocabulary_id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location_name: "VocabularyId"))
913
+ DefaultVocabulary.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
914
+ DefaultVocabulary.struct_class = Types::DefaultVocabulary
915
+
916
+ DefaultVocabularyList.member = Shapes::ShapeRef.new(shape: DefaultVocabulary)
917
+
864
918
  DeleteContactFlowModuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
865
919
  DeleteContactFlowModuleRequest.add_member(:contact_flow_module_id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, required: true, location: "uri", location_name: "ContactFlowModuleId"))
866
920
  DeleteContactFlowModuleRequest.struct_class = Types::DeleteContactFlowModuleRequest
@@ -903,6 +957,15 @@ module Aws::Connect
903
957
  DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
904
958
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
905
959
 
960
+ DeleteVocabularyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
961
+ DeleteVocabularyRequest.add_member(:vocabulary_id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location: "uri", location_name: "VocabularyId"))
962
+ DeleteVocabularyRequest.struct_class = Types::DeleteVocabularyRequest
963
+
964
+ DeleteVocabularyResponse.add_member(:vocabulary_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "VocabularyArn"))
965
+ DeleteVocabularyResponse.add_member(:vocabulary_id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location_name: "VocabularyId"))
966
+ DeleteVocabularyResponse.add_member(:state, Shapes::ShapeRef.new(shape: VocabularyState, required: true, location_name: "State"))
967
+ DeleteVocabularyResponse.struct_class = Types::DeleteVocabularyResponse
968
+
906
969
  DescribeAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
907
970
  DescribeAgentStatusRequest.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, required: true, location: "uri", location_name: "AgentStatusId"))
908
971
  DescribeAgentStatusRequest.struct_class = Types::DescribeAgentStatusRequest
@@ -1007,6 +1070,13 @@ module Aws::Connect
1007
1070
  DescribeUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
1008
1071
  DescribeUserResponse.struct_class = Types::DescribeUserResponse
1009
1072
 
1073
+ DescribeVocabularyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1074
+ DescribeVocabularyRequest.add_member(:vocabulary_id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location: "uri", location_name: "VocabularyId"))
1075
+ DescribeVocabularyRequest.struct_class = Types::DescribeVocabularyRequest
1076
+
1077
+ DescribeVocabularyResponse.add_member(:vocabulary, Shapes::ShapeRef.new(shape: Vocabulary, required: true, location_name: "Vocabulary"))
1078
+ DescribeVocabularyResponse.struct_class = Types::DescribeVocabularyResponse
1079
+
1010
1080
  DestinationNotAllowedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1011
1081
  DestinationNotAllowedException.struct_class = Types::DestinationNotAllowedException
1012
1082
 
@@ -1111,6 +1181,7 @@ module Aws::Connect
1111
1181
  HierarchyGroup.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, location_name: "Name"))
1112
1182
  HierarchyGroup.add_member(:level_id, Shapes::ShapeRef.new(shape: HierarchyLevelId, location_name: "LevelId"))
1113
1183
  HierarchyGroup.add_member(:hierarchy_path, Shapes::ShapeRef.new(shape: HierarchyPath, location_name: "HierarchyPath"))
1184
+ HierarchyGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1114
1185
  HierarchyGroup.struct_class = Types::HierarchyGroup
1115
1186
 
1116
1187
  HierarchyGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
@@ -1352,6 +1423,16 @@ module Aws::Connect
1352
1423
  ListContactReferencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1353
1424
  ListContactReferencesResponse.struct_class = Types::ListContactReferencesResponse
1354
1425
 
1426
+ ListDefaultVocabulariesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1427
+ ListDefaultVocabulariesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: VocabularyLanguageCode, location_name: "LanguageCode"))
1428
+ ListDefaultVocabulariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults"))
1429
+ ListDefaultVocabulariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: VocabularyNextToken, location_name: "NextToken"))
1430
+ ListDefaultVocabulariesRequest.struct_class = Types::ListDefaultVocabulariesRequest
1431
+
1432
+ ListDefaultVocabulariesResponse.add_member(:default_vocabulary_list, Shapes::ShapeRef.new(shape: DefaultVocabularyList, required: true, location_name: "DefaultVocabularyList"))
1433
+ ListDefaultVocabulariesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: VocabularyNextToken, location_name: "NextToken"))
1434
+ ListDefaultVocabulariesResponse.struct_class = Types::ListDefaultVocabulariesResponse
1435
+
1355
1436
  ListHoursOfOperationsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1356
1437
  ListHoursOfOperationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1357
1438
  ListHoursOfOperationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults"))
@@ -1736,6 +1817,18 @@ module Aws::Connect
1736
1817
  S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
1737
1818
  S3Config.struct_class = Types::S3Config
1738
1819
 
1820
+ SearchVocabulariesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1821
+ SearchVocabulariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults"))
1822
+ SearchVocabulariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: VocabularyNextToken, location_name: "NextToken"))
1823
+ SearchVocabulariesRequest.add_member(:state, Shapes::ShapeRef.new(shape: VocabularyState, location_name: "State"))
1824
+ SearchVocabulariesRequest.add_member(:name_starts_with, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "NameStartsWith"))
1825
+ SearchVocabulariesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: VocabularyLanguageCode, location_name: "LanguageCode"))
1826
+ SearchVocabulariesRequest.struct_class = Types::SearchVocabulariesRequest
1827
+
1828
+ SearchVocabulariesResponse.add_member(:vocabulary_summary_list, Shapes::ShapeRef.new(shape: VocabularySummaryList, location_name: "VocabularySummaryList"))
1829
+ SearchVocabulariesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: VocabularyNextToken, location_name: "NextToken"))
1830
+ SearchVocabulariesResponse.struct_class = Types::SearchVocabulariesResponse
1831
+
1739
1832
  SecurityKey.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
1740
1833
  SecurityKey.add_member(:key, Shapes::ShapeRef.new(shape: PEM, location_name: "Key"))
1741
1834
  SecurityKey.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
@@ -2100,6 +2193,28 @@ module Aws::Connect
2100
2193
 
2101
2194
  UserSummaryList.member = Shapes::ShapeRef.new(shape: UserSummary)
2102
2195
 
2196
+ Vocabulary.add_member(:name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "Name"))
2197
+ Vocabulary.add_member(:id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location_name: "Id"))
2198
+ Vocabulary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "Arn"))
2199
+ Vocabulary.add_member(:language_code, Shapes::ShapeRef.new(shape: VocabularyLanguageCode, required: true, location_name: "LanguageCode"))
2200
+ Vocabulary.add_member(:state, Shapes::ShapeRef.new(shape: VocabularyState, required: true, location_name: "State"))
2201
+ Vocabulary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: VocabularyLastModifiedTime, required: true, location_name: "LastModifiedTime"))
2202
+ Vocabulary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: VocabularyFailureReason, location_name: "FailureReason"))
2203
+ Vocabulary.add_member(:content, Shapes::ShapeRef.new(shape: VocabularyContent, location_name: "Content"))
2204
+ Vocabulary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
2205
+ Vocabulary.struct_class = Types::Vocabulary
2206
+
2207
+ VocabularySummary.add_member(:name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "Name"))
2208
+ VocabularySummary.add_member(:id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location_name: "Id"))
2209
+ VocabularySummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "Arn"))
2210
+ VocabularySummary.add_member(:language_code, Shapes::ShapeRef.new(shape: VocabularyLanguageCode, required: true, location_name: "LanguageCode"))
2211
+ VocabularySummary.add_member(:state, Shapes::ShapeRef.new(shape: VocabularyState, required: true, location_name: "State"))
2212
+ VocabularySummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: VocabularyLastModifiedTime, required: true, location_name: "LastModifiedTime"))
2213
+ VocabularySummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: VocabularyFailureReason, location_name: "FailureReason"))
2214
+ VocabularySummary.struct_class = Types::VocabularySummary
2215
+
2216
+ VocabularySummaryList.member = Shapes::ShapeRef.new(shape: VocabularySummary)
2217
+
2103
2218
  VoiceRecordingConfiguration.add_member(:voice_recording_track, Shapes::ShapeRef.new(shape: VoiceRecordingTrack, location_name: "VoiceRecordingTrack"))
2104
2219
  VoiceRecordingConfiguration.struct_class = Types::VoiceRecordingConfiguration
2105
2220
 
@@ -2152,6 +2267,19 @@ module Aws::Connect
2152
2267
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2153
2268
  end)
2154
2269
 
2270
+ api.add_operation(:associate_default_vocabulary, Seahorse::Model::Operation.new.tap do |o|
2271
+ o.name = "AssociateDefaultVocabulary"
2272
+ o.http_method = "PUT"
2273
+ o.http_request_uri = "/default-vocabulary/{InstanceId}/{LanguageCode}"
2274
+ o.input = Shapes::ShapeRef.new(shape: AssociateDefaultVocabularyRequest)
2275
+ o.output = Shapes::ShapeRef.new(shape: AssociateDefaultVocabularyResponse)
2276
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2277
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2278
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2279
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2280
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2281
+ end)
2282
+
2155
2283
  api.add_operation(:associate_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
2156
2284
  o.name = "AssociateInstanceStorageConfig"
2157
2285
  o.http_method = "PUT"
@@ -2431,6 +2559,21 @@ module Aws::Connect
2431
2559
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2432
2560
  end)
2433
2561
 
2562
+ api.add_operation(:create_vocabulary, Seahorse::Model::Operation.new.tap do |o|
2563
+ o.name = "CreateVocabulary"
2564
+ o.http_method = "POST"
2565
+ o.http_request_uri = "/vocabulary/{InstanceId}"
2566
+ o.input = Shapes::ShapeRef.new(shape: CreateVocabularyRequest)
2567
+ o.output = Shapes::ShapeRef.new(shape: CreateVocabularyResponse)
2568
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2569
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2570
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2571
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2572
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2573
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
2574
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2575
+ end)
2576
+
2434
2577
  api.add_operation(:delete_contact_flow, Seahorse::Model::Operation.new.tap do |o|
2435
2578
  o.name = "DeleteContactFlow"
2436
2579
  o.http_method = "DELETE"
@@ -2562,6 +2705,20 @@ module Aws::Connect
2562
2705
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2563
2706
  end)
2564
2707
 
2708
+ api.add_operation(:delete_vocabulary, Seahorse::Model::Operation.new.tap do |o|
2709
+ o.name = "DeleteVocabulary"
2710
+ o.http_method = "POST"
2711
+ o.http_request_uri = "/vocabulary-remove/{InstanceId}/{VocabularyId}"
2712
+ o.input = Shapes::ShapeRef.new(shape: DeleteVocabularyRequest)
2713
+ o.output = Shapes::ShapeRef.new(shape: DeleteVocabularyResponse)
2714
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2715
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2716
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2717
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2718
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2719
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2720
+ end)
2721
+
2565
2722
  api.add_operation(:describe_agent_status, Seahorse::Model::Operation.new.tap do |o|
2566
2723
  o.name = "DescribeAgentStatus"
2567
2724
  o.http_method = "GET"
@@ -2757,6 +2914,19 @@ module Aws::Connect
2757
2914
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2758
2915
  end)
2759
2916
 
2917
+ api.add_operation(:describe_vocabulary, Seahorse::Model::Operation.new.tap do |o|
2918
+ o.name = "DescribeVocabulary"
2919
+ o.http_method = "GET"
2920
+ o.http_request_uri = "/vocabulary/{InstanceId}/{VocabularyId}"
2921
+ o.input = Shapes::ShapeRef.new(shape: DescribeVocabularyRequest)
2922
+ o.output = Shapes::ShapeRef.new(shape: DescribeVocabularyResponse)
2923
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2924
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2925
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2926
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2927
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2928
+ end)
2929
+
2760
2930
  api.add_operation(:disassociate_approved_origin, Seahorse::Model::Operation.new.tap do |o|
2761
2931
  o.name = "DisassociateApprovedOrigin"
2762
2932
  o.http_method = "DELETE"
@@ -3036,6 +3206,24 @@ module Aws::Connect
3036
3206
  )
3037
3207
  end)
3038
3208
 
3209
+ api.add_operation(:list_default_vocabularies, Seahorse::Model::Operation.new.tap do |o|
3210
+ o.name = "ListDefaultVocabularies"
3211
+ o.http_method = "POST"
3212
+ o.http_request_uri = "/default-vocabulary-summary/{InstanceId}"
3213
+ o.input = Shapes::ShapeRef.new(shape: ListDefaultVocabulariesRequest)
3214
+ o.output = Shapes::ShapeRef.new(shape: ListDefaultVocabulariesResponse)
3215
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3216
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3217
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3218
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3219
+ o[:pager] = Aws::Pager.new(
3220
+ limit_key: "max_results",
3221
+ tokens: {
3222
+ "next_token" => "next_token"
3223
+ }
3224
+ )
3225
+ end)
3226
+
3039
3227
  api.add_operation(:list_hours_of_operations, Seahorse::Model::Operation.new.tap do |o|
3040
3228
  o.name = "ListHoursOfOperations"
3041
3229
  o.http_method = "GET"
@@ -3435,6 +3623,24 @@ module Aws::Connect
3435
3623
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3436
3624
  end)
3437
3625
 
3626
+ api.add_operation(:search_vocabularies, Seahorse::Model::Operation.new.tap do |o|
3627
+ o.name = "SearchVocabularies"
3628
+ o.http_method = "POST"
3629
+ o.http_request_uri = "/vocabulary-summary/{InstanceId}"
3630
+ o.input = Shapes::ShapeRef.new(shape: SearchVocabulariesRequest)
3631
+ o.output = Shapes::ShapeRef.new(shape: SearchVocabulariesResponse)
3632
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3633
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3634
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3635
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3636
+ o[:pager] = Aws::Pager.new(
3637
+ limit_key: "max_results",
3638
+ tokens: {
3639
+ "next_token" => "next_token"
3640
+ }
3641
+ )
3642
+ end)
3643
+
3438
3644
  api.add_operation(:start_chat_contact, Seahorse::Model::Operation.new.tap do |o|
3439
3645
  o.name = "StartChatContact"
3440
3646
  o.http_method = "PUT"