aws-sdk-connect 1.137.0 → 1.138.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: 11ca4b21e272268ec4a397bfc7258a76d87aa3ef6e4cc445194168af37699a21
4
- data.tar.gz: cf9591608380dceaf4d7f7cbdd4d4794df67f908e338a32713b5020bec51e7f9
3
+ metadata.gz: 77bd7f682797d53f82daa426e55505df669c165bf43195a7dff9aacb5982ee52
4
+ data.tar.gz: 496a728204a1ecf0c03bed4107044a81e2f4e01764791dddd5103b065dcedec1
5
5
  SHA512:
6
- metadata.gz: f3bf12e85e8686f36490b9faf4a72e36f85f028b98cc2f10595f33f6731674962be45becaa57314786609f8998f126fe16d0e197f822279a036c9e8726a5cfbb
7
- data.tar.gz: a2b4b69ee1cf2280d2934076b9ebea9435490c2e8a10ca32d4f4520b6d4f0c023bddeac3e5572b696c6d19e6b9a20239b66b9536c6c0184aa7e2e1ff20bd8dd4
6
+ metadata.gz: a92b5ce913cedc4311c9e3760cc1f5f40cfe048faf9aed9f37ea647ae5a15c8e9f3e407d2a4e3d2d0c011fca963c0c9e1f0a517e71cf5db2931ee0c8c049be62
7
+ data.tar.gz: 41038910ff26e6d0ddeaa3082420b2881c959ff0e8cae77d70a879d101346a69c77c0f6edd185f029df55b5fbe99872d8188ba1ff63b5cb0a970852356fc8e03
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.138.0 (2023-11-14)
5
+ ------------------
6
+
7
+ * Feature - Introducing SegmentAttributes parameter for StartChatContact API
8
+
4
9
  1.137.0 (2023-11-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.137.0
1
+ 1.138.0
@@ -10971,6 +10971,24 @@ module Aws::Connect
10971
10971
  #
10972
10972
  # </note>
10973
10973
  #
10974
+ # @option params [Hash<String,Types::SegmentAttributeValue>] :segment_attributes
10975
+ # A set of system defined key-value pairs stored on individual contact
10976
+ # segments using an attribute map. The attributes are standard Amazon
10977
+ # Connect attributes. They can be accessed in flows.
10978
+ #
10979
+ # Attribute keys can include only alphanumeric, -, and \_.
10980
+ #
10981
+ # This field can be used to show channel subtype, such as
10982
+ # `connect:Guide`.
10983
+ #
10984
+ # <note markdown="1"> The types `application/vnd.amazonaws.connect.message.interactive` and
10985
+ # `application/vnd.amazonaws.connect.message.interactive.response` must
10986
+ # be present in the SupportedMessagingContentTypes field of this API in
10987
+ # order to set `SegmentAttributes` as \\\{` "connect:Subtype":
10988
+ # \{"valueString" : "connect:Guide" \}\}`.
10989
+ #
10990
+ # </note>
10991
+ #
10974
10992
  # @return [Types::StartChatContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10975
10993
  #
10976
10994
  # * {Types::StartChatContactResponse#contact_id #contact_id} => String
@@ -11001,6 +11019,11 @@ module Aws::Connect
11001
11019
  # source_contact_id: "ContactId",
11002
11020
  # },
11003
11021
  # related_contact_id: "ContactId",
11022
+ # segment_attributes: {
11023
+ # "SegmentAttributeName" => {
11024
+ # value_string: "SegmentAttributeValueString",
11025
+ # },
11026
+ # },
11004
11027
  # })
11005
11028
  #
11006
11029
  # @example Response structure
@@ -14306,7 +14329,7 @@ module Aws::Connect
14306
14329
  params: params,
14307
14330
  config: config)
14308
14331
  context[:gem_name] = 'aws-sdk-connect'
14309
- context[:gem_version] = '1.137.0'
14332
+ context[:gem_version] = '1.138.0'
14310
14333
  Seahorse::Client::Request.new(handlers, context)
14311
14334
  end
14312
14335
 
@@ -797,6 +797,10 @@ module Aws::Connect
797
797
  SecurityProfilesSearchFilter = Shapes::StructureShape.new(name: 'SecurityProfilesSearchFilter')
798
798
  SecurityProfilesSearchSummaryList = Shapes::ListShape.new(name: 'SecurityProfilesSearchSummaryList')
799
799
  SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
800
+ SegmentAttributeName = Shapes::StringShape.new(name: 'SegmentAttributeName')
801
+ SegmentAttributeValue = Shapes::StructureShape.new(name: 'SegmentAttributeValue')
802
+ SegmentAttributeValueString = Shapes::StringShape.new(name: 'SegmentAttributeValueString')
803
+ SegmentAttributes = Shapes::MapShape.new(name: 'SegmentAttributes')
800
804
  SendNotificationActionDefinition = Shapes::StructureShape.new(name: 'SendNotificationActionDefinition')
801
805
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
802
806
  SignInConfig = Shapes::StructureShape.new(name: 'SignInConfig')
@@ -3644,6 +3648,12 @@ module Aws::Connect
3644
3648
 
3645
3649
  SecurityProfilesSearchSummaryList.member = Shapes::ShapeRef.new(shape: SecurityProfileSearchSummary)
3646
3650
 
3651
+ SegmentAttributeValue.add_member(:value_string, Shapes::ShapeRef.new(shape: SegmentAttributeValueString, location_name: "ValueString"))
3652
+ SegmentAttributeValue.struct_class = Types::SegmentAttributeValue
3653
+
3654
+ SegmentAttributes.key = Shapes::ShapeRef.new(shape: SegmentAttributeName)
3655
+ SegmentAttributes.value = Shapes::ShapeRef.new(shape: SegmentAttributeValue)
3656
+
3647
3657
  SendNotificationActionDefinition.add_member(:delivery_method, Shapes::ShapeRef.new(shape: NotificationDeliveryType, required: true, location_name: "DeliveryMethod"))
3648
3658
  SendNotificationActionDefinition.add_member(:subject, Shapes::ShapeRef.new(shape: Subject, location_name: "Subject"))
3649
3659
  SendNotificationActionDefinition.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "Content"))
@@ -3680,6 +3690,7 @@ module Aws::Connect
3680
3690
  StartChatContactRequest.add_member(:supported_messaging_content_types, Shapes::ShapeRef.new(shape: SupportedMessagingContentTypes, location_name: "SupportedMessagingContentTypes"))
3681
3691
  StartChatContactRequest.add_member(:persistent_chat, Shapes::ShapeRef.new(shape: PersistentChat, location_name: "PersistentChat"))
3682
3692
  StartChatContactRequest.add_member(:related_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "RelatedContactId"))
3693
+ StartChatContactRequest.add_member(:segment_attributes, Shapes::ShapeRef.new(shape: SegmentAttributes, location_name: "SegmentAttributes"))
3683
3694
  StartChatContactRequest.struct_class = Types::StartChatContactRequest
3684
3695
 
3685
3696
  StartChatContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
@@ -13783,6 +13783,21 @@ module Aws::Connect
13783
13783
  include Aws::Structure
13784
13784
  end
13785
13785
 
13786
+ # A value for a segment attribute. This is structured as a map where the
13787
+ # key is `valueString` and the value is a string.
13788
+ #
13789
+ # @!attribute [rw] value_string
13790
+ # The value of a segment attribute.
13791
+ # @return [String]
13792
+ #
13793
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SegmentAttributeValue AWS API Documentation
13794
+ #
13795
+ class SegmentAttributeValue < Struct.new(
13796
+ :value_string)
13797
+ SENSITIVE = []
13798
+ include Aws::Structure
13799
+ end
13800
+
13786
13801
  # Information about the send notification action.
13787
13802
  #
13788
13803
  # @!attribute [rw] delivery_method
@@ -14009,6 +14024,25 @@ module Aws::Connect
14009
14024
  # </note>
14010
14025
  # @return [String]
14011
14026
  #
14027
+ # @!attribute [rw] segment_attributes
14028
+ # A set of system defined key-value pairs stored on individual contact
14029
+ # segments using an attribute map. The attributes are standard Amazon
14030
+ # Connect attributes. They can be accessed in flows.
14031
+ #
14032
+ # Attribute keys can include only alphanumeric, -, and \_.
14033
+ #
14034
+ # This field can be used to show channel subtype, such as
14035
+ # `connect:Guide`.
14036
+ #
14037
+ # <note markdown="1"> The types `application/vnd.amazonaws.connect.message.interactive`
14038
+ # and `application/vnd.amazonaws.connect.message.interactive.response`
14039
+ # must be present in the SupportedMessagingContentTypes field of this
14040
+ # API in order to set `SegmentAttributes` as \\\{` "connect:Subtype":
14041
+ # \{"valueString" : "connect:Guide" \}\}`.
14042
+ #
14043
+ # </note>
14044
+ # @return [Hash<String,Types::SegmentAttributeValue>]
14045
+ #
14012
14046
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartChatContactRequest AWS API Documentation
14013
14047
  #
14014
14048
  class StartChatContactRequest < Struct.new(
@@ -14021,7 +14055,8 @@ module Aws::Connect
14021
14055
  :chat_duration_in_minutes,
14022
14056
  :supported_messaging_content_types,
14023
14057
  :persistent_chat,
14024
- :related_contact_id)
14058
+ :related_contact_id,
14059
+ :segment_attributes)
14025
14060
  SENSITIVE = []
14026
14061
  include Aws::Structure
14027
14062
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connect/customizations'
52
52
  # @!group service
53
53
  module Aws::Connect
54
54
 
55
- GEM_VERSION = '1.137.0'
55
+ GEM_VERSION = '1.138.0'
56
56
 
57
57
  end
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.137.0
4
+ version: 1.138.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: 2023-11-09 00:00:00.000000000 Z
11
+ date: 2023-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core