aws-sdk-connect 1.157.0 → 1.158.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -157,13 +157,22 @@ module Aws::Connect
157
157
  ContactFlowModuleDescription = Shapes::StringShape.new(name: 'ContactFlowModuleDescription')
158
158
  ContactFlowModuleId = Shapes::StringShape.new(name: 'ContactFlowModuleId')
159
159
  ContactFlowModuleName = Shapes::StringShape.new(name: 'ContactFlowModuleName')
160
+ ContactFlowModuleSearchConditionList = Shapes::ListShape.new(name: 'ContactFlowModuleSearchConditionList')
161
+ ContactFlowModuleSearchCriteria = Shapes::StructureShape.new(name: 'ContactFlowModuleSearchCriteria')
162
+ ContactFlowModuleSearchFilter = Shapes::StructureShape.new(name: 'ContactFlowModuleSearchFilter')
163
+ ContactFlowModuleSearchSummaryList = Shapes::ListShape.new(name: 'ContactFlowModuleSearchSummaryList')
160
164
  ContactFlowModuleState = Shapes::StringShape.new(name: 'ContactFlowModuleState')
161
165
  ContactFlowModuleStatus = Shapes::StringShape.new(name: 'ContactFlowModuleStatus')
162
166
  ContactFlowModuleSummary = Shapes::StructureShape.new(name: 'ContactFlowModuleSummary')
163
167
  ContactFlowModulesSummaryList = Shapes::ListShape.new(name: 'ContactFlowModulesSummaryList')
164
168
  ContactFlowName = Shapes::StringShape.new(name: 'ContactFlowName')
165
169
  ContactFlowNotPublishedException = Shapes::StructureShape.new(name: 'ContactFlowNotPublishedException')
170
+ ContactFlowSearchConditionList = Shapes::ListShape.new(name: 'ContactFlowSearchConditionList')
171
+ ContactFlowSearchCriteria = Shapes::StructureShape.new(name: 'ContactFlowSearchCriteria')
172
+ ContactFlowSearchFilter = Shapes::StructureShape.new(name: 'ContactFlowSearchFilter')
173
+ ContactFlowSearchSummaryList = Shapes::ListShape.new(name: 'ContactFlowSearchSummaryList')
166
174
  ContactFlowState = Shapes::StringShape.new(name: 'ContactFlowState')
175
+ ContactFlowStatus = Shapes::StringShape.new(name: 'ContactFlowStatus')
167
176
  ContactFlowSummary = Shapes::StructureShape.new(name: 'ContactFlowSummary')
168
177
  ContactFlowSummaryList = Shapes::ListShape.new(name: 'ContactFlowSummaryList')
169
178
  ContactFlowType = Shapes::StringShape.new(name: 'ContactFlowType')
@@ -935,6 +944,10 @@ module Aws::Connect
935
944
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
936
945
  SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
937
946
  SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
947
+ SearchContactFlowModulesRequest = Shapes::StructureShape.new(name: 'SearchContactFlowModulesRequest')
948
+ SearchContactFlowModulesResponse = Shapes::StructureShape.new(name: 'SearchContactFlowModulesResponse')
949
+ SearchContactFlowsRequest = Shapes::StructureShape.new(name: 'SearchContactFlowsRequest')
950
+ SearchContactFlowsResponse = Shapes::StructureShape.new(name: 'SearchContactFlowsResponse')
938
951
  SearchContactsMatchType = Shapes::StringShape.new(name: 'SearchContactsMatchType')
939
952
  SearchContactsRequest = Shapes::StructureShape.new(name: 'SearchContactsRequest')
940
953
  SearchContactsResponse = Shapes::StructureShape.new(name: 'SearchContactsResponse')
@@ -1671,6 +1684,7 @@ module Aws::Connect
1671
1684
  ContactFlow.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
1672
1685
  ContactFlow.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, location_name: "Type"))
1673
1686
  ContactFlow.add_member(:state, Shapes::ShapeRef.new(shape: ContactFlowState, location_name: "State"))
1687
+ ContactFlow.add_member(:status, Shapes::ShapeRef.new(shape: ContactFlowStatus, location_name: "Status"))
1674
1688
  ContactFlow.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
1675
1689
  ContactFlow.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, location_name: "Content"))
1676
1690
  ContactFlow.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -1686,6 +1700,18 @@ module Aws::Connect
1686
1700
  ContactFlowModule.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1687
1701
  ContactFlowModule.struct_class = Types::ContactFlowModule
1688
1702
 
1703
+ ContactFlowModuleSearchConditionList.member = Shapes::ShapeRef.new(shape: ContactFlowModuleSearchCriteria)
1704
+
1705
+ ContactFlowModuleSearchCriteria.add_member(:or_conditions, Shapes::ShapeRef.new(shape: ContactFlowModuleSearchConditionList, location_name: "OrConditions"))
1706
+ ContactFlowModuleSearchCriteria.add_member(:and_conditions, Shapes::ShapeRef.new(shape: ContactFlowModuleSearchConditionList, location_name: "AndConditions"))
1707
+ ContactFlowModuleSearchCriteria.add_member(:string_condition, Shapes::ShapeRef.new(shape: StringCondition, location_name: "StringCondition"))
1708
+ ContactFlowModuleSearchCriteria.struct_class = Types::ContactFlowModuleSearchCriteria
1709
+
1710
+ ContactFlowModuleSearchFilter.add_member(:tag_filter, Shapes::ShapeRef.new(shape: ControlPlaneTagFilter, location_name: "TagFilter"))
1711
+ ContactFlowModuleSearchFilter.struct_class = Types::ContactFlowModuleSearchFilter
1712
+
1713
+ ContactFlowModuleSearchSummaryList.member = Shapes::ShapeRef.new(shape: ContactFlowModule)
1714
+
1689
1715
  ContactFlowModuleSummary.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowModuleId, location_name: "Id"))
1690
1716
  ContactFlowModuleSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1691
1717
  ContactFlowModuleSummary.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowModuleName, location_name: "Name"))
@@ -1697,11 +1723,27 @@ module Aws::Connect
1697
1723
  ContactFlowNotPublishedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1698
1724
  ContactFlowNotPublishedException.struct_class = Types::ContactFlowNotPublishedException
1699
1725
 
1726
+ ContactFlowSearchConditionList.member = Shapes::ShapeRef.new(shape: ContactFlowSearchCriteria)
1727
+
1728
+ ContactFlowSearchCriteria.add_member(:or_conditions, Shapes::ShapeRef.new(shape: ContactFlowSearchConditionList, location_name: "OrConditions"))
1729
+ ContactFlowSearchCriteria.add_member(:and_conditions, Shapes::ShapeRef.new(shape: ContactFlowSearchConditionList, location_name: "AndConditions"))
1730
+ ContactFlowSearchCriteria.add_member(:string_condition, Shapes::ShapeRef.new(shape: StringCondition, location_name: "StringCondition"))
1731
+ ContactFlowSearchCriteria.add_member(:type_condition, Shapes::ShapeRef.new(shape: ContactFlowType, location_name: "TypeCondition"))
1732
+ ContactFlowSearchCriteria.add_member(:state_condition, Shapes::ShapeRef.new(shape: ContactFlowState, location_name: "StateCondition"))
1733
+ ContactFlowSearchCriteria.add_member(:status_condition, Shapes::ShapeRef.new(shape: ContactFlowStatus, location_name: "StatusCondition"))
1734
+ ContactFlowSearchCriteria.struct_class = Types::ContactFlowSearchCriteria
1735
+
1736
+ ContactFlowSearchFilter.add_member(:tag_filter, Shapes::ShapeRef.new(shape: ControlPlaneTagFilter, location_name: "TagFilter"))
1737
+ ContactFlowSearchFilter.struct_class = Types::ContactFlowSearchFilter
1738
+
1739
+ ContactFlowSearchSummaryList.member = Shapes::ShapeRef.new(shape: ContactFlow)
1740
+
1700
1741
  ContactFlowSummary.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
1701
1742
  ContactFlowSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1702
1743
  ContactFlowSummary.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
1703
1744
  ContactFlowSummary.add_member(:contact_flow_type, Shapes::ShapeRef.new(shape: ContactFlowType, location_name: "ContactFlowType"))
1704
1745
  ContactFlowSummary.add_member(:contact_flow_state, Shapes::ShapeRef.new(shape: ContactFlowState, location_name: "ContactFlowState"))
1746
+ ContactFlowSummary.add_member(:contact_flow_status, Shapes::ShapeRef.new(shape: ContactFlowStatus, location_name: "ContactFlowStatus"))
1705
1747
  ContactFlowSummary.struct_class = Types::ContactFlowSummary
1706
1748
 
1707
1749
  ContactFlowSummaryList.member = Shapes::ShapeRef.new(shape: ContactFlowSummary)
@@ -1788,6 +1830,7 @@ module Aws::Connect
1788
1830
  CreateContactFlowRequest.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, required: true, location_name: "Type"))
1789
1831
  CreateContactFlowRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
1790
1832
  CreateContactFlowRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, required: true, location_name: "Content"))
1833
+ CreateContactFlowRequest.add_member(:status, Shapes::ShapeRef.new(shape: ContactFlowStatus, location_name: "Status"))
1791
1834
  CreateContactFlowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1792
1835
  CreateContactFlowRequest.struct_class = Types::CreateContactFlowRequest
1793
1836
 
@@ -4273,6 +4316,30 @@ module Aws::Connect
4273
4316
  SearchAvailablePhoneNumbersResponse.add_member(:available_numbers_list, Shapes::ShapeRef.new(shape: AvailableNumbersList, location_name: "AvailableNumbersList"))
4274
4317
  SearchAvailablePhoneNumbersResponse.struct_class = Types::SearchAvailablePhoneNumbersResponse
4275
4318
 
4319
+ SearchContactFlowModulesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
4320
+ SearchContactFlowModulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
4321
+ SearchContactFlowModulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults", metadata: {"box"=>true}))
4322
+ SearchContactFlowModulesRequest.add_member(:search_filter, Shapes::ShapeRef.new(shape: ContactFlowModuleSearchFilter, location_name: "SearchFilter"))
4323
+ SearchContactFlowModulesRequest.add_member(:search_criteria, Shapes::ShapeRef.new(shape: ContactFlowModuleSearchCriteria, location_name: "SearchCriteria"))
4324
+ SearchContactFlowModulesRequest.struct_class = Types::SearchContactFlowModulesRequest
4325
+
4326
+ SearchContactFlowModulesResponse.add_member(:contact_flow_modules, Shapes::ShapeRef.new(shape: ContactFlowModuleSearchSummaryList, location_name: "ContactFlowModules"))
4327
+ SearchContactFlowModulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
4328
+ SearchContactFlowModulesResponse.add_member(:approximate_total_count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, location_name: "ApproximateTotalCount"))
4329
+ SearchContactFlowModulesResponse.struct_class = Types::SearchContactFlowModulesResponse
4330
+
4331
+ SearchContactFlowsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
4332
+ SearchContactFlowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
4333
+ SearchContactFlowsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults", metadata: {"box"=>true}))
4334
+ SearchContactFlowsRequest.add_member(:search_filter, Shapes::ShapeRef.new(shape: ContactFlowSearchFilter, location_name: "SearchFilter"))
4335
+ SearchContactFlowsRequest.add_member(:search_criteria, Shapes::ShapeRef.new(shape: ContactFlowSearchCriteria, location_name: "SearchCriteria"))
4336
+ SearchContactFlowsRequest.struct_class = Types::SearchContactFlowsRequest
4337
+
4338
+ SearchContactFlowsResponse.add_member(:contact_flows, Shapes::ShapeRef.new(shape: ContactFlowSearchSummaryList, location_name: "ContactFlows"))
4339
+ SearchContactFlowsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken"))
4340
+ SearchContactFlowsResponse.add_member(:approximate_total_count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, location_name: "ApproximateTotalCount"))
4341
+ SearchContactFlowsResponse.struct_class = Types::SearchContactFlowsResponse
4342
+
4276
4343
  SearchContactsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
4277
4344
  SearchContactsRequest.add_member(:time_range, Shapes::ShapeRef.new(shape: SearchContactsTimeRange, required: true, location_name: "TimeRange"))
4278
4345
  SearchContactsRequest.add_member(:search_criteria, Shapes::ShapeRef.new(shape: SearchCriteria, location_name: "SearchCriteria"))
@@ -8033,6 +8100,44 @@ module Aws::Connect
8033
8100
  )
8034
8101
  end)
8035
8102
 
8103
+ api.add_operation(:search_contact_flow_modules, Seahorse::Model::Operation.new.tap do |o|
8104
+ o.name = "SearchContactFlowModules"
8105
+ o.http_method = "POST"
8106
+ o.http_request_uri = "/search-contact-flow-modules"
8107
+ o.input = Shapes::ShapeRef.new(shape: SearchContactFlowModulesRequest)
8108
+ o.output = Shapes::ShapeRef.new(shape: SearchContactFlowModulesResponse)
8109
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
8110
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
8111
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
8112
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8113
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
8114
+ o[:pager] = Aws::Pager.new(
8115
+ limit_key: "max_results",
8116
+ tokens: {
8117
+ "next_token" => "next_token"
8118
+ }
8119
+ )
8120
+ end)
8121
+
8122
+ api.add_operation(:search_contact_flows, Seahorse::Model::Operation.new.tap do |o|
8123
+ o.name = "SearchContactFlows"
8124
+ o.http_method = "POST"
8125
+ o.http_request_uri = "/search-contact-flows"
8126
+ o.input = Shapes::ShapeRef.new(shape: SearchContactFlowsRequest)
8127
+ o.output = Shapes::ShapeRef.new(shape: SearchContactFlowsResponse)
8128
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
8129
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
8130
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
8131
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8132
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
8133
+ o[:pager] = Aws::Pager.new(
8134
+ limit_key: "max_results",
8135
+ tokens: {
8136
+ "next_token" => "next_token"
8137
+ }
8138
+ )
8139
+ end)
8140
+
8036
8141
  api.add_operation(:search_contacts, Seahorse::Model::Operation.new.tap do |o|
8037
8142
  o.name = "SearchContacts"
8038
8143
  o.http_method = "POST"
@@ -2420,6 +2420,34 @@ module Aws::Connect
2420
2420
  end
2421
2421
  end
2422
2422
 
2423
+ class SearchContactFlowModules
2424
+ def self.build(context)
2425
+ unless context.config.regional_endpoint
2426
+ endpoint = context.config.endpoint.to_s
2427
+ end
2428
+ Aws::Connect::EndpointParameters.new(
2429
+ region: context.config.region,
2430
+ use_dual_stack: context.config.use_dualstack_endpoint,
2431
+ use_fips: context.config.use_fips_endpoint,
2432
+ endpoint: endpoint,
2433
+ )
2434
+ end
2435
+ end
2436
+
2437
+ class SearchContactFlows
2438
+ def self.build(context)
2439
+ unless context.config.regional_endpoint
2440
+ endpoint = context.config.endpoint.to_s
2441
+ end
2442
+ Aws::Connect::EndpointParameters.new(
2443
+ region: context.config.region,
2444
+ use_dual_stack: context.config.use_dualstack_endpoint,
2445
+ use_fips: context.config.use_fips_endpoint,
2446
+ endpoint: endpoint,
2447
+ )
2448
+ end
2449
+ end
2450
+
2423
2451
  class SearchContacts
2424
2452
  def self.build(context)
2425
2453
  unless context.config.regional_endpoint
@@ -402,6 +402,10 @@ module Aws::Connect
402
402
  Aws::Connect::Endpoints::ResumeContactRecording.build(context)
403
403
  when :search_available_phone_numbers
404
404
  Aws::Connect::Endpoints::SearchAvailablePhoneNumbers.build(context)
405
+ when :search_contact_flow_modules
406
+ Aws::Connect::Endpoints::SearchContactFlowModules.build(context)
407
+ when :search_contact_flows
408
+ Aws::Connect::Endpoints::SearchContactFlows.build(context)
405
409
  when :search_contacts
406
410
  Aws::Connect::Endpoints::SearchContacts.build(context)
407
411
  when :search_hours_of_operations