aws-sdk-connect 1.284.0 → 1.286.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: 3d155993209c1831593903a9e2b773b360413e65252c822cce456f8c9835f447
4
- data.tar.gz: b1d3bb106909bdb542051de0a308032cdfc88b01b29c1c1dde182dd939653723
3
+ metadata.gz: c3fc84e874777c8172e0c765adc39a8b928a37f0494f3e7128f616315f3c207d
4
+ data.tar.gz: f87cfdb71365077742bff976a7a81c07af18b6f37621fc0318a1a5b0900c863c
5
5
  SHA512:
6
- metadata.gz: 39123233037782a81260d18d24fa7753225875e206b1aeffe236879001440f4523c29c925eb6c61dc11c3bad64f9eb4ccb403ccc25d207ee42f8955024e2aea2
7
- data.tar.gz: 32532aff56294901aa34e84dfe5f808646d7ae1e96e6140af9882ca49bc49926d5d08fc57c5c1d2327be8fe0f2dc4783f02e588b4e98b78f09df5ad2f656670b
6
+ metadata.gz: c20a8553084d6ee39c2fe0a61aba95f836465d30e7045f122bb70cea75ad012b3b7f9bed97791b8f627f26c1d7e156da4e29cd42f70fdc1712a8d9fc7a4f6112
7
+ data.tar.gz: 1f7bc1395812bf1d9f122025d709e0eb6b74a48c13146997c8e5ad850c012e573bf96a1b918e5cb1ce84aa61554850e3cbe62cf4575f4619855e53905dbcf248
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.286.0 (2026-10-19)
5
+ ------------------
6
+
7
+ * Feature - Amazon Connect GetAttachedFile API now supports an optional UrlContentDisposition parameter. Set it to INLINE to get a pre-signed URL that displays the file in the browser, so agents can preview email attachments without downloading them. ATTACHMENT (download) remains the default.
8
+
9
+ 1.285.0 (2026-10-13)
10
+ ------------------
11
+
12
+ * Feature - New APIs to support aliases and versions for ContactFlow.
13
+
4
14
  1.284.0 (2026-09-30)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.284.0
1
+ 1.286.0
@@ -2053,7 +2053,7 @@ module Aws::Connect
2053
2053
  # resp.files[0].file_id #=> String
2054
2054
  # resp.files[0].file_name #=> String
2055
2055
  # resp.files[0].file_size_in_bytes #=> Integer
2056
- # resp.files[0].file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
2056
+ # resp.files[0].file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED", "DRAFTING"
2057
2057
  # resp.files[0].created_by.connect_user_arn #=> String
2058
2058
  # resp.files[0].created_by.aws_identity_arn #=> String
2059
2059
  # resp.files[0].file_use_case_type #=> String, one of "CONTACT_ANALYSIS", "EMAIL_MESSAGE", "EMAIL_MESSAGE_PLAIN_TEXT", "EMAIL_MESSAGE_REDACTED", "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED", "ATTACHMENT", "VOICE_RECORDING"
@@ -2602,7 +2602,7 @@ module Aws::Connect
2602
2602
  # resp.file_arn #=> String
2603
2603
  # resp.file_id #=> String
2604
2604
  # resp.creation_time #=> String
2605
- # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
2605
+ # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED", "DRAFTING"
2606
2606
  #
2607
2607
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateAttachedFile AWS API Documentation
2608
2608
  #
@@ -2953,6 +2953,57 @@ module Aws::Connect
2953
2953
  req.send_request(options)
2954
2954
  end
2955
2955
 
2956
+ # Creates a named alias that points to a specific version of a flow.
2957
+ #
2958
+ # @option params [required, String] :instance_id
2959
+ # The identifier of the Connect Customer instance. You can [find the
2960
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
2961
+ #
2962
+ #
2963
+ #
2964
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
2965
+ #
2966
+ # @option params [String] :description
2967
+ # The description of the alias.
2968
+ #
2969
+ # @option params [required, String] :contact_flow_id
2970
+ # The identifier of the flow.
2971
+ #
2972
+ # @option params [required, Integer] :contact_flow_version
2973
+ # The version of the flow.
2974
+ #
2975
+ # @option params [required, String] :alias_name
2976
+ # The name of the alias.
2977
+ #
2978
+ # @return [Types::CreateContactFlowAliasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2979
+ #
2980
+ # * {Types::CreateContactFlowAliasResponse#contact_flow_arn #contact_flow_arn} => String
2981
+ # * {Types::CreateContactFlowAliasResponse#id #id} => String
2982
+ #
2983
+ # @example Request syntax with placeholder values
2984
+ #
2985
+ # resp = client.create_contact_flow_alias({
2986
+ # instance_id: "InstanceIdOrArn", # required
2987
+ # description: "ContactFlowDescription",
2988
+ # contact_flow_id: "ARN", # required
2989
+ # contact_flow_version: 1, # required
2990
+ # alias_name: "ContactFlowName", # required
2991
+ # })
2992
+ #
2993
+ # @example Response structure
2994
+ #
2995
+ # resp.contact_flow_arn #=> String
2996
+ # resp.id #=> String
2997
+ #
2998
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContactFlowAlias AWS API Documentation
2999
+ #
3000
+ # @overload create_contact_flow_alias(params = {})
3001
+ # @param [Hash] params ({})
3002
+ def create_contact_flow_alias(params = {}, options = {})
3003
+ req = build_request(:create_contact_flow_alias, params)
3004
+ req.send_request(options)
3005
+ end
3006
+
2956
3007
  # Creates a flow module for the specified Connect Customer instance.
2957
3008
  #
2958
3009
  # @option params [required, String] :instance_id
@@ -3141,8 +3192,7 @@ module Aws::Connect
3141
3192
  # Publishes a new version of the flow provided. Versions are immutable
3142
3193
  # and monotonically increasing. If the `FlowContentSha256` provided is
3143
3194
  # different from the `FlowContentSha256` of the `$LATEST` published flow
3144
- # content, then an error is returned. This API only supports creating
3145
- # versions for flows of type `Campaign`.
3195
+ # content, then an error is returned.
3146
3196
  #
3147
3197
  # @option params [required, String] :instance_id
3148
3198
  # The identifier of the Connect Customer instance.
@@ -6727,6 +6777,42 @@ module Aws::Connect
6727
6777
  req.send_request(options)
6728
6778
  end
6729
6779
 
6780
+ # Deletes an alias from a flow without deleting the version that the
6781
+ # alias points to.
6782
+ #
6783
+ # @option params [required, String] :instance_id
6784
+ # The identifier of the Connect Customer instance. You can [find the
6785
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
6786
+ #
6787
+ #
6788
+ #
6789
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
6790
+ #
6791
+ # @option params [required, String] :contact_flow_id
6792
+ # The identifier of the flow.
6793
+ #
6794
+ # @option params [required, String] :alias_id
6795
+ # The identifier of the alias.
6796
+ #
6797
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6798
+ #
6799
+ # @example Request syntax with placeholder values
6800
+ #
6801
+ # resp = client.delete_contact_flow_alias({
6802
+ # instance_id: "InstanceIdOrArn", # required
6803
+ # contact_flow_id: "ARN", # required
6804
+ # alias_id: "ResourceId", # required
6805
+ # })
6806
+ #
6807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlowAlias AWS API Documentation
6808
+ #
6809
+ # @overload delete_contact_flow_alias(params = {})
6810
+ # @param [Hash] params ({})
6811
+ def delete_contact_flow_alias(params = {}, options = {})
6812
+ req = build_request(:delete_contact_flow_alias, params)
6813
+ req.send_request(options)
6814
+ end
6815
+
6730
6816
  # Deletes the specified flow module.
6731
6817
  #
6732
6818
  # @option params [required, String] :instance_id
@@ -8668,6 +8754,55 @@ module Aws::Connect
8668
8754
  req.send_request(options)
8669
8755
  end
8670
8756
 
8757
+ # Returns information about a specific flow alias, including the version
8758
+ # that it points to.
8759
+ #
8760
+ # @option params [required, String] :instance_id
8761
+ # The identifier of the Connect Customer instance. You can [find the
8762
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
8763
+ #
8764
+ #
8765
+ #
8766
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
8767
+ #
8768
+ # @option params [required, String] :contact_flow_id
8769
+ # The identifier of the flow.
8770
+ #
8771
+ # @option params [required, String] :alias_id
8772
+ # The identifier of the alias.
8773
+ #
8774
+ # @return [Types::DescribeContactFlowAliasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8775
+ #
8776
+ # * {Types::DescribeContactFlowAliasResponse#contact_flow_alias #contact_flow_alias} => Types::ContactFlowAliasInfo
8777
+ #
8778
+ # @example Request syntax with placeholder values
8779
+ #
8780
+ # resp = client.describe_contact_flow_alias({
8781
+ # instance_id: "InstanceIdOrArn", # required
8782
+ # contact_flow_id: "ARN", # required
8783
+ # alias_id: "ResourceId", # required
8784
+ # })
8785
+ #
8786
+ # @example Response structure
8787
+ #
8788
+ # resp.contact_flow_alias.contact_flow_id #=> String
8789
+ # resp.contact_flow_alias.contact_flow_arn #=> String
8790
+ # resp.contact_flow_alias.alias_id #=> String
8791
+ # resp.contact_flow_alias.version #=> Integer
8792
+ # resp.contact_flow_alias.name #=> String
8793
+ # resp.contact_flow_alias.description #=> String
8794
+ # resp.contact_flow_alias.last_modified_region #=> String
8795
+ # resp.contact_flow_alias.last_modified_time #=> Time
8796
+ #
8797
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactFlowAlias AWS API Documentation
8798
+ #
8799
+ # @overload describe_contact_flow_alias(params = {})
8800
+ # @param [Hash] params ({})
8801
+ def describe_contact_flow_alias(params = {}, options = {})
8802
+ req = build_request(:describe_contact_flow_alias, params)
8803
+ req.send_request(options)
8804
+ end
8805
+
8671
8806
  # Describes the specified flow module.
8672
8807
  #
8673
8808
  # Use the `$SAVED` alias in the request to describe the `SAVED` content
@@ -11651,6 +11786,18 @@ module Aws::Connect
11651
11786
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
11652
11787
  # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
11653
11788
  #
11789
+ # @option params [String] :url_content_disposition
11790
+ # Specifies how a browser handles the file at the pre-signed URL. The
11791
+ # valid values are the following:
11792
+ #
11793
+ # INLINE
11794
+ #
11795
+ # : Displays the file in the browser.
11796
+ #
11797
+ # ATTACHMENT
11798
+ #
11799
+ # : Downloads the file. This is the default.
11800
+ #
11654
11801
  # @return [Types::GetAttachedFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11655
11802
  #
11656
11803
  # * {Types::GetAttachedFileResponse#file_arn #file_arn} => String
@@ -11672,6 +11819,7 @@ module Aws::Connect
11672
11819
  # file_id: "FileId", # required
11673
11820
  # url_expiry_in_seconds: 1,
11674
11821
  # associated_resource_arn: "ARN", # required
11822
+ # url_content_disposition: "INLINE", # accepts INLINE, ATTACHMENT
11675
11823
  # })
11676
11824
  #
11677
11825
  # @example Response structure
@@ -11679,7 +11827,7 @@ module Aws::Connect
11679
11827
  # resp.file_arn #=> String
11680
11828
  # resp.file_id #=> String
11681
11829
  # resp.creation_time #=> String
11682
- # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
11830
+ # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED", "DRAFTING"
11683
11831
  # resp.file_name #=> String
11684
11832
  # resp.file_size_in_bytes #=> Integer
11685
11833
  # resp.associated_resource_arn #=> String
@@ -16256,6 +16404,65 @@ module Aws::Connect
16256
16404
  req.send_request(options)
16257
16405
  end
16258
16406
 
16407
+ # Lists the aliases associated with a flow, including the version that
16408
+ # each alias points to.
16409
+ #
16410
+ # @option params [required, String] :instance_id
16411
+ # The identifier of the Connect Customer instance. You can [find the
16412
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
16413
+ #
16414
+ #
16415
+ #
16416
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
16417
+ #
16418
+ # @option params [required, String] :contact_flow_id
16419
+ # The identifier of the flow.
16420
+ #
16421
+ # @option params [String] :next_token
16422
+ # The token for the next set of results. Use the value returned in the
16423
+ # previous response in the next request to retrieve the next set of
16424
+ # results.
16425
+ #
16426
+ # @option params [Integer] :max_results
16427
+ # The maximum number of results to return per page.
16428
+ #
16429
+ # @return [Types::ListContactFlowAliasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
16430
+ #
16431
+ # * {Types::ListContactFlowAliasesResponse#contact_flow_alias_summary_list #contact_flow_alias_summary_list} => Array<Types::ContactFlowAliasSummary>
16432
+ # * {Types::ListContactFlowAliasesResponse#next_token #next_token} => String
16433
+ #
16434
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
16435
+ #
16436
+ # @example Request syntax with placeholder values
16437
+ #
16438
+ # resp = client.list_contact_flow_aliases({
16439
+ # instance_id: "InstanceIdOrArn", # required
16440
+ # contact_flow_id: "ARN", # required
16441
+ # next_token: "NextToken",
16442
+ # max_results: 1,
16443
+ # })
16444
+ #
16445
+ # @example Response structure
16446
+ #
16447
+ # resp.contact_flow_alias_summary_list #=> Array
16448
+ # resp.contact_flow_alias_summary_list[0].arn #=> String
16449
+ # resp.contact_flow_alias_summary_list[0].alias_id #=> String
16450
+ # resp.contact_flow_alias_summary_list[0].version #=> Integer
16451
+ # resp.contact_flow_alias_summary_list[0].alias_name #=> String
16452
+ # resp.contact_flow_alias_summary_list[0].alias_description #=> String
16453
+ # resp.contact_flow_alias_summary_list[0].last_modified_time #=> Time
16454
+ # resp.contact_flow_alias_summary_list[0].last_modified_region #=> String
16455
+ # resp.next_token #=> String
16456
+ #
16457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlowAliases AWS API Documentation
16458
+ #
16459
+ # @overload list_contact_flow_aliases(params = {})
16460
+ # @param [Hash] params ({})
16461
+ def list_contact_flow_aliases(params = {}, options = {})
16462
+ req = build_request(:list_contact_flow_aliases, params)
16463
+ req.send_request(options)
16464
+ end
16465
+
16259
16466
  # Lists all aliases associated with a contact flow module, showing their
16260
16467
  # current version mappings and metadata.
16261
16468
  #
@@ -16465,6 +16672,8 @@ module Aws::Connect
16465
16672
  # resp.contact_flow_version_summary_list[0].arn #=> String
16466
16673
  # resp.contact_flow_version_summary_list[0].version_description #=> String
16467
16674
  # resp.contact_flow_version_summary_list[0].version #=> Integer
16675
+ # resp.contact_flow_version_summary_list[0].last_modified_time #=> Time
16676
+ # resp.contact_flow_version_summary_list[0].last_modified_region #=> String
16468
16677
  # resp.next_token #=> String
16469
16678
  #
16470
16679
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlowVersions AWS API Documentation
@@ -24609,7 +24818,7 @@ module Aws::Connect
24609
24818
  # resp.file_arn #=> String
24610
24819
  # resp.file_id #=> String
24611
24820
  # resp.creation_time #=> String
24612
- # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
24821
+ # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED", "DRAFTING"
24613
24822
  # resp.created_by.connect_user_arn #=> String
24614
24823
  # resp.created_by.aws_identity_arn #=> String
24615
24824
  # resp.upload_url_metadata.url #=> String
@@ -27628,6 +27837,54 @@ module Aws::Connect
27628
27837
  req.send_request(options)
27629
27838
  end
27630
27839
 
27840
+ # Updates the name, description, or flow version associated with an
27841
+ # alias.
27842
+ #
27843
+ # @option params [required, String] :instance_id
27844
+ # The identifier of the Connect Customer instance. You can [find the
27845
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
27846
+ #
27847
+ #
27848
+ #
27849
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
27850
+ #
27851
+ # @option params [required, String] :contact_flow_id
27852
+ # The identifier of the flow.
27853
+ #
27854
+ # @option params [required, String] :alias_id
27855
+ # The identifier of the alias.
27856
+ #
27857
+ # @option params [String] :name
27858
+ # The name of the alias.
27859
+ #
27860
+ # @option params [String] :description
27861
+ # The description of the alias.
27862
+ #
27863
+ # @option params [Integer] :contact_flow_version
27864
+ # The version of the flow.
27865
+ #
27866
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
27867
+ #
27868
+ # @example Request syntax with placeholder values
27869
+ #
27870
+ # resp = client.update_contact_flow_alias({
27871
+ # instance_id: "InstanceIdOrArn", # required
27872
+ # contact_flow_id: "ARN", # required
27873
+ # alias_id: "ResourceId", # required
27874
+ # name: "ContactFlowName",
27875
+ # description: "ContactFlowDescription",
27876
+ # contact_flow_version: 1,
27877
+ # })
27878
+ #
27879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowAlias AWS API Documentation
27880
+ #
27881
+ # @overload update_contact_flow_alias(params = {})
27882
+ # @param [Hash] params ({})
27883
+ def update_contact_flow_alias(params = {}, options = {})
27884
+ req = build_request(:update_contact_flow_alias, params)
27885
+ req.send_request(options)
27886
+ end
27887
+
27631
27888
  # Updates the specified flow.
27632
27889
  #
27633
27890
  # You can also create and update flows using the [Connect Customer Flow
@@ -31763,7 +32020,7 @@ module Aws::Connect
31763
32020
  tracer: tracer
31764
32021
  )
31765
32022
  context[:gem_name] = 'aws-sdk-connect'
31766
- context[:gem_version] = '1.284.0'
32023
+ context[:gem_version] = '1.286.0'
31767
32024
  Seahorse::Client::Request.new(handlers, context)
31768
32025
  end
31769
32026