aws-sdk-pinpointsmsvoice 1.2.0 → 1.3.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
  SHA1:
3
- metadata.gz: 28236594c0666303bee40178af4c2a424b6c1235
4
- data.tar.gz: 1a7a28bc5769832898ddf945f22ded8bc18784c1
3
+ metadata.gz: 6a572e93e722bdc11c05c12a26863b14a22c1321
4
+ data.tar.gz: 3af5a63ddd71a26674a42957c9abe678a2d21718
5
5
  SHA512:
6
- metadata.gz: d925e0e74da7ed0310e481d0ca86a5e5a00eb351efdc857a10324f41a7de2bcd2a2a54b2c6d4aba89113a73e97b28562226ad767b2f83f734fa0de1083076c1b
7
- data.tar.gz: 627c18a13f3810bd457f8f5f59ef025b0185eea8cf3862513b675e4a810b7642a7002f20f2d826b44cd86c5e74a0bca79653ab16a4d1537d4e8a7ac8cdee31ad
6
+ metadata.gz: bce31353ebbd65cb776f6d4e04bc21d3631b0de98807f12963ce60bf2bb9644ba4f187b37c627219bbed2e81aa43ab2874e5b64cd05140f3f4d6859c12509e7e
7
+ data.tar.gz: 66aed463ca247f389c9715228e8f08d3e54c0153c9af4b1b71672b539cc4c1f77865c0c3cedb711200f1b19d81475c0533b4911fb249d908109bb6decd9d85e4
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-pinpointsmsvoice/customizations'
42
42
  # @service
43
43
  module Aws::PinpointSMSVoice
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -354,6 +354,40 @@ module Aws::PinpointSMSVoice
354
354
  req.send_request(options)
355
355
  end
356
356
 
357
+ # List all of the configuration sets associated with your Amazon
358
+ # Pinpoint account in the current region.
359
+ #
360
+ # @option params [String] :next_token
361
+ #
362
+ # @option params [String] :page_size
363
+ #
364
+ # @return [Types::ListConfigurationSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
365
+ #
366
+ # * {Types::ListConfigurationSetsResponse#configuration_sets #configuration_sets} => Array<String>
367
+ # * {Types::ListConfigurationSetsResponse#next_token #next_token} => String
368
+ #
369
+ # @example Request syntax with placeholder values
370
+ #
371
+ # resp = client.list_configuration_sets({
372
+ # next_token: "__string",
373
+ # page_size: "__string",
374
+ # })
375
+ #
376
+ # @example Response structure
377
+ #
378
+ # resp.configuration_sets #=> Array
379
+ # resp.configuration_sets[0] #=> String
380
+ # resp.next_token #=> String
381
+ #
382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/ListConfigurationSets AWS API Documentation
383
+ #
384
+ # @overload list_configuration_sets(params = {})
385
+ # @param [Hash] params ({})
386
+ def list_configuration_sets(params = {}, options = {})
387
+ req = build_request(:list_configuration_sets, params)
388
+ req.send_request(options)
389
+ end
390
+
357
391
  # Create a new voice message and send it to a recipient's phone number.
358
392
  #
359
393
  # @option params [String] :caller_id
@@ -476,7 +510,7 @@ module Aws::PinpointSMSVoice
476
510
  params: params,
477
511
  config: config)
478
512
  context[:gem_name] = 'aws-sdk-pinpointsmsvoice'
479
- context[:gem_version] = '1.2.0'
513
+ context[:gem_version] = '1.3.0'
480
514
  Seahorse::Client::Request.new(handlers, context)
481
515
  end
482
516
 
@@ -16,6 +16,7 @@ module Aws::PinpointSMSVoice
16
16
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
17
17
  CallInstructionsMessageType = Shapes::StructureShape.new(name: 'CallInstructionsMessageType')
18
18
  CloudWatchLogsDestination = Shapes::StructureShape.new(name: 'CloudWatchLogsDestination')
19
+ ConfigurationSets = Shapes::ListShape.new(name: 'ConfigurationSets')
19
20
  CreateConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'CreateConfigurationSetEventDestinationRequest')
20
21
  CreateConfigurationSetEventDestinationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationSetEventDestinationResponse')
21
22
  CreateConfigurationSetRequest = Shapes::StructureShape.new(name: 'CreateConfigurationSetRequest')
@@ -34,6 +35,9 @@ module Aws::PinpointSMSVoice
34
35
  InternalServiceErrorException = Shapes::StructureShape.new(name: 'InternalServiceErrorException')
35
36
  KinesisFirehoseDestination = Shapes::StructureShape.new(name: 'KinesisFirehoseDestination')
36
37
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
38
+ ListConfigurationSetsRequest = Shapes::StructureShape.new(name: 'ListConfigurationSetsRequest')
39
+ ListConfigurationSetsResponse = Shapes::StructureShape.new(name: 'ListConfigurationSetsResponse')
40
+ NextTokenString = Shapes::StringShape.new(name: 'NextTokenString')
37
41
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
38
42
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
39
43
  PlainTextMessageType = Shapes::StructureShape.new(name: 'PlainTextMessageType')
@@ -62,6 +66,8 @@ module Aws::PinpointSMSVoice
62
66
  CloudWatchLogsDestination.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "LogGroupArn"))
63
67
  CloudWatchLogsDestination.struct_class = Types::CloudWatchLogsDestination
64
68
 
69
+ ConfigurationSets.member = Shapes::ShapeRef.new(shape: WordCharactersWithDelimiters)
70
+
65
71
  CreateConfigurationSetEventDestinationRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ConfigurationSetName"))
66
72
  CreateConfigurationSetEventDestinationRequest.add_member(:event_destination, Shapes::ShapeRef.new(shape: EventDestinationDefinition, location_name: "EventDestination"))
67
73
  CreateConfigurationSetEventDestinationRequest.add_member(:event_destination_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "EventDestinationName"))
@@ -114,6 +120,14 @@ module Aws::PinpointSMSVoice
114
120
  KinesisFirehoseDestination.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "IamRoleArn"))
115
121
  KinesisFirehoseDestination.struct_class = Types::KinesisFirehoseDestination
116
122
 
123
+ ListConfigurationSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
124
+ ListConfigurationSetsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "PageSize"))
125
+ ListConfigurationSetsRequest.struct_class = Types::ListConfigurationSetsRequest
126
+
127
+ ListConfigurationSetsResponse.add_member(:configuration_sets, Shapes::ShapeRef.new(shape: ConfigurationSets, location_name: "ConfigurationSets"))
128
+ ListConfigurationSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
129
+ ListConfigurationSetsResponse.struct_class = Types::ListConfigurationSetsResponse
130
+
117
131
  PlainTextMessageType.add_member(:language_code, Shapes::ShapeRef.new(shape: String, location_name: "LanguageCode"))
118
132
  PlainTextMessageType.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Text"))
119
133
  PlainTextMessageType.add_member(:voice_id, Shapes::ShapeRef.new(shape: String, location_name: "VoiceId"))
@@ -231,6 +245,17 @@ module Aws::PinpointSMSVoice
231
245
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
232
246
  end)
233
247
 
248
+ api.add_operation(:list_configuration_sets, Seahorse::Model::Operation.new.tap do |o|
249
+ o.name = "ListConfigurationSets"
250
+ o.http_method = "GET"
251
+ o.http_request_uri = "/v1/sms-voice/configuration-sets"
252
+ o.input = Shapes::ShapeRef.new(shape: ListConfigurationSetsRequest)
253
+ o.output = Shapes::ShapeRef.new(shape: ListConfigurationSetsResponse)
254
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
255
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
256
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
257
+ end)
258
+
234
259
  api.add_operation(:send_voice_message, Seahorse::Model::Operation.new.tap do |o|
235
260
  o.name = "SendVoiceMessage"
236
261
  o.http_method = "POST"
@@ -357,6 +357,49 @@ module Aws::PinpointSMSVoice
357
357
  include Aws::Structure
358
358
  end
359
359
 
360
+ # @note When making an API call, you may pass ListConfigurationSetsRequest
361
+ # data as a hash:
362
+ #
363
+ # {
364
+ # next_token: "__string",
365
+ # page_size: "__string",
366
+ # }
367
+ #
368
+ # @!attribute [rw] next_token
369
+ # @return [String]
370
+ #
371
+ # @!attribute [rw] page_size
372
+ # @return [String]
373
+ #
374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/ListConfigurationSetsRequest AWS API Documentation
375
+ #
376
+ class ListConfigurationSetsRequest < Struct.new(
377
+ :next_token,
378
+ :page_size)
379
+ include Aws::Structure
380
+ end
381
+
382
+ # An object that contains information about the configuration sets for
383
+ # your account in the current region.
384
+ #
385
+ # @!attribute [rw] configuration_sets
386
+ # An object that contains a list of configuration sets for your
387
+ # account in the current region.
388
+ # @return [Array<String>]
389
+ #
390
+ # @!attribute [rw] next_token
391
+ # A token returned from a previous call to ListConfigurationSets to
392
+ # indicate the position in the list of configuration sets.
393
+ # @return [String]
394
+ #
395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/ListConfigurationSetsResponse AWS API Documentation
396
+ #
397
+ class ListConfigurationSetsResponse < Struct.new(
398
+ :configuration_sets,
399
+ :next_token)
400
+ include Aws::Structure
401
+ end
402
+
360
403
  # An object that defines a message that contains unformatted text.
361
404
  #
362
405
  # @note When making an API call, you may pass PlainTextMessageType
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.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-21 00:00:00.000000000 Z
11
+ date: 2019-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core