aws-sdk-connect 1.61.0 → 1.62.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +327 -2
- data/lib/aws-sdk-connect/client_api.rb +204 -0
- data/lib/aws-sdk-connect/types.rb +524 -1
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
@@ -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"))
|
@@ -838,6 +870,19 @@ module Aws::Connect
|
|
838
870
|
CreateUserResponse.add_member(:user_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "UserArn"))
|
839
871
|
CreateUserResponse.struct_class = Types::CreateUserResponse
|
840
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
|
+
|
841
886
|
Credentials.add_member(:access_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "AccessToken"))
|
842
887
|
Credentials.add_member(:access_token_expiration, Shapes::ShapeRef.new(shape: timestamp, location_name: "AccessTokenExpiration"))
|
843
888
|
Credentials.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "RefreshToken"))
|
@@ -862,6 +907,14 @@ module Aws::Connect
|
|
862
907
|
|
863
908
|
CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
|
864
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
|
+
|
865
918
|
DeleteContactFlowModuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
866
919
|
DeleteContactFlowModuleRequest.add_member(:contact_flow_module_id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, required: true, location: "uri", location_name: "ContactFlowModuleId"))
|
867
920
|
DeleteContactFlowModuleRequest.struct_class = Types::DeleteContactFlowModuleRequest
|
@@ -904,6 +957,15 @@ module Aws::Connect
|
|
904
957
|
DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
|
905
958
|
DeleteUserRequest.struct_class = Types::DeleteUserRequest
|
906
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
|
+
|
907
969
|
DescribeAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
908
970
|
DescribeAgentStatusRequest.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, required: true, location: "uri", location_name: "AgentStatusId"))
|
909
971
|
DescribeAgentStatusRequest.struct_class = Types::DescribeAgentStatusRequest
|
@@ -1008,6 +1070,13 @@ module Aws::Connect
|
|
1008
1070
|
DescribeUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
|
1009
1071
|
DescribeUserResponse.struct_class = Types::DescribeUserResponse
|
1010
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
|
+
|
1011
1080
|
DestinationNotAllowedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
1012
1081
|
DestinationNotAllowedException.struct_class = Types::DestinationNotAllowedException
|
1013
1082
|
|
@@ -1354,6 +1423,16 @@ module Aws::Connect
|
|
1354
1423
|
ListContactReferencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1355
1424
|
ListContactReferencesResponse.struct_class = Types::ListContactReferencesResponse
|
1356
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
|
+
|
1357
1436
|
ListHoursOfOperationsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1358
1437
|
ListHoursOfOperationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1359
1438
|
ListHoursOfOperationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults"))
|
@@ -1738,6 +1817,18 @@ module Aws::Connect
|
|
1738
1817
|
S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
|
1739
1818
|
S3Config.struct_class = Types::S3Config
|
1740
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
|
+
|
1741
1832
|
SecurityKey.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
|
1742
1833
|
SecurityKey.add_member(:key, Shapes::ShapeRef.new(shape: PEM, location_name: "Key"))
|
1743
1834
|
SecurityKey.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
@@ -2102,6 +2193,28 @@ module Aws::Connect
|
|
2102
2193
|
|
2103
2194
|
UserSummaryList.member = Shapes::ShapeRef.new(shape: UserSummary)
|
2104
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
|
+
|
2105
2218
|
VoiceRecordingConfiguration.add_member(:voice_recording_track, Shapes::ShapeRef.new(shape: VoiceRecordingTrack, location_name: "VoiceRecordingTrack"))
|
2106
2219
|
VoiceRecordingConfiguration.struct_class = Types::VoiceRecordingConfiguration
|
2107
2220
|
|
@@ -2154,6 +2267,19 @@ module Aws::Connect
|
|
2154
2267
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2155
2268
|
end)
|
2156
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
|
+
|
2157
2283
|
api.add_operation(:associate_instance_storage_config, Seahorse::Model::Operation.new.tap do |o|
|
2158
2284
|
o.name = "AssociateInstanceStorageConfig"
|
2159
2285
|
o.http_method = "PUT"
|
@@ -2433,6 +2559,21 @@ module Aws::Connect
|
|
2433
2559
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2434
2560
|
end)
|
2435
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
|
+
|
2436
2577
|
api.add_operation(:delete_contact_flow, Seahorse::Model::Operation.new.tap do |o|
|
2437
2578
|
o.name = "DeleteContactFlow"
|
2438
2579
|
o.http_method = "DELETE"
|
@@ -2564,6 +2705,20 @@ module Aws::Connect
|
|
2564
2705
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2565
2706
|
end)
|
2566
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
|
+
|
2567
2722
|
api.add_operation(:describe_agent_status, Seahorse::Model::Operation.new.tap do |o|
|
2568
2723
|
o.name = "DescribeAgentStatus"
|
2569
2724
|
o.http_method = "GET"
|
@@ -2759,6 +2914,19 @@ module Aws::Connect
|
|
2759
2914
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2760
2915
|
end)
|
2761
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
|
+
|
2762
2930
|
api.add_operation(:disassociate_approved_origin, Seahorse::Model::Operation.new.tap do |o|
|
2763
2931
|
o.name = "DisassociateApprovedOrigin"
|
2764
2932
|
o.http_method = "DELETE"
|
@@ -3038,6 +3206,24 @@ module Aws::Connect
|
|
3038
3206
|
)
|
3039
3207
|
end)
|
3040
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
|
+
|
3041
3227
|
api.add_operation(:list_hours_of_operations, Seahorse::Model::Operation.new.tap do |o|
|
3042
3228
|
o.name = "ListHoursOfOperations"
|
3043
3229
|
o.http_method = "GET"
|
@@ -3437,6 +3623,24 @@ module Aws::Connect
|
|
3437
3623
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3438
3624
|
end)
|
3439
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
|
+
|
3440
3644
|
api.add_operation(:start_chat_contact, Seahorse::Model::Operation.new.tap do |o|
|
3441
3645
|
o.name = "StartChatContact"
|
3442
3646
|
o.http_method = "PUT"
|