aws-sdk-pinpointsmsvoicev2 1.45.0 → 1.47.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpointsmsvoicev2/client.rb +198 -119
- data/lib/aws-sdk-pinpointsmsvoicev2/client_api.rb +34 -0
- data/lib/aws-sdk-pinpointsmsvoicev2/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-pinpointsmsvoicev2/types.rb +208 -124
- data/lib/aws-sdk-pinpointsmsvoicev2.rb +1 -1
- data/sig/client.rbs +17 -0
- data/sig/types.rbs +17 -0
- metadata +1 -1
|
@@ -32,6 +32,9 @@ module Aws::PinpointSMSVoiceV2
|
|
|
32
32
|
AttachmentUploadErrorReason = Shapes::StringShape.new(name: 'AttachmentUploadErrorReason')
|
|
33
33
|
AttachmentUrl = Shapes::StringShape.new(name: 'AttachmentUrl')
|
|
34
34
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
35
|
+
CarrierLookupInputPhoneNumberType = Shapes::StringShape.new(name: 'CarrierLookupInputPhoneNumberType')
|
|
36
|
+
CarrierLookupRequest = Shapes::StructureShape.new(name: 'CarrierLookupRequest')
|
|
37
|
+
CarrierLookupResult = Shapes::StructureShape.new(name: 'CarrierLookupResult')
|
|
35
38
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
36
39
|
CloudWatchLogsDestination = Shapes::StructureShape.new(name: 'CloudWatchLogsDestination')
|
|
37
40
|
ConfigurationSetFilter = Shapes::StructureShape.new(name: 'ConfigurationSetFilter')
|
|
@@ -148,12 +151,14 @@ module Aws::PinpointSMSVoiceV2
|
|
|
148
151
|
DestinationCountryParameterValue = Shapes::StringShape.new(name: 'DestinationCountryParameterValue')
|
|
149
152
|
DestinationCountryParameters = Shapes::MapShape.new(name: 'DestinationCountryParameters')
|
|
150
153
|
DestinationPhoneNumberList = Shapes::ListShape.new(name: 'DestinationPhoneNumberList')
|
|
154
|
+
DialingCountryCodeType = Shapes::StringShape.new(name: 'DialingCountryCodeType')
|
|
151
155
|
DisassociateOriginationIdentityRequest = Shapes::StructureShape.new(name: 'DisassociateOriginationIdentityRequest')
|
|
152
156
|
DisassociateOriginationIdentityResult = Shapes::StructureShape.new(name: 'DisassociateOriginationIdentityResult')
|
|
153
157
|
DisassociateProtectConfigurationRequest = Shapes::StructureShape.new(name: 'DisassociateProtectConfigurationRequest')
|
|
154
158
|
DisassociateProtectConfigurationResult = Shapes::StructureShape.new(name: 'DisassociateProtectConfigurationResult')
|
|
155
159
|
DiscardRegistrationVersionRequest = Shapes::StructureShape.new(name: 'DiscardRegistrationVersionRequest')
|
|
156
160
|
DiscardRegistrationVersionResult = Shapes::StructureShape.new(name: 'DiscardRegistrationVersionResult')
|
|
161
|
+
E164PhoneNumberType = Shapes::StringShape.new(name: 'E164PhoneNumberType')
|
|
157
162
|
EventDestination = Shapes::StructureShape.new(name: 'EventDestination')
|
|
158
163
|
EventDestinationList = Shapes::ListShape.new(name: 'EventDestinationList')
|
|
159
164
|
EventDestinationName = Shapes::StringShape.new(name: 'EventDestinationName')
|
|
@@ -194,6 +199,8 @@ module Aws::PinpointSMSVoiceV2
|
|
|
194
199
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
195
200
|
ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
|
|
196
201
|
LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
|
|
202
|
+
MCCType = Shapes::StringShape.new(name: 'MCCType')
|
|
203
|
+
MNCType = Shapes::StringShape.new(name: 'MNCType')
|
|
197
204
|
MaxPrice = Shapes::StringShape.new(name: 'MaxPrice')
|
|
198
205
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
199
206
|
MediaMessageOriginationIdentity = Shapes::StringShape.new(name: 'MediaMessageOriginationIdentity')
|
|
@@ -232,6 +239,7 @@ module Aws::PinpointSMSVoiceV2
|
|
|
232
239
|
PhoneNumberIdOrArn = Shapes::StringShape.new(name: 'PhoneNumberIdOrArn')
|
|
233
240
|
PhoneNumberInformation = Shapes::StructureShape.new(name: 'PhoneNumberInformation')
|
|
234
241
|
PhoneNumberInformationList = Shapes::ListShape.new(name: 'PhoneNumberInformationList')
|
|
242
|
+
PhoneNumberType = Shapes::StringShape.new(name: 'PhoneNumberType')
|
|
235
243
|
PhoneOrPoolIdOrArn = Shapes::StringShape.new(name: 'PhoneOrPoolIdOrArn')
|
|
236
244
|
PhoneOrSenderIdOrArn = Shapes::StringShape.new(name: 'PhoneOrSenderIdOrArn')
|
|
237
245
|
PoolFilter = Shapes::StructureShape.new(name: 'PoolFilter')
|
|
@@ -481,6 +489,19 @@ module Aws::PinpointSMSVoiceV2
|
|
|
481
489
|
AssociateProtectConfigurationResult.add_member(:protect_configuration_id, Shapes::ShapeRef.new(shape: ProtectConfigurationId, required: true, location_name: "ProtectConfigurationId"))
|
|
482
490
|
AssociateProtectConfigurationResult.struct_class = Types::AssociateProtectConfigurationResult
|
|
483
491
|
|
|
492
|
+
CarrierLookupRequest.add_member(:phone_number, Shapes::ShapeRef.new(shape: CarrierLookupInputPhoneNumberType, required: true, location_name: "PhoneNumber"))
|
|
493
|
+
CarrierLookupRequest.struct_class = Types::CarrierLookupRequest
|
|
494
|
+
|
|
495
|
+
CarrierLookupResult.add_member(:e164_phone_number, Shapes::ShapeRef.new(shape: E164PhoneNumberType, required: true, location_name: "E164PhoneNumber"))
|
|
496
|
+
CarrierLookupResult.add_member(:dialing_country_code, Shapes::ShapeRef.new(shape: DialingCountryCodeType, location_name: "DialingCountryCode"))
|
|
497
|
+
CarrierLookupResult.add_member(:iso_country_code, Shapes::ShapeRef.new(shape: IsoCountryCode, location_name: "IsoCountryCode"))
|
|
498
|
+
CarrierLookupResult.add_member(:country, Shapes::ShapeRef.new(shape: String, location_name: "Country"))
|
|
499
|
+
CarrierLookupResult.add_member(:mcc, Shapes::ShapeRef.new(shape: MCCType, location_name: "MCC"))
|
|
500
|
+
CarrierLookupResult.add_member(:mnc, Shapes::ShapeRef.new(shape: MNCType, location_name: "MNC"))
|
|
501
|
+
CarrierLookupResult.add_member(:carrier, Shapes::ShapeRef.new(shape: String, location_name: "Carrier"))
|
|
502
|
+
CarrierLookupResult.add_member(:phone_number_type, Shapes::ShapeRef.new(shape: PhoneNumberType, required: true, location_name: "PhoneNumberType"))
|
|
503
|
+
CarrierLookupResult.struct_class = Types::CarrierLookupResult
|
|
504
|
+
|
|
484
505
|
CloudWatchLogsDestination.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "IamRoleArn"))
|
|
485
506
|
CloudWatchLogsDestination.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, required: true, location_name: "LogGroupArn"))
|
|
486
507
|
CloudWatchLogsDestination.struct_class = Types::CloudWatchLogsDestination
|
|
@@ -2050,6 +2071,19 @@ module Aws::PinpointSMSVoiceV2
|
|
|
2050
2071
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
2051
2072
|
end)
|
|
2052
2073
|
|
|
2074
|
+
api.add_operation(:carrier_lookup, Seahorse::Model::Operation.new.tap do |o|
|
|
2075
|
+
o.name = "CarrierLookup"
|
|
2076
|
+
o.http_method = "POST"
|
|
2077
|
+
o.http_request_uri = "/"
|
|
2078
|
+
o.input = Shapes::ShapeRef.new(shape: CarrierLookupRequest)
|
|
2079
|
+
o.output = Shapes::ShapeRef.new(shape: CarrierLookupResult)
|
|
2080
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
2081
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
2082
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2083
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2084
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
2085
|
+
end)
|
|
2086
|
+
|
|
2053
2087
|
api.add_operation(:create_configuration_set, Seahorse::Model::Operation.new.tap do |o|
|
|
2054
2088
|
o.name = "CreateConfigurationSet"
|
|
2055
2089
|
o.http_method = "POST"
|
|
@@ -13,22 +13,22 @@ module Aws::PinpointSMSVoiceV2
|
|
|
13
13
|
# @!attribute region
|
|
14
14
|
# The AWS region used to dispatch the request.
|
|
15
15
|
#
|
|
16
|
-
# @return [
|
|
16
|
+
# @return [string]
|
|
17
17
|
#
|
|
18
18
|
# @!attribute use_dual_stack
|
|
19
19
|
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
|
20
20
|
#
|
|
21
|
-
# @return [
|
|
21
|
+
# @return [boolean]
|
|
22
22
|
#
|
|
23
23
|
# @!attribute use_fips
|
|
24
24
|
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
|
25
25
|
#
|
|
26
|
-
# @return [
|
|
26
|
+
# @return [boolean]
|
|
27
27
|
#
|
|
28
28
|
# @!attribute endpoint
|
|
29
29
|
# Override the endpoint used to send this request
|
|
30
30
|
#
|
|
31
|
-
# @return [
|
|
31
|
+
# @return [string]
|
|
32
32
|
#
|
|
33
33
|
EndpointParameters = Struct.new(
|
|
34
34
|
:region,
|