aws-sdk-costandusagereportservice 1.22.1 → 1.27.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-costandusagereportservice.rb +5 -2
- data/lib/aws-sdk-costandusagereportservice/client.rb +32 -15
- data/lib/aws-sdk-costandusagereportservice/client_api.rb +2 -0
- data/lib/aws-sdk-costandusagereportservice/errors.rb +2 -0
- data/lib/aws-sdk-costandusagereportservice/resource.rb +2 -0
- data/lib/aws-sdk-costandusagereportservice/types.rb +20 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d04b1755a1cf2198476aed26a90cf1e302d9666c9f76a19b7ef85601c0d1b4d5
|
4
|
+
data.tar.gz: 918ee6a2f1a63a698357d6a85d3dc473a1c2d3b6839adf7cd1014a0dd4023ad8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d714dd10b285431feb849049c937179558cefb88744a01b34d577d38bd42d5afe450bea99d93083ab2d60b7ad512ae71693f7d242c542a334e7bd94791aa15f0
|
7
|
+
data.tar.gz: 11dd41a681352124cec5c505b8eca4ba3b08787c2d844e133850972107bfc46556533fe53faf80ad6dab6cca523dc4d816ca065382490dbcddfad93847268f5f
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-costandusagereportservice/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::CostandUsageReportService
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.27.0'
|
49
52
|
|
50
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,13 +85,28 @@ module Aws::CostandUsageReportService
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::CostandUsageReportService
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -323,7 +340,7 @@ module Aws::CostandUsageReportService
|
|
323
340
|
# Deletes the specified report.
|
324
341
|
#
|
325
342
|
# @option params [String] :report_name
|
326
|
-
# The name of the report that you want to
|
343
|
+
# The name of the report that you want to delete. The name must be
|
327
344
|
# unique, is case sensitive, and can't include spaces.
|
328
345
|
#
|
329
346
|
# @return [Types::DeleteReportDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -429,14 +446,14 @@ module Aws::CostandUsageReportService
|
|
429
446
|
#
|
430
447
|
# resp.report_definitions #=> Array
|
431
448
|
# resp.report_definitions[0].report_name #=> String
|
432
|
-
# resp.report_definitions[0].time_unit #=> String, one of "HOURLY", "DAILY"
|
449
|
+
# resp.report_definitions[0].time_unit #=> String, one of "HOURLY", "DAILY", "MONTHLY"
|
433
450
|
# resp.report_definitions[0].format #=> String, one of "textORcsv", "Parquet"
|
434
451
|
# resp.report_definitions[0].compression #=> String, one of "ZIP", "GZIP", "Parquet"
|
435
452
|
# resp.report_definitions[0].additional_schema_elements #=> Array
|
436
453
|
# resp.report_definitions[0].additional_schema_elements[0] #=> String, one of "RESOURCES"
|
437
454
|
# resp.report_definitions[0].s3_bucket #=> String
|
438
455
|
# resp.report_definitions[0].s3_prefix #=> String
|
439
|
-
# resp.report_definitions[0].s3_region #=> String, one of "
|
456
|
+
# resp.report_definitions[0].s3_region #=> String, one of "af-south-1", "ap-east-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ca-central-1", "eu-central-1", "eu-west-1", "eu-west-2", "eu-west-3", "eu-north-1", "eu-south-1", "me-south-1", "sa-east-1", "us-east-1", "us-east-2", "us-west-1", "us-west-2", "cn-north-1", "cn-northwest-1"
|
440
457
|
# resp.report_definitions[0].additional_artifacts #=> Array
|
441
458
|
# resp.report_definitions[0].additional_artifacts[0] #=> String, one of "REDSHIFT", "QUICKSIGHT", "ATHENA"
|
442
459
|
# resp.report_definitions[0].refresh_closed_reports #=> Boolean
|
@@ -471,13 +488,13 @@ module Aws::CostandUsageReportService
|
|
471
488
|
# report_name: "ReportName", # required
|
472
489
|
# report_definition: { # required
|
473
490
|
# report_name: "ReportName", # required
|
474
|
-
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY
|
491
|
+
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
|
475
492
|
# format: "textORcsv", # required, accepts textORcsv, Parquet
|
476
493
|
# compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
|
477
494
|
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
|
478
495
|
# s3_bucket: "S3Bucket", # required
|
479
496
|
# s3_prefix: "S3Prefix", # required
|
480
|
-
# s3_region: "
|
497
|
+
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, ca-central-1, eu-central-1, eu-west-1, eu-west-2, eu-west-3, eu-north-1, eu-south-1, me-south-1, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2, cn-north-1, cn-northwest-1
|
481
498
|
# additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
|
482
499
|
# refresh_closed_reports: false,
|
483
500
|
# report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
|
@@ -530,13 +547,13 @@ module Aws::CostandUsageReportService
|
|
530
547
|
# resp = client.put_report_definition({
|
531
548
|
# report_definition: { # required
|
532
549
|
# report_name: "ReportName", # required
|
533
|
-
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY
|
550
|
+
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
|
534
551
|
# format: "textORcsv", # required, accepts textORcsv, Parquet
|
535
552
|
# compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
|
536
553
|
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
|
537
554
|
# s3_bucket: "S3Bucket", # required
|
538
555
|
# s3_prefix: "S3Prefix", # required
|
539
|
-
# s3_region: "
|
556
|
+
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, ca-central-1, eu-central-1, eu-west-1, eu-west-2, eu-west-3, eu-north-1, eu-south-1, me-south-1, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2, cn-north-1, cn-northwest-1
|
540
557
|
# additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
|
541
558
|
# refresh_closed_reports: false,
|
542
559
|
# report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
|
@@ -565,7 +582,7 @@ module Aws::CostandUsageReportService
|
|
565
582
|
params: params,
|
566
583
|
config: config)
|
567
584
|
context[:gem_name] = 'aws-sdk-costandusagereportservice'
|
568
|
-
context[:gem_version] = '1.
|
585
|
+
context[:gem_version] = '1.27.0'
|
569
586
|
Seahorse::Client::Request.new(handlers, context)
|
570
587
|
end
|
571
588
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -18,7 +20,7 @@ module Aws::CostandUsageReportService
|
|
18
20
|
# }
|
19
21
|
#
|
20
22
|
# @!attribute [rw] report_name
|
21
|
-
# The name of the report that you want to
|
23
|
+
# The name of the report that you want to delete. The name must be
|
22
24
|
# unique, is case sensitive, and can't include spaces.
|
23
25
|
# @return [String]
|
24
26
|
#
|
@@ -26,6 +28,7 @@ module Aws::CostandUsageReportService
|
|
26
28
|
#
|
27
29
|
class DeleteReportDefinitionRequest < Struct.new(
|
28
30
|
:report_name)
|
31
|
+
SENSITIVE = []
|
29
32
|
include Aws::Structure
|
30
33
|
end
|
31
34
|
|
@@ -40,6 +43,7 @@ module Aws::CostandUsageReportService
|
|
40
43
|
#
|
41
44
|
class DeleteReportDefinitionResponse < Struct.new(
|
42
45
|
:response_message)
|
46
|
+
SENSITIVE = []
|
43
47
|
include Aws::Structure
|
44
48
|
end
|
45
49
|
|
@@ -66,6 +70,7 @@ module Aws::CostandUsageReportService
|
|
66
70
|
class DescribeReportDefinitionsRequest < Struct.new(
|
67
71
|
:max_results,
|
68
72
|
:next_token)
|
73
|
+
SENSITIVE = []
|
69
74
|
include Aws::Structure
|
70
75
|
end
|
71
76
|
|
@@ -85,6 +90,7 @@ module Aws::CostandUsageReportService
|
|
85
90
|
class DescribeReportDefinitionsResponse < Struct.new(
|
86
91
|
:report_definitions,
|
87
92
|
:next_token)
|
93
|
+
SENSITIVE = []
|
88
94
|
include Aws::Structure
|
89
95
|
end
|
90
96
|
|
@@ -99,6 +105,7 @@ module Aws::CostandUsageReportService
|
|
99
105
|
#
|
100
106
|
class DuplicateReportNameException < Struct.new(
|
101
107
|
:message)
|
108
|
+
SENSITIVE = []
|
102
109
|
include Aws::Structure
|
103
110
|
end
|
104
111
|
|
@@ -113,6 +120,7 @@ module Aws::CostandUsageReportService
|
|
113
120
|
#
|
114
121
|
class InternalErrorException < Struct.new(
|
115
122
|
:message)
|
123
|
+
SENSITIVE = []
|
116
124
|
include Aws::Structure
|
117
125
|
end
|
118
126
|
|
@@ -123,13 +131,13 @@ module Aws::CostandUsageReportService
|
|
123
131
|
# report_name: "ReportName", # required
|
124
132
|
# report_definition: { # required
|
125
133
|
# report_name: "ReportName", # required
|
126
|
-
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY
|
134
|
+
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
|
127
135
|
# format: "textORcsv", # required, accepts textORcsv, Parquet
|
128
136
|
# compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
|
129
137
|
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
|
130
138
|
# s3_bucket: "S3Bucket", # required
|
131
139
|
# s3_prefix: "S3Prefix", # required
|
132
|
-
# s3_region: "
|
140
|
+
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, ca-central-1, eu-central-1, eu-west-1, eu-west-2, eu-west-3, eu-north-1, eu-south-1, me-south-1, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2, cn-north-1, cn-northwest-1
|
133
141
|
# additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
|
134
142
|
# refresh_closed_reports: false,
|
135
143
|
# report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
|
@@ -152,6 +160,7 @@ module Aws::CostandUsageReportService
|
|
152
160
|
class ModifyReportDefinitionRequest < Struct.new(
|
153
161
|
:report_name,
|
154
162
|
:report_definition)
|
163
|
+
SENSITIVE = []
|
155
164
|
include Aws::Structure
|
156
165
|
end
|
157
166
|
|
@@ -167,13 +176,13 @@ module Aws::CostandUsageReportService
|
|
167
176
|
# {
|
168
177
|
# report_definition: { # required
|
169
178
|
# report_name: "ReportName", # required
|
170
|
-
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY
|
179
|
+
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
|
171
180
|
# format: "textORcsv", # required, accepts textORcsv, Parquet
|
172
181
|
# compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
|
173
182
|
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
|
174
183
|
# s3_bucket: "S3Bucket", # required
|
175
184
|
# s3_prefix: "S3Prefix", # required
|
176
|
-
# s3_region: "
|
185
|
+
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, ca-central-1, eu-central-1, eu-west-1, eu-west-2, eu-west-3, eu-north-1, eu-south-1, me-south-1, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2, cn-north-1, cn-northwest-1
|
177
186
|
# additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
|
178
187
|
# refresh_closed_reports: false,
|
179
188
|
# report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
|
@@ -189,6 +198,7 @@ module Aws::CostandUsageReportService
|
|
189
198
|
#
|
190
199
|
class PutReportDefinitionRequest < Struct.new(
|
191
200
|
:report_definition)
|
201
|
+
SENSITIVE = []
|
192
202
|
include Aws::Structure
|
193
203
|
end
|
194
204
|
|
@@ -208,13 +218,13 @@ module Aws::CostandUsageReportService
|
|
208
218
|
#
|
209
219
|
# {
|
210
220
|
# report_name: "ReportName", # required
|
211
|
-
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY
|
221
|
+
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
|
212
222
|
# format: "textORcsv", # required, accepts textORcsv, Parquet
|
213
223
|
# compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
|
214
224
|
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
|
215
225
|
# s3_bucket: "S3Bucket", # required
|
216
226
|
# s3_prefix: "S3Prefix", # required
|
217
|
-
# s3_region: "
|
227
|
+
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, ca-central-1, eu-central-1, eu-west-1, eu-west-2, eu-west-3, eu-north-1, eu-south-1, me-south-1, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2, cn-north-1, cn-northwest-1
|
218
228
|
# additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
|
219
229
|
# refresh_closed_reports: false,
|
220
230
|
# report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
|
@@ -287,6 +297,7 @@ module Aws::CostandUsageReportService
|
|
287
297
|
:additional_artifacts,
|
288
298
|
:refresh_closed_reports,
|
289
299
|
:report_versioning)
|
300
|
+
SENSITIVE = []
|
290
301
|
include Aws::Structure
|
291
302
|
end
|
292
303
|
|
@@ -301,6 +312,7 @@ module Aws::CostandUsageReportService
|
|
301
312
|
#
|
302
313
|
class ReportLimitReachedException < Struct.new(
|
303
314
|
:message)
|
315
|
+
SENSITIVE = []
|
304
316
|
include Aws::Structure
|
305
317
|
end
|
306
318
|
|
@@ -315,6 +327,7 @@ module Aws::CostandUsageReportService
|
|
315
327
|
#
|
316
328
|
class ValidationException < Struct.new(
|
317
329
|
:message)
|
330
|
+
SENSITIVE = []
|
318
331
|
include Aws::Structure
|
319
332
|
end
|
320
333
|
|
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.27.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: 2020-
|
11
|
+
date: 2020-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|