aws-sdk-budgets 1.20.0 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-budgets.rb +1 -1
- data/lib/aws-sdk-budgets/client.rb +1 -1
- data/lib/aws-sdk-budgets/client_api.rb +21 -0
- data/lib/aws-sdk-budgets/errors.rb +112 -0
- data/lib/aws-sdk-budgets/types.rb +80 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecd29d372b0f19bdf5560642d25b69eb037be6a8
|
4
|
+
data.tar.gz: fe3ad247ea9f9054bc07cc9d0f50bf57040e0e3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c583e0b87c0bcf0287d27921d1c98173a7c71929cf4b8c7e5117507f5385e4bc0d6d1ed48a3b0c74aa38bd3eaf51b3359c8e690e02c436ff5c4d109882f41b5
|
7
|
+
data.tar.gz: 5ba8f0915d009e3b8399e7a575b9ca967fdadf45f383608d771f2dd7ba4a446832ad4c34bc25b47671d5983b005428bd073aac937ff6abec21d9d05435c7bd4d
|
data/lib/aws-sdk-budgets.rb
CHANGED
@@ -1022,7 +1022,7 @@ module Aws::Budgets
|
|
1022
1022
|
params: params,
|
1023
1023
|
config: config)
|
1024
1024
|
context[:gem_name] = 'aws-sdk-budgets'
|
1025
|
-
context[:gem_version] = '1.
|
1025
|
+
context[:gem_version] = '1.21.0'
|
1026
1026
|
Seahorse::Client::Request.new(handlers, context)
|
1027
1027
|
end
|
1028
1028
|
|
@@ -153,6 +153,9 @@ module Aws::Budgets
|
|
153
153
|
|
154
154
|
CreateSubscriberResponse.struct_class = Types::CreateSubscriberResponse
|
155
155
|
|
156
|
+
CreationLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
157
|
+
CreationLimitExceededException.struct_class = Types::CreationLimitExceededException
|
158
|
+
|
156
159
|
DeleteBudgetRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
157
160
|
DeleteBudgetRequest.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
|
158
161
|
DeleteBudgetRequest.struct_class = Types::DeleteBudgetRequest
|
@@ -224,6 +227,24 @@ module Aws::Budgets
|
|
224
227
|
|
225
228
|
DimensionValues.member = Shapes::ShapeRef.new(shape: GenericString)
|
226
229
|
|
230
|
+
DuplicateRecordException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
231
|
+
DuplicateRecordException.struct_class = Types::DuplicateRecordException
|
232
|
+
|
233
|
+
ExpiredNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
234
|
+
ExpiredNextTokenException.struct_class = Types::ExpiredNextTokenException
|
235
|
+
|
236
|
+
InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
237
|
+
InternalErrorException.struct_class = Types::InternalErrorException
|
238
|
+
|
239
|
+
InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
240
|
+
InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
|
241
|
+
|
242
|
+
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
243
|
+
InvalidParameterException.struct_class = Types::InvalidParameterException
|
244
|
+
|
245
|
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
246
|
+
NotFoundException.struct_class = Types::NotFoundException
|
247
|
+
|
227
248
|
Notification.add_member(:notification_type, Shapes::ShapeRef.new(shape: NotificationType, required: true, location_name: "NotificationType"))
|
228
249
|
Notification.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, required: true, location_name: "ComparisonOperator"))
|
229
250
|
Notification.add_member(:threshold, Shapes::ShapeRef.new(shape: NotificationThreshold, required: true, location_name: "Threshold"))
|
@@ -10,5 +10,117 @@ module Aws::Budgets
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class CreationLimitExceededException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::Budgets::Types::CreationLimitExceededException] 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 DuplicateRecordException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::Budgets::Types::DuplicateRecordException] 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 ExpiredNextTokenException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::Budgets::Types::ExpiredNextTokenException] 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 InternalErrorException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::Budgets::Types::InternalErrorException] 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 InvalidNextTokenException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::Budgets::Types::InvalidNextTokenException] 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 InvalidParameterException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::Budgets::Types::InvalidParameterException] 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
|
+
|
109
|
+
class NotFoundException < ServiceError
|
110
|
+
|
111
|
+
# @param [Seahorse::Client::RequestContext] context
|
112
|
+
# @param [String] message
|
113
|
+
# @param [Aws::Budgets::Types::NotFoundException] data
|
114
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
115
|
+
super(context, message, data)
|
116
|
+
end
|
117
|
+
|
118
|
+
# @return [String]
|
119
|
+
def message
|
120
|
+
@message || @data[:message]
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|
124
|
+
|
13
125
|
end
|
14
126
|
end
|
@@ -561,6 +561,17 @@ module Aws::Budgets
|
|
561
561
|
#
|
562
562
|
class CreateSubscriberResponse < Aws::EmptyStructure; end
|
563
563
|
|
564
|
+
# You've exceeded the notification or subscriber limit.
|
565
|
+
#
|
566
|
+
# @!attribute [rw] message
|
567
|
+
# The error message the exception carries.
|
568
|
+
# @return [String]
|
569
|
+
#
|
570
|
+
class CreationLimitExceededException < Struct.new(
|
571
|
+
:message)
|
572
|
+
include Aws::Structure
|
573
|
+
end
|
574
|
+
|
564
575
|
# Request of DeleteBudget
|
565
576
|
#
|
566
577
|
# @note When making an API call, you may pass DeleteBudgetRequest
|
@@ -957,6 +968,75 @@ module Aws::Budgets
|
|
957
968
|
include Aws::Structure
|
958
969
|
end
|
959
970
|
|
971
|
+
# The budget name already exists. Budget names must be unique within an
|
972
|
+
# account.
|
973
|
+
#
|
974
|
+
# @!attribute [rw] message
|
975
|
+
# The error message the exception carries.
|
976
|
+
# @return [String]
|
977
|
+
#
|
978
|
+
class DuplicateRecordException < Struct.new(
|
979
|
+
:message)
|
980
|
+
include Aws::Structure
|
981
|
+
end
|
982
|
+
|
983
|
+
# The pagination token expired.
|
984
|
+
#
|
985
|
+
# @!attribute [rw] message
|
986
|
+
# The error message the exception carries.
|
987
|
+
# @return [String]
|
988
|
+
#
|
989
|
+
class ExpiredNextTokenException < Struct.new(
|
990
|
+
:message)
|
991
|
+
include Aws::Structure
|
992
|
+
end
|
993
|
+
|
994
|
+
# An error on the server occurred during the processing of your request.
|
995
|
+
# Try again later.
|
996
|
+
#
|
997
|
+
# @!attribute [rw] message
|
998
|
+
# The error message the exception carries.
|
999
|
+
# @return [String]
|
1000
|
+
#
|
1001
|
+
class InternalErrorException < Struct.new(
|
1002
|
+
:message)
|
1003
|
+
include Aws::Structure
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
# The pagination token is invalid.
|
1007
|
+
#
|
1008
|
+
# @!attribute [rw] message
|
1009
|
+
# The error message the exception carries.
|
1010
|
+
# @return [String]
|
1011
|
+
#
|
1012
|
+
class InvalidNextTokenException < Struct.new(
|
1013
|
+
:message)
|
1014
|
+
include Aws::Structure
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
# An error on the client occurred. Typically, the cause is an invalid
|
1018
|
+
# input value.
|
1019
|
+
#
|
1020
|
+
# @!attribute [rw] message
|
1021
|
+
# The error message the exception carries.
|
1022
|
+
# @return [String]
|
1023
|
+
#
|
1024
|
+
class InvalidParameterException < Struct.new(
|
1025
|
+
:message)
|
1026
|
+
include Aws::Structure
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# We can’t locate the resource that you specified.
|
1030
|
+
#
|
1031
|
+
# @!attribute [rw] message
|
1032
|
+
# The error message the exception carries.
|
1033
|
+
# @return [String]
|
1034
|
+
#
|
1035
|
+
class NotFoundException < Struct.new(
|
1036
|
+
:message)
|
1037
|
+
include Aws::Structure
|
1038
|
+
end
|
1039
|
+
|
960
1040
|
# A notification that is associated with a budget. A budget can have up
|
961
1041
|
# to five notifications.
|
962
1042
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-budgets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.21.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-
|
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.
|
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.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|