aws-sdk-pinpointsmsvoicev2 1.26.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpointsmsvoicev2/client.rb +248 -17
- data/lib/aws-sdk-pinpointsmsvoicev2/client_api.rb +76 -0
- data/lib/aws-sdk-pinpointsmsvoicev2/endpoints.rb +33 -0
- data/lib/aws-sdk-pinpointsmsvoicev2/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-pinpointsmsvoicev2/types.rb +254 -7
- data/lib/aws-sdk-pinpointsmsvoicev2.rb +3 -1
- data/sig/client.rbs +50 -9
- data/sig/types.rbs +51 -10
- metadata +2 -2
@@ -79,6 +79,9 @@ module Aws::PinpointSMSVoiceV2
|
|
79
79
|
# The pool to update with the new Identity. This value can be either
|
80
80
|
# the PoolId or PoolArn, and you can find these values using
|
81
81
|
# DescribePools.
|
82
|
+
#
|
83
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
84
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
82
85
|
# @return [String]
|
83
86
|
#
|
84
87
|
# @!attribute [rw] origination_identity
|
@@ -87,6 +90,9 @@ module Aws::PinpointSMSVoiceV2
|
|
87
90
|
# DescribePhoneNumbers to find the values for PhoneNumberId and
|
88
91
|
# PhoneNumberArn, while DescribeSenderIds can be used to get the
|
89
92
|
# values for SenderId and SenderIdArn.
|
93
|
+
#
|
94
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
95
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
90
96
|
# @return [String]
|
91
97
|
#
|
92
98
|
# @!attribute [rw] iso_country_code
|
@@ -536,6 +542,9 @@ module Aws::PinpointSMSVoiceV2
|
|
536
542
|
# After the pool is created you can add more origination identities to
|
537
543
|
# the pool by using [AssociateOriginationIdentity][1].
|
538
544
|
#
|
545
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
546
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
547
|
+
#
|
539
548
|
#
|
540
549
|
#
|
541
550
|
# [1]: https://docs.aws.amazon.com/pinpoint/latest/apireference_smsvoicev2/API_AssociateOriginationIdentity.html
|
@@ -824,13 +833,13 @@ module Aws::PinpointSMSVoiceV2
|
|
824
833
|
end
|
825
834
|
|
826
835
|
# @!attribute [rw] attachment_body
|
827
|
-
# The registration file to upload. The maximum file size is
|
836
|
+
# The registration file to upload. The maximum file size is 500KB and
|
828
837
|
# valid file extensions are PDF, JPEG and PNG.
|
829
838
|
# @return [String]
|
830
839
|
#
|
831
840
|
# @!attribute [rw] attachment_url
|
832
|
-
#
|
833
|
-
#
|
841
|
+
# Registration files have to be stored in an Amazon S3 bucket. The URI
|
842
|
+
# to use when sending is in the format `s3://BucketName/FileName`.
|
834
843
|
# @return [String]
|
835
844
|
#
|
836
845
|
# @!attribute [rw] tags
|
@@ -1360,6 +1369,9 @@ module Aws::PinpointSMSVoiceV2
|
|
1360
1369
|
# PhoneNumberArn, PoolId or PoolArn. You can use DescribePhoneNumbers
|
1361
1370
|
# to find the values for PhoneNumberId and PhoneNumberArn and
|
1362
1371
|
# DescribePools to find the values of PoolId and PoolArn.
|
1372
|
+
#
|
1373
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
1374
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
1363
1375
|
# @return [String]
|
1364
1376
|
#
|
1365
1377
|
# @!attribute [rw] keyword
|
@@ -1429,6 +1441,9 @@ module Aws::PinpointSMSVoiceV2
|
|
1429
1441
|
# The OptOutListName or OptOutListArn of the OptOutList to delete. You
|
1430
1442
|
# can use DescribeOptOutLists to find the values for OptOutListName
|
1431
1443
|
# and OptOutListArn.
|
1444
|
+
#
|
1445
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
1446
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
1432
1447
|
# @return [String]
|
1433
1448
|
#
|
1434
1449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptOutListRequest AWS API Documentation
|
@@ -1468,6 +1483,9 @@ module Aws::PinpointSMSVoiceV2
|
|
1468
1483
|
|
1469
1484
|
# @!attribute [rw] opt_out_list_name
|
1470
1485
|
# The OptOutListName or OptOutListArn to remove the phone number from.
|
1486
|
+
#
|
1487
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
1488
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
1471
1489
|
# @return [String]
|
1472
1490
|
#
|
1473
1491
|
# @!attribute [rw] opted_out_number
|
@@ -1524,6 +1542,9 @@ module Aws::PinpointSMSVoiceV2
|
|
1524
1542
|
# @!attribute [rw] pool_id
|
1525
1543
|
# The PoolId or PoolArn of the pool to delete. You can use
|
1526
1544
|
# DescribePools to find the values for PoolId and PoolArn .
|
1545
|
+
#
|
1546
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
1547
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
1527
1548
|
# @return [String]
|
1528
1549
|
#
|
1529
1550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeletePoolRequest AWS API Documentation
|
@@ -1878,6 +1899,47 @@ module Aws::PinpointSMSVoiceV2
|
|
1878
1899
|
include Aws::Structure
|
1879
1900
|
end
|
1880
1901
|
|
1902
|
+
# @!attribute [rw] resource_arn
|
1903
|
+
# The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and
|
1904
|
+
# Voice resource you're deleting the resource-based policy from.
|
1905
|
+
# @return [String]
|
1906
|
+
#
|
1907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteResourcePolicyRequest AWS API Documentation
|
1908
|
+
#
|
1909
|
+
class DeleteResourcePolicyRequest < Struct.new(
|
1910
|
+
:resource_arn)
|
1911
|
+
SENSITIVE = []
|
1912
|
+
include Aws::Structure
|
1913
|
+
end
|
1914
|
+
|
1915
|
+
# @!attribute [rw] resource_arn
|
1916
|
+
# The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and
|
1917
|
+
# Voice resource that the resource-based policy was deleted from.
|
1918
|
+
# @return [String]
|
1919
|
+
#
|
1920
|
+
# @!attribute [rw] policy
|
1921
|
+
# The JSON formatted resource-based policy that was deleted.
|
1922
|
+
# @return [String]
|
1923
|
+
#
|
1924
|
+
# @!attribute [rw] created_timestamp
|
1925
|
+
# The time when the resource-based policy was created, in [UNIX epoch
|
1926
|
+
# time][1] format.
|
1927
|
+
#
|
1928
|
+
#
|
1929
|
+
#
|
1930
|
+
# [1]: https://www.epochconverter.com/
|
1931
|
+
# @return [Time]
|
1932
|
+
#
|
1933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteResourcePolicyResult AWS API Documentation
|
1934
|
+
#
|
1935
|
+
class DeleteResourcePolicyResult < Struct.new(
|
1936
|
+
:resource_arn,
|
1937
|
+
:policy,
|
1938
|
+
:created_timestamp)
|
1939
|
+
SENSITIVE = []
|
1940
|
+
include Aws::Structure
|
1941
|
+
end
|
1942
|
+
|
1881
1943
|
# @api private
|
1882
1944
|
#
|
1883
1945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteTextMessageSpendLimitOverrideRequest AWS API Documentation
|
@@ -2084,6 +2146,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2084
2146
|
# DescribePhoneNumbers to find the values for PhoneNumberId and
|
2085
2147
|
# PhoneNumberArn while DescribeSenderIds can be used to get the values
|
2086
2148
|
# for SenderId and SenderIdArn.
|
2149
|
+
#
|
2150
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
2151
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2087
2152
|
# @return [String]
|
2088
2153
|
#
|
2089
2154
|
# @!attribute [rw] keywords
|
@@ -2148,6 +2213,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2148
2213
|
# @!attribute [rw] opt_out_list_names
|
2149
2214
|
# The OptOutLists to show the details of. This is an array of strings
|
2150
2215
|
# that can be either the OptOutListName or OptOutListArn.
|
2216
|
+
#
|
2217
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
2218
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2151
2219
|
# @return [Array<String>]
|
2152
2220
|
#
|
2153
2221
|
# @!attribute [rw] next_token
|
@@ -2159,12 +2227,20 @@ module Aws::PinpointSMSVoiceV2
|
|
2159
2227
|
# The maximum number of results to return per each request.
|
2160
2228
|
# @return [Integer]
|
2161
2229
|
#
|
2230
|
+
# @!attribute [rw] owner
|
2231
|
+
# Use `SELF` to filter the list of Opt-Out List to ones your account
|
2232
|
+
# owns or use `SHARED` to filter on Opt-Out List shared with your
|
2233
|
+
# account. The `Owner` and `OptOutListNames` parameters can't be used
|
2234
|
+
# at the same time.
|
2235
|
+
# @return [String]
|
2236
|
+
#
|
2162
2237
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptOutListsRequest AWS API Documentation
|
2163
2238
|
#
|
2164
2239
|
class DescribeOptOutListsRequest < Struct.new(
|
2165
2240
|
:opt_out_list_names,
|
2166
2241
|
:next_token,
|
2167
|
-
:max_results
|
2242
|
+
:max_results,
|
2243
|
+
:owner)
|
2168
2244
|
SENSITIVE = []
|
2169
2245
|
include Aws::Structure
|
2170
2246
|
end
|
@@ -2192,10 +2268,16 @@ module Aws::PinpointSMSVoiceV2
|
|
2192
2268
|
# The OptOutListName or OptOutListArn of the OptOutList. You can use
|
2193
2269
|
# DescribeOptOutLists to find the values for OptOutListName and
|
2194
2270
|
# OptOutListArn.
|
2271
|
+
#
|
2272
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
2273
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2195
2274
|
# @return [String]
|
2196
2275
|
#
|
2197
2276
|
# @!attribute [rw] opted_out_numbers
|
2198
2277
|
# An array of phone numbers to search for in the OptOutList.
|
2278
|
+
#
|
2279
|
+
# If you specify an opted out number that isn't valid, an exception
|
2280
|
+
# is returned.
|
2199
2281
|
# @return [Array<String>]
|
2200
2282
|
#
|
2201
2283
|
# @!attribute [rw] filters
|
@@ -2256,6 +2338,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2256
2338
|
# The unique identifier of phone numbers to find information about.
|
2257
2339
|
# This is an array of strings that can be either the PhoneNumberId or
|
2258
2340
|
# PhoneNumberArn.
|
2341
|
+
#
|
2342
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
2343
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2259
2344
|
# @return [Array<String>]
|
2260
2345
|
#
|
2261
2346
|
# @!attribute [rw] filters
|
@@ -2271,13 +2356,21 @@ module Aws::PinpointSMSVoiceV2
|
|
2271
2356
|
# The maximum number of results to return per each request.
|
2272
2357
|
# @return [Integer]
|
2273
2358
|
#
|
2359
|
+
# @!attribute [rw] owner
|
2360
|
+
# Use `SELF` to filter the list of phone numbers to ones your account
|
2361
|
+
# owns or use `SHARED` to filter on phone numbers shared with your
|
2362
|
+
# account. The `Owner` and `PhoneNumberIds` parameters can't be used
|
2363
|
+
# at the same time.
|
2364
|
+
# @return [String]
|
2365
|
+
#
|
2274
2366
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePhoneNumbersRequest AWS API Documentation
|
2275
2367
|
#
|
2276
2368
|
class DescribePhoneNumbersRequest < Struct.new(
|
2277
2369
|
:phone_number_ids,
|
2278
2370
|
:filters,
|
2279
2371
|
:next_token,
|
2280
|
-
:max_results
|
2372
|
+
:max_results,
|
2373
|
+
:owner)
|
2281
2374
|
SENSITIVE = []
|
2282
2375
|
include Aws::Structure
|
2283
2376
|
end
|
@@ -2304,6 +2397,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2304
2397
|
# @!attribute [rw] pool_ids
|
2305
2398
|
# The unique identifier of pools to find. This is an array of strings
|
2306
2399
|
# that can be either the PoolId or PoolArn.
|
2400
|
+
#
|
2401
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
2402
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2307
2403
|
# @return [Array<String>]
|
2308
2404
|
#
|
2309
2405
|
# @!attribute [rw] filters
|
@@ -2319,13 +2415,20 @@ module Aws::PinpointSMSVoiceV2
|
|
2319
2415
|
# The maximum number of results to return per each request.
|
2320
2416
|
# @return [Integer]
|
2321
2417
|
#
|
2418
|
+
# @!attribute [rw] owner
|
2419
|
+
# Use `SELF` to filter the list of Pools to ones your account owns or
|
2420
|
+
# use `SHARED` to filter on Pools shared with your account. The
|
2421
|
+
# `Owner` and `PoolIds` parameters can't be used at the same time.
|
2422
|
+
# @return [String]
|
2423
|
+
#
|
2322
2424
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePoolsRequest AWS API Documentation
|
2323
2425
|
#
|
2324
2426
|
class DescribePoolsRequest < Struct.new(
|
2325
2427
|
:pool_ids,
|
2326
2428
|
:filters,
|
2327
2429
|
:next_token,
|
2328
|
-
:max_results
|
2430
|
+
:max_results,
|
2431
|
+
:owner)
|
2329
2432
|
SENSITIVE = []
|
2330
2433
|
include Aws::Structure
|
2331
2434
|
end
|
@@ -2787,6 +2890,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2787
2890
|
|
2788
2891
|
# @!attribute [rw] sender_ids
|
2789
2892
|
# An array of SenderIdAndCountry objects to search for.
|
2893
|
+
#
|
2894
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
2895
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2790
2896
|
# @return [Array<Types::SenderIdAndCountry>]
|
2791
2897
|
#
|
2792
2898
|
# @!attribute [rw] filters
|
@@ -2802,13 +2908,21 @@ module Aws::PinpointSMSVoiceV2
|
|
2802
2908
|
# The maximum number of results to return per each request.
|
2803
2909
|
# @return [Integer]
|
2804
2910
|
#
|
2911
|
+
# @!attribute [rw] owner
|
2912
|
+
# Use `SELF` to filter the list of Sender Ids to ones your account
|
2913
|
+
# owns or use `SHARED` to filter on Sender Ids shared with your
|
2914
|
+
# account. The `Owner` and `SenderIds` parameters can't be used at
|
2915
|
+
# the same time.
|
2916
|
+
# @return [String]
|
2917
|
+
#
|
2805
2918
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSenderIdsRequest AWS API Documentation
|
2806
2919
|
#
|
2807
2920
|
class DescribeSenderIdsRequest < Struct.new(
|
2808
2921
|
:sender_ids,
|
2809
2922
|
:filters,
|
2810
2923
|
:next_token,
|
2811
|
-
:max_results
|
2924
|
+
:max_results,
|
2925
|
+
:owner)
|
2812
2926
|
SENSITIVE = []
|
2813
2927
|
include Aws::Structure
|
2814
2928
|
end
|
@@ -2925,6 +3039,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2925
3039
|
# The unique identifier for the pool to disassociate with the
|
2926
3040
|
# origination identity. This value can be either the PoolId or
|
2927
3041
|
# PoolArn.
|
3042
|
+
#
|
3043
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
3044
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2928
3045
|
# @return [String]
|
2929
3046
|
#
|
2930
3047
|
# @!attribute [rw] origination_identity
|
@@ -2933,6 +3050,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2933
3050
|
# DescribePhoneNumbers find the values for PhoneNumberId and
|
2934
3051
|
# PhoneNumberArn, or use DescribeSenderIds to get the values for
|
2935
3052
|
# SenderId and SenderIdArn.
|
3053
|
+
#
|
3054
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
3055
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2936
3056
|
# @return [String]
|
2937
3057
|
#
|
2938
3058
|
# @!attribute [rw] iso_country_code
|
@@ -3209,6 +3329,48 @@ module Aws::PinpointSMSVoiceV2
|
|
3209
3329
|
include Aws::Structure
|
3210
3330
|
end
|
3211
3331
|
|
3332
|
+
# @!attribute [rw] resource_arn
|
3333
|
+
# The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and
|
3334
|
+
# Voice resource attached to the resource-based policy.
|
3335
|
+
# @return [String]
|
3336
|
+
#
|
3337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/GetResourcePolicyRequest AWS API Documentation
|
3338
|
+
#
|
3339
|
+
class GetResourcePolicyRequest < Struct.new(
|
3340
|
+
:resource_arn)
|
3341
|
+
SENSITIVE = []
|
3342
|
+
include Aws::Structure
|
3343
|
+
end
|
3344
|
+
|
3345
|
+
# @!attribute [rw] resource_arn
|
3346
|
+
# The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and
|
3347
|
+
# Voice resource attached to the resource-based policy.
|
3348
|
+
# @return [String]
|
3349
|
+
#
|
3350
|
+
# @!attribute [rw] policy
|
3351
|
+
# The JSON formatted string that contains the resource-based policy
|
3352
|
+
# attached to the AWS End User Messaging SMS and Voice resource.
|
3353
|
+
# @return [String]
|
3354
|
+
#
|
3355
|
+
# @!attribute [rw] created_timestamp
|
3356
|
+
# The time when the resource-based policy was created, in [UNIX epoch
|
3357
|
+
# time][1] format.
|
3358
|
+
#
|
3359
|
+
#
|
3360
|
+
#
|
3361
|
+
# [1]: https://www.epochconverter.com/
|
3362
|
+
# @return [Time]
|
3363
|
+
#
|
3364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/GetResourcePolicyResult AWS API Documentation
|
3365
|
+
#
|
3366
|
+
class GetResourcePolicyResult < Struct.new(
|
3367
|
+
:resource_arn,
|
3368
|
+
:policy,
|
3369
|
+
:created_timestamp)
|
3370
|
+
SENSITIVE = []
|
3371
|
+
include Aws::Structure
|
3372
|
+
end
|
3373
|
+
|
3212
3374
|
# The API encountered an unexpected error and couldn't complete the
|
3213
3375
|
# request. You might be able to successfully issue the request again in
|
3214
3376
|
# the future.
|
@@ -3301,6 +3463,9 @@ module Aws::PinpointSMSVoiceV2
|
|
3301
3463
|
# @!attribute [rw] pool_id
|
3302
3464
|
# The unique identifier for the pool. This value can be either the
|
3303
3465
|
# PoolId or PoolArn.
|
3466
|
+
#
|
3467
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
3468
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
3304
3469
|
# @return [String]
|
3305
3470
|
#
|
3306
3471
|
# @!attribute [rw] filters
|
@@ -3918,6 +4083,9 @@ module Aws::PinpointSMSVoiceV2
|
|
3918
4083
|
# DescribePhoneNumbers get the values for PhoneNumberId and
|
3919
4084
|
# PhoneNumberArn while DescribeSenderIds can be used to get the values
|
3920
4085
|
# for SenderId and SenderIdArn.
|
4086
|
+
#
|
4087
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
4088
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
3921
4089
|
# @return [String]
|
3922
4090
|
#
|
3923
4091
|
# @!attribute [rw] keyword
|
@@ -3983,6 +4151,9 @@ module Aws::PinpointSMSVoiceV2
|
|
3983
4151
|
|
3984
4152
|
# @!attribute [rw] opt_out_list_name
|
3985
4153
|
# The OptOutListName or OptOutListArn to add the phone number to.
|
4154
|
+
#
|
4155
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
4156
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
3986
4157
|
# @return [String]
|
3987
4158
|
#
|
3988
4159
|
# @!attribute [rw] opted_out_number
|
@@ -4112,6 +4283,52 @@ module Aws::PinpointSMSVoiceV2
|
|
4112
4283
|
include Aws::Structure
|
4113
4284
|
end
|
4114
4285
|
|
4286
|
+
# @!attribute [rw] resource_arn
|
4287
|
+
# The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and
|
4288
|
+
# Voice resource to attach the resource-based policy to.
|
4289
|
+
# @return [String]
|
4290
|
+
#
|
4291
|
+
# @!attribute [rw] policy
|
4292
|
+
# The JSON formatted resource-based policy to attach.
|
4293
|
+
# @return [String]
|
4294
|
+
#
|
4295
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutResourcePolicyRequest AWS API Documentation
|
4296
|
+
#
|
4297
|
+
class PutResourcePolicyRequest < Struct.new(
|
4298
|
+
:resource_arn,
|
4299
|
+
:policy)
|
4300
|
+
SENSITIVE = []
|
4301
|
+
include Aws::Structure
|
4302
|
+
end
|
4303
|
+
|
4304
|
+
# @!attribute [rw] resource_arn
|
4305
|
+
# The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and
|
4306
|
+
# Voice resource attached to the resource-based policy.
|
4307
|
+
# @return [String]
|
4308
|
+
#
|
4309
|
+
# @!attribute [rw] policy
|
4310
|
+
# The JSON formatted Resource Policy.
|
4311
|
+
# @return [String]
|
4312
|
+
#
|
4313
|
+
# @!attribute [rw] created_timestamp
|
4314
|
+
# The time when the resource-based policy was created, in [UNIX epoch
|
4315
|
+
# time][1] format.
|
4316
|
+
#
|
4317
|
+
#
|
4318
|
+
#
|
4319
|
+
# [1]: https://www.epochconverter.com/
|
4320
|
+
# @return [Time]
|
4321
|
+
#
|
4322
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutResourcePolicyResult AWS API Documentation
|
4323
|
+
#
|
4324
|
+
class PutResourcePolicyResult < Struct.new(
|
4325
|
+
:resource_arn,
|
4326
|
+
:policy,
|
4327
|
+
:created_timestamp)
|
4328
|
+
SENSITIVE = []
|
4329
|
+
include Aws::Structure
|
4330
|
+
end
|
4331
|
+
|
4115
4332
|
# The filter definition for filtering registrations that meets a
|
4116
4333
|
# specified criteria.
|
4117
4334
|
#
|
@@ -4801,6 +5018,9 @@ module Aws::PinpointSMSVoiceV2
|
|
4801
5018
|
# The PhoneNumberId or PhoneNumberArn of the phone number to release.
|
4802
5019
|
# You can use DescribePhoneNumbers to get the values for PhoneNumberId
|
4803
5020
|
# and PhoneNumberArn.
|
5021
|
+
#
|
5022
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5023
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
4804
5024
|
# @return [String]
|
4805
5025
|
#
|
4806
5026
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleasePhoneNumberRequest AWS API Documentation
|
@@ -5000,11 +5220,17 @@ module Aws::PinpointSMSVoiceV2
|
|
5000
5220
|
# @!attribute [rw] opt_out_list_name
|
5001
5221
|
# The name of the OptOutList to associate with the phone number. You
|
5002
5222
|
# can use the OptOutListName or OptOutListArn.
|
5223
|
+
#
|
5224
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5225
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5003
5226
|
# @return [String]
|
5004
5227
|
#
|
5005
5228
|
# @!attribute [rw] pool_id
|
5006
5229
|
# The pool to associated with the phone number. You can use the PoolId
|
5007
5230
|
# or PoolArn.
|
5231
|
+
#
|
5232
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5233
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5008
5234
|
# @return [String]
|
5009
5235
|
#
|
5010
5236
|
# @!attribute [rw] registration_id
|
@@ -5358,6 +5584,9 @@ module Aws::PinpointSMSVoiceV2
|
|
5358
5584
|
# The origination identity of the message. This can be either the
|
5359
5585
|
# PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn,
|
5360
5586
|
# PoolId, or PoolArn.
|
5587
|
+
#
|
5588
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5589
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5361
5590
|
# @return [String]
|
5362
5591
|
#
|
5363
5592
|
# @!attribute [rw] configuration_set_name
|
@@ -5416,6 +5645,9 @@ module Aws::PinpointSMSVoiceV2
|
|
5416
5645
|
# The origination identity of the message. This can be either the
|
5417
5646
|
# PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn,
|
5418
5647
|
# PoolId, or PoolArn.
|
5648
|
+
#
|
5649
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5650
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5419
5651
|
# @return [String]
|
5420
5652
|
#
|
5421
5653
|
# @!attribute [rw] message_body
|
@@ -5503,6 +5735,9 @@ module Aws::PinpointSMSVoiceV2
|
|
5503
5735
|
# The origination identity of the message. This can be either the
|
5504
5736
|
# PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn,
|
5505
5737
|
# PoolId, or PoolArn.
|
5738
|
+
#
|
5739
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5740
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5506
5741
|
# @return [String]
|
5507
5742
|
#
|
5508
5743
|
# @!attribute [rw] message_body
|
@@ -5624,6 +5859,9 @@ module Aws::PinpointSMSVoiceV2
|
|
5624
5859
|
# @!attribute [rw] origination_identity
|
5625
5860
|
# The origination identity to use for the voice call. This can be the
|
5626
5861
|
# PhoneNumber, PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn.
|
5862
|
+
#
|
5863
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5864
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5627
5865
|
# @return [String]
|
5628
5866
|
#
|
5629
5867
|
# @!attribute [rw] message_body
|
@@ -6376,6 +6614,9 @@ module Aws::PinpointSMSVoiceV2
|
|
6376
6614
|
# @!attribute [rw] phone_number_id
|
6377
6615
|
# The unique identifier of the phone number. Valid values for this
|
6378
6616
|
# field can be either the PhoneNumberId or PhoneNumberArn.
|
6617
|
+
#
|
6618
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
6619
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
6379
6620
|
# @return [String]
|
6380
6621
|
#
|
6381
6622
|
# @!attribute [rw] two_way_enabled
|
@@ -6532,6 +6773,9 @@ module Aws::PinpointSMSVoiceV2
|
|
6532
6773
|
# @!attribute [rw] pool_id
|
6533
6774
|
# The unique identifier of the pool to update. Valid values are either
|
6534
6775
|
# the PoolId or PoolArn.
|
6776
|
+
#
|
6777
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
6778
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
6535
6779
|
# @return [String]
|
6536
6780
|
#
|
6537
6781
|
# @!attribute [rw] two_way_enabled
|
@@ -6561,6 +6805,9 @@ module Aws::PinpointSMSVoiceV2
|
|
6561
6805
|
# @!attribute [rw] opt_out_list_name
|
6562
6806
|
# The OptOutList to associate with the pool. Valid values are either
|
6563
6807
|
# OptOutListName or OptOutListArn.
|
6808
|
+
#
|
6809
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
6810
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
6564
6811
|
# @return [String]
|
6565
6812
|
#
|
6566
6813
|
# @!attribute [rw] shared_routes_enabled
|
@@ -11,6 +11,8 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:pinpointsmsvoicev2)
|
15
|
+
|
14
16
|
# This module provides support for Amazon Pinpoint SMS Voice V2. This module is available in the
|
15
17
|
# `aws-sdk-pinpointsmsvoicev2` gem.
|
16
18
|
#
|
@@ -53,7 +55,7 @@ module Aws::PinpointSMSVoiceV2
|
|
53
55
|
autoload :EndpointProvider, 'aws-sdk-pinpointsmsvoicev2/endpoint_provider'
|
54
56
|
autoload :Endpoints, 'aws-sdk-pinpointsmsvoicev2/endpoints'
|
55
57
|
|
56
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.28.0'
|
57
59
|
|
58
60
|
end
|
59
61
|
|