aws-sdk-connect 1.193.0 → 1.195.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6b79434b889fb740528c94b84a15a8b803280d56df7321a2ef6f0927c245952
4
- data.tar.gz: 625087792df152be852b218ae4919e624a74bb128f40e0154d576fabe5f8ab77
3
+ metadata.gz: c7c59667a31a0f048d43ef15fc304f4c72410581d6ba1c5888e21c1d7ec941c2
4
+ data.tar.gz: e8f8a075f43a159c70081ef50fd7003146f714d90a82013fbf90c93a856ac24c
5
5
  SHA512:
6
- metadata.gz: eb3caf7219f3886b4b51df64eefd0e5d7727f2a564b82f1990bb3c1008d6420e6a5624d60f79b7c68797057da61f6727ef308477a44e12d16f3407f2830d07df
7
- data.tar.gz: 1e4457523d4d84908a7ae92a08173d8d6f7c8cdf95993ba0eec033dde3b54d814fa38d86d0f968308c0991d07b9e6f705f2d1eb50e5b4747e7e5d7b7fb7266c2
6
+ metadata.gz: ba1ffcd052287f2845a00a08862ad8d8d727773eaa992563c0d74fccfbccb7d614edecfb1224ba471659e05b5ac58e76cc86810e187401182dff651a27a89505
7
+ data.tar.gz: 5abebaa1f7df6d1050d5d0c7afe8f0eb424bc73176abbea245c95daa2611f839b4906450f12bd5caa7a141e1f341ef3b51d4b7ae152ceb62ecc1465cd3713737
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.195.0 (2025-02-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.194.0 (2025-01-21)
10
+ ------------------
11
+
12
+ * Feature - Added DeleteContactFlowVersion API and the CAMPAIGN flow type
13
+
4
14
  1.193.0 (2025-01-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.193.0
1
+ 1.195.0
@@ -1118,7 +1118,7 @@ module Aws::Connect
1118
1118
  req.send_request(options)
1119
1119
  end
1120
1120
 
1121
- # >Associates a set of proficiencies with a user.
1121
+ # Associates a set of proficiencies with a user.
1122
1122
  #
1123
1123
  # @option params [required, String] :instance_id
1124
1124
  # The identifier of the Amazon Connect instance. You can find the
@@ -1880,7 +1880,7 @@ module Aws::Connect
1880
1880
  # resp = client.create_contact_flow({
1881
1881
  # instance_id: "InstanceId", # required
1882
1882
  # name: "ContactFlowName", # required
1883
- # type: "CONTACT_FLOW", # required, accepts CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD, CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER, AGENT_TRANSFER, QUEUE_TRANSFER
1883
+ # type: "CONTACT_FLOW", # required, accepts CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD, CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER, AGENT_TRANSFER, QUEUE_TRANSFER, CAMPAIGN
1884
1884
  # description: "ContactFlowDescription",
1885
1885
  # content: "ContactFlowContent", # required
1886
1886
  # status: "PUBLISHED", # accepts PUBLISHED, SAVED
@@ -1979,9 +1979,7 @@ module Aws::Connect
1979
1979
  end
1980
1980
 
1981
1981
  # Publishes a new version of the flow provided. Versions are immutable
1982
- # and monotonically increasing. If a version of the same flow content
1983
- # already exists, no new version is created and instead the existing
1984
- # version number is returned. If the `FlowContentSha256` provided is
1982
+ # and monotonically increasing. If the `FlowContentSha256` provided is
1985
1983
  # different from the `FlowContentSha256` of the `$LATEST` published flow
1986
1984
  # content, then an error is returned. This API only supports creating
1987
1985
  # versions for flows of type `Campaign`.
@@ -1998,6 +1996,9 @@ module Aws::Connect
1998
1996
  # @option params [String] :flow_content_sha_256
1999
1997
  # Indicates the checksum value of the flow content.
2000
1998
  #
1999
+ # @option params [Integer] :contact_flow_version
2000
+ # The identifier of the flow version.
2001
+ #
2001
2002
  # @option params [Time,DateTime,Date,Integer,String] :last_modified_time
2002
2003
  # The Amazon Web Services Region where this resource was last modified.
2003
2004
  #
@@ -2016,6 +2017,7 @@ module Aws::Connect
2016
2017
  # description: "ContactFlowDescription",
2017
2018
  # contact_flow_id: "ARN", # required
2018
2019
  # flow_content_sha_256: "FlowContentSha256",
2020
+ # contact_flow_version: 1,
2019
2021
  # last_modified_time: Time.now,
2020
2022
  # last_modified_region: "RegionName",
2021
2023
  # })
@@ -4297,6 +4299,41 @@ module Aws::Connect
4297
4299
  req.send_request(options)
4298
4300
  end
4299
4301
 
4302
+ # Deletes the particular version specified in flow version identifier.
4303
+ #
4304
+ # @option params [required, String] :instance_id
4305
+ # The identifier of the Amazon Connect instance. You can [find the
4306
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
4307
+ #
4308
+ #
4309
+ #
4310
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
4311
+ #
4312
+ # @option params [required, String] :contact_flow_id
4313
+ # The identifier of the flow.
4314
+ #
4315
+ # @option params [required, Integer] :contact_flow_version
4316
+ # The identifier of the flow version.
4317
+ #
4318
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4319
+ #
4320
+ # @example Request syntax with placeholder values
4321
+ #
4322
+ # resp = client.delete_contact_flow_version({
4323
+ # instance_id: "InstanceId", # required
4324
+ # contact_flow_id: "ARN", # required
4325
+ # contact_flow_version: 1, # required
4326
+ # })
4327
+ #
4328
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlowVersion AWS API Documentation
4329
+ #
4330
+ # @overload delete_contact_flow_version(params = {})
4331
+ # @param [Hash] params ({})
4332
+ def delete_contact_flow_version(params = {}, options = {})
4333
+ req = build_request(:delete_contact_flow_version, params)
4334
+ req.send_request(options)
4335
+ end
4336
+
4300
4337
  # Deletes email address from the specified Amazon Connect instance.
4301
4338
  #
4302
4339
  # @option params [required, String] :instance_id
@@ -4604,8 +4641,7 @@ module Aws::Connect
4604
4641
  req.send_request(options)
4605
4642
  end
4606
4643
 
4607
- # Deletes a queue. It isn't possible to delete a queue by using the
4608
- # Amazon Connect admin website.
4644
+ # Deletes a queue.
4609
4645
  #
4610
4646
  # @option params [required, String] :instance_id
4611
4647
  # The identifier of the Amazon Connect instance. You can [find the
@@ -5420,6 +5456,9 @@ module Aws::Connect
5420
5456
  # a flow is published, `$SAVED` needs to be supplied to view saved
5421
5457
  # content that has not been published.
5422
5458
  #
5459
+ # Use `arn:aws:.../contact-flow/{id}:{version}` to retrieve the content
5460
+ # of a specific flow version.
5461
+ #
5423
5462
  # In the response, **Status** indicates the flow status as either
5424
5463
  # `SAVED` or `PUBLISHED`. The `PUBLISHED` status will initiate
5425
5464
  # validation on the content. `SAVED` does not initiate validation of the
@@ -5451,7 +5490,7 @@ module Aws::Connect
5451
5490
  # resp.contact_flow.arn #=> String
5452
5491
  # resp.contact_flow.id #=> String
5453
5492
  # resp.contact_flow.name #=> String
5454
- # resp.contact_flow.type #=> String, one of "CONTACT_FLOW", "CUSTOMER_QUEUE", "CUSTOMER_HOLD", "CUSTOMER_WHISPER", "AGENT_HOLD", "AGENT_WHISPER", "OUTBOUND_WHISPER", "AGENT_TRANSFER", "QUEUE_TRANSFER"
5493
+ # resp.contact_flow.type #=> String, one of "CONTACT_FLOW", "CUSTOMER_QUEUE", "CUSTOMER_HOLD", "CUSTOMER_WHISPER", "AGENT_HOLD", "AGENT_WHISPER", "OUTBOUND_WHISPER", "AGENT_TRANSFER", "QUEUE_TRANSFER", "CAMPAIGN"
5455
5494
  # resp.contact_flow.state #=> String, one of "ACTIVE", "ARCHIVED"
5456
5495
  # resp.contact_flow.status #=> String, one of "PUBLISHED", "SAVED"
5457
5496
  # resp.contact_flow.description #=> String
@@ -10593,7 +10632,7 @@ module Aws::Connect
10593
10632
  #
10594
10633
  # resp = client.list_contact_flows({
10595
10634
  # instance_id: "InstanceId", # required
10596
- # contact_flow_types: ["CONTACT_FLOW"], # accepts CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD, CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER, AGENT_TRANSFER, QUEUE_TRANSFER
10635
+ # contact_flow_types: ["CONTACT_FLOW"], # accepts CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD, CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER, AGENT_TRANSFER, QUEUE_TRANSFER, CAMPAIGN
10597
10636
  # next_token: "NextToken",
10598
10637
  # max_results: 1,
10599
10638
  # })
@@ -10604,7 +10643,7 @@ module Aws::Connect
10604
10643
  # resp.contact_flow_summary_list[0].id #=> String
10605
10644
  # resp.contact_flow_summary_list[0].arn #=> String
10606
10645
  # resp.contact_flow_summary_list[0].name #=> String
10607
- # resp.contact_flow_summary_list[0].contact_flow_type #=> String, one of "CONTACT_FLOW", "CUSTOMER_QUEUE", "CUSTOMER_HOLD", "CUSTOMER_WHISPER", "AGENT_HOLD", "AGENT_WHISPER", "OUTBOUND_WHISPER", "AGENT_TRANSFER", "QUEUE_TRANSFER"
10646
+ # resp.contact_flow_summary_list[0].contact_flow_type #=> String, one of "CONTACT_FLOW", "CUSTOMER_QUEUE", "CUSTOMER_HOLD", "CUSTOMER_WHISPER", "AGENT_HOLD", "AGENT_WHISPER", "OUTBOUND_WHISPER", "AGENT_TRANSFER", "QUEUE_TRANSFER", "CAMPAIGN"
10608
10647
  # resp.contact_flow_summary_list[0].contact_flow_state #=> String, one of "ACTIVE", "ARCHIVED"
10609
10648
  # resp.contact_flow_summary_list[0].contact_flow_status #=> String, one of "PUBLISHED", "SAVED"
10610
10649
  # resp.next_token #=> String
@@ -13709,7 +13748,7 @@ module Aws::Connect
13709
13748
  # value: "String",
13710
13749
  # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
13711
13750
  # },
13712
- # type_condition: "CONTACT_FLOW", # accepts CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD, CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER, AGENT_TRANSFER, QUEUE_TRANSFER
13751
+ # type_condition: "CONTACT_FLOW", # accepts CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD, CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER, AGENT_TRANSFER, QUEUE_TRANSFER, CAMPAIGN
13713
13752
  # state_condition: "ACTIVE", # accepts ACTIVE, ARCHIVED
13714
13753
  # status_condition: "PUBLISHED", # accepts PUBLISHED, SAVED
13715
13754
  # },
@@ -13721,7 +13760,7 @@ module Aws::Connect
13721
13760
  # resp.contact_flows[0].arn #=> String
13722
13761
  # resp.contact_flows[0].id #=> String
13723
13762
  # resp.contact_flows[0].name #=> String
13724
- # resp.contact_flows[0].type #=> String, one of "CONTACT_FLOW", "CUSTOMER_QUEUE", "CUSTOMER_HOLD", "CUSTOMER_WHISPER", "AGENT_HOLD", "AGENT_WHISPER", "OUTBOUND_WHISPER", "AGENT_TRANSFER", "QUEUE_TRANSFER"
13763
+ # resp.contact_flows[0].type #=> String, one of "CONTACT_FLOW", "CUSTOMER_QUEUE", "CUSTOMER_HOLD", "CUSTOMER_WHISPER", "AGENT_HOLD", "AGENT_WHISPER", "OUTBOUND_WHISPER", "AGENT_TRANSFER", "QUEUE_TRANSFER", "CAMPAIGN"
13725
13764
  # resp.contact_flows[0].state #=> String, one of "ACTIVE", "ARCHIVED"
13726
13765
  # resp.contact_flows[0].status #=> String, one of "PUBLISHED", "SAVED"
13727
13766
  # resp.contact_flows[0].description #=> String
@@ -20622,7 +20661,7 @@ module Aws::Connect
20622
20661
  tracer: tracer
20623
20662
  )
20624
20663
  context[:gem_name] = 'aws-sdk-connect'
20625
- context[:gem_version] = '1.193.0'
20664
+ context[:gem_version] = '1.195.0'
20626
20665
  Seahorse::Client::Request.new(handlers, context)
20627
20666
  end
20628
20667
 
@@ -335,6 +335,8 @@ module Aws::Connect
335
335
  DeleteContactFlowModuleResponse = Shapes::StructureShape.new(name: 'DeleteContactFlowModuleResponse')
336
336
  DeleteContactFlowRequest = Shapes::StructureShape.new(name: 'DeleteContactFlowRequest')
337
337
  DeleteContactFlowResponse = Shapes::StructureShape.new(name: 'DeleteContactFlowResponse')
338
+ DeleteContactFlowVersionRequest = Shapes::StructureShape.new(name: 'DeleteContactFlowVersionRequest')
339
+ DeleteContactFlowVersionResponse = Shapes::StructureShape.new(name: 'DeleteContactFlowVersionResponse')
338
340
  DeleteEmailAddressRequest = Shapes::StructureShape.new(name: 'DeleteEmailAddressRequest')
339
341
  DeleteEmailAddressResponse = Shapes::StructureShape.new(name: 'DeleteEmailAddressResponse')
340
342
  DeleteEvaluationFormRequest = Shapes::StructureShape.new(name: 'DeleteEvaluationFormRequest')
@@ -2221,6 +2223,7 @@ module Aws::Connect
2221
2223
  CreateContactFlowVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
2222
2224
  CreateContactFlowVersionRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "ContactFlowId"))
2223
2225
  CreateContactFlowVersionRequest.add_member(:flow_content_sha_256, Shapes::ShapeRef.new(shape: FlowContentSha256, location_name: "FlowContentSha256"))
2226
+ CreateContactFlowVersionRequest.add_member(:contact_flow_version, Shapes::ShapeRef.new(shape: ResourceVersion, location_name: "ContactFlowVersion"))
2224
2227
  CreateContactFlowVersionRequest.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
2225
2228
  CreateContactFlowVersionRequest.add_member(:last_modified_region, Shapes::ShapeRef.new(shape: RegionName, location_name: "LastModifiedRegion"))
2226
2229
  CreateContactFlowVersionRequest.struct_class = Types::CreateContactFlowVersionRequest
@@ -2639,6 +2642,13 @@ module Aws::Connect
2639
2642
 
2640
2643
  DeleteContactFlowResponse.struct_class = Types::DeleteContactFlowResponse
2641
2644
 
2645
+ DeleteContactFlowVersionRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2646
+ DeleteContactFlowVersionRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "ContactFlowId"))
2647
+ DeleteContactFlowVersionRequest.add_member(:contact_flow_version, Shapes::ShapeRef.new(shape: ResourceVersion, required: true, location: "uri", location_name: "ContactFlowVersion"))
2648
+ DeleteContactFlowVersionRequest.struct_class = Types::DeleteContactFlowVersionRequest
2649
+
2650
+ DeleteContactFlowVersionResponse.struct_class = Types::DeleteContactFlowVersionResponse
2651
+
2642
2652
  DeleteEmailAddressRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2643
2653
  DeleteEmailAddressRequest.add_member(:email_address_id, Shapes::ShapeRef.new(shape: EmailAddressId, required: true, location: "uri", location_name: "EmailAddressId"))
2644
2654
  DeleteEmailAddressRequest.struct_class = Types::DeleteEmailAddressRequest
@@ -7332,6 +7342,20 @@ module Aws::Connect
7332
7342
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7333
7343
  end)
7334
7344
 
7345
+ api.add_operation(:delete_contact_flow_version, Seahorse::Model::Operation.new.tap do |o|
7346
+ o.name = "DeleteContactFlowVersion"
7347
+ o.http_method = "DELETE"
7348
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}/version/{ContactFlowVersion}"
7349
+ o.input = Shapes::ShapeRef.new(shape: DeleteContactFlowVersionRequest)
7350
+ o.output = Shapes::ShapeRef.new(shape: DeleteContactFlowVersionResponse)
7351
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
7352
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7353
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7354
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
7355
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7356
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7357
+ end)
7358
+
7335
7359
  api.add_operation(:delete_email_address, Seahorse::Model::Operation.new.tap do |o|
7336
7360
  o.name = "DeleteEmailAddress"
7337
7361
  o.http_method = "DELETE"
@@ -10,43 +10,39 @@
10
10
  module Aws::Connect
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  end
26
- if Aws::Endpoints::Matchers.set?(region)
27
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
- return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
32
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
- return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.amazonaws.com", headers: {}, properties: {})
33
+ return Aws::Endpoints::Endpoint.new(url: "https://connect.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
38
34
  end
39
- return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
35
+ return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
36
  end
41
37
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
42
38
  end
43
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
39
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
44
40
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
45
- return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
41
+ return Aws::Endpoints::Endpoint.new(url: "https://connect.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
46
42
  end
47
43
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
48
44
  end
49
- return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
45
+ return Aws::Endpoints::Endpoint.new(url: "https://connect.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
50
46
  end
51
47
  end
52
48
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -3508,7 +3508,7 @@ module Aws::Connect
3508
3508
  # @return [String]
3509
3509
  #
3510
3510
  # @!attribute [rw] flow_content_sha_256
3511
- # Indicates the checksum value of the flow content.
3511
+ # Indicates the checksum value of the latest published flow content.
3512
3512
  # @return [String]
3513
3513
  #
3514
3514
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContactFlowResponse AWS API Documentation
@@ -3537,6 +3537,10 @@ module Aws::Connect
3537
3537
  # Indicates the checksum value of the flow content.
3538
3538
  # @return [String]
3539
3539
  #
3540
+ # @!attribute [rw] contact_flow_version
3541
+ # The identifier of the flow version.
3542
+ # @return [Integer]
3543
+ #
3540
3544
  # @!attribute [rw] last_modified_time
3541
3545
  # The Amazon Web Services Region where this resource was last
3542
3546
  # modified.
@@ -3554,6 +3558,7 @@ module Aws::Connect
3554
3558
  :description,
3555
3559
  :contact_flow_id,
3556
3560
  :flow_content_sha_256,
3561
+ :contact_flow_version,
3557
3562
  :last_modified_time,
3558
3563
  :last_modified_region)
3559
3564
  SENSITIVE = []
@@ -5872,6 +5877,37 @@ module Aws::Connect
5872
5877
  #
5873
5878
  class DeleteContactFlowResponse < Aws::EmptyStructure; end
5874
5879
 
5880
+ # @!attribute [rw] instance_id
5881
+ # The identifier of the Amazon Connect instance. You can [find the
5882
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
5883
+ #
5884
+ #
5885
+ #
5886
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
5887
+ # @return [String]
5888
+ #
5889
+ # @!attribute [rw] contact_flow_id
5890
+ # The identifier of the flow.
5891
+ # @return [String]
5892
+ #
5893
+ # @!attribute [rw] contact_flow_version
5894
+ # The identifier of the flow version.
5895
+ # @return [Integer]
5896
+ #
5897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlowVersionRequest AWS API Documentation
5898
+ #
5899
+ class DeleteContactFlowVersionRequest < Struct.new(
5900
+ :instance_id,
5901
+ :contact_flow_id,
5902
+ :contact_flow_version)
5903
+ SENSITIVE = []
5904
+ include Aws::Structure
5905
+ end
5906
+
5907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlowVersionResponse AWS API Documentation
5908
+ #
5909
+ class DeleteContactFlowVersionResponse < Aws::EmptyStructure; end
5910
+
5875
5911
  # @!attribute [rw] instance_id
5876
5912
  # The identifier of the Amazon Connect instance. You can [find the
5877
5913
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -54,7 +54,7 @@ module Aws::Connect
54
54
  autoload :EndpointProvider, 'aws-sdk-connect/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-connect/endpoints'
56
56
 
57
- GEM_VERSION = '1.193.0'
57
+ GEM_VERSION = '1.195.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -441,7 +441,7 @@ module Aws
441
441
  def create_contact_flow: (
442
442
  instance_id: ::String,
443
443
  name: ::String,
444
- type: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER"),
444
+ type: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER" | "CAMPAIGN"),
445
445
  ?description: ::String,
446
446
  content: ::String,
447
447
  ?status: ("PUBLISHED" | "SAVED"),
@@ -476,6 +476,7 @@ module Aws
476
476
  ?description: ::String,
477
477
  contact_flow_id: ::String,
478
478
  ?flow_content_sha_256: ::String,
479
+ ?contact_flow_version: ::Integer,
479
480
  ?last_modified_time: ::Time,
480
481
  ?last_modified_region: ::String
481
482
  ) -> _CreateContactFlowVersionResponseSuccess
@@ -1174,6 +1175,17 @@ module Aws
1174
1175
  ) -> _DeleteContactFlowModuleResponseSuccess
1175
1176
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteContactFlowModuleResponseSuccess
1176
1177
 
1178
+ interface _DeleteContactFlowVersionResponseSuccess
1179
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteContactFlowVersionResponse]
1180
+ end
1181
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#delete_contact_flow_version-instance_method
1182
+ def delete_contact_flow_version: (
1183
+ instance_id: ::String,
1184
+ contact_flow_id: ::String,
1185
+ contact_flow_version: ::Integer
1186
+ ) -> _DeleteContactFlowVersionResponseSuccess
1187
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteContactFlowVersionResponseSuccess
1188
+
1177
1189
  interface _DeleteEmailAddressResponseSuccess
1178
1190
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEmailAddressResponse]
1179
1191
  end
@@ -2199,7 +2211,7 @@ module Aws
2199
2211
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#list_contact_flows-instance_method
2200
2212
  def list_contact_flows: (
2201
2213
  instance_id: ::String,
2202
- ?contact_flow_types: Array[("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER")],
2214
+ ?contact_flow_types: Array[("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER" | "CAMPAIGN")],
2203
2215
  ?next_token: ::String,
2204
2216
  ?max_results: ::Integer
2205
2217
  ) -> _ListContactFlowsResponseSuccess
@@ -2987,7 +2999,7 @@ module Aws
2987
2999
  value: ::String?,
2988
3000
  comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
2989
3001
  }?,
2990
- type_condition: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER")?,
3002
+ type_condition: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER" | "CAMPAIGN")?,
2991
3003
  state_condition: ("ACTIVE" | "ARCHIVED")?,
2992
3004
  status_condition: ("PUBLISHED" | "SAVED")?
2993
3005
  }
data/sig/types.rbs CHANGED
@@ -628,7 +628,7 @@ module Aws::Connect
628
628
  attr_accessor arn: ::String
629
629
  attr_accessor id: ::String
630
630
  attr_accessor name: ::String
631
- attr_accessor type: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER")
631
+ attr_accessor type: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER" | "CAMPAIGN")
632
632
  attr_accessor state: ("ACTIVE" | "ARCHIVED")
633
633
  attr_accessor status: ("PUBLISHED" | "SAVED")
634
634
  attr_accessor description: ::String
@@ -685,7 +685,7 @@ module Aws::Connect
685
685
  attr_accessor or_conditions: ::Array[Types::ContactFlowSearchCriteria]
686
686
  attr_accessor and_conditions: ::Array[Types::ContactFlowSearchCriteria]
687
687
  attr_accessor string_condition: Types::StringCondition
688
- attr_accessor type_condition: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER")
688
+ attr_accessor type_condition: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER" | "CAMPAIGN")
689
689
  attr_accessor state_condition: ("ACTIVE" | "ARCHIVED")
690
690
  attr_accessor status_condition: ("PUBLISHED" | "SAVED")
691
691
  SENSITIVE: []
@@ -700,7 +700,7 @@ module Aws::Connect
700
700
  attr_accessor id: ::String
701
701
  attr_accessor arn: ::String
702
702
  attr_accessor name: ::String
703
- attr_accessor contact_flow_type: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER")
703
+ attr_accessor contact_flow_type: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER" | "CAMPAIGN")
704
704
  attr_accessor contact_flow_state: ("ACTIVE" | "ARCHIVED")
705
705
  attr_accessor contact_flow_status: ("PUBLISHED" | "SAVED")
706
706
  SENSITIVE: []
@@ -814,7 +814,7 @@ module Aws::Connect
814
814
  class CreateContactFlowRequest
815
815
  attr_accessor instance_id: ::String
816
816
  attr_accessor name: ::String
817
- attr_accessor type: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER")
817
+ attr_accessor type: ("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER" | "CAMPAIGN")
818
818
  attr_accessor description: ::String
819
819
  attr_accessor content: ::String
820
820
  attr_accessor status: ("PUBLISHED" | "SAVED")
@@ -834,6 +834,7 @@ module Aws::Connect
834
834
  attr_accessor description: ::String
835
835
  attr_accessor contact_flow_id: ::String
836
836
  attr_accessor flow_content_sha_256: ::String
837
+ attr_accessor contact_flow_version: ::Integer
837
838
  attr_accessor last_modified_time: ::Time
838
839
  attr_accessor last_modified_region: ::String
839
840
  SENSITIVE: []
@@ -1386,6 +1387,16 @@ module Aws::Connect
1386
1387
  class DeleteContactFlowResponse < Aws::EmptyStructure
1387
1388
  end
1388
1389
 
1390
+ class DeleteContactFlowVersionRequest
1391
+ attr_accessor instance_id: ::String
1392
+ attr_accessor contact_flow_id: ::String
1393
+ attr_accessor contact_flow_version: ::Integer
1394
+ SENSITIVE: []
1395
+ end
1396
+
1397
+ class DeleteContactFlowVersionResponse < Aws::EmptyStructure
1398
+ end
1399
+
1389
1400
  class DeleteEmailAddressRequest
1390
1401
  attr_accessor instance_id: ::String
1391
1402
  attr_accessor email_address_id: ::String
@@ -3094,7 +3105,7 @@ module Aws::Connect
3094
3105
 
3095
3106
  class ListContactFlowsRequest
3096
3107
  attr_accessor instance_id: ::String
3097
- attr_accessor contact_flow_types: ::Array[("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER")]
3108
+ attr_accessor contact_flow_types: ::Array[("CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER" | "CAMPAIGN")]
3098
3109
  attr_accessor next_token: ::String
3099
3110
  attr_accessor max_results: ::Integer
3100
3111
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.193.0
4
+ version: 1.195.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-15 00:00:00.000000000 Z
11
+ date: 2025-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core