aws-sdk-connect 1.57.0 → 1.58.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 +344 -15
- data/lib/aws-sdk-connect/client_api.rb +237 -0
- data/lib/aws-sdk-connect/errors.rb +32 -0
- data/lib/aws-sdk-connect/types.rb +499 -17
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
@@ -71,8 +71,18 @@ module Aws::Connect
|
|
71
71
|
ContactFlowContent = Shapes::StringShape.new(name: 'ContactFlowContent')
|
72
72
|
ContactFlowDescription = Shapes::StringShape.new(name: 'ContactFlowDescription')
|
73
73
|
ContactFlowId = Shapes::StringShape.new(name: 'ContactFlowId')
|
74
|
+
ContactFlowModule = Shapes::StructureShape.new(name: 'ContactFlowModule')
|
75
|
+
ContactFlowModuleContent = Shapes::StringShape.new(name: 'ContactFlowModuleContent')
|
76
|
+
ContactFlowModuleDescription = Shapes::StringShape.new(name: 'ContactFlowModuleDescription')
|
77
|
+
ContactFlowModuleId = Shapes::StringShape.new(name: 'ContactFlowModuleId')
|
78
|
+
ContactFlowModuleName = Shapes::StringShape.new(name: 'ContactFlowModuleName')
|
79
|
+
ContactFlowModuleState = Shapes::StringShape.new(name: 'ContactFlowModuleState')
|
80
|
+
ContactFlowModuleStatus = Shapes::StringShape.new(name: 'ContactFlowModuleStatus')
|
81
|
+
ContactFlowModuleSummary = Shapes::StructureShape.new(name: 'ContactFlowModuleSummary')
|
82
|
+
ContactFlowModulesSummaryList = Shapes::ListShape.new(name: 'ContactFlowModulesSummaryList')
|
74
83
|
ContactFlowName = Shapes::StringShape.new(name: 'ContactFlowName')
|
75
84
|
ContactFlowNotPublishedException = Shapes::StructureShape.new(name: 'ContactFlowNotPublishedException')
|
85
|
+
ContactFlowState = Shapes::StringShape.new(name: 'ContactFlowState')
|
76
86
|
ContactFlowSummary = Shapes::StructureShape.new(name: 'ContactFlowSummary')
|
77
87
|
ContactFlowSummaryList = Shapes::ListShape.new(name: 'ContactFlowSummaryList')
|
78
88
|
ContactFlowType = Shapes::StringShape.new(name: 'ContactFlowType')
|
@@ -83,6 +93,8 @@ module Aws::Connect
|
|
83
93
|
ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
|
84
94
|
CreateAgentStatusRequest = Shapes::StructureShape.new(name: 'CreateAgentStatusRequest')
|
85
95
|
CreateAgentStatusResponse = Shapes::StructureShape.new(name: 'CreateAgentStatusResponse')
|
96
|
+
CreateContactFlowModuleRequest = Shapes::StructureShape.new(name: 'CreateContactFlowModuleRequest')
|
97
|
+
CreateContactFlowModuleResponse = Shapes::StructureShape.new(name: 'CreateContactFlowModuleResponse')
|
86
98
|
CreateContactFlowRequest = Shapes::StructureShape.new(name: 'CreateContactFlowRequest')
|
87
99
|
CreateContactFlowResponse = Shapes::StructureShape.new(name: 'CreateContactFlowResponse')
|
88
100
|
CreateHoursOfOperationRequest = Shapes::StructureShape.new(name: 'CreateHoursOfOperationRequest')
|
@@ -114,6 +126,9 @@ module Aws::Connect
|
|
114
126
|
CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
|
115
127
|
CurrentMetrics = Shapes::ListShape.new(name: 'CurrentMetrics')
|
116
128
|
Delay = Shapes::IntegerShape.new(name: 'Delay')
|
129
|
+
DeleteContactFlowModuleRequest = Shapes::StructureShape.new(name: 'DeleteContactFlowModuleRequest')
|
130
|
+
DeleteContactFlowModuleResponse = Shapes::StructureShape.new(name: 'DeleteContactFlowModuleResponse')
|
131
|
+
DeleteContactFlowRequest = Shapes::StructureShape.new(name: 'DeleteContactFlowRequest')
|
117
132
|
DeleteHoursOfOperationRequest = Shapes::StructureShape.new(name: 'DeleteHoursOfOperationRequest')
|
118
133
|
DeleteInstanceRequest = Shapes::StructureShape.new(name: 'DeleteInstanceRequest')
|
119
134
|
DeleteIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationAssociationRequest')
|
@@ -124,6 +139,8 @@ module Aws::Connect
|
|
124
139
|
DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
|
125
140
|
DescribeAgentStatusRequest = Shapes::StructureShape.new(name: 'DescribeAgentStatusRequest')
|
126
141
|
DescribeAgentStatusResponse = Shapes::StructureShape.new(name: 'DescribeAgentStatusResponse')
|
142
|
+
DescribeContactFlowModuleRequest = Shapes::StructureShape.new(name: 'DescribeContactFlowModuleRequest')
|
143
|
+
DescribeContactFlowModuleResponse = Shapes::StructureShape.new(name: 'DescribeContactFlowModuleResponse')
|
127
144
|
DescribeContactFlowRequest = Shapes::StructureShape.new(name: 'DescribeContactFlowRequest')
|
128
145
|
DescribeContactFlowResponse = Shapes::StructureShape.new(name: 'DescribeContactFlowResponse')
|
129
146
|
DescribeContactRequest = Shapes::StructureShape.new(name: 'DescribeContactRequest')
|
@@ -214,6 +231,7 @@ module Aws::Connect
|
|
214
231
|
HoursOfOperationSummary = Shapes::StructureShape.new(name: 'HoursOfOperationSummary')
|
215
232
|
HoursOfOperationSummaryList = Shapes::ListShape.new(name: 'HoursOfOperationSummaryList')
|
216
233
|
HoursOfOperationTimeSlice = Shapes::StructureShape.new(name: 'HoursOfOperationTimeSlice')
|
234
|
+
IdempotencyException = Shapes::StructureShape.new(name: 'IdempotencyException')
|
217
235
|
InboundCallsEnabled = Shapes::BooleanShape.new(name: 'InboundCallsEnabled')
|
218
236
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
219
237
|
InstanceAttributeType = Shapes::StringShape.new(name: 'InstanceAttributeType')
|
@@ -232,6 +250,7 @@ module Aws::Connect
|
|
232
250
|
IntegrationType = Shapes::StringShape.new(name: 'IntegrationType')
|
233
251
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
234
252
|
InvalidContactFlowException = Shapes::StructureShape.new(name: 'InvalidContactFlowException')
|
253
|
+
InvalidContactFlowModuleException = Shapes::StructureShape.new(name: 'InvalidContactFlowModuleException')
|
235
254
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
236
255
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
237
256
|
KeyId = Shapes::StringShape.new(name: 'KeyId')
|
@@ -252,6 +271,8 @@ module Aws::Connect
|
|
252
271
|
ListApprovedOriginsResponse = Shapes::StructureShape.new(name: 'ListApprovedOriginsResponse')
|
253
272
|
ListBotsRequest = Shapes::StructureShape.new(name: 'ListBotsRequest')
|
254
273
|
ListBotsResponse = Shapes::StructureShape.new(name: 'ListBotsResponse')
|
274
|
+
ListContactFlowModulesRequest = Shapes::StructureShape.new(name: 'ListContactFlowModulesRequest')
|
275
|
+
ListContactFlowModulesResponse = Shapes::StructureShape.new(name: 'ListContactFlowModulesResponse')
|
255
276
|
ListContactFlowsRequest = Shapes::StructureShape.new(name: 'ListContactFlowsRequest')
|
256
277
|
ListContactFlowsResponse = Shapes::StructureShape.new(name: 'ListContactFlowsResponse')
|
257
278
|
ListContactReferencesRequest = Shapes::StructureShape.new(name: 'ListContactReferencesRequest')
|
@@ -447,6 +468,11 @@ module Aws::Connect
|
|
447
468
|
UpdateContactAttributesRequest = Shapes::StructureShape.new(name: 'UpdateContactAttributesRequest')
|
448
469
|
UpdateContactAttributesResponse = Shapes::StructureShape.new(name: 'UpdateContactAttributesResponse')
|
449
470
|
UpdateContactFlowContentRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowContentRequest')
|
471
|
+
UpdateContactFlowMetadataRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowMetadataRequest')
|
472
|
+
UpdateContactFlowModuleContentRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowModuleContentRequest')
|
473
|
+
UpdateContactFlowModuleContentResponse = Shapes::StructureShape.new(name: 'UpdateContactFlowModuleContentResponse')
|
474
|
+
UpdateContactFlowModuleMetadataRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowModuleMetadataRequest')
|
475
|
+
UpdateContactFlowModuleMetadataResponse = Shapes::StructureShape.new(name: 'UpdateContactFlowModuleMetadataResponse')
|
450
476
|
UpdateContactFlowNameRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowNameRequest')
|
451
477
|
UpdateContactRequest = Shapes::StructureShape.new(name: 'UpdateContactRequest')
|
452
478
|
UpdateContactResponse = Shapes::StructureShape.new(name: 'UpdateContactResponse')
|
@@ -610,11 +636,30 @@ module Aws::Connect
|
|
610
636
|
ContactFlow.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
|
611
637
|
ContactFlow.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
|
612
638
|
ContactFlow.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, location_name: "Type"))
|
639
|
+
ContactFlow.add_member(:state, Shapes::ShapeRef.new(shape: ContactFlowState, location_name: "State"))
|
613
640
|
ContactFlow.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
|
614
641
|
ContactFlow.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, location_name: "Content"))
|
615
642
|
ContactFlow.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
616
643
|
ContactFlow.struct_class = Types::ContactFlow
|
617
644
|
|
645
|
+
ContactFlowModule.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
646
|
+
ContactFlowModule.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, location_name: "Id"))
|
647
|
+
ContactFlowModule.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowModuleName, location_name: "Name"))
|
648
|
+
ContactFlowModule.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowModuleContent, location_name: "Content"))
|
649
|
+
ContactFlowModule.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowModuleDescription, location_name: "Description"))
|
650
|
+
ContactFlowModule.add_member(:state, Shapes::ShapeRef.new(shape: ContactFlowModuleState, location_name: "State"))
|
651
|
+
ContactFlowModule.add_member(:status, Shapes::ShapeRef.new(shape: ContactFlowModuleStatus, location_name: "Status"))
|
652
|
+
ContactFlowModule.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
653
|
+
ContactFlowModule.struct_class = Types::ContactFlowModule
|
654
|
+
|
655
|
+
ContactFlowModuleSummary.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, location_name: "Id"))
|
656
|
+
ContactFlowModuleSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
657
|
+
ContactFlowModuleSummary.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowModuleName, location_name: "Name"))
|
658
|
+
ContactFlowModuleSummary.add_member(:state, Shapes::ShapeRef.new(shape: ContactFlowModuleState, location_name: "State"))
|
659
|
+
ContactFlowModuleSummary.struct_class = Types::ContactFlowModuleSummary
|
660
|
+
|
661
|
+
ContactFlowModulesSummaryList.member = Shapes::ShapeRef.new(shape: ContactFlowModuleSummary)
|
662
|
+
|
618
663
|
ContactFlowNotPublishedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
619
664
|
ContactFlowNotPublishedException.struct_class = Types::ContactFlowNotPublishedException
|
620
665
|
|
@@ -622,6 +667,7 @@ module Aws::Connect
|
|
622
667
|
ContactFlowSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
623
668
|
ContactFlowSummary.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
|
624
669
|
ContactFlowSummary.add_member(:contact_flow_type, Shapes::ShapeRef.new(shape: ContactFlowType, location_name: "ContactFlowType"))
|
670
|
+
ContactFlowSummary.add_member(:contact_flow_state, Shapes::ShapeRef.new(shape: ContactFlowState, location_name: "ContactFlowState"))
|
625
671
|
ContactFlowSummary.struct_class = Types::ContactFlowSummary
|
626
672
|
|
627
673
|
ContactFlowSummaryList.member = Shapes::ShapeRef.new(shape: ContactFlowSummary)
|
@@ -646,6 +692,18 @@ module Aws::Connect
|
|
646
692
|
CreateAgentStatusResponse.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, location_name: "AgentStatusId"))
|
647
693
|
CreateAgentStatusResponse.struct_class = Types::CreateAgentStatusResponse
|
648
694
|
|
695
|
+
CreateContactFlowModuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
696
|
+
CreateContactFlowModuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowModuleName, required: true, location_name: "Name"))
|
697
|
+
CreateContactFlowModuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowModuleDescription, location_name: "Description"))
|
698
|
+
CreateContactFlowModuleRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowModuleContent, required: true, location_name: "Content"))
|
699
|
+
CreateContactFlowModuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
700
|
+
CreateContactFlowModuleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
701
|
+
CreateContactFlowModuleRequest.struct_class = Types::CreateContactFlowModuleRequest
|
702
|
+
|
703
|
+
CreateContactFlowModuleResponse.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, location_name: "Id"))
|
704
|
+
CreateContactFlowModuleResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
705
|
+
CreateContactFlowModuleResponse.struct_class = Types::CreateContactFlowModuleResponse
|
706
|
+
|
649
707
|
CreateContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
650
708
|
CreateContactFlowRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, required: true, location_name: "Name"))
|
651
709
|
CreateContactFlowRequest.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, required: true, location_name: "Type"))
|
@@ -803,6 +861,16 @@ module Aws::Connect
|
|
803
861
|
|
804
862
|
CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
|
805
863
|
|
864
|
+
DeleteContactFlowModuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
865
|
+
DeleteContactFlowModuleRequest.add_member(:contact_flow_module_id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, required: true, location: "uri", location_name: "ContactFlowModuleId"))
|
866
|
+
DeleteContactFlowModuleRequest.struct_class = Types::DeleteContactFlowModuleRequest
|
867
|
+
|
868
|
+
DeleteContactFlowModuleResponse.struct_class = Types::DeleteContactFlowModuleResponse
|
869
|
+
|
870
|
+
DeleteContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
871
|
+
DeleteContactFlowRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
|
872
|
+
DeleteContactFlowRequest.struct_class = Types::DeleteContactFlowRequest
|
873
|
+
|
806
874
|
DeleteHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
807
875
|
DeleteHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location: "uri", location_name: "HoursOfOperationId"))
|
808
876
|
DeleteHoursOfOperationRequest.struct_class = Types::DeleteHoursOfOperationRequest
|
@@ -842,6 +910,13 @@ module Aws::Connect
|
|
842
910
|
DescribeAgentStatusResponse.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatus, location_name: "AgentStatus"))
|
843
911
|
DescribeAgentStatusResponse.struct_class = Types::DescribeAgentStatusResponse
|
844
912
|
|
913
|
+
DescribeContactFlowModuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
914
|
+
DescribeContactFlowModuleRequest.add_member(:contact_flow_module_id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, required: true, location: "uri", location_name: "ContactFlowModuleId"))
|
915
|
+
DescribeContactFlowModuleRequest.struct_class = Types::DescribeContactFlowModuleRequest
|
916
|
+
|
917
|
+
DescribeContactFlowModuleResponse.add_member(:contact_flow_module, Shapes::ShapeRef.new(shape: ContactFlowModule, location_name: "ContactFlowModule"))
|
918
|
+
DescribeContactFlowModuleResponse.struct_class = Types::DescribeContactFlowModuleResponse
|
919
|
+
|
845
920
|
DescribeContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
846
921
|
DescribeContactFlowRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
|
847
922
|
DescribeContactFlowRequest.struct_class = Types::DescribeContactFlowRequest
|
@@ -1121,6 +1196,9 @@ module Aws::Connect
|
|
1121
1196
|
HoursOfOperationTimeSlice.add_member(:minutes, Shapes::ShapeRef.new(shape: MinutesLimit60, required: true, location_name: "Minutes", metadata: {"box"=>true}))
|
1122
1197
|
HoursOfOperationTimeSlice.struct_class = Types::HoursOfOperationTimeSlice
|
1123
1198
|
|
1199
|
+
IdempotencyException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
1200
|
+
IdempotencyException.struct_class = Types::IdempotencyException
|
1201
|
+
|
1124
1202
|
Instance.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
|
1125
1203
|
Instance.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
1126
1204
|
Instance.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, location_name: "IdentityManagementType"))
|
@@ -1177,6 +1255,9 @@ module Aws::Connect
|
|
1177
1255
|
InvalidContactFlowException.add_member(:problems, Shapes::ShapeRef.new(shape: Problems, location_name: "problems"))
|
1178
1256
|
InvalidContactFlowException.struct_class = Types::InvalidContactFlowException
|
1179
1257
|
|
1258
|
+
InvalidContactFlowModuleException.add_member(:problems, Shapes::ShapeRef.new(shape: Problems, location_name: "Problems"))
|
1259
|
+
InvalidContactFlowModuleException.struct_class = Types::InvalidContactFlowModuleException
|
1260
|
+
|
1180
1261
|
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
1181
1262
|
InvalidParameterException.struct_class = Types::InvalidParameterException
|
1182
1263
|
|
@@ -1241,6 +1322,16 @@ module Aws::Connect
|
|
1241
1322
|
ListBotsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1242
1323
|
ListBotsResponse.struct_class = Types::ListBotsResponse
|
1243
1324
|
|
1325
|
+
ListContactFlowModulesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1326
|
+
ListContactFlowModulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1327
|
+
ListContactFlowModulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
1328
|
+
ListContactFlowModulesRequest.add_member(:contact_flow_module_state, Shapes::ShapeRef.new(shape: ContactFlowModuleState, location: "querystring", location_name: "state"))
|
1329
|
+
ListContactFlowModulesRequest.struct_class = Types::ListContactFlowModulesRequest
|
1330
|
+
|
1331
|
+
ListContactFlowModulesResponse.add_member(:contact_flow_modules_summary_list, Shapes::ShapeRef.new(shape: ContactFlowModulesSummaryList, location_name: "ContactFlowModulesSummaryList"))
|
1332
|
+
ListContactFlowModulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1333
|
+
ListContactFlowModulesResponse.struct_class = Types::ListContactFlowModulesResponse
|
1334
|
+
|
1244
1335
|
ListContactFlowsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1245
1336
|
ListContactFlowsRequest.add_member(:contact_flow_types, Shapes::ShapeRef.new(shape: ContactFlowTypes, location: "querystring", location_name: "contactFlowTypes"))
|
1246
1337
|
ListContactFlowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -1799,6 +1890,29 @@ module Aws::Connect
|
|
1799
1890
|
UpdateContactFlowContentRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, required: true, location_name: "Content"))
|
1800
1891
|
UpdateContactFlowContentRequest.struct_class = Types::UpdateContactFlowContentRequest
|
1801
1892
|
|
1893
|
+
UpdateContactFlowMetadataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1894
|
+
UpdateContactFlowMetadataRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
|
1895
|
+
UpdateContactFlowMetadataRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
|
1896
|
+
UpdateContactFlowMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
|
1897
|
+
UpdateContactFlowMetadataRequest.add_member(:contact_flow_state, Shapes::ShapeRef.new(shape: ContactFlowState, location_name: "ContactFlowState"))
|
1898
|
+
UpdateContactFlowMetadataRequest.struct_class = Types::UpdateContactFlowMetadataRequest
|
1899
|
+
|
1900
|
+
UpdateContactFlowModuleContentRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1901
|
+
UpdateContactFlowModuleContentRequest.add_member(:contact_flow_module_id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, required: true, location: "uri", location_name: "ContactFlowModuleId"))
|
1902
|
+
UpdateContactFlowModuleContentRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowModuleContent, required: true, location_name: "Content"))
|
1903
|
+
UpdateContactFlowModuleContentRequest.struct_class = Types::UpdateContactFlowModuleContentRequest
|
1904
|
+
|
1905
|
+
UpdateContactFlowModuleContentResponse.struct_class = Types::UpdateContactFlowModuleContentResponse
|
1906
|
+
|
1907
|
+
UpdateContactFlowModuleMetadataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1908
|
+
UpdateContactFlowModuleMetadataRequest.add_member(:contact_flow_module_id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, required: true, location: "uri", location_name: "ContactFlowModuleId"))
|
1909
|
+
UpdateContactFlowModuleMetadataRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowModuleName, location_name: "Name"))
|
1910
|
+
UpdateContactFlowModuleMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowModuleDescription, location_name: "Description"))
|
1911
|
+
UpdateContactFlowModuleMetadataRequest.add_member(:state, Shapes::ShapeRef.new(shape: ContactFlowModuleState, location_name: "State"))
|
1912
|
+
UpdateContactFlowModuleMetadataRequest.struct_class = Types::UpdateContactFlowModuleMetadataRequest
|
1913
|
+
|
1914
|
+
UpdateContactFlowModuleMetadataResponse.struct_class = Types::UpdateContactFlowModuleMetadataResponse
|
1915
|
+
|
1802
1916
|
UpdateContactFlowNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1803
1917
|
UpdateContactFlowNameRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
|
1804
1918
|
UpdateContactFlowNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
|
@@ -2155,6 +2269,24 @@ module Aws::Connect
|
|
2155
2269
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2156
2270
|
end)
|
2157
2271
|
|
2272
|
+
api.add_operation(:create_contact_flow_module, Seahorse::Model::Operation.new.tap do |o|
|
2273
|
+
o.name = "CreateContactFlowModule"
|
2274
|
+
o.http_method = "PUT"
|
2275
|
+
o.http_request_uri = "/contact-flow-modules/{InstanceId}"
|
2276
|
+
o.input = Shapes::ShapeRef.new(shape: CreateContactFlowModuleRequest)
|
2277
|
+
o.output = Shapes::ShapeRef.new(shape: CreateContactFlowModuleResponse)
|
2278
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2279
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2280
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidContactFlowModuleException)
|
2281
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2282
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
|
2283
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2284
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2285
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2286
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
|
2287
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2288
|
+
end)
|
2289
|
+
|
2158
2290
|
api.add_operation(:create_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
|
2159
2291
|
o.name = "CreateHoursOfOperation"
|
2160
2292
|
o.http_method = "PUT"
|
@@ -2299,6 +2431,34 @@ module Aws::Connect
|
|
2299
2431
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2300
2432
|
end)
|
2301
2433
|
|
2434
|
+
api.add_operation(:delete_contact_flow, Seahorse::Model::Operation.new.tap do |o|
|
2435
|
+
o.name = "DeleteContactFlow"
|
2436
|
+
o.http_method = "DELETE"
|
2437
|
+
o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}"
|
2438
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteContactFlowRequest)
|
2439
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2440
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2441
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2442
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2443
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2444
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2445
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2446
|
+
end)
|
2447
|
+
|
2448
|
+
api.add_operation(:delete_contact_flow_module, Seahorse::Model::Operation.new.tap do |o|
|
2449
|
+
o.name = "DeleteContactFlowModule"
|
2450
|
+
o.http_method = "DELETE"
|
2451
|
+
o.http_request_uri = "/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}"
|
2452
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteContactFlowModuleRequest)
|
2453
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteContactFlowModuleResponse)
|
2454
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2455
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2456
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2457
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2458
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2459
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2460
|
+
end)
|
2461
|
+
|
2302
2462
|
api.add_operation(:delete_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
|
2303
2463
|
o.name = "DeleteHoursOfOperation"
|
2304
2464
|
o.http_method = "DELETE"
|
@@ -2442,6 +2602,20 @@ module Aws::Connect
|
|
2442
2602
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2443
2603
|
end)
|
2444
2604
|
|
2605
|
+
api.add_operation(:describe_contact_flow_module, Seahorse::Model::Operation.new.tap do |o|
|
2606
|
+
o.name = "DescribeContactFlowModule"
|
2607
|
+
o.http_method = "GET"
|
2608
|
+
o.http_request_uri = "/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}"
|
2609
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeContactFlowModuleRequest)
|
2610
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeContactFlowModuleResponse)
|
2611
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2612
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2613
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2614
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2615
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2616
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2617
|
+
end)
|
2618
|
+
|
2445
2619
|
api.add_operation(:describe_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
|
2446
2620
|
o.name = "DescribeHoursOfOperation"
|
2447
2621
|
o.http_method = "GET"
|
@@ -2805,6 +2979,26 @@ module Aws::Connect
|
|
2805
2979
|
)
|
2806
2980
|
end)
|
2807
2981
|
|
2982
|
+
api.add_operation(:list_contact_flow_modules, Seahorse::Model::Operation.new.tap do |o|
|
2983
|
+
o.name = "ListContactFlowModules"
|
2984
|
+
o.http_method = "GET"
|
2985
|
+
o.http_request_uri = "/contact-flow-modules-summary/{InstanceId}"
|
2986
|
+
o.input = Shapes::ShapeRef.new(shape: ListContactFlowModulesRequest)
|
2987
|
+
o.output = Shapes::ShapeRef.new(shape: ListContactFlowModulesResponse)
|
2988
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2989
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2990
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2991
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2992
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2993
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2994
|
+
o[:pager] = Aws::Pager.new(
|
2995
|
+
limit_key: "max_results",
|
2996
|
+
tokens: {
|
2997
|
+
"next_token" => "next_token"
|
2998
|
+
}
|
2999
|
+
)
|
3000
|
+
end)
|
3001
|
+
|
2808
3002
|
api.add_operation(:list_contact_flows, Seahorse::Model::Operation.new.tap do |o|
|
2809
3003
|
o.name = "ListContactFlows"
|
2810
3004
|
o.http_method = "GET"
|
@@ -3435,6 +3629,49 @@ module Aws::Connect
|
|
3435
3629
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3436
3630
|
end)
|
3437
3631
|
|
3632
|
+
api.add_operation(:update_contact_flow_metadata, Seahorse::Model::Operation.new.tap do |o|
|
3633
|
+
o.name = "UpdateContactFlowMetadata"
|
3634
|
+
o.http_method = "POST"
|
3635
|
+
o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}/metadata"
|
3636
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowMetadataRequest)
|
3637
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3638
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3639
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3640
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
|
3641
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3642
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3643
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3644
|
+
end)
|
3645
|
+
|
3646
|
+
api.add_operation(:update_contact_flow_module_content, Seahorse::Model::Operation.new.tap do |o|
|
3647
|
+
o.name = "UpdateContactFlowModuleContent"
|
3648
|
+
o.http_method = "POST"
|
3649
|
+
o.http_request_uri = "/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/content"
|
3650
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowModuleContentRequest)
|
3651
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateContactFlowModuleContentResponse)
|
3652
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3653
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3654
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidContactFlowModuleException)
|
3655
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3656
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3657
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3658
|
+
end)
|
3659
|
+
|
3660
|
+
api.add_operation(:update_contact_flow_module_metadata, Seahorse::Model::Operation.new.tap do |o|
|
3661
|
+
o.name = "UpdateContactFlowModuleMetadata"
|
3662
|
+
o.http_method = "POST"
|
3663
|
+
o.http_request_uri = "/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/metadata"
|
3664
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowModuleMetadataRequest)
|
3665
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateContactFlowModuleMetadataResponse)
|
3666
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3667
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3668
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3669
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
|
3670
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3671
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3672
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3673
|
+
end)
|
3674
|
+
|
3438
3675
|
api.add_operation(:update_contact_flow_name, Seahorse::Model::Operation.new.tap do |o|
|
3439
3676
|
o.name = "UpdateContactFlowName"
|
3440
3677
|
o.http_method = "POST"
|
@@ -32,8 +32,10 @@ module Aws::Connect
|
|
32
32
|
# * {ContactNotFoundException}
|
33
33
|
# * {DestinationNotAllowedException}
|
34
34
|
# * {DuplicateResourceException}
|
35
|
+
# * {IdempotencyException}
|
35
36
|
# * {InternalServiceException}
|
36
37
|
# * {InvalidContactFlowException}
|
38
|
+
# * {InvalidContactFlowModuleException}
|
37
39
|
# * {InvalidParameterException}
|
38
40
|
# * {InvalidRequestException}
|
39
41
|
# * {LimitExceededException}
|
@@ -126,6 +128,21 @@ module Aws::Connect
|
|
126
128
|
end
|
127
129
|
end
|
128
130
|
|
131
|
+
class IdempotencyException < ServiceError
|
132
|
+
|
133
|
+
# @param [Seahorse::Client::RequestContext] context
|
134
|
+
# @param [String] message
|
135
|
+
# @param [Aws::Connect::Types::IdempotencyException] data
|
136
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
137
|
+
super(context, message, data)
|
138
|
+
end
|
139
|
+
|
140
|
+
# @return [String]
|
141
|
+
def message
|
142
|
+
@message || @data[:message]
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
129
146
|
class InternalServiceException < ServiceError
|
130
147
|
|
131
148
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -156,6 +173,21 @@ module Aws::Connect
|
|
156
173
|
end
|
157
174
|
end
|
158
175
|
|
176
|
+
class InvalidContactFlowModuleException < ServiceError
|
177
|
+
|
178
|
+
# @param [Seahorse::Client::RequestContext] context
|
179
|
+
# @param [String] message
|
180
|
+
# @param [Aws::Connect::Types::InvalidContactFlowModuleException] data
|
181
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
182
|
+
super(context, message, data)
|
183
|
+
end
|
184
|
+
|
185
|
+
# @return [String]
|
186
|
+
def problems
|
187
|
+
@data[:problems]
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
159
191
|
class InvalidParameterException < ServiceError
|
160
192
|
|
161
193
|
# @param [Seahorse::Client::RequestContext] context
|