aws-sdk-costandusagereportservice 1.12.0 → 1.13.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/lib/aws-sdk-costandusagereportservice.rb +1 -1
- data/lib/aws-sdk-costandusagereportservice/client.rb +1 -1
- data/lib/aws-sdk-costandusagereportservice/client_api.rb +12 -0
- data/lib/aws-sdk-costandusagereportservice/errors.rb +64 -0
- data/lib/aws-sdk-costandusagereportservice/types.rb +56 -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: 8e5d02866d2a9ad8a9353162997570108e638684
|
4
|
+
data.tar.gz: 207f53a39867b6aab1c0e6a86263fd6f5c5d5ed5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4bdcd7556451eb30ecd39076ade863107c78821f724fa19fbb285bdebdd81518c1647615d192481af942802082497d63a33e6d079c61d465a75c2792f2a6732
|
7
|
+
data.tar.gz: 999a66c986e5d6d76cbe9fa55fdab8dbc6809842ca72f0688f0fdb0f41216dba98c9afde11412b91bfbd67bdb5386a812d028d54e6df539211817e3f1d0bc013
|
@@ -462,7 +462,7 @@ module Aws::CostandUsageReportService
|
|
462
462
|
params: params,
|
463
463
|
config: config)
|
464
464
|
context[:gem_name] = 'aws-sdk-costandusagereportservice'
|
465
|
-
context[:gem_version] = '1.
|
465
|
+
context[:gem_version] = '1.13.0'
|
466
466
|
Seahorse::Client::Request.new(handlers, context)
|
467
467
|
end
|
468
468
|
|
@@ -57,6 +57,12 @@ module Aws::CostandUsageReportService
|
|
57
57
|
DescribeReportDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
58
58
|
DescribeReportDefinitionsResponse.struct_class = Types::DescribeReportDefinitionsResponse
|
59
59
|
|
60
|
+
DuplicateReportNameException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
61
|
+
DuplicateReportNameException.struct_class = Types::DuplicateReportNameException
|
62
|
+
|
63
|
+
InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
64
|
+
InternalErrorException.struct_class = Types::InternalErrorException
|
65
|
+
|
60
66
|
PutReportDefinitionRequest.add_member(:report_definition, Shapes::ShapeRef.new(shape: ReportDefinition, required: true, location_name: "ReportDefinition"))
|
61
67
|
PutReportDefinitionRequest.struct_class = Types::PutReportDefinitionRequest
|
62
68
|
|
@@ -77,8 +83,14 @@ module Aws::CostandUsageReportService
|
|
77
83
|
|
78
84
|
ReportDefinitionList.member = Shapes::ShapeRef.new(shape: ReportDefinition)
|
79
85
|
|
86
|
+
ReportLimitReachedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
87
|
+
ReportLimitReachedException.struct_class = Types::ReportLimitReachedException
|
88
|
+
|
80
89
|
SchemaElementList.member = Shapes::ShapeRef.new(shape: SchemaElement)
|
81
90
|
|
91
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
92
|
+
ValidationException.struct_class = Types::ValidationException
|
93
|
+
|
82
94
|
|
83
95
|
# @api private
|
84
96
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -10,5 +10,69 @@ module Aws::CostandUsageReportService
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class DuplicateReportNameException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::CostandUsageReportService::Types::DuplicateReportNameException] 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 InternalErrorException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::CostandUsageReportService::Types::InternalErrorException] 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 ReportLimitReachedException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::CostandUsageReportService::Types::ReportLimitReachedException] 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 ValidationException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::CostandUsageReportService::Types::ValidationException] 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
|
+
|
13
77
|
end
|
14
78
|
end
|
@@ -88,6 +88,34 @@ module Aws::CostandUsageReportService
|
|
88
88
|
include Aws::Structure
|
89
89
|
end
|
90
90
|
|
91
|
+
# A report with the specified name already exists in the account.
|
92
|
+
# Specify a different report name.
|
93
|
+
#
|
94
|
+
# @!attribute [rw] message
|
95
|
+
# A message to show the detail of the exception.
|
96
|
+
# @return [String]
|
97
|
+
#
|
98
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/DuplicateReportNameException AWS API Documentation
|
99
|
+
#
|
100
|
+
class DuplicateReportNameException < Struct.new(
|
101
|
+
:message)
|
102
|
+
include Aws::Structure
|
103
|
+
end
|
104
|
+
|
105
|
+
# An error on the server occurred during the processing of your request.
|
106
|
+
# Try again later.
|
107
|
+
#
|
108
|
+
# @!attribute [rw] message
|
109
|
+
# A message to show the detail of the exception.
|
110
|
+
# @return [String]
|
111
|
+
#
|
112
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/InternalErrorException AWS API Documentation
|
113
|
+
#
|
114
|
+
class InternalErrorException < Struct.new(
|
115
|
+
:message)
|
116
|
+
include Aws::Structure
|
117
|
+
end
|
118
|
+
|
91
119
|
# Creates a Cost and Usage Report.
|
92
120
|
#
|
93
121
|
# @note When making an API call, you may pass PutReportDefinitionRequest
|
@@ -219,5 +247,33 @@ module Aws::CostandUsageReportService
|
|
219
247
|
include Aws::Structure
|
220
248
|
end
|
221
249
|
|
250
|
+
# This account already has five reports defined. To define a new report,
|
251
|
+
# you must delete an existing report.
|
252
|
+
#
|
253
|
+
# @!attribute [rw] message
|
254
|
+
# A message to show the detail of the exception.
|
255
|
+
# @return [String]
|
256
|
+
#
|
257
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/ReportLimitReachedException AWS API Documentation
|
258
|
+
#
|
259
|
+
class ReportLimitReachedException < Struct.new(
|
260
|
+
:message)
|
261
|
+
include Aws::Structure
|
262
|
+
end
|
263
|
+
|
264
|
+
# The input fails to satisfy the constraints specified by an AWS
|
265
|
+
# service.
|
266
|
+
#
|
267
|
+
# @!attribute [rw] message
|
268
|
+
# A message to show the detail of the exception.
|
269
|
+
# @return [String]
|
270
|
+
#
|
271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/ValidationException AWS API Documentation
|
272
|
+
#
|
273
|
+
class ValidationException < Struct.new(
|
274
|
+
:message)
|
275
|
+
include Aws::Structure
|
276
|
+
end
|
277
|
+
|
222
278
|
end
|
223
279
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-costandusagereportservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.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
|