aws-sdk-connect 1.57.0 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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"))
@@ -757,6 +815,7 @@ module Aws::Connect
757
815
  CreateUserHierarchyGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
758
816
  CreateUserHierarchyGroupRequest.add_member(:parent_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "ParentGroupId"))
759
817
  CreateUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
818
+ CreateUserHierarchyGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
760
819
  CreateUserHierarchyGroupRequest.struct_class = Types::CreateUserHierarchyGroupRequest
761
820
 
762
821
  CreateUserHierarchyGroupResponse.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
@@ -803,6 +862,16 @@ module Aws::Connect
803
862
 
804
863
  CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
805
864
 
865
+ DeleteContactFlowModuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
866
+ DeleteContactFlowModuleRequest.add_member(:contact_flow_module_id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, required: true, location: "uri", location_name: "ContactFlowModuleId"))
867
+ DeleteContactFlowModuleRequest.struct_class = Types::DeleteContactFlowModuleRequest
868
+
869
+ DeleteContactFlowModuleResponse.struct_class = Types::DeleteContactFlowModuleResponse
870
+
871
+ DeleteContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
872
+ DeleteContactFlowRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
873
+ DeleteContactFlowRequest.struct_class = Types::DeleteContactFlowRequest
874
+
806
875
  DeleteHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
807
876
  DeleteHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location: "uri", location_name: "HoursOfOperationId"))
808
877
  DeleteHoursOfOperationRequest.struct_class = Types::DeleteHoursOfOperationRequest
@@ -842,6 +911,13 @@ module Aws::Connect
842
911
  DescribeAgentStatusResponse.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatus, location_name: "AgentStatus"))
843
912
  DescribeAgentStatusResponse.struct_class = Types::DescribeAgentStatusResponse
844
913
 
914
+ DescribeContactFlowModuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
915
+ DescribeContactFlowModuleRequest.add_member(:contact_flow_module_id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, required: true, location: "uri", location_name: "ContactFlowModuleId"))
916
+ DescribeContactFlowModuleRequest.struct_class = Types::DescribeContactFlowModuleRequest
917
+
918
+ DescribeContactFlowModuleResponse.add_member(:contact_flow_module, Shapes::ShapeRef.new(shape: ContactFlowModule, location_name: "ContactFlowModule"))
919
+ DescribeContactFlowModuleResponse.struct_class = Types::DescribeContactFlowModuleResponse
920
+
845
921
  DescribeContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
846
922
  DescribeContactFlowRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
847
923
  DescribeContactFlowRequest.struct_class = Types::DescribeContactFlowRequest
@@ -1036,6 +1112,7 @@ module Aws::Connect
1036
1112
  HierarchyGroup.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, location_name: "Name"))
1037
1113
  HierarchyGroup.add_member(:level_id, Shapes::ShapeRef.new(shape: HierarchyLevelId, location_name: "LevelId"))
1038
1114
  HierarchyGroup.add_member(:hierarchy_path, Shapes::ShapeRef.new(shape: HierarchyPath, location_name: "HierarchyPath"))
1115
+ HierarchyGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1039
1116
  HierarchyGroup.struct_class = Types::HierarchyGroup
1040
1117
 
1041
1118
  HierarchyGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
@@ -1121,6 +1198,9 @@ module Aws::Connect
1121
1198
  HoursOfOperationTimeSlice.add_member(:minutes, Shapes::ShapeRef.new(shape: MinutesLimit60, required: true, location_name: "Minutes", metadata: {"box"=>true}))
1122
1199
  HoursOfOperationTimeSlice.struct_class = Types::HoursOfOperationTimeSlice
1123
1200
 
1201
+ IdempotencyException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1202
+ IdempotencyException.struct_class = Types::IdempotencyException
1203
+
1124
1204
  Instance.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
1125
1205
  Instance.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1126
1206
  Instance.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, location_name: "IdentityManagementType"))
@@ -1177,6 +1257,9 @@ module Aws::Connect
1177
1257
  InvalidContactFlowException.add_member(:problems, Shapes::ShapeRef.new(shape: Problems, location_name: "problems"))
1178
1258
  InvalidContactFlowException.struct_class = Types::InvalidContactFlowException
1179
1259
 
1260
+ InvalidContactFlowModuleException.add_member(:problems, Shapes::ShapeRef.new(shape: Problems, location_name: "Problems"))
1261
+ InvalidContactFlowModuleException.struct_class = Types::InvalidContactFlowModuleException
1262
+
1180
1263
  InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1181
1264
  InvalidParameterException.struct_class = Types::InvalidParameterException
1182
1265
 
@@ -1241,6 +1324,16 @@ module Aws::Connect
1241
1324
  ListBotsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1242
1325
  ListBotsResponse.struct_class = Types::ListBotsResponse
1243
1326
 
1327
+ ListContactFlowModulesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1328
+ ListContactFlowModulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1329
+ ListContactFlowModulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
1330
+ ListContactFlowModulesRequest.add_member(:contact_flow_module_state, Shapes::ShapeRef.new(shape: ContactFlowModuleState, location: "querystring", location_name: "state"))
1331
+ ListContactFlowModulesRequest.struct_class = Types::ListContactFlowModulesRequest
1332
+
1333
+ ListContactFlowModulesResponse.add_member(:contact_flow_modules_summary_list, Shapes::ShapeRef.new(shape: ContactFlowModulesSummaryList, location_name: "ContactFlowModulesSummaryList"))
1334
+ ListContactFlowModulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1335
+ ListContactFlowModulesResponse.struct_class = Types::ListContactFlowModulesResponse
1336
+
1244
1337
  ListContactFlowsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1245
1338
  ListContactFlowsRequest.add_member(:contact_flow_types, Shapes::ShapeRef.new(shape: ContactFlowTypes, location: "querystring", location_name: "contactFlowTypes"))
1246
1339
  ListContactFlowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1799,6 +1892,29 @@ module Aws::Connect
1799
1892
  UpdateContactFlowContentRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, required: true, location_name: "Content"))
1800
1893
  UpdateContactFlowContentRequest.struct_class = Types::UpdateContactFlowContentRequest
1801
1894
 
1895
+ UpdateContactFlowMetadataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1896
+ UpdateContactFlowMetadataRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
1897
+ UpdateContactFlowMetadataRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
1898
+ UpdateContactFlowMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
1899
+ UpdateContactFlowMetadataRequest.add_member(:contact_flow_state, Shapes::ShapeRef.new(shape: ContactFlowState, location_name: "ContactFlowState"))
1900
+ UpdateContactFlowMetadataRequest.struct_class = Types::UpdateContactFlowMetadataRequest
1901
+
1902
+ UpdateContactFlowModuleContentRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1903
+ UpdateContactFlowModuleContentRequest.add_member(:contact_flow_module_id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, required: true, location: "uri", location_name: "ContactFlowModuleId"))
1904
+ UpdateContactFlowModuleContentRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowModuleContent, required: true, location_name: "Content"))
1905
+ UpdateContactFlowModuleContentRequest.struct_class = Types::UpdateContactFlowModuleContentRequest
1906
+
1907
+ UpdateContactFlowModuleContentResponse.struct_class = Types::UpdateContactFlowModuleContentResponse
1908
+
1909
+ UpdateContactFlowModuleMetadataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1910
+ UpdateContactFlowModuleMetadataRequest.add_member(:contact_flow_module_id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, required: true, location: "uri", location_name: "ContactFlowModuleId"))
1911
+ UpdateContactFlowModuleMetadataRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowModuleName, location_name: "Name"))
1912
+ UpdateContactFlowModuleMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowModuleDescription, location_name: "Description"))
1913
+ UpdateContactFlowModuleMetadataRequest.add_member(:state, Shapes::ShapeRef.new(shape: ContactFlowModuleState, location_name: "State"))
1914
+ UpdateContactFlowModuleMetadataRequest.struct_class = Types::UpdateContactFlowModuleMetadataRequest
1915
+
1916
+ UpdateContactFlowModuleMetadataResponse.struct_class = Types::UpdateContactFlowModuleMetadataResponse
1917
+
1802
1918
  UpdateContactFlowNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1803
1919
  UpdateContactFlowNameRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
1804
1920
  UpdateContactFlowNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
@@ -2155,6 +2271,24 @@ module Aws::Connect
2155
2271
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2156
2272
  end)
2157
2273
 
2274
+ api.add_operation(:create_contact_flow_module, Seahorse::Model::Operation.new.tap do |o|
2275
+ o.name = "CreateContactFlowModule"
2276
+ o.http_method = "PUT"
2277
+ o.http_request_uri = "/contact-flow-modules/{InstanceId}"
2278
+ o.input = Shapes::ShapeRef.new(shape: CreateContactFlowModuleRequest)
2279
+ o.output = Shapes::ShapeRef.new(shape: CreateContactFlowModuleResponse)
2280
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2281
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2282
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContactFlowModuleException)
2283
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2284
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
2285
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2286
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2287
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2288
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
2289
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2290
+ end)
2291
+
2158
2292
  api.add_operation(:create_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
2159
2293
  o.name = "CreateHoursOfOperation"
2160
2294
  o.http_method = "PUT"
@@ -2299,6 +2433,34 @@ module Aws::Connect
2299
2433
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2300
2434
  end)
2301
2435
 
2436
+ api.add_operation(:delete_contact_flow, Seahorse::Model::Operation.new.tap do |o|
2437
+ o.name = "DeleteContactFlow"
2438
+ o.http_method = "DELETE"
2439
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}"
2440
+ o.input = Shapes::ShapeRef.new(shape: DeleteContactFlowRequest)
2441
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2442
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2443
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2444
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2445
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2446
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2447
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2448
+ end)
2449
+
2450
+ api.add_operation(:delete_contact_flow_module, Seahorse::Model::Operation.new.tap do |o|
2451
+ o.name = "DeleteContactFlowModule"
2452
+ o.http_method = "DELETE"
2453
+ o.http_request_uri = "/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}"
2454
+ o.input = Shapes::ShapeRef.new(shape: DeleteContactFlowModuleRequest)
2455
+ o.output = Shapes::ShapeRef.new(shape: DeleteContactFlowModuleResponse)
2456
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2457
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2458
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2459
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2460
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2461
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2462
+ end)
2463
+
2302
2464
  api.add_operation(:delete_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
2303
2465
  o.name = "DeleteHoursOfOperation"
2304
2466
  o.http_method = "DELETE"
@@ -2442,6 +2604,20 @@ module Aws::Connect
2442
2604
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2443
2605
  end)
2444
2606
 
2607
+ api.add_operation(:describe_contact_flow_module, Seahorse::Model::Operation.new.tap do |o|
2608
+ o.name = "DescribeContactFlowModule"
2609
+ o.http_method = "GET"
2610
+ o.http_request_uri = "/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}"
2611
+ o.input = Shapes::ShapeRef.new(shape: DescribeContactFlowModuleRequest)
2612
+ o.output = Shapes::ShapeRef.new(shape: DescribeContactFlowModuleResponse)
2613
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2614
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2615
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2616
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2617
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2618
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2619
+ end)
2620
+
2445
2621
  api.add_operation(:describe_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
2446
2622
  o.name = "DescribeHoursOfOperation"
2447
2623
  o.http_method = "GET"
@@ -2805,6 +2981,26 @@ module Aws::Connect
2805
2981
  )
2806
2982
  end)
2807
2983
 
2984
+ api.add_operation(:list_contact_flow_modules, Seahorse::Model::Operation.new.tap do |o|
2985
+ o.name = "ListContactFlowModules"
2986
+ o.http_method = "GET"
2987
+ o.http_request_uri = "/contact-flow-modules-summary/{InstanceId}"
2988
+ o.input = Shapes::ShapeRef.new(shape: ListContactFlowModulesRequest)
2989
+ o.output = Shapes::ShapeRef.new(shape: ListContactFlowModulesResponse)
2990
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2991
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2992
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2993
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2994
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2995
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2996
+ o[:pager] = Aws::Pager.new(
2997
+ limit_key: "max_results",
2998
+ tokens: {
2999
+ "next_token" => "next_token"
3000
+ }
3001
+ )
3002
+ end)
3003
+
2808
3004
  api.add_operation(:list_contact_flows, Seahorse::Model::Operation.new.tap do |o|
2809
3005
  o.name = "ListContactFlows"
2810
3006
  o.http_method = "GET"
@@ -3435,6 +3631,49 @@ module Aws::Connect
3435
3631
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3436
3632
  end)
3437
3633
 
3634
+ api.add_operation(:update_contact_flow_metadata, Seahorse::Model::Operation.new.tap do |o|
3635
+ o.name = "UpdateContactFlowMetadata"
3636
+ o.http_method = "POST"
3637
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}/metadata"
3638
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowMetadataRequest)
3639
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3640
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3641
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3642
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
3643
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3644
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3645
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3646
+ end)
3647
+
3648
+ api.add_operation(:update_contact_flow_module_content, Seahorse::Model::Operation.new.tap do |o|
3649
+ o.name = "UpdateContactFlowModuleContent"
3650
+ o.http_method = "POST"
3651
+ o.http_request_uri = "/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/content"
3652
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowModuleContentRequest)
3653
+ o.output = Shapes::ShapeRef.new(shape: UpdateContactFlowModuleContentResponse)
3654
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3655
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3656
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContactFlowModuleException)
3657
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3658
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3659
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3660
+ end)
3661
+
3662
+ api.add_operation(:update_contact_flow_module_metadata, Seahorse::Model::Operation.new.tap do |o|
3663
+ o.name = "UpdateContactFlowModuleMetadata"
3664
+ o.http_method = "POST"
3665
+ o.http_request_uri = "/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/metadata"
3666
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowModuleMetadataRequest)
3667
+ o.output = Shapes::ShapeRef.new(shape: UpdateContactFlowModuleMetadataResponse)
3668
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3669
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3670
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3671
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
3672
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3673
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3674
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3675
+ end)
3676
+
3438
3677
  api.add_operation(:update_contact_flow_name, Seahorse::Model::Operation.new.tap do |o|
3439
3678
  o.name = "UpdateContactFlowName"
3440
3679
  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