aws-sdk-pinpointsmsvoicev2 1.26.0 → 1.27.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpointsmsvoicev2/client.rb +227 -3
- 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 +248 -4
- data/lib/aws-sdk-pinpointsmsvoicev2.rb +3 -1
- data/sig/client.rbs +45 -4
- data/sig/types.rbs +43 -2
- 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
|
@@ -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,6 +2268,9 @@ 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
|
@@ -2256,6 +2335,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2256
2335
|
# The unique identifier of phone numbers to find information about.
|
2257
2336
|
# This is an array of strings that can be either the PhoneNumberId or
|
2258
2337
|
# PhoneNumberArn.
|
2338
|
+
#
|
2339
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
2340
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2259
2341
|
# @return [Array<String>]
|
2260
2342
|
#
|
2261
2343
|
# @!attribute [rw] filters
|
@@ -2271,13 +2353,21 @@ module Aws::PinpointSMSVoiceV2
|
|
2271
2353
|
# The maximum number of results to return per each request.
|
2272
2354
|
# @return [Integer]
|
2273
2355
|
#
|
2356
|
+
# @!attribute [rw] owner
|
2357
|
+
# Use `SELF` to filter the list of phone numbers to ones your account
|
2358
|
+
# owns or use `SHARED` to filter on phone numbers shared with your
|
2359
|
+
# account. The `Owner` and `PhoneNumberIds` parameters can't be used
|
2360
|
+
# at the same time.
|
2361
|
+
# @return [String]
|
2362
|
+
#
|
2274
2363
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePhoneNumbersRequest AWS API Documentation
|
2275
2364
|
#
|
2276
2365
|
class DescribePhoneNumbersRequest < Struct.new(
|
2277
2366
|
:phone_number_ids,
|
2278
2367
|
:filters,
|
2279
2368
|
:next_token,
|
2280
|
-
:max_results
|
2369
|
+
:max_results,
|
2370
|
+
:owner)
|
2281
2371
|
SENSITIVE = []
|
2282
2372
|
include Aws::Structure
|
2283
2373
|
end
|
@@ -2304,6 +2394,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2304
2394
|
# @!attribute [rw] pool_ids
|
2305
2395
|
# The unique identifier of pools to find. This is an array of strings
|
2306
2396
|
# that can be either the PoolId or PoolArn.
|
2397
|
+
#
|
2398
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
2399
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2307
2400
|
# @return [Array<String>]
|
2308
2401
|
#
|
2309
2402
|
# @!attribute [rw] filters
|
@@ -2319,13 +2412,20 @@ module Aws::PinpointSMSVoiceV2
|
|
2319
2412
|
# The maximum number of results to return per each request.
|
2320
2413
|
# @return [Integer]
|
2321
2414
|
#
|
2415
|
+
# @!attribute [rw] owner
|
2416
|
+
# Use `SELF` to filter the list of Pools to ones your account owns or
|
2417
|
+
# use `SHARED` to filter on Pools shared with your account. The
|
2418
|
+
# `Owner` and `PoolIds` parameters can't be used at the same time.
|
2419
|
+
# @return [String]
|
2420
|
+
#
|
2322
2421
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePoolsRequest AWS API Documentation
|
2323
2422
|
#
|
2324
2423
|
class DescribePoolsRequest < Struct.new(
|
2325
2424
|
:pool_ids,
|
2326
2425
|
:filters,
|
2327
2426
|
:next_token,
|
2328
|
-
:max_results
|
2427
|
+
:max_results,
|
2428
|
+
:owner)
|
2329
2429
|
SENSITIVE = []
|
2330
2430
|
include Aws::Structure
|
2331
2431
|
end
|
@@ -2787,6 +2887,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2787
2887
|
|
2788
2888
|
# @!attribute [rw] sender_ids
|
2789
2889
|
# An array of SenderIdAndCountry objects to search for.
|
2890
|
+
#
|
2891
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
2892
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2790
2893
|
# @return [Array<Types::SenderIdAndCountry>]
|
2791
2894
|
#
|
2792
2895
|
# @!attribute [rw] filters
|
@@ -2802,13 +2905,21 @@ module Aws::PinpointSMSVoiceV2
|
|
2802
2905
|
# The maximum number of results to return per each request.
|
2803
2906
|
# @return [Integer]
|
2804
2907
|
#
|
2908
|
+
# @!attribute [rw] owner
|
2909
|
+
# Use `SELF` to filter the list of Sender Ids to ones your account
|
2910
|
+
# owns or use `SHARED` to filter on Sender Ids shared with your
|
2911
|
+
# account. The `Owner` and `SenderIds` parameters can't be used at
|
2912
|
+
# the same time.
|
2913
|
+
# @return [String]
|
2914
|
+
#
|
2805
2915
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSenderIdsRequest AWS API Documentation
|
2806
2916
|
#
|
2807
2917
|
class DescribeSenderIdsRequest < Struct.new(
|
2808
2918
|
:sender_ids,
|
2809
2919
|
:filters,
|
2810
2920
|
:next_token,
|
2811
|
-
:max_results
|
2921
|
+
:max_results,
|
2922
|
+
:owner)
|
2812
2923
|
SENSITIVE = []
|
2813
2924
|
include Aws::Structure
|
2814
2925
|
end
|
@@ -2925,6 +3036,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2925
3036
|
# The unique identifier for the pool to disassociate with the
|
2926
3037
|
# origination identity. This value can be either the PoolId or
|
2927
3038
|
# PoolArn.
|
3039
|
+
#
|
3040
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
3041
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2928
3042
|
# @return [String]
|
2929
3043
|
#
|
2930
3044
|
# @!attribute [rw] origination_identity
|
@@ -2933,6 +3047,9 @@ module Aws::PinpointSMSVoiceV2
|
|
2933
3047
|
# DescribePhoneNumbers find the values for PhoneNumberId and
|
2934
3048
|
# PhoneNumberArn, or use DescribeSenderIds to get the values for
|
2935
3049
|
# SenderId and SenderIdArn.
|
3050
|
+
#
|
3051
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
3052
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
2936
3053
|
# @return [String]
|
2937
3054
|
#
|
2938
3055
|
# @!attribute [rw] iso_country_code
|
@@ -3209,6 +3326,48 @@ module Aws::PinpointSMSVoiceV2
|
|
3209
3326
|
include Aws::Structure
|
3210
3327
|
end
|
3211
3328
|
|
3329
|
+
# @!attribute [rw] resource_arn
|
3330
|
+
# The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and
|
3331
|
+
# Voice resource attached to the resource-based policy.
|
3332
|
+
# @return [String]
|
3333
|
+
#
|
3334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/GetResourcePolicyRequest AWS API Documentation
|
3335
|
+
#
|
3336
|
+
class GetResourcePolicyRequest < Struct.new(
|
3337
|
+
:resource_arn)
|
3338
|
+
SENSITIVE = []
|
3339
|
+
include Aws::Structure
|
3340
|
+
end
|
3341
|
+
|
3342
|
+
# @!attribute [rw] resource_arn
|
3343
|
+
# The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and
|
3344
|
+
# Voice resource attached to the resource-based policy.
|
3345
|
+
# @return [String]
|
3346
|
+
#
|
3347
|
+
# @!attribute [rw] policy
|
3348
|
+
# The JSON formatted string that contains the resource-based policy
|
3349
|
+
# attached to the AWS End User Messaging SMS and Voice resource.
|
3350
|
+
# @return [String]
|
3351
|
+
#
|
3352
|
+
# @!attribute [rw] created_timestamp
|
3353
|
+
# The time when the resource-based policy was created, in [UNIX epoch
|
3354
|
+
# time][1] format.
|
3355
|
+
#
|
3356
|
+
#
|
3357
|
+
#
|
3358
|
+
# [1]: https://www.epochconverter.com/
|
3359
|
+
# @return [Time]
|
3360
|
+
#
|
3361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/GetResourcePolicyResult AWS API Documentation
|
3362
|
+
#
|
3363
|
+
class GetResourcePolicyResult < Struct.new(
|
3364
|
+
:resource_arn,
|
3365
|
+
:policy,
|
3366
|
+
:created_timestamp)
|
3367
|
+
SENSITIVE = []
|
3368
|
+
include Aws::Structure
|
3369
|
+
end
|
3370
|
+
|
3212
3371
|
# The API encountered an unexpected error and couldn't complete the
|
3213
3372
|
# request. You might be able to successfully issue the request again in
|
3214
3373
|
# the future.
|
@@ -3301,6 +3460,9 @@ module Aws::PinpointSMSVoiceV2
|
|
3301
3460
|
# @!attribute [rw] pool_id
|
3302
3461
|
# The unique identifier for the pool. This value can be either the
|
3303
3462
|
# PoolId or PoolArn.
|
3463
|
+
#
|
3464
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
3465
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
3304
3466
|
# @return [String]
|
3305
3467
|
#
|
3306
3468
|
# @!attribute [rw] filters
|
@@ -3918,6 +4080,9 @@ module Aws::PinpointSMSVoiceV2
|
|
3918
4080
|
# DescribePhoneNumbers get the values for PhoneNumberId and
|
3919
4081
|
# PhoneNumberArn while DescribeSenderIds can be used to get the values
|
3920
4082
|
# for SenderId and SenderIdArn.
|
4083
|
+
#
|
4084
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
4085
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
3921
4086
|
# @return [String]
|
3922
4087
|
#
|
3923
4088
|
# @!attribute [rw] keyword
|
@@ -3983,6 +4148,9 @@ module Aws::PinpointSMSVoiceV2
|
|
3983
4148
|
|
3984
4149
|
# @!attribute [rw] opt_out_list_name
|
3985
4150
|
# The OptOutListName or OptOutListArn to add the phone number to.
|
4151
|
+
#
|
4152
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
4153
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
3986
4154
|
# @return [String]
|
3987
4155
|
#
|
3988
4156
|
# @!attribute [rw] opted_out_number
|
@@ -4112,6 +4280,52 @@ module Aws::PinpointSMSVoiceV2
|
|
4112
4280
|
include Aws::Structure
|
4113
4281
|
end
|
4114
4282
|
|
4283
|
+
# @!attribute [rw] resource_arn
|
4284
|
+
# The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and
|
4285
|
+
# Voice resource to attach the resource-based policy to.
|
4286
|
+
# @return [String]
|
4287
|
+
#
|
4288
|
+
# @!attribute [rw] policy
|
4289
|
+
# The JSON formatted resource-based policy to attach.
|
4290
|
+
# @return [String]
|
4291
|
+
#
|
4292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutResourcePolicyRequest AWS API Documentation
|
4293
|
+
#
|
4294
|
+
class PutResourcePolicyRequest < Struct.new(
|
4295
|
+
:resource_arn,
|
4296
|
+
:policy)
|
4297
|
+
SENSITIVE = []
|
4298
|
+
include Aws::Structure
|
4299
|
+
end
|
4300
|
+
|
4301
|
+
# @!attribute [rw] resource_arn
|
4302
|
+
# The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and
|
4303
|
+
# Voice resource attached to the resource-based policy.
|
4304
|
+
# @return [String]
|
4305
|
+
#
|
4306
|
+
# @!attribute [rw] policy
|
4307
|
+
# The JSON formatted Resource Policy.
|
4308
|
+
# @return [String]
|
4309
|
+
#
|
4310
|
+
# @!attribute [rw] created_timestamp
|
4311
|
+
# The time when the resource-based policy was created, in [UNIX epoch
|
4312
|
+
# time][1] format.
|
4313
|
+
#
|
4314
|
+
#
|
4315
|
+
#
|
4316
|
+
# [1]: https://www.epochconverter.com/
|
4317
|
+
# @return [Time]
|
4318
|
+
#
|
4319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutResourcePolicyResult AWS API Documentation
|
4320
|
+
#
|
4321
|
+
class PutResourcePolicyResult < Struct.new(
|
4322
|
+
:resource_arn,
|
4323
|
+
:policy,
|
4324
|
+
:created_timestamp)
|
4325
|
+
SENSITIVE = []
|
4326
|
+
include Aws::Structure
|
4327
|
+
end
|
4328
|
+
|
4115
4329
|
# The filter definition for filtering registrations that meets a
|
4116
4330
|
# specified criteria.
|
4117
4331
|
#
|
@@ -4801,6 +5015,9 @@ module Aws::PinpointSMSVoiceV2
|
|
4801
5015
|
# The PhoneNumberId or PhoneNumberArn of the phone number to release.
|
4802
5016
|
# You can use DescribePhoneNumbers to get the values for PhoneNumberId
|
4803
5017
|
# and PhoneNumberArn.
|
5018
|
+
#
|
5019
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5020
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
4804
5021
|
# @return [String]
|
4805
5022
|
#
|
4806
5023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleasePhoneNumberRequest AWS API Documentation
|
@@ -5000,11 +5217,17 @@ module Aws::PinpointSMSVoiceV2
|
|
5000
5217
|
# @!attribute [rw] opt_out_list_name
|
5001
5218
|
# The name of the OptOutList to associate with the phone number. You
|
5002
5219
|
# can use the OptOutListName or OptOutListArn.
|
5220
|
+
#
|
5221
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5222
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5003
5223
|
# @return [String]
|
5004
5224
|
#
|
5005
5225
|
# @!attribute [rw] pool_id
|
5006
5226
|
# The pool to associated with the phone number. You can use the PoolId
|
5007
5227
|
# or PoolArn.
|
5228
|
+
#
|
5229
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5230
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5008
5231
|
# @return [String]
|
5009
5232
|
#
|
5010
5233
|
# @!attribute [rw] registration_id
|
@@ -5358,6 +5581,9 @@ module Aws::PinpointSMSVoiceV2
|
|
5358
5581
|
# The origination identity of the message. This can be either the
|
5359
5582
|
# PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn,
|
5360
5583
|
# PoolId, or PoolArn.
|
5584
|
+
#
|
5585
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5586
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5361
5587
|
# @return [String]
|
5362
5588
|
#
|
5363
5589
|
# @!attribute [rw] configuration_set_name
|
@@ -5416,6 +5642,9 @@ module Aws::PinpointSMSVoiceV2
|
|
5416
5642
|
# The origination identity of the message. This can be either the
|
5417
5643
|
# PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn,
|
5418
5644
|
# PoolId, or PoolArn.
|
5645
|
+
#
|
5646
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5647
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5419
5648
|
# @return [String]
|
5420
5649
|
#
|
5421
5650
|
# @!attribute [rw] message_body
|
@@ -5503,6 +5732,9 @@ module Aws::PinpointSMSVoiceV2
|
|
5503
5732
|
# The origination identity of the message. This can be either the
|
5504
5733
|
# PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn,
|
5505
5734
|
# PoolId, or PoolArn.
|
5735
|
+
#
|
5736
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5737
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5506
5738
|
# @return [String]
|
5507
5739
|
#
|
5508
5740
|
# @!attribute [rw] message_body
|
@@ -5624,6 +5856,9 @@ module Aws::PinpointSMSVoiceV2
|
|
5624
5856
|
# @!attribute [rw] origination_identity
|
5625
5857
|
# The origination identity to use for the voice call. This can be the
|
5626
5858
|
# PhoneNumber, PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn.
|
5859
|
+
#
|
5860
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
5861
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
5627
5862
|
# @return [String]
|
5628
5863
|
#
|
5629
5864
|
# @!attribute [rw] message_body
|
@@ -6376,6 +6611,9 @@ module Aws::PinpointSMSVoiceV2
|
|
6376
6611
|
# @!attribute [rw] phone_number_id
|
6377
6612
|
# The unique identifier of the phone number. Valid values for this
|
6378
6613
|
# field can be either the PhoneNumberId or PhoneNumberArn.
|
6614
|
+
#
|
6615
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
6616
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
6379
6617
|
# @return [String]
|
6380
6618
|
#
|
6381
6619
|
# @!attribute [rw] two_way_enabled
|
@@ -6532,6 +6770,9 @@ module Aws::PinpointSMSVoiceV2
|
|
6532
6770
|
# @!attribute [rw] pool_id
|
6533
6771
|
# The unique identifier of the pool to update. Valid values are either
|
6534
6772
|
# the PoolId or PoolArn.
|
6773
|
+
#
|
6774
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
6775
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
6535
6776
|
# @return [String]
|
6536
6777
|
#
|
6537
6778
|
# @!attribute [rw] two_way_enabled
|
@@ -6561,6 +6802,9 @@ module Aws::PinpointSMSVoiceV2
|
|
6561
6802
|
# @!attribute [rw] opt_out_list_name
|
6562
6803
|
# The OptOutList to associate with the pool. Valid values are either
|
6563
6804
|
# OptOutListName or OptOutListArn.
|
6805
|
+
#
|
6806
|
+
# If you are using a shared AWS End User Messaging SMS and Voice
|
6807
|
+
# resource then you must use the full Amazon Resource Name(ARN).
|
6564
6808
|
# @return [String]
|
6565
6809
|
#
|
6566
6810
|
# @!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.27.0'
|
57
59
|
|
58
60
|
end
|
59
61
|
|
data/sig/client.rbs
CHANGED
@@ -523,6 +523,18 @@ module Aws
|
|
523
523
|
) -> _DeleteRegistrationFieldValueResponseSuccess
|
524
524
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRegistrationFieldValueResponseSuccess
|
525
525
|
|
526
|
+
interface _DeleteResourcePolicyResponseSuccess
|
527
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResult]
|
528
|
+
def resource_arn: () -> ::String
|
529
|
+
def policy: () -> ::String
|
530
|
+
def created_timestamp: () -> ::Time
|
531
|
+
end
|
532
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#delete_resource_policy-instance_method
|
533
|
+
def delete_resource_policy: (
|
534
|
+
resource_arn: ::String
|
535
|
+
) -> _DeleteResourcePolicyResponseSuccess
|
536
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
|
537
|
+
|
526
538
|
interface _DeleteTextMessageSpendLimitOverrideResponseSuccess
|
527
539
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTextMessageSpendLimitOverrideResult]
|
528
540
|
def monthly_limit: () -> ::Integer
|
@@ -628,7 +640,8 @@ module Aws
|
|
628
640
|
def describe_opt_out_lists: (
|
629
641
|
?opt_out_list_names: Array[::String],
|
630
642
|
?next_token: ::String,
|
631
|
-
?max_results: ::Integer
|
643
|
+
?max_results: ::Integer,
|
644
|
+
?owner: ("SELF" | "SHARED")
|
632
645
|
) -> _DescribeOptOutListsResponseSuccess
|
633
646
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeOptOutListsResponseSuccess
|
634
647
|
|
@@ -669,7 +682,8 @@ module Aws
|
|
669
682
|
},
|
670
683
|
],
|
671
684
|
?next_token: ::String,
|
672
|
-
?max_results: ::Integer
|
685
|
+
?max_results: ::Integer,
|
686
|
+
?owner: ("SELF" | "SHARED")
|
673
687
|
) -> _DescribePhoneNumbersResponseSuccess
|
674
688
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePhoneNumbersResponseSuccess
|
675
689
|
|
@@ -688,7 +702,8 @@ module Aws
|
|
688
702
|
},
|
689
703
|
],
|
690
704
|
?next_token: ::String,
|
691
|
-
?max_results: ::Integer
|
705
|
+
?max_results: ::Integer,
|
706
|
+
?owner: ("SELF" | "SHARED")
|
692
707
|
) -> _DescribePoolsResponseSuccess
|
693
708
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePoolsResponseSuccess
|
694
709
|
|
@@ -860,7 +875,8 @@ module Aws
|
|
860
875
|
},
|
861
876
|
],
|
862
877
|
?next_token: ::String,
|
863
|
-
?max_results: ::Integer
|
878
|
+
?max_results: ::Integer,
|
879
|
+
?owner: ("SELF" | "SHARED")
|
864
880
|
) -> _DescribeSenderIdsResponseSuccess
|
865
881
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSenderIdsResponseSuccess
|
866
882
|
|
@@ -955,6 +971,18 @@ module Aws
|
|
955
971
|
) -> _GetProtectConfigurationCountryRuleSetResponseSuccess
|
956
972
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProtectConfigurationCountryRuleSetResponseSuccess
|
957
973
|
|
974
|
+
interface _GetResourcePolicyResponseSuccess
|
975
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResult]
|
976
|
+
def resource_arn: () -> ::String
|
977
|
+
def policy: () -> ::String
|
978
|
+
def created_timestamp: () -> ::Time
|
979
|
+
end
|
980
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#get_resource_policy-instance_method
|
981
|
+
def get_resource_policy: (
|
982
|
+
resource_arn: ::String
|
983
|
+
) -> _GetResourcePolicyResponseSuccess
|
984
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
985
|
+
|
958
986
|
interface _ListPoolOriginationIdentitiesResponseSuccess
|
959
987
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListPoolOriginationIdentitiesResult]
|
960
988
|
def pool_arn: () -> ::String
|
@@ -1061,6 +1089,19 @@ module Aws
|
|
1061
1089
|
) -> _PutRegistrationFieldValueResponseSuccess
|
1062
1090
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRegistrationFieldValueResponseSuccess
|
1063
1091
|
|
1092
|
+
interface _PutResourcePolicyResponseSuccess
|
1093
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResult]
|
1094
|
+
def resource_arn: () -> ::String
|
1095
|
+
def policy: () -> ::String
|
1096
|
+
def created_timestamp: () -> ::Time
|
1097
|
+
end
|
1098
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoiceV2/Client.html#put_resource_policy-instance_method
|
1099
|
+
def put_resource_policy: (
|
1100
|
+
resource_arn: ::String,
|
1101
|
+
policy: ::String
|
1102
|
+
) -> _PutResourcePolicyResponseSuccess
|
1103
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
1104
|
+
|
1064
1105
|
interface _ReleasePhoneNumberResponseSuccess
|
1065
1106
|
include ::Seahorse::Client::_ResponseSuccess[Types::ReleasePhoneNumberResult]
|
1066
1107
|
def phone_number_arn: () -> ::String
|