aws-sdk-pinpointsmsvoicev2 1.27.0 → 1.29.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: a6a096ea210f76bfdd4859120fd150d3a4ca4ada1dc3def7a71da68813d0f503
4
- data.tar.gz: a25b481bb11f755c84d7b023c1cf2ddada94811439d17fff619b0dcb96b4ba13
3
+ metadata.gz: 1a566a58d92461571c32b0ccdf7dd2eda245dfad9896df0273db9aa3bdbff077
4
+ data.tar.gz: 752fc57c1afea3987246cc9dddd2407e3a0e06b788b5a63177f9a35ddbc13498
5
5
  SHA512:
6
- metadata.gz: 785dac853591842e777542b0004b913563b4a1eea6e92393d09b92cc932a643a7b84c6ca6694dcc7a5d727e6a18cd39e49126abde119a36951c33b2f5fcc22f8
7
- data.tar.gz: b0226ffb4a33583f4d2f5dead1be987e24aecdbb9b1f5a809d40b3225fd0b8ff36b07806a34c24f30409c42bdceb76df6eeeb4099ad11495735dcfd0d458f834
6
+ metadata.gz: 1db919ac115b41fc96231b64252d4a7a8ffed96b96fccc71d531de619727b2ae302db6f342f11cf6010f40646060783c811c3f41a293396c7c2e9aaf4e884cb7
7
+ data.tar.gz: eece203cb6c5c6f6727e671c4d03896055195b99417a6c9736595fddd900cbdbde2e3905c3ab7bae50257fb9e05b7324604e7e7819ff06749ce224b69a52b6a8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.28.0 (2024-10-17)
10
+ ------------------
11
+
12
+ * Feature - Added the registrations status of REQUIRES_AUTHENTICATION
13
+
4
14
  1.27.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.29.0
@@ -1032,7 +1032,7 @@ module Aws::PinpointSMSVoiceV2
1032
1032
  # resp.registration_arn #=> String
1033
1033
  # resp.registration_id #=> String
1034
1034
  # resp.registration_type #=> String
1035
- # resp.registration_status #=> String, one of "CREATED", "SUBMITTED", "REVIEWING", "PROVISIONING", "COMPLETE", "REQUIRES_UPDATES", "CLOSED", "DELETED"
1035
+ # resp.registration_status #=> String, one of "CREATED", "SUBMITTED", "REVIEWING", "REQUIRES_AUTHENTICATION", "PROVISIONING", "COMPLETE", "REQUIRES_UPDATES", "CLOSED", "DELETED"
1036
1036
  # resp.current_version_number #=> Integer
1037
1037
  # resp.additional_attributes #=> Hash
1038
1038
  # resp.additional_attributes["String"] #=> String
@@ -1099,17 +1099,21 @@ module Aws::PinpointSMSVoiceV2
1099
1099
  end
1100
1100
 
1101
1101
  # Create a new registration attachment to use for uploading a file or a
1102
- # URL to a file. The maximum file size is 1MiB and valid file extensions
1103
- # are PDF, JPEG and PNG. For example, many sender ID registrations
1104
- # require a signed “letter of authorization” (LOA) to be submitted.
1102
+ # URL to a file. The maximum file size is 500KB and valid file
1103
+ # extensions are PDF, JPEG and PNG. For example, many sender ID
1104
+ # registrations require a signed “letter of authorization” (LOA) to be
1105
+ # submitted.
1106
+ #
1107
+ # Use either `AttachmentUrl` or `AttachmentBody` to upload your
1108
+ # attachment. If both are specified then an exception is returned.
1105
1109
  #
1106
1110
  # @option params [String, StringIO, File] :attachment_body
1107
- # The registration file to upload. The maximum file size is 1MiB and
1111
+ # The registration file to upload. The maximum file size is 500KB and
1108
1112
  # valid file extensions are PDF, JPEG and PNG.
1109
1113
  #
1110
1114
  # @option params [String] :attachment_url
1111
- # A URL to the required registration file. For example, you can provide
1112
- # the S3 object URL.
1115
+ # Registration files have to be stored in an Amazon S3 bucket. The URI
1116
+ # to use when sending is in the format `s3://BucketName/FileName`.
1113
1117
  #
1114
1118
  # @option params [Array<Types::Tag>] :tags
1115
1119
  # An array of tags (key and value pairs) to associate with the
@@ -1191,7 +1195,7 @@ module Aws::PinpointSMSVoiceV2
1191
1195
  # resp.registration_arn #=> String
1192
1196
  # resp.registration_id #=> String
1193
1197
  # resp.version_number #=> Integer
1194
- # resp.registration_version_status #=> String, one of "DRAFT", "SUBMITTED", "REVIEWING", "APPROVED", "DISCARDED", "DENIED", "REVOKED", "ARCHIVED"
1198
+ # resp.registration_version_status #=> String, one of "DRAFT", "SUBMITTED", "REVIEWING", "REQUIRES_AUTHENTICATION", "APPROVED", "DISCARDED", "DENIED", "REVOKED", "ARCHIVED"
1195
1199
  # resp.registration_version_status_history.draft_timestamp #=> Time
1196
1200
  # resp.registration_version_status_history.submitted_timestamp #=> Time
1197
1201
  # resp.registration_version_status_history.reviewing_timestamp #=> Time
@@ -1781,7 +1785,7 @@ module Aws::PinpointSMSVoiceV2
1781
1785
  # resp.registration_arn #=> String
1782
1786
  # resp.registration_id #=> String
1783
1787
  # resp.registration_type #=> String
1784
- # resp.registration_status #=> String, one of "CREATED", "SUBMITTED", "REVIEWING", "PROVISIONING", "COMPLETE", "REQUIRES_UPDATES", "CLOSED", "DELETED"
1788
+ # resp.registration_status #=> String, one of "CREATED", "SUBMITTED", "REVIEWING", "REQUIRES_AUTHENTICATION", "PROVISIONING", "COMPLETE", "REQUIRES_UPDATES", "CLOSED", "DELETED"
1785
1789
  # resp.current_version_number #=> Integer
1786
1790
  # resp.approved_version_number #=> Integer
1787
1791
  # resp.latest_denied_version_number #=> Integer
@@ -2333,7 +2337,7 @@ module Aws::PinpointSMSVoiceV2
2333
2337
  # filters, the output includes information for all opted out destination
2334
2338
  # numbers in your opt-out list.
2335
2339
  #
2336
- # If you specify an opted out number that isn't valid, an error is
2340
+ # If you specify an opted out number that isn't valid, an exception is
2337
2341
  # returned.
2338
2342
  #
2339
2343
  # @option params [required, String] :opt_out_list_name
@@ -2347,6 +2351,9 @@ module Aws::PinpointSMSVoiceV2
2347
2351
  # @option params [Array<String>] :opted_out_numbers
2348
2352
  # An array of phone numbers to search for in the OptOutList.
2349
2353
  #
2354
+ # If you specify an opted out number that isn't valid, an exception is
2355
+ # returned.
2356
+ #
2350
2357
  # @option params [Array<Types::OptedOutFilter>] :filters
2351
2358
  # An array of OptedOutFilter objects to filter the results on.
2352
2359
  #
@@ -2999,7 +3006,7 @@ module Aws::PinpointSMSVoiceV2
2999
3006
  # resp.registration_id #=> String
3000
3007
  # resp.registration_versions #=> Array
3001
3008
  # resp.registration_versions[0].version_number #=> Integer
3002
- # resp.registration_versions[0].registration_version_status #=> String, one of "DRAFT", "SUBMITTED", "REVIEWING", "APPROVED", "DISCARDED", "DENIED", "REVOKED", "ARCHIVED"
3009
+ # resp.registration_versions[0].registration_version_status #=> String, one of "DRAFT", "SUBMITTED", "REVIEWING", "REQUIRES_AUTHENTICATION", "APPROVED", "DISCARDED", "DENIED", "REVOKED", "ARCHIVED"
3003
3010
  # resp.registration_versions[0].registration_version_status_history.draft_timestamp #=> Time
3004
3011
  # resp.registration_versions[0].registration_version_status_history.submitted_timestamp #=> Time
3005
3012
  # resp.registration_versions[0].registration_version_status_history.reviewing_timestamp #=> Time
@@ -3067,7 +3074,7 @@ module Aws::PinpointSMSVoiceV2
3067
3074
  # resp.registrations[0].registration_arn #=> String
3068
3075
  # resp.registrations[0].registration_id #=> String
3069
3076
  # resp.registrations[0].registration_type #=> String
3070
- # resp.registrations[0].registration_status #=> String, one of "CREATED", "SUBMITTED", "REVIEWING", "PROVISIONING", "COMPLETE", "REQUIRES_UPDATES", "CLOSED", "DELETED"
3077
+ # resp.registrations[0].registration_status #=> String, one of "CREATED", "SUBMITTED", "REVIEWING", "REQUIRES_AUTHENTICATION", "PROVISIONING", "COMPLETE", "REQUIRES_UPDATES", "CLOSED", "DELETED"
3071
3078
  # resp.registrations[0].current_version_number #=> Integer
3072
3079
  # resp.registrations[0].approved_version_number #=> Integer
3073
3080
  # resp.registrations[0].latest_denied_version_number #=> Integer
@@ -3410,7 +3417,7 @@ module Aws::PinpointSMSVoiceV2
3410
3417
  # resp.registration_arn #=> String
3411
3418
  # resp.registration_id #=> String
3412
3419
  # resp.version_number #=> Integer
3413
- # resp.registration_version_status #=> String, one of "DRAFT", "SUBMITTED", "REVIEWING", "APPROVED", "DISCARDED", "DENIED", "REVOKED", "ARCHIVED"
3420
+ # resp.registration_version_status #=> String, one of "DRAFT", "SUBMITTED", "REVIEWING", "REQUIRES_AUTHENTICATION", "APPROVED", "DISCARDED", "DENIED", "REVOKED", "ARCHIVED"
3414
3421
  # resp.registration_version_status_history.draft_timestamp #=> Time
3415
3422
  # resp.registration_version_status_history.submitted_timestamp #=> Time
3416
3423
  # resp.registration_version_status_history.reviewing_timestamp #=> Time
@@ -4857,7 +4864,7 @@ module Aws::PinpointSMSVoiceV2
4857
4864
  # resp.registration_arn #=> String
4858
4865
  # resp.registration_id #=> String
4859
4866
  # resp.version_number #=> Integer
4860
- # resp.registration_version_status #=> String, one of "DRAFT", "SUBMITTED", "REVIEWING", "APPROVED", "DISCARDED", "DENIED", "REVOKED", "ARCHIVED"
4867
+ # resp.registration_version_status #=> String, one of "DRAFT", "SUBMITTED", "REVIEWING", "REQUIRES_AUTHENTICATION", "APPROVED", "DISCARDED", "DENIED", "REVOKED", "ARCHIVED"
4861
4868
  # resp.registration_version_status_history.draft_timestamp #=> Time
4862
4869
  # resp.registration_version_status_history.submitted_timestamp #=> Time
4863
4870
  # resp.registration_version_status_history.reviewing_timestamp #=> Time
@@ -5452,7 +5459,7 @@ module Aws::PinpointSMSVoiceV2
5452
5459
  tracer: tracer
5453
5460
  )
5454
5461
  context[:gem_name] = 'aws-sdk-pinpointsmsvoicev2'
5455
- context[:gem_version] = '1.27.0'
5462
+ context[:gem_version] = '1.29.0'
5456
5463
  Seahorse::Client::Request.new(handlers, context)
5457
5464
  end
5458
5465
 
@@ -52,15 +52,18 @@ module Aws::PinpointSMSVoiceV2
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end