aws-sdk-pinpointsmsvoice 1.8.0 → 1.9.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: 9e12365bf4794ba2e7eb7e8d9ba54b2918b0dd76
4
- data.tar.gz: 12cd8864092ec564dbec892ad96c68574041607e
3
+ metadata.gz: 8ee757fe907089dab2bd3dfbee4bd114ae37ff9b
4
+ data.tar.gz: e5b2a161e7e2a007bd2a0117ea147ebfe206ba56
5
5
  SHA512:
6
- metadata.gz: eea4894a0ac5980777a821533f7be94036cb6de4e5590a433c76802f6e01e27a4295cb028dfba14bd8b3672beed1d672442bb26d094e14733f656d7431857f51
7
- data.tar.gz: 687c46ac3377e450a0a76b3d257b0691fbcad25371fdfa43ae18eb1de5022e1eff0e7d86dfede6bf11f6a2771a272cc688f10f606f55467bf326b24edd61da82
6
+ metadata.gz: d5cd0e4d8996ee24df7bdd3fa8603ebfbcca28530a7870165dd436128a2a4094609f43b3f908686f189a43117e36c422268e03173168e32372ae3625831e1402
7
+ data.tar.gz: ce9f7299f88772c5c2653e0fcba24292263cf5a927405bc210b014f94d8fa36b4ec6dc2e4ac77154738c2cc90702afc7c0909a34d1dee912c3453812878519f6
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-pinpointsmsvoice/customizations'
42
42
  # @service
43
43
  module Aws::PinpointSMSVoice
44
44
 
45
- GEM_VERSION = '1.8.0'
45
+ GEM_VERSION = '1.9.0'
46
46
 
47
47
  end
@@ -555,7 +555,7 @@ module Aws::PinpointSMSVoice
555
555
  params: params,
556
556
  config: config)
557
557
  context[:gem_name] = 'aws-sdk-pinpointsmsvoice'
558
- context[:gem_version] = '1.8.0'
558
+ context[:gem_version] = '1.9.0'
559
559
  Seahorse::Client::Request.new(handlers, context)
560
560
  end
561
561
 
@@ -59,6 +59,12 @@ module Aws::PinpointSMSVoice
59
59
  __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
60
60
  __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
61
61
 
62
+ AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
63
+ AlreadyExistsException.struct_class = Types::AlreadyExistsException
64
+
65
+ BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
66
+ BadRequestException.struct_class = Types::BadRequestException
67
+
62
68
  CallInstructionsMessageType.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Text"))
63
69
  CallInstructionsMessageType.struct_class = Types::CallInstructionsMessageType
64
70
 
@@ -116,10 +122,16 @@ module Aws::PinpointSMSVoice
116
122
  GetConfigurationSetEventDestinationsResponse.add_member(:event_destinations, Shapes::ShapeRef.new(shape: EventDestinations, location_name: "EventDestinations"))
117
123
  GetConfigurationSetEventDestinationsResponse.struct_class = Types::GetConfigurationSetEventDestinationsResponse
118
124
 
125
+ InternalServiceErrorException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
126
+ InternalServiceErrorException.struct_class = Types::InternalServiceErrorException
127
+
119
128
  KinesisFirehoseDestination.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: String, location_name: "DeliveryStreamArn"))
120
129
  KinesisFirehoseDestination.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "IamRoleArn"))
121
130
  KinesisFirehoseDestination.struct_class = Types::KinesisFirehoseDestination
122
131
 
132
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
133
+ LimitExceededException.struct_class = Types::LimitExceededException
134
+
123
135
  ListConfigurationSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
124
136
  ListConfigurationSetsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "PageSize"))
125
137
  ListConfigurationSetsRequest.struct_class = Types::ListConfigurationSetsRequest
@@ -128,6 +140,9 @@ module Aws::PinpointSMSVoice
128
140
  ListConfigurationSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
129
141
  ListConfigurationSetsResponse.struct_class = Types::ListConfigurationSetsResponse
130
142
 
143
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
144
+ NotFoundException.struct_class = Types::NotFoundException
145
+
131
146
  PlainTextMessageType.add_member(:language_code, Shapes::ShapeRef.new(shape: String, location_name: "LanguageCode"))
132
147
  PlainTextMessageType.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Text"))
133
148
  PlainTextMessageType.add_member(:voice_id, Shapes::ShapeRef.new(shape: String, location_name: "VoiceId"))
@@ -151,6 +166,9 @@ module Aws::PinpointSMSVoice
151
166
  SnsDestination.add_member(:topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "TopicArn"))
152
167
  SnsDestination.struct_class = Types::SnsDestination
153
168
 
169
+ TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
170
+ TooManyRequestsException.struct_class = Types::TooManyRequestsException
171
+
154
172
  UpdateConfigurationSetEventDestinationRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ConfigurationSetName"))
155
173
  UpdateConfigurationSetEventDestinationRequest.add_member(:event_destination, Shapes::ShapeRef.new(shape: EventDestinationDefinition, location_name: "EventDestination"))
156
174
  UpdateConfigurationSetEventDestinationRequest.add_member(:event_destination_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "EventDestinationName"))
@@ -10,5 +10,101 @@ module Aws::PinpointSMSVoice
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AlreadyExistsException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::PinpointSMSVoice::Types::AlreadyExistsException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class BadRequestException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::PinpointSMSVoice::Types::BadRequestException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class InternalServiceErrorException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::PinpointSMSVoice::Types::InternalServiceErrorException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class LimitExceededException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::PinpointSMSVoice::Types::LimitExceededException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class NotFoundException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::PinpointSMSVoice::Types::NotFoundException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class TooManyRequestsException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::PinpointSMSVoice::Types::TooManyRequestsException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
13
109
  end
14
110
  end
@@ -8,6 +8,30 @@
8
8
  module Aws::PinpointSMSVoice
9
9
  module Types
10
10
 
11
+ # The resource specified in your request already exists.
12
+ #
13
+ # @!attribute [rw] message
14
+ # @return [String]
15
+ #
16
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/AlreadyExistsException AWS API Documentation
17
+ #
18
+ class AlreadyExistsException < Struct.new(
19
+ :message)
20
+ include Aws::Structure
21
+ end
22
+
23
+ # The input you provided is invalid.
24
+ #
25
+ # @!attribute [rw] message
26
+ # @return [String]
27
+ #
28
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/BadRequestException AWS API Documentation
29
+ #
30
+ class BadRequestException < Struct.new(
31
+ :message)
32
+ include Aws::Structure
33
+ end
34
+
11
35
  # An object that defines a message that contains text formatted using
12
36
  # Amazon Pinpoint Voice Instructions markup.
13
37
  #
@@ -328,6 +352,20 @@ module Aws::PinpointSMSVoice
328
352
  include Aws::Structure
329
353
  end
330
354
 
355
+ # The API encountered an unexpected error and couldn't complete the
356
+ # request. You might be able to successfully issue the request again in
357
+ # the future.
358
+ #
359
+ # @!attribute [rw] message
360
+ # @return [String]
361
+ #
362
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/InternalServiceErrorException AWS API Documentation
363
+ #
364
+ class InternalServiceErrorException < Struct.new(
365
+ :message)
366
+ include Aws::Structure
367
+ end
368
+
331
369
  # An object that contains information about an event destination that
332
370
  # sends data to Amazon Kinesis Data Firehose.
333
371
  #
@@ -357,6 +395,18 @@ module Aws::PinpointSMSVoice
357
395
  include Aws::Structure
358
396
  end
359
397
 
398
+ # There are too many instances of the specified resource type.
399
+ #
400
+ # @!attribute [rw] message
401
+ # @return [String]
402
+ #
403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/LimitExceededException AWS API Documentation
404
+ #
405
+ class LimitExceededException < Struct.new(
406
+ :message)
407
+ include Aws::Structure
408
+ end
409
+
360
410
  # @note When making an API call, you may pass ListConfigurationSetsRequest
361
411
  # data as a hash:
362
412
  #
@@ -400,6 +450,18 @@ module Aws::PinpointSMSVoice
400
450
  include Aws::Structure
401
451
  end
402
452
 
453
+ # The resource you attempted to access doesn't exist.
454
+ #
455
+ # @!attribute [rw] message
456
+ # @return [String]
457
+ #
458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/NotFoundException AWS API Documentation
459
+ #
460
+ class NotFoundException < Struct.new(
461
+ :message)
462
+ include Aws::Structure
463
+ end
464
+
403
465
  # An object that defines a message that contains unformatted text.
404
466
  #
405
467
  # @note When making an API call, you may pass PlainTextMessageType
@@ -570,6 +632,19 @@ module Aws::PinpointSMSVoice
570
632
  include Aws::Structure
571
633
  end
572
634
 
635
+ # You've issued too many requests to the resource. Wait a few minutes,
636
+ # and then try again.
637
+ #
638
+ # @!attribute [rw] message
639
+ # @return [String]
640
+ #
641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/TooManyRequestsException AWS API Documentation
642
+ #
643
+ class TooManyRequestsException < Struct.new(
644
+ :message)
645
+ include Aws::Structure
646
+ end
647
+
573
648
  # An object that defines a request to update an existing event
574
649
  # destination.
575
650
  #
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.8.0
4
+ version: 1.9.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 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.52.1
22
+ version: 3.53.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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement