aws-sdk-connect 1.261.0 → 1.262.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: 76c8fedd0dbf5cc265b4b8b6eb5914be1ed4639dd0ff40cb50e6bd372c72048e
4
- data.tar.gz: 76679916abed9570098093834424d8c7927680ebc3e56f22ac7e8d6bf413130b
3
+ metadata.gz: 72e9571637c2a02269bebb7c9b825f20b4bedb2e073d173423ed7f3e24587066
4
+ data.tar.gz: 291ec48c56aa24f1bb3346c86a27f350c8895f729fe298f38b7e576f13545c8b
5
5
  SHA512:
6
- metadata.gz: 15b879edfce25db29b6bd5d058776eee8864f961c34defdec0dc112960e3b453167f61a4b43b22b63a346f5c19adc60d7ffada0f0a17387238f4e27e7dfd43a8
7
- data.tar.gz: 6baf8ae203f9cebb9a39508f4f9d1b632bdac899c0d611a935ab90e5fabd041e8a24213379eea9ff2d615f02268b08df8271e1b2be567f65024223b9603bd575
6
+ metadata.gz: ca7fb4ed8c3da2a157fe1f3928b68aaf5795fecf5b17c54bf3eef6befe337cc8248101da44c74b18a4b6792ac6dbd186c25328307a6558f953455e9dc2723758
7
+ data.tar.gz: 2e6ca17c37b8196f1030b89631cbd2cfeeb59229fcb231b4c6a366a1f8074c15a16bf9c0ec9d55ec6e61f1d36d5abe8d3f44f9de29c24535cbaedb21e7a1eede
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.262.0 (2026-07-01)
5
+ ------------------
6
+
7
+ * Feature - Adds a new Amazon Connect Service API, SendOutboundWebNotification, that delivers web notifications to end-customer chat widget sessions. Callable only by the Amazon Connect Outbound Campaigns service principal.
8
+
4
9
  1.261.0 (2026-06-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.261.0
1
+ 1.262.0
@@ -22976,6 +22976,111 @@ module Aws::Connect
22976
22976
  req.send_request(options)
22977
22977
  end
22978
22978
 
22979
+ # Sends an outbound web notification to a customer's web browser for
22980
+ # outbound campaigns. For more information about outbound campaigns, see
22981
+ # [Set up Connect Customer outbound campaigns][1].
22982
+ #
22983
+ # <note markdown="1"> Only the Connect Customer outbound campaigns service principal is
22984
+ # allowed to assume a role in your account and call this API.
22985
+ #
22986
+ # </note>
22987
+ #
22988
+ #
22989
+ #
22990
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/enable-outbound-campaigns.html
22991
+ #
22992
+ # @option params [required, String] :instance_id
22993
+ # The identifier of the Connect Customer instance. You can [find the
22994
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
22995
+ #
22996
+ #
22997
+ #
22998
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
22999
+ #
23000
+ # @option params [String] :client_token
23001
+ # A unique, case-sensitive identifier that you provide to ensure the
23002
+ # idempotency of the request. If not provided, the Amazon Web Services
23003
+ # SDK populates this field. For more information about idempotency, see
23004
+ # [Making retries safe with idempotent APIs][1].
23005
+ #
23006
+ # **A suitable default value is auto-generated.** You should normally
23007
+ # not need to pass this option.**
23008
+ #
23009
+ #
23010
+ #
23011
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
23012
+ #
23013
+ # @option params [required, String] :browser_id
23014
+ # A unique identifier for the customer's web browser instance to which
23015
+ # the notification is being sent.
23016
+ #
23017
+ # @option params [required, String] :session_id
23018
+ # A unique identifier for the customer's web session to which the
23019
+ # notification is being sent.
23020
+ #
23021
+ # @option params [required, Time,DateTime,Date,Integer,String] :expires_at
23022
+ # The timestamp, in Unix epoch time format, at which the web
23023
+ # notification expires. After this time, the notification is no longer
23024
+ # delivered to the customer's browser.
23025
+ #
23026
+ # @option params [required, Types::WebNotificationSource] :source
23027
+ # The source of the web notification. A `SourceCampaign` object
23028
+ # identifies the campaign and outbound request that triggered this
23029
+ # notification.
23030
+ #
23031
+ # @option params [required, Types::WidgetDestination] :destination
23032
+ # The destination for the web notification, specifying the communication
23033
+ # widget that delivers the notification and the customer profile of the
23034
+ # recipient.
23035
+ #
23036
+ # @option params [required, Types::WebNotificationContent] :content
23037
+ # The content of the web notification, including the notification type,
23038
+ # the view to render, and any optional attributes used to populate it.
23039
+ #
23040
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
23041
+ #
23042
+ # @example Request syntax with placeholder values
23043
+ #
23044
+ # resp = client.send_outbound_web_notification({
23045
+ # instance_id: "InstanceId", # required
23046
+ # client_token: "ClientToken",
23047
+ # browser_id: "WebBrowserId", # required
23048
+ # session_id: "WebSessionId", # required
23049
+ # expires_at: Time.now, # required
23050
+ # source: { # required
23051
+ # source_campaign: { # required
23052
+ # campaign_id: "CampaignId",
23053
+ # outbound_request_id: "OutboundRequestId",
23054
+ # },
23055
+ # },
23056
+ # destination: { # required
23057
+ # widget_id: "WidgetId", # required
23058
+ # profile_id: "CustomerProfileId", # required
23059
+ # },
23060
+ # content: { # required
23061
+ # type: "WIDGET_VIEW", # required, accepts WIDGET_VIEW, WIDGET_ACTION
23062
+ # view_arn: "ViewArn",
23063
+ # attributes: {
23064
+ # recommender_config: {
23065
+ # domain_name: "PersonalizeDomainName", # required
23066
+ # recommender_name: "RecommenderName", # required
23067
+ # context: {
23068
+ # "RecommenderContextKey" => "RecommenderContextValue",
23069
+ # },
23070
+ # },
23071
+ # },
23072
+ # },
23073
+ # })
23074
+ #
23075
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SendOutboundWebNotification AWS API Documentation
23076
+ #
23077
+ # @overload send_outbound_web_notification(params = {})
23078
+ # @param [Hash] params ({})
23079
+ def send_outbound_web_notification(params = {}, options = {})
23080
+ req = build_request(:send_outbound_web_notification, params)
23081
+ req.send_request(options)
23082
+ end
23083
+
22979
23084
  # Provides a pre-signed Amazon S3 URL in response for uploading your
22980
23085
  # content.
22981
23086
  #
@@ -29741,7 +29846,7 @@ module Aws::Connect
29741
29846
  tracer: tracer
29742
29847
  )
29743
29848
  context[:gem_name] = 'aws-sdk-connect'
29744
- context[:gem_version] = '1.261.0'
29849
+ context[:gem_version] = '1.262.0'
29745
29850
  Seahorse::Client::Request.new(handlers, context)
29746
29851
  end
29747
29852
 
@@ -358,6 +358,7 @@ module Aws::Connect
358
358
  ContactTagValue = Shapes::StringShape.new(name: 'ContactTagValue')
359
359
  Contacts = Shapes::ListShape.new(name: 'Contacts')
360
360
  Content = Shapes::StringShape.new(name: 'Content')
361
+ ContentAttributes = Shapes::StructureShape.new(name: 'ContentAttributes')
361
362
  ContentType = Shapes::StringShape.new(name: 'ContentType')
362
363
  ControlPlaneAttributeFilter = Shapes::StructureShape.new(name: 'ControlPlaneAttributeFilter')
363
364
  ControlPlaneTagFilter = Shapes::StructureShape.new(name: 'ControlPlaneTagFilter')
@@ -457,6 +458,7 @@ module Aws::Connect
457
458
  CustomerId = Shapes::StringShape.new(name: 'CustomerId')
458
459
  CustomerIdNonEmpty = Shapes::StringShape.new(name: 'CustomerIdNonEmpty')
459
460
  CustomerProfileAttributesSerialized = Shapes::StringShape.new(name: 'CustomerProfileAttributesSerialized')
461
+ CustomerProfileId = Shapes::StringShape.new(name: 'CustomerProfileId')
460
462
  CustomerQualityMetrics = Shapes::StructureShape.new(name: 'CustomerQualityMetrics')
461
463
  CustomerVoiceActivity = Shapes::StructureShape.new(name: 'CustomerVoiceActivity')
462
464
  DataSetId = Shapes::StringShape.new(name: 'DataSetId')
@@ -1320,6 +1322,7 @@ module Aws::Connect
1320
1322
  NotificationSource = Shapes::StringShape.new(name: 'NotificationSource')
1321
1323
  NotificationStatus = Shapes::StringShape.new(name: 'NotificationStatus')
1322
1324
  NotificationSummaryList = Shapes::ListShape.new(name: 'NotificationSummaryList')
1325
+ NotificationType = Shapes::StringShape.new(name: 'NotificationType')
1323
1326
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
1324
1327
  NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
1325
1328
  NullableProficiencyLevel = Shapes::FloatShape.new(name: 'NullableProficiencyLevel')
@@ -1395,6 +1398,7 @@ module Aws::Connect
1395
1398
  PersistentConnection = Shapes::BooleanShape.new(name: 'PersistentConnection')
1396
1399
  PersistentConnectionConfig = Shapes::StructureShape.new(name: 'PersistentConnectionConfig')
1397
1400
  PersistentConnectionConfigs = Shapes::ListShape.new(name: 'PersistentConnectionConfigs')
1401
+ PersonalizeDomainName = Shapes::StringShape.new(name: 'PersonalizeDomainName')
1398
1402
  PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
1399
1403
  PhoneNumberConfig = Shapes::StructureShape.new(name: 'PhoneNumberConfig')
1400
1404
  PhoneNumberConfigs = Shapes::ListShape.new(name: 'PhoneNumberConfigs')
@@ -1560,6 +1564,11 @@ module Aws::Connect
1560
1564
  RealtimeContactAnalysisSegment = Shapes::UnionShape.new(name: 'RealtimeContactAnalysisSegment')
1561
1565
  RealtimeContactAnalysisSegments = Shapes::ListShape.new(name: 'RealtimeContactAnalysisSegments')
1562
1566
  RecipientList = Shapes::ListShape.new(name: 'RecipientList')
1567
+ RecommenderConfig = Shapes::StructureShape.new(name: 'RecommenderConfig')
1568
+ RecommenderContext = Shapes::MapShape.new(name: 'RecommenderContext')
1569
+ RecommenderContextKey = Shapes::StringShape.new(name: 'RecommenderContextKey')
1570
+ RecommenderContextValue = Shapes::StringShape.new(name: 'RecommenderContextValue')
1571
+ RecommenderName = Shapes::StringShape.new(name: 'RecommenderName')
1563
1572
  RecordIds = Shapes::ListShape.new(name: 'RecordIds')
1564
1573
  RecordPrimaryValue = Shapes::StructureShape.new(name: 'RecordPrimaryValue')
1565
1574
  RecordingDeletionReason = Shapes::StringShape.new(name: 'RecordingDeletionReason')
@@ -1770,6 +1779,8 @@ module Aws::Connect
1770
1779
  SendNotificationActionDefinition = Shapes::StructureShape.new(name: 'SendNotificationActionDefinition')
1771
1780
  SendOutboundEmailRequest = Shapes::StructureShape.new(name: 'SendOutboundEmailRequest')
1772
1781
  SendOutboundEmailResponse = Shapes::StructureShape.new(name: 'SendOutboundEmailResponse')
1782
+ SendOutboundWebNotificationRequest = Shapes::StructureShape.new(name: 'SendOutboundWebNotificationRequest')
1783
+ SendOutboundWebNotificationResponse = Shapes::StructureShape.new(name: 'SendOutboundWebNotificationResponse')
1773
1784
  SensitivePhoneNumber = Shapes::StringShape.new(name: 'SensitivePhoneNumber')
1774
1785
  SentimentConfiguration = Shapes::StructureShape.new(name: 'SentimentConfiguration')
1775
1786
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -2126,6 +2137,7 @@ module Aws::Connect
2126
2137
  View = Shapes::StructureShape.new(name: 'View')
2127
2138
  ViewAction = Shapes::StringShape.new(name: 'ViewAction')
2128
2139
  ViewActions = Shapes::ListShape.new(name: 'ViewActions')
2140
+ ViewArn = Shapes::StringShape.new(name: 'ViewArn')
2129
2141
  ViewContent = Shapes::StructureShape.new(name: 'ViewContent')
2130
2142
  ViewContentSha256 = Shapes::StringShape.new(name: 'ViewContentSha256')
2131
2143
  ViewDescription = Shapes::StringShape.new(name: 'ViewDescription')
@@ -2166,8 +2178,14 @@ module Aws::Connect
2166
2178
  VoiceEnhancementMode = Shapes::StringShape.new(name: 'VoiceEnhancementMode')
2167
2179
  VoiceRecordingConfiguration = Shapes::StructureShape.new(name: 'VoiceRecordingConfiguration')
2168
2180
  VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
2181
+ WebBrowserId = Shapes::StringShape.new(name: 'WebBrowserId')
2182
+ WebNotificationContent = Shapes::StructureShape.new(name: 'WebNotificationContent')
2183
+ WebNotificationSource = Shapes::StructureShape.new(name: 'WebNotificationSource')
2184
+ WebSessionId = Shapes::StringShape.new(name: 'WebSessionId')
2169
2185
  WeekdayOccurrenceInteger = Shapes::IntegerShape.new(name: 'WeekdayOccurrenceInteger')
2170
2186
  WeekdayOccurrenceList = Shapes::ListShape.new(name: 'WeekdayOccurrenceList')
2187
+ WidgetDestination = Shapes::StructureShape.new(name: 'WidgetDestination')
2188
+ WidgetId = Shapes::StringShape.new(name: 'WidgetId')
2171
2189
  WisdomInfo = Shapes::StructureShape.new(name: 'WisdomInfo')
2172
2190
  Workspace = Shapes::StructureShape.new(name: 'Workspace')
2173
2191
  WorkspaceAssociatedResourceId = Shapes::StringShape.new(name: 'WorkspaceAssociatedResourceId')
@@ -3270,6 +3288,9 @@ module Aws::Connect
3270
3288
 
3271
3289
  Contacts.member = Shapes::ShapeRef.new(shape: ContactSearchSummary)
3272
3290
 
3291
+ ContentAttributes.add_member(:recommender_config, Shapes::ShapeRef.new(shape: RecommenderConfig, location_name: "RecommenderConfig"))
3292
+ ContentAttributes.struct_class = Types::ContentAttributes
3293
+
3273
3294
  ControlPlaneAttributeFilter.add_member(:or_conditions, Shapes::ShapeRef.new(shape: CommonAttributeOrConditionList, location_name: "OrConditions"))
3274
3295
  ControlPlaneAttributeFilter.add_member(:and_condition, Shapes::ShapeRef.new(shape: CommonAttributeAndCondition, location_name: "AndCondition"))
3275
3296
  ControlPlaneAttributeFilter.add_member(:tag_condition, Shapes::ShapeRef.new(shape: TagCondition, location_name: "TagCondition"))
@@ -7330,6 +7351,14 @@ module Aws::Connect
7330
7351
 
7331
7352
  RecipientList.member = Shapes::ShapeRef.new(shape: ARN)
7332
7353
 
7354
+ RecommenderConfig.add_member(:domain_name, Shapes::ShapeRef.new(shape: PersonalizeDomainName, required: true, location_name: "DomainName"))
7355
+ RecommenderConfig.add_member(:recommender_name, Shapes::ShapeRef.new(shape: RecommenderName, required: true, location_name: "RecommenderName"))
7356
+ RecommenderConfig.add_member(:context, Shapes::ShapeRef.new(shape: RecommenderContext, location_name: "Context"))
7357
+ RecommenderConfig.struct_class = Types::RecommenderConfig
7358
+
7359
+ RecommenderContext.key = Shapes::ShapeRef.new(shape: RecommenderContextKey)
7360
+ RecommenderContext.value = Shapes::ShapeRef.new(shape: RecommenderContextValue)
7361
+
7333
7362
  RecordIds.member = Shapes::ShapeRef.new(shape: DataTableId)
7334
7363
 
7335
7364
  RecordPrimaryValue.add_member(:record_id, Shapes::ShapeRef.new(shape: DataTableId, location_name: "RecordId"))
@@ -8114,6 +8143,18 @@ module Aws::Connect
8114
8143
 
8115
8144
  SendOutboundEmailResponse.struct_class = Types::SendOutboundEmailResponse
8116
8145
 
8146
+ SendOutboundWebNotificationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
8147
+ SendOutboundWebNotificationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
8148
+ SendOutboundWebNotificationRequest.add_member(:browser_id, Shapes::ShapeRef.new(shape: WebBrowserId, required: true, location_name: "BrowserId"))
8149
+ SendOutboundWebNotificationRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: WebSessionId, required: true, location_name: "SessionId"))
8150
+ SendOutboundWebNotificationRequest.add_member(:expires_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ExpiresAt"))
8151
+ SendOutboundWebNotificationRequest.add_member(:source, Shapes::ShapeRef.new(shape: WebNotificationSource, required: true, location_name: "Source"))
8152
+ SendOutboundWebNotificationRequest.add_member(:destination, Shapes::ShapeRef.new(shape: WidgetDestination, required: true, location_name: "Destination"))
8153
+ SendOutboundWebNotificationRequest.add_member(:content, Shapes::ShapeRef.new(shape: WebNotificationContent, required: true, location_name: "Content"))
8154
+ SendOutboundWebNotificationRequest.struct_class = Types::SendOutboundWebNotificationRequest
8155
+
8156
+ SendOutboundWebNotificationResponse.struct_class = Types::SendOutboundWebNotificationResponse
8157
+
8117
8158
  SentimentConfiguration.add_member(:behavior, Shapes::ShapeRef.new(shape: Behavior, required: true, location_name: "Behavior"))
8118
8159
  SentimentConfiguration.struct_class = Types::SentimentConfiguration
8119
8160
 
@@ -9546,8 +9587,20 @@ module Aws::Connect
9546
9587
  VoiceRecordingConfiguration.add_member(:ivr_recording_track, Shapes::ShapeRef.new(shape: IvrRecordingTrack, location_name: "IvrRecordingTrack"))
9547
9588
  VoiceRecordingConfiguration.struct_class = Types::VoiceRecordingConfiguration
9548
9589
 
9590
+ WebNotificationContent.add_member(:type, Shapes::ShapeRef.new(shape: NotificationType, required: true, location_name: "Type"))
9591
+ WebNotificationContent.add_member(:view_arn, Shapes::ShapeRef.new(shape: ViewArn, location_name: "ViewArn"))
9592
+ WebNotificationContent.add_member(:attributes, Shapes::ShapeRef.new(shape: ContentAttributes, location_name: "Attributes"))
9593
+ WebNotificationContent.struct_class = Types::WebNotificationContent
9594
+
9595
+ WebNotificationSource.add_member(:source_campaign, Shapes::ShapeRef.new(shape: SourceCampaign, required: true, location_name: "SourceCampaign"))
9596
+ WebNotificationSource.struct_class = Types::WebNotificationSource
9597
+
9549
9598
  WeekdayOccurrenceList.member = Shapes::ShapeRef.new(shape: WeekdayOccurrenceInteger)
9550
9599
 
9600
+ WidgetDestination.add_member(:widget_id, Shapes::ShapeRef.new(shape: WidgetId, required: true, location_name: "WidgetId"))
9601
+ WidgetDestination.add_member(:profile_id, Shapes::ShapeRef.new(shape: CustomerProfileId, required: true, location_name: "ProfileId"))
9602
+ WidgetDestination.struct_class = Types::WidgetDestination
9603
+
9551
9604
  WisdomInfo.add_member(:session_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SessionArn"))
9552
9605
  WisdomInfo.add_member(:ai_agents, Shapes::ShapeRef.new(shape: AiAgents, location_name: "AiAgents"))
9553
9606
  WisdomInfo.struct_class = Types::WisdomInfo
@@ -14048,6 +14101,19 @@ module Aws::Connect
14048
14101
  o.errors << Shapes::ShapeRef.new(shape: IdempotencyException)
14049
14102
  end)
14050
14103
 
14104
+ api.add_operation(:send_outbound_web_notification, Seahorse::Model::Operation.new.tap do |o|
14105
+ o.name = "SendOutboundWebNotification"
14106
+ o.http_method = "POST"
14107
+ o.http_request_uri = "/instance/{InstanceId}/outbound-web-notification"
14108
+ o.input = Shapes::ShapeRef.new(shape: SendOutboundWebNotificationRequest)
14109
+ o.output = Shapes::ShapeRef.new(shape: SendOutboundWebNotificationResponse)
14110
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
14111
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
14112
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
14113
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
14114
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
14115
+ end)
14116
+
14051
14117
  api.add_operation(:start_attached_file_upload, Seahorse::Model::Operation.new.tap do |o|
14052
14118
  o.name = "StartAttachedFileUpload"
14053
14119
  o.http_method = "PUT"
@@ -5086,6 +5086,23 @@ module Aws::Connect
5086
5086
  include Aws::Structure
5087
5087
  end
5088
5088
 
5089
+ # Optional attributes used to populate the content of an outbound web
5090
+ # notification, such as recommender configuration for personalized
5091
+ # content.
5092
+ #
5093
+ # @!attribute [rw] recommender_config
5094
+ # Configuration for the recommender used to generate personalized
5095
+ # recommendations for the notification content.
5096
+ # @return [Types::RecommenderConfig]
5097
+ #
5098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ContentAttributes AWS API Documentation
5099
+ #
5100
+ class ContentAttributes < Struct.new(
5101
+ :recommender_config)
5102
+ SENSITIVE = []
5103
+ include Aws::Structure
5104
+ end
5105
+
5089
5106
  # An object that can be used to specify Tag conditions inside the
5090
5107
  # `SearchFilter`. This accepts an `OR` or `AND` (List of List) input
5091
5108
  # where:
@@ -27789,6 +27806,33 @@ module Aws::Connect
27789
27806
  class Unknown < RealtimeContactAnalysisSegment; end
27790
27807
  end
27791
27808
 
27809
+ # Configuration for the recommender used to generate personalized
27810
+ # recommendations included in an outbound web notification.
27811
+ #
27812
+ # @!attribute [rw] domain_name
27813
+ # The name of the Amazon Personalize domain that hosts the
27814
+ # recommender.
27815
+ # @return [String]
27816
+ #
27817
+ # @!attribute [rw] recommender_name
27818
+ # The name of the recommender used to generate the recommendations.
27819
+ # @return [String]
27820
+ #
27821
+ # @!attribute [rw] context
27822
+ # A map of contextual key-value pairs supplied to the recommender to
27823
+ # influence the recommendations returned.
27824
+ # @return [Hash<String,String>]
27825
+ #
27826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RecommenderConfig AWS API Documentation
27827
+ #
27828
+ class RecommenderConfig < Struct.new(
27829
+ :domain_name,
27830
+ :recommender_name,
27831
+ :context)
27832
+ SENSITIVE = []
27833
+ include Aws::Structure
27834
+ end
27835
+
27792
27836
  # A record primary value.
27793
27837
  #
27794
27838
  # @!attribute [rw] record_id
@@ -31698,6 +31742,82 @@ module Aws::Connect
31698
31742
  #
31699
31743
  class SendOutboundEmailResponse < Aws::EmptyStructure; end
31700
31744
 
31745
+ # @!attribute [rw] instance_id
31746
+ # The identifier of the Connect Customer instance. You can [find the
31747
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
31748
+ #
31749
+ #
31750
+ #
31751
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
31752
+ # @return [String]
31753
+ #
31754
+ # @!attribute [rw] client_token
31755
+ # A unique, case-sensitive identifier that you provide to ensure the
31756
+ # idempotency of the request. If not provided, the Amazon Web Services
31757
+ # SDK populates this field. For more information about idempotency,
31758
+ # see [Making retries safe with idempotent APIs][1].
31759
+ #
31760
+ # **A suitable default value is auto-generated.** You should normally
31761
+ # not need to pass this option.
31762
+ #
31763
+ #
31764
+ #
31765
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
31766
+ # @return [String]
31767
+ #
31768
+ # @!attribute [rw] browser_id
31769
+ # A unique identifier for the customer's web browser instance to
31770
+ # which the notification is being sent.
31771
+ # @return [String]
31772
+ #
31773
+ # @!attribute [rw] session_id
31774
+ # A unique identifier for the customer's web session to which the
31775
+ # notification is being sent.
31776
+ # @return [String]
31777
+ #
31778
+ # @!attribute [rw] expires_at
31779
+ # The timestamp, in Unix epoch time format, at which the web
31780
+ # notification expires. After this time, the notification is no longer
31781
+ # delivered to the customer's browser.
31782
+ # @return [Time]
31783
+ #
31784
+ # @!attribute [rw] source
31785
+ # The source of the web notification. A `SourceCampaign` object
31786
+ # identifies the campaign and outbound request that triggered this
31787
+ # notification.
31788
+ # @return [Types::WebNotificationSource]
31789
+ #
31790
+ # @!attribute [rw] destination
31791
+ # The destination for the web notification, specifying the
31792
+ # communication widget that delivers the notification and the customer
31793
+ # profile of the recipient.
31794
+ # @return [Types::WidgetDestination]
31795
+ #
31796
+ # @!attribute [rw] content
31797
+ # The content of the web notification, including the notification
31798
+ # type, the view to render, and any optional attributes used to
31799
+ # populate it.
31800
+ # @return [Types::WebNotificationContent]
31801
+ #
31802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SendOutboundWebNotificationRequest AWS API Documentation
31803
+ #
31804
+ class SendOutboundWebNotificationRequest < Struct.new(
31805
+ :instance_id,
31806
+ :client_token,
31807
+ :browser_id,
31808
+ :session_id,
31809
+ :expires_at,
31810
+ :source,
31811
+ :destination,
31812
+ :content)
31813
+ SENSITIVE = []
31814
+ include Aws::Structure
31815
+ end
31816
+
31817
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SendOutboundWebNotificationResponse AWS API Documentation
31818
+ #
31819
+ class SendOutboundWebNotificationResponse < Aws::EmptyStructure; end
31820
+
31701
31821
  # The sentiment configuration for conversational analytics.
31702
31822
  #
31703
31823
  # @!attribute [rw] behavior
@@ -39228,6 +39348,73 @@ module Aws::Connect
39228
39348
  include Aws::Structure
39229
39349
  end
39230
39350
 
39351
+ # The content of an outbound web notification, including the
39352
+ # notification type, the view to render, and any optional attributes
39353
+ # used to populate the view.
39354
+ #
39355
+ # @!attribute [rw] type
39356
+ # The type of web notification to send.
39357
+ # @return [String]
39358
+ #
39359
+ # @!attribute [rw] view_arn
39360
+ # The Amazon Resource Name (ARN) of the view to render for the
39361
+ # notification.
39362
+ # @return [String]
39363
+ #
39364
+ # @!attribute [rw] attributes
39365
+ # Optional attributes used to populate the notification content, such
39366
+ # as recommender configuration for personalized content.
39367
+ # @return [Types::ContentAttributes]
39368
+ #
39369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/WebNotificationContent AWS API Documentation
39370
+ #
39371
+ class WebNotificationContent < Struct.new(
39372
+ :type,
39373
+ :view_arn,
39374
+ :attributes)
39375
+ SENSITIVE = []
39376
+ include Aws::Structure
39377
+ end
39378
+
39379
+ # The source of an outbound web notification. Identifies the campaign
39380
+ # and outbound request that triggered the notification.
39381
+ #
39382
+ # @!attribute [rw] source_campaign
39383
+ # Information about the campaign that triggered the web notification,
39384
+ # including the campaign identifier and outbound request identifier.
39385
+ # @return [Types::SourceCampaign]
39386
+ #
39387
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/WebNotificationSource AWS API Documentation
39388
+ #
39389
+ class WebNotificationSource < Struct.new(
39390
+ :source_campaign)
39391
+ SENSITIVE = []
39392
+ include Aws::Structure
39393
+ end
39394
+
39395
+ # The destination for an outbound web notification, specifying the
39396
+ # communication widget that delivers the notification and the customer
39397
+ # profile of the recipient.
39398
+ #
39399
+ # @!attribute [rw] widget_id
39400
+ # The identifier of the communication widget that delivers the
39401
+ # notification to the customer's browser.
39402
+ # @return [String]
39403
+ #
39404
+ # @!attribute [rw] profile_id
39405
+ # The identifier of the customer profile associated with the browser
39406
+ # session that should receive the notification.
39407
+ # @return [String]
39408
+ #
39409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/WidgetDestination AWS API Documentation
39410
+ #
39411
+ class WidgetDestination < Struct.new(
39412
+ :widget_id,
39413
+ :profile_id)
39414
+ SENSITIVE = []
39415
+ include Aws::Structure
39416
+ end
39417
+
39231
39418
  # Information about Connect Customer Wisdom.
39232
39419
  #
39233
39420
  # @!attribute [rw] session_arn
@@ -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.261.0'
57
+ GEM_VERSION = '1.262.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -4306,6 +4306,40 @@ module Aws
4306
4306
  ) -> _SendOutboundEmailResponseSuccess
4307
4307
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendOutboundEmailResponseSuccess
4308
4308
 
4309
+ interface _SendOutboundWebNotificationResponseSuccess
4310
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendOutboundWebNotificationResponse]
4311
+ end
4312
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#send_outbound_web_notification-instance_method
4313
+ def send_outbound_web_notification: (
4314
+ instance_id: ::String,
4315
+ ?client_token: ::String,
4316
+ browser_id: ::String,
4317
+ session_id: ::String,
4318
+ expires_at: ::Time,
4319
+ source: {
4320
+ source_campaign: {
4321
+ campaign_id: ::String?,
4322
+ outbound_request_id: ::String?
4323
+ }
4324
+ },
4325
+ destination: {
4326
+ widget_id: ::String,
4327
+ profile_id: ::String
4328
+ },
4329
+ content: {
4330
+ type: ("WIDGET_VIEW" | "WIDGET_ACTION"),
4331
+ view_arn: ::String?,
4332
+ attributes: {
4333
+ recommender_config: {
4334
+ domain_name: ::String,
4335
+ recommender_name: ::String,
4336
+ context: Hash[::String, ::String]?
4337
+ }?
4338
+ }?
4339
+ }
4340
+ ) -> _SendOutboundWebNotificationResponseSuccess
4341
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendOutboundWebNotificationResponseSuccess
4342
+
4309
4343
  interface _StartAttachedFileUploadResponseSuccess
4310
4344
  include ::Seahorse::Client::_ResponseSuccess[Types::StartAttachedFileUploadResponse]
4311
4345
  def file_arn: () -> ::String
data/sig/types.rbs CHANGED
@@ -1238,6 +1238,11 @@ module Aws::Connect
1238
1238
  SENSITIVE: []
1239
1239
  end
1240
1240
 
1241
+ class ContentAttributes
1242
+ attr_accessor recommender_config: Types::RecommenderConfig
1243
+ SENSITIVE: []
1244
+ end
1245
+
1241
1246
  class ControlPlaneAttributeFilter
1242
1247
  attr_accessor or_conditions: ::Array[Types::CommonAttributeAndCondition]
1243
1248
  attr_accessor and_condition: Types::CommonAttributeAndCondition
@@ -6442,6 +6447,13 @@ module Aws::Connect
6442
6447
  end
6443
6448
  end
6444
6449
 
6450
+ class RecommenderConfig
6451
+ attr_accessor domain_name: ::String
6452
+ attr_accessor recommender_name: ::String
6453
+ attr_accessor context: ::Hash[::String, ::String]
6454
+ SENSITIVE: []
6455
+ end
6456
+
6445
6457
  class RecordPrimaryValue
6446
6458
  attr_accessor record_id: ::String
6447
6459
  attr_accessor primary_values: ::Array[Types::PrimaryValueResponse]
@@ -7395,6 +7407,21 @@ module Aws::Connect
7395
7407
  class SendOutboundEmailResponse < Aws::EmptyStructure
7396
7408
  end
7397
7409
 
7410
+ class SendOutboundWebNotificationRequest
7411
+ attr_accessor instance_id: ::String
7412
+ attr_accessor client_token: ::String
7413
+ attr_accessor browser_id: ::String
7414
+ attr_accessor session_id: ::String
7415
+ attr_accessor expires_at: ::Time
7416
+ attr_accessor source: Types::WebNotificationSource
7417
+ attr_accessor destination: Types::WidgetDestination
7418
+ attr_accessor content: Types::WebNotificationContent
7419
+ SENSITIVE: []
7420
+ end
7421
+
7422
+ class SendOutboundWebNotificationResponse < Aws::EmptyStructure
7423
+ end
7424
+
7398
7425
  class SentimentConfiguration
7399
7426
  attr_accessor behavior: ("Enable" | "Disable")
7400
7427
  SENSITIVE: []
@@ -9162,6 +9189,24 @@ module Aws::Connect
9162
9189
  SENSITIVE: []
9163
9190
  end
9164
9191
 
9192
+ class WebNotificationContent
9193
+ attr_accessor type: ("WIDGET_VIEW" | "WIDGET_ACTION")
9194
+ attr_accessor view_arn: ::String
9195
+ attr_accessor attributes: Types::ContentAttributes
9196
+ SENSITIVE: []
9197
+ end
9198
+
9199
+ class WebNotificationSource
9200
+ attr_accessor source_campaign: Types::SourceCampaign
9201
+ SENSITIVE: []
9202
+ end
9203
+
9204
+ class WidgetDestination
9205
+ attr_accessor widget_id: ::String
9206
+ attr_accessor profile_id: ::String
9207
+ SENSITIVE: []
9208
+ end
9209
+
9165
9210
  class WisdomInfo
9166
9211
  attr_accessor session_arn: ::String
9167
9212
  attr_accessor ai_agents: ::Array[Types::AiAgentInfo]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.261.0
4
+ version: 1.262.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services