aws-sdk-pinpointsmsvoice 1.43.0 → 1.45.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: fd34b021022aa4ddece437f2fcce8d775f41ae71072ab1110245c14c33ce0017
4
- data.tar.gz: 9a41dcc65a5d7ff7b19e0041e9206849006989b16e00687f291312892b3194b2
3
+ metadata.gz: c36cbee7ef75da0e00fab030ad99c4ebf5fdbba448629066a2047178c3f8b686
4
+ data.tar.gz: ce9b78b89c5d1eec165fb4c372e1195b1727b50d46820945e9e3ba2cde1319ac
5
5
  SHA512:
6
- metadata.gz: f5ef9bc194d79ac44b19dbaa94e175e74863b8ff4abcd7294dc288d6245c50d98776d0a2b74e031ecf18f1bf7727f8b90beba8d2d90bc6c531e4c4631ea6e401
7
- data.tar.gz: b564a12a9078fb316d4443bfa5311c862edf91e1fac5147ac5feb597e666003bd7b324b81b5d6b95ffdea5af8d11e97a7f252d0a9aed892b410925e6a7884c6e
6
+ metadata.gz: 13b9d0b52dc9abf806f653f1f5a4b7e692eddc944e75b4f2a3fb054106601cee1397adbfdcad175c69697e25bb71756a4f4040f52ec550f3f5a93c6c30f716cd
7
+ data.tar.gz: 6950078c1abf086662210767bf0fe8af10257613f2d1d5937300a445a0981594977028a8bf61651fef3a02981ab02aba3574c6fe3d6918ed643500dbc8482264
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.44.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.43.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.45.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::PinpointSMSVoice
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::PinpointSMSVoice
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::PinpointSMSVoice
337
346
  # @option options [Aws::PinpointSMSVoice::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::PinpointSMSVoice::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
365
399
  #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
368
402
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
372
405
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
378
- #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -693,7 +717,7 @@ module Aws::PinpointSMSVoice
693
717
  params: params,
694
718
  config: config)
695
719
  context[:gem_name] = 'aws-sdk-pinpointsmsvoice'
696
- context[:gem_version] = '1.43.0'
720
+ context[:gem_version] = '1.45.0'
697
721
  Seahorse::Client::Request.new(handlers, context)
698
722
  end
699
723
 
@@ -14,6 +14,7 @@ module Aws::PinpointSMSVoice
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::PinpointSMSVoice::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-pinpointsmsvoice/customizations'
52
52
  # @!group service
53
53
  module Aws::PinpointSMSVoice
54
54
 
55
- GEM_VERSION = '1.43.0'
55
+ GEM_VERSION = '1.45.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,205 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PinpointSMSVoice
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoice/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CreateConfigurationSetResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateConfigurationSetResponse]
77
+ end
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoice/Client.html#create_configuration_set-instance_method
79
+ def create_configuration_set: (
80
+ ?configuration_set_name: ::String
81
+ ) -> _CreateConfigurationSetResponseSuccess
82
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConfigurationSetResponseSuccess
83
+
84
+ interface _CreateConfigurationSetEventDestinationResponseSuccess
85
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateConfigurationSetEventDestinationResponse]
86
+ end
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoice/Client.html#create_configuration_set_event_destination-instance_method
88
+ def create_configuration_set_event_destination: (
89
+ configuration_set_name: ::String,
90
+ ?event_destination: {
91
+ cloud_watch_logs_destination: {
92
+ iam_role_arn: ::String?,
93
+ log_group_arn: ::String?
94
+ }?,
95
+ enabled: bool?,
96
+ kinesis_firehose_destination: {
97
+ delivery_stream_arn: ::String?,
98
+ iam_role_arn: ::String?
99
+ }?,
100
+ matching_event_types: Array[("INITIATED_CALL" | "RINGING" | "ANSWERED" | "COMPLETED_CALL" | "BUSY" | "FAILED" | "NO_ANSWER")]?,
101
+ sns_destination: {
102
+ topic_arn: ::String?
103
+ }?
104
+ },
105
+ ?event_destination_name: ::String
106
+ ) -> _CreateConfigurationSetEventDestinationResponseSuccess
107
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConfigurationSetEventDestinationResponseSuccess
108
+
109
+ interface _DeleteConfigurationSetResponseSuccess
110
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConfigurationSetResponse]
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoice/Client.html#delete_configuration_set-instance_method
113
+ def delete_configuration_set: (
114
+ configuration_set_name: ::String
115
+ ) -> _DeleteConfigurationSetResponseSuccess
116
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConfigurationSetResponseSuccess
117
+
118
+ interface _DeleteConfigurationSetEventDestinationResponseSuccess
119
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConfigurationSetEventDestinationResponse]
120
+ end
121
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoice/Client.html#delete_configuration_set_event_destination-instance_method
122
+ def delete_configuration_set_event_destination: (
123
+ configuration_set_name: ::String,
124
+ event_destination_name: ::String
125
+ ) -> _DeleteConfigurationSetEventDestinationResponseSuccess
126
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConfigurationSetEventDestinationResponseSuccess
127
+
128
+ interface _GetConfigurationSetEventDestinationsResponseSuccess
129
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetConfigurationSetEventDestinationsResponse]
130
+ def event_destinations: () -> ::Array[Types::EventDestination]
131
+ end
132
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoice/Client.html#get_configuration_set_event_destinations-instance_method
133
+ def get_configuration_set_event_destinations: (
134
+ configuration_set_name: ::String
135
+ ) -> _GetConfigurationSetEventDestinationsResponseSuccess
136
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConfigurationSetEventDestinationsResponseSuccess
137
+
138
+ interface _ListConfigurationSetsResponseSuccess
139
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListConfigurationSetsResponse]
140
+ def configuration_sets: () -> ::Array[::String]
141
+ def next_token: () -> ::String
142
+ end
143
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoice/Client.html#list_configuration_sets-instance_method
144
+ def list_configuration_sets: (
145
+ ?next_token: ::String,
146
+ ?page_size: ::String
147
+ ) -> _ListConfigurationSetsResponseSuccess
148
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConfigurationSetsResponseSuccess
149
+
150
+ interface _SendVoiceMessageResponseSuccess
151
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendVoiceMessageResponse]
152
+ def message_id: () -> ::String
153
+ end
154
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoice/Client.html#send_voice_message-instance_method
155
+ def send_voice_message: (
156
+ ?caller_id: ::String,
157
+ ?configuration_set_name: ::String,
158
+ ?content: {
159
+ call_instructions_message: {
160
+ text: ::String?
161
+ }?,
162
+ plain_text_message: {
163
+ language_code: ::String?,
164
+ text: ::String?,
165
+ voice_id: ::String?
166
+ }?,
167
+ ssml_message: {
168
+ language_code: ::String?,
169
+ text: ::String?,
170
+ voice_id: ::String?
171
+ }?
172
+ },
173
+ ?destination_phone_number: ::String,
174
+ ?origination_phone_number: ::String
175
+ ) -> _SendVoiceMessageResponseSuccess
176
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendVoiceMessageResponseSuccess
177
+
178
+ interface _UpdateConfigurationSetEventDestinationResponseSuccess
179
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConfigurationSetEventDestinationResponse]
180
+ end
181
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoice/Client.html#update_configuration_set_event_destination-instance_method
182
+ def update_configuration_set_event_destination: (
183
+ configuration_set_name: ::String,
184
+ ?event_destination: {
185
+ cloud_watch_logs_destination: {
186
+ iam_role_arn: ::String?,
187
+ log_group_arn: ::String?
188
+ }?,
189
+ enabled: bool?,
190
+ kinesis_firehose_destination: {
191
+ delivery_stream_arn: ::String?,
192
+ iam_role_arn: ::String?
193
+ }?,
194
+ matching_event_types: Array[("INITIATED_CALL" | "RINGING" | "ANSWERED" | "COMPLETED_CALL" | "BUSY" | "FAILED" | "NO_ANSWER")]?,
195
+ sns_destination: {
196
+ topic_arn: ::String?
197
+ }?
198
+ },
199
+ event_destination_name: ::String
200
+ ) -> _UpdateConfigurationSetEventDestinationResponseSuccess
201
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConfigurationSetEventDestinationResponseSuccess
202
+ end
203
+ end
204
+ end
205
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,34 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PinpointSMSVoice
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AlreadyExistsException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class BadRequestException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InternalServiceErrorException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class LimitExceededException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class NotFoundException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class TooManyRequestsException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ end
33
+ end
34
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PinpointSMSVoice
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoice/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PinpointSMSVoice/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,184 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::PinpointSMSVoice
9
+ module Types
10
+
11
+ class AlreadyExistsException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class BadRequestException
17
+ attr_accessor message: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class CallInstructionsMessageType
22
+ attr_accessor text: ::String
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class CloudWatchLogsDestination
27
+ attr_accessor iam_role_arn: ::String
28
+ attr_accessor log_group_arn: ::String
29
+ SENSITIVE: []
30
+ end
31
+
32
+ class CreateConfigurationSetEventDestinationRequest
33
+ attr_accessor configuration_set_name: ::String
34
+ attr_accessor event_destination: Types::EventDestinationDefinition
35
+ attr_accessor event_destination_name: ::String
36
+ SENSITIVE: []
37
+ end
38
+
39
+ class CreateConfigurationSetEventDestinationResponse < Aws::EmptyStructure
40
+ end
41
+
42
+ class CreateConfigurationSetRequest
43
+ attr_accessor configuration_set_name: ::String
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class CreateConfigurationSetResponse < Aws::EmptyStructure
48
+ end
49
+
50
+ class DeleteConfigurationSetEventDestinationRequest
51
+ attr_accessor configuration_set_name: ::String
52
+ attr_accessor event_destination_name: ::String
53
+ SENSITIVE: []
54
+ end
55
+
56
+ class DeleteConfigurationSetEventDestinationResponse < Aws::EmptyStructure
57
+ end
58
+
59
+ class DeleteConfigurationSetRequest
60
+ attr_accessor configuration_set_name: ::String
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class DeleteConfigurationSetResponse < Aws::EmptyStructure
65
+ end
66
+
67
+ class EventDestination
68
+ attr_accessor cloud_watch_logs_destination: Types::CloudWatchLogsDestination
69
+ attr_accessor enabled: bool
70
+ attr_accessor kinesis_firehose_destination: Types::KinesisFirehoseDestination
71
+ attr_accessor matching_event_types: ::Array[("INITIATED_CALL" | "RINGING" | "ANSWERED" | "COMPLETED_CALL" | "BUSY" | "FAILED" | "NO_ANSWER")]
72
+ attr_accessor name: ::String
73
+ attr_accessor sns_destination: Types::SnsDestination
74
+ SENSITIVE: []
75
+ end
76
+
77
+ class EventDestinationDefinition
78
+ attr_accessor cloud_watch_logs_destination: Types::CloudWatchLogsDestination
79
+ attr_accessor enabled: bool
80
+ attr_accessor kinesis_firehose_destination: Types::KinesisFirehoseDestination
81
+ attr_accessor matching_event_types: ::Array[("INITIATED_CALL" | "RINGING" | "ANSWERED" | "COMPLETED_CALL" | "BUSY" | "FAILED" | "NO_ANSWER")]
82
+ attr_accessor sns_destination: Types::SnsDestination
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class GetConfigurationSetEventDestinationsRequest
87
+ attr_accessor configuration_set_name: ::String
88
+ SENSITIVE: []
89
+ end
90
+
91
+ class GetConfigurationSetEventDestinationsResponse
92
+ attr_accessor event_destinations: ::Array[Types::EventDestination]
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class InternalServiceErrorException
97
+ attr_accessor message: ::String
98
+ SENSITIVE: []
99
+ end
100
+
101
+ class KinesisFirehoseDestination
102
+ attr_accessor delivery_stream_arn: ::String
103
+ attr_accessor iam_role_arn: ::String
104
+ SENSITIVE: []
105
+ end
106
+
107
+ class LimitExceededException
108
+ attr_accessor message: ::String
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class ListConfigurationSetsRequest
113
+ attr_accessor next_token: ::String
114
+ attr_accessor page_size: ::String
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class ListConfigurationSetsResponse
119
+ attr_accessor configuration_sets: ::Array[::String]
120
+ attr_accessor next_token: ::String
121
+ SENSITIVE: []
122
+ end
123
+
124
+ class NotFoundException
125
+ attr_accessor message: ::String
126
+ SENSITIVE: []
127
+ end
128
+
129
+ class PlainTextMessageType
130
+ attr_accessor language_code: ::String
131
+ attr_accessor text: ::String
132
+ attr_accessor voice_id: ::String
133
+ SENSITIVE: []
134
+ end
135
+
136
+ class SSMLMessageType
137
+ attr_accessor language_code: ::String
138
+ attr_accessor text: ::String
139
+ attr_accessor voice_id: ::String
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class SendVoiceMessageRequest
144
+ attr_accessor caller_id: ::String
145
+ attr_accessor configuration_set_name: ::String
146
+ attr_accessor content: Types::VoiceMessageContent
147
+ attr_accessor destination_phone_number: ::String
148
+ attr_accessor origination_phone_number: ::String
149
+ SENSITIVE: []
150
+ end
151
+
152
+ class SendVoiceMessageResponse
153
+ attr_accessor message_id: ::String
154
+ SENSITIVE: []
155
+ end
156
+
157
+ class SnsDestination
158
+ attr_accessor topic_arn: ::String
159
+ SENSITIVE: []
160
+ end
161
+
162
+ class TooManyRequestsException
163
+ attr_accessor message: ::String
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class UpdateConfigurationSetEventDestinationRequest
168
+ attr_accessor configuration_set_name: ::String
169
+ attr_accessor event_destination: Types::EventDestinationDefinition
170
+ attr_accessor event_destination_name: ::String
171
+ SENSITIVE: []
172
+ end
173
+
174
+ class UpdateConfigurationSetEventDestinationResponse < Aws::EmptyStructure
175
+ end
176
+
177
+ class VoiceMessageContent
178
+ attr_accessor call_instructions_message: Types::CallInstructionsMessageType
179
+ attr_accessor plain_text_message: Types::PlainTextMessageType
180
+ attr_accessor ssml_message: Types::SSMLMessageType
181
+ SENSITIVE: []
182
+ end
183
+ end
184
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PinpointSMSVoice
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-pinpointsmsvoice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.43.0
4
+ version: 1.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.188.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.188.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-pinpointsmsvoice/plugins/endpoints.rb
67
67
  - lib/aws-sdk-pinpointsmsvoice/resource.rb
68
68
  - lib/aws-sdk-pinpointsmsvoice/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pinpointsmsvoice
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pinpointsmsvoice/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - Pinpoint SMS Voice
94
99
  test_files: []