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