aws-sdk-socialmessaging 1.33.0 → 1.34.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: e760330174c56ae6bfbb34fd69297773dbd58341c62a711efa47203d90d0d6d0
4
- data.tar.gz: 29e7a84395d6b72b83d765741db3f0cbe07321c88aa71cc97fc7c3a4097404ec
3
+ metadata.gz: d77698370a733833d014ebf05429e50758b60207fa93ab31b06d5f3893d7fd51
4
+ data.tar.gz: 31493a14ff3181eea4d78a392f9f6807ea39fca91ea4a3b1d0492bd0a49b8d69
5
5
  SHA512:
6
- metadata.gz: 9b842096af97d135a1a277deeef5a5ce722b48cf3233d4567d485424209219fce2ee329724f383a8669d8775e4d69d4fd0891d02ffa02f42f6c1e9d62b1da0e0
7
- data.tar.gz: 6c7099079433683239610bfbf8b1478c23c5b9b987a705a707f6d55d8324751eecead2a776d5620427d75ea31c19dd7c7b975f3ec8b95c2e5cd7f4eb4431bbe0
6
+ metadata.gz: 65a45d9114e35b3cb33023a2302a48639e864feebf91ee332e0efd4b919c81e732c3a84d0e568fd2ce6ed38d44aac237fe95be95861030067ae40c59129c3d89
7
+ data.tar.gz: 41bae593aed418566ee709c5be3db8ef839412782b55284d61b5258cc41bcc1e95fa6bcc749e55c0a29474946ad64e18e08572816504cca9ed615f1bcf9eff41
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.34.0 (2026-10-19)
5
+ ------------------
6
+
7
+ * Feature - Adding support for WhatsApp Direct Send.
8
+
4
9
  1.33.0 (2026-09-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.34.0
@@ -998,6 +998,8 @@ module Aws::SocialMessaging
998
998
  # resp.account.event_destinations[0].event_destination_arn #=> String
999
999
  # resp.account.event_destinations[0].role_arn #=> String
1000
1000
  # resp.account.marketing_messages_onboarding_status #=> String
1001
+ # resp.account.direct_send_enforcement_status #=> String
1002
+ # resp.account.direct_send_enforcement_status_expires_at #=> Time
1001
1003
  # resp.account.dataset_id #=> String
1002
1004
  # resp.account.phone_numbers #=> Array
1003
1005
  # resp.account.phone_numbers[0].arn #=> String
@@ -1422,6 +1424,8 @@ module Aws::SocialMessaging
1422
1424
  # resp.linked_accounts[0].event_destinations[0].event_destination_arn #=> String
1423
1425
  # resp.linked_accounts[0].event_destinations[0].role_arn #=> String
1424
1426
  # resp.linked_accounts[0].marketing_messages_onboarding_status #=> String
1427
+ # resp.linked_accounts[0].direct_send_enforcement_status #=> String
1428
+ # resp.linked_accounts[0].direct_send_enforcement_status_expires_at #=> Time
1425
1429
  # resp.linked_accounts[0].dataset_id #=> String
1426
1430
  # resp.next_token #=> String
1427
1431
  #
@@ -1601,6 +1605,8 @@ module Aws::SocialMessaging
1601
1605
  # resp.templates[0].template_quality_score #=> String
1602
1606
  # resp.templates[0].template_language #=> String
1603
1607
  # resp.templates[0].template_category #=> String
1608
+ # resp.templates[0].template_source #=> String
1609
+ # resp.templates[0].correct_category #=> String
1604
1610
  # resp.next_token #=> String
1605
1611
  #
1606
1612
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListWhatsAppMessageTemplates AWS API Documentation
@@ -2298,7 +2304,7 @@ module Aws::SocialMessaging
2298
2304
  tracer: tracer
2299
2305
  )
2300
2306
  context[:gem_name] = 'aws-sdk-socialmessaging'
2301
- context[:gem_version] = '1.33.0'
2307
+ context[:gem_version] = '1.34.0'
2302
2308
  Seahorse::Client::Request.new(handlers, context)
2303
2309
  end
2304
2310
 
@@ -50,6 +50,8 @@ module Aws::SocialMessaging
50
50
  DependencyException = Shapes::StructureShape.new(name: 'DependencyException')
51
51
  DeprecateWhatsAppFlowInput = Shapes::StructureShape.new(name: 'DeprecateWhatsAppFlowInput')
52
52
  DeprecateWhatsAppFlowOutput = Shapes::StructureShape.new(name: 'DeprecateWhatsAppFlowOutput')
53
+ DirectSendEnforcementStatus = Shapes::StringShape.new(name: 'DirectSendEnforcementStatus')
54
+ DirectSendEnforcementStatusExpiresAt = Shapes::TimestampShape.new(name: 'DirectSendEnforcementStatusExpiresAt')
53
55
  DisassociateWhatsAppBusinessAccountInput = Shapes::StructureShape.new(name: 'DisassociateWhatsAppBusinessAccountInput')
54
56
  DisassociateWhatsAppBusinessAccountOutput = Shapes::StructureShape.new(name: 'DisassociateWhatsAppBusinessAccountOutput')
55
57
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
@@ -160,6 +162,7 @@ module Aws::SocialMessaging
160
162
  MetaTemplateLanguage = Shapes::StringShape.new(name: 'MetaTemplateLanguage')
161
163
  MetaTemplateName = Shapes::StringShape.new(name: 'MetaTemplateName')
162
164
  MetaTemplateQualityScore = Shapes::StringShape.new(name: 'MetaTemplateQualityScore')
165
+ MetaTemplateSource = Shapes::StringShape.new(name: 'MetaTemplateSource')
163
166
  MetaTemplateStatus = Shapes::StringShape.new(name: 'MetaTemplateStatus')
164
167
  MetaTemplateTopic = Shapes::StringShape.new(name: 'MetaTemplateTopic')
165
168
  MetaTemplateUseCase = Shapes::StringShape.new(name: 'MetaTemplateUseCase')
@@ -498,6 +501,8 @@ module Aws::SocialMessaging
498
501
  LinkedWhatsAppBusinessAccount.add_member(:waba_name, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountName, required: true, location_name: "wabaName"))
499
502
  LinkedWhatsAppBusinessAccount.add_member(:event_destinations, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountEventDestinations, required: true, location_name: "eventDestinations"))
500
503
  LinkedWhatsAppBusinessAccount.add_member(:marketing_messages_onboarding_status, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountMarketingMessagesOnboardingStatus, location_name: "marketingMessagesOnboardingStatus"))
504
+ LinkedWhatsAppBusinessAccount.add_member(:direct_send_enforcement_status, Shapes::ShapeRef.new(shape: DirectSendEnforcementStatus, location_name: "directSendEnforcementStatus"))
505
+ LinkedWhatsAppBusinessAccount.add_member(:direct_send_enforcement_status_expires_at, Shapes::ShapeRef.new(shape: DirectSendEnforcementStatusExpiresAt, location_name: "directSendEnforcementStatusExpiresAt"))
501
506
  LinkedWhatsAppBusinessAccount.add_member(:dataset_id, Shapes::ShapeRef.new(shape: WhatsAppDatasetId, location_name: "datasetId"))
502
507
  LinkedWhatsAppBusinessAccount.add_member(:phone_numbers, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberSummaryList, required: true, location_name: "phoneNumbers"))
503
508
  LinkedWhatsAppBusinessAccount.struct_class = Types::LinkedWhatsAppBusinessAccount
@@ -516,6 +521,8 @@ module Aws::SocialMessaging
516
521
  LinkedWhatsAppBusinessAccountSummary.add_member(:waba_name, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountName, required: true, location_name: "wabaName"))
517
522
  LinkedWhatsAppBusinessAccountSummary.add_member(:event_destinations, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountEventDestinations, required: true, location_name: "eventDestinations"))
518
523
  LinkedWhatsAppBusinessAccountSummary.add_member(:marketing_messages_onboarding_status, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountMarketingMessagesOnboardingStatus, location_name: "marketingMessagesOnboardingStatus"))
524
+ LinkedWhatsAppBusinessAccountSummary.add_member(:direct_send_enforcement_status, Shapes::ShapeRef.new(shape: DirectSendEnforcementStatus, location_name: "directSendEnforcementStatus"))
525
+ LinkedWhatsAppBusinessAccountSummary.add_member(:direct_send_enforcement_status_expires_at, Shapes::ShapeRef.new(shape: DirectSendEnforcementStatusExpiresAt, location_name: "directSendEnforcementStatusExpiresAt"))
519
526
  LinkedWhatsAppBusinessAccountSummary.add_member(:dataset_id, Shapes::ShapeRef.new(shape: WhatsAppDatasetId, location_name: "datasetId"))
520
527
  LinkedWhatsAppBusinessAccountSummary.struct_class = Types::LinkedWhatsAppBusinessAccountSummary
521
528
 
@@ -741,6 +748,8 @@ module Aws::SocialMessaging
741
748
  TemplateSummary.add_member(:template_quality_score, Shapes::ShapeRef.new(shape: MetaTemplateQualityScore, location_name: "templateQualityScore"))
742
749
  TemplateSummary.add_member(:template_language, Shapes::ShapeRef.new(shape: MetaTemplateLanguage, location_name: "templateLanguage"))
743
750
  TemplateSummary.add_member(:template_category, Shapes::ShapeRef.new(shape: MetaTemplateCategory, location_name: "templateCategory"))
751
+ TemplateSummary.add_member(:template_source, Shapes::ShapeRef.new(shape: MetaTemplateSource, location_name: "templateSource"))
752
+ TemplateSummary.add_member(:correct_category, Shapes::ShapeRef.new(shape: MetaTemplateCategory, location_name: "correctCategory"))
744
753
  TemplateSummary.struct_class = Types::TemplateSummary
745
754
 
746
755
  TemplateSummaryList.member = Shapes::ShapeRef.new(shape: TemplateSummary)
@@ -1023,6 +1023,19 @@ module Aws::SocialMessaging
1023
1023
  # Account is onboarded for Meta's Marketing Messages API.
1024
1024
  # @return [String]
1025
1025
  #
1026
+ # @!attribute [rw] direct_send_enforcement_status
1027
+ # The Direct Send enforcement status for the WhatsApp Business
1028
+ # Account. Enforcement applies when an account repeatedly sends
1029
+ # messages in a category that does not match the content. This field
1030
+ # is not present when no enforcement is active.
1031
+ # @return [String]
1032
+ #
1033
+ # @!attribute [rw] direct_send_enforcement_status_expires_at
1034
+ # The time when the current Direct Send enforcement is expected to
1035
+ # lift. This field is not present for permanent enforcement or when no
1036
+ # enforcement is active.
1037
+ # @return [Time]
1038
+ #
1026
1039
  # @!attribute [rw] dataset_id
1027
1040
  # The Meta Conversions API dataset ID associated with this WhatsApp
1028
1041
  # Business Account. This value is a numeric string of 10 to 20 digits.
@@ -1046,6 +1059,8 @@ module Aws::SocialMessaging
1046
1059
  :waba_name,
1047
1060
  :event_destinations,
1048
1061
  :marketing_messages_onboarding_status,
1062
+ :direct_send_enforcement_status,
1063
+ :direct_send_enforcement_status_expires_at,
1049
1064
  :dataset_id,
1050
1065
  :phone_numbers)
1051
1066
  SENSITIVE = []
@@ -1119,6 +1134,19 @@ module Aws::SocialMessaging
1119
1134
  # Account is onboarded for Meta's Marketing Messages API.
1120
1135
  # @return [String]
1121
1136
  #
1137
+ # @!attribute [rw] direct_send_enforcement_status
1138
+ # The Direct Send enforcement status for the WhatsApp Business
1139
+ # Account. Enforcement applies when an account repeatedly sends
1140
+ # messages in a category that does not match the content. This field
1141
+ # is not present when no enforcement is active.
1142
+ # @return [String]
1143
+ #
1144
+ # @!attribute [rw] direct_send_enforcement_status_expires_at
1145
+ # The time when the current Direct Send enforcement is expected to
1146
+ # lift. This field is not present for permanent enforcement or when no
1147
+ # enforcement is active.
1148
+ # @return [Time]
1149
+ #
1122
1150
  # @!attribute [rw] dataset_id
1123
1151
  # The Meta Conversions API dataset ID associated with this WhatsApp
1124
1152
  # Business Account. This value is a numeric string of 10 to 20 digits.
@@ -1137,6 +1165,8 @@ module Aws::SocialMessaging
1137
1165
  :waba_name,
1138
1166
  :event_destinations,
1139
1167
  :marketing_messages_onboarding_status,
1168
+ :direct_send_enforcement_status,
1169
+ :direct_send_enforcement_status_expires_at,
1140
1170
  :dataset_id)
1141
1171
  SENSITIVE = []
1142
1172
  include Aws::Structure
@@ -2075,6 +2105,19 @@ module Aws::SocialMessaging
2075
2105
  # The category of the template (for example, UTILITY or MARKETING).
2076
2106
  # @return [String]
2077
2107
  #
2108
+ # @!attribute [rw] template_source
2109
+ # The source of the template. A value of AUTO\_GENERATED indicates
2110
+ # that the template was created automatically from a message that you
2111
+ # sent. This field is not present for templates that you created
2112
+ # manually.
2113
+ # @return [String]
2114
+ #
2115
+ # @!attribute [rw] correct_category
2116
+ # The category that the template content actually belongs to, when it
2117
+ # differs from the template's current category. This field is present
2118
+ # only when the template has been flagged as miscategorized.
2119
+ # @return [String]
2120
+ #
2078
2121
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/TemplateSummary AWS API Documentation
2079
2122
  #
2080
2123
  class TemplateSummary < Struct.new(
@@ -2083,7 +2126,9 @@ module Aws::SocialMessaging
2083
2126
  :template_status,
2084
2127
  :template_quality_score,
2085
2128
  :template_language,
2086
- :template_category)
2129
+ :template_category,
2130
+ :template_source,
2131
+ :correct_category)
2087
2132
  SENSITIVE = []
2088
2133
  include Aws::Structure
2089
2134
  end
@@ -54,7 +54,7 @@ module Aws::SocialMessaging
54
54
  autoload :EndpointProvider, 'aws-sdk-socialmessaging/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-socialmessaging/endpoints'
56
56
 
57
- GEM_VERSION = '1.33.0'
57
+ GEM_VERSION = '1.34.0'
58
58
 
59
59
  end
60
60
 
data/sig/errors.rbs CHANGED
@@ -11,34 +11,34 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
- class AccessDeniedByMetaException < ::Aws::Errors::ServiceError
14
+ class AccessDeniedByMetaException < ServiceError
15
15
  def message: () -> ::String
16
16
  end
17
- class AccessDeniedException < ::Aws::Errors::ServiceError
17
+ class AccessDeniedException < ServiceError
18
18
  def message: () -> ::String
19
19
  end
20
- class ConflictException < ::Aws::Errors::ServiceError
20
+ class ConflictException < ServiceError
21
21
  def message: () -> ::String
22
22
  end
23
- class DependencyException < ::Aws::Errors::ServiceError
23
+ class DependencyException < ServiceError
24
24
  def message: () -> ::String
25
25
  end
26
- class InternalServiceException < ::Aws::Errors::ServiceError
26
+ class InternalServiceException < ServiceError
27
27
  def message: () -> ::String
28
28
  end
29
- class InvalidParametersException < ::Aws::Errors::ServiceError
29
+ class InvalidParametersException < ServiceError
30
30
  def message: () -> ::String
31
31
  end
32
- class LimitExceededException < ::Aws::Errors::ServiceError
32
+ class LimitExceededException < ServiceError
33
33
  def message: () -> ::String
34
34
  end
35
- class ResourceNotFoundException < ::Aws::Errors::ServiceError
35
+ class ResourceNotFoundException < ServiceError
36
36
  def message: () -> ::String
37
37
  end
38
- class ThrottledRequestException < ::Aws::Errors::ServiceError
38
+ class ThrottledRequestException < ServiceError
39
39
  def message: () -> ::String
40
40
  end
41
- class ValidationException < ::Aws::Errors::ServiceError
41
+ class ValidationException < ServiceError
42
42
  def message: () -> ::String
43
43
  end
44
44
  end
data/sig/types.rbs CHANGED
@@ -316,6 +316,8 @@ module Aws::SocialMessaging
316
316
  attr_accessor waba_name: ::String
317
317
  attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
318
318
  attr_accessor marketing_messages_onboarding_status: ::String
319
+ attr_accessor direct_send_enforcement_status: ::String
320
+ attr_accessor direct_send_enforcement_status_expires_at: ::Time
319
321
  attr_accessor dataset_id: ::String
320
322
  attr_accessor phone_numbers: ::Array[Types::WhatsAppPhoneNumberSummary]
321
323
  SENSITIVE: []
@@ -338,6 +340,8 @@ module Aws::SocialMessaging
338
340
  attr_accessor waba_name: ::String
339
341
  attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
340
342
  attr_accessor marketing_messages_onboarding_status: ::String
343
+ attr_accessor direct_send_enforcement_status: ::String
344
+ attr_accessor direct_send_enforcement_status_expires_at: ::Time
341
345
  attr_accessor dataset_id: ::String
342
346
  SENSITIVE: []
343
347
  end
@@ -612,6 +616,8 @@ module Aws::SocialMessaging
612
616
  attr_accessor template_quality_score: ::String
613
617
  attr_accessor template_language: ::String
614
618
  attr_accessor template_category: ::String
619
+ attr_accessor template_source: ::String
620
+ attr_accessor correct_category: ::String
615
621
  SENSITIVE: []
616
622
  end
617
623
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-socialmessaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.256.0
21
+ version: 3.258.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.256.0
31
+ version: 3.258.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement