aws-sdk-costandusagereportservice 1.21.0 → 1.26.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
  SHA256:
3
- metadata.gz: b2e58d30ba5e52576dcd3bab175d34eea2afd00673d3ca2ebbebe6aec8b4a656
4
- data.tar.gz: b6869e09ad4d0b1fa11a941277612242e50a9e4d3f8014afd95cb35760cb889b
3
+ metadata.gz: 236430100b6ce1c501b0bea99b4da0b5c302f8680c4e94407187e3a40ded940c
4
+ data.tar.gz: a073b50b0e6834550e007a9ba9d11b61f45de05b2f0e90961bdc906435129f1f
5
5
  SHA512:
6
- metadata.gz: 99a45ed8fc4765f8b39ec98c76209678442a1c67a715f40bf672bf562973e7998450b2075d7db8564d0dba8f8e82526f5f5d4d9526f3407f12c49aaff5c3b78c
7
- data.tar.gz: d62bd4c80f921a56e88b21ff82e9a8cd6797e8d1f5c04ad004128d7e2d72d49c90d679684dc7a0cf3bd4ced470a09dd4153837a6487fbad8e10fc192ec6c2375
6
+ metadata.gz: 1ab339e8839558d000b23833cbe87bbb11b74c5b2976ed84409540af3918b194cdfed981708845f314d36fb02899b250cc517d54cba46441ff1d64a18e81e1c5
7
+ data.tar.gz: baa762273c1a66d3ba8008b20220cfb507521a205c5bca01e20521dfbc6f4a8245ddbeac61adb609c8e92123be54fc03a153aa771b22f1f4b5dcadbe6e715fcf
@@ -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:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-costandusagereportservice/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::CostandUsageReportService
47
49
 
48
- GEM_VERSION = '1.21.0'
50
+ GEM_VERSION = '1.26.0'
49
51
 
50
52
  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:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::CostandUsageReportService
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -81,13 +85,28 @@ module Aws::CostandUsageReportService
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
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
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,10 +116,10 @@ module Aws::CostandUsageReportService
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # 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.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
@@ -161,7 +180,7 @@ module Aws::CostandUsageReportService
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -321,7 +340,7 @@ module Aws::CostandUsageReportService
321
340
  # Deletes the specified report.
322
341
  #
323
342
  # @option params [String] :report_name
324
- # The name of the report that you want to create. The name must be
343
+ # The name of the report that you want to delete. The name must be
325
344
  # unique, is case sensitive, and can't include spaces.
326
345
  #
327
346
  # @return [Types::DeleteReportDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -427,14 +446,14 @@ module Aws::CostandUsageReportService
427
446
  #
428
447
  # resp.report_definitions #=> Array
429
448
  # resp.report_definitions[0].report_name #=> String
430
- # resp.report_definitions[0].time_unit #=> String, one of "HOURLY", "DAILY"
449
+ # resp.report_definitions[0].time_unit #=> String, one of "HOURLY", "DAILY", "MONTHLY"
431
450
  # resp.report_definitions[0].format #=> String, one of "textORcsv", "Parquet"
432
451
  # resp.report_definitions[0].compression #=> String, one of "ZIP", "GZIP", "Parquet"
433
452
  # resp.report_definitions[0].additional_schema_elements #=> Array
434
453
  # resp.report_definitions[0].additional_schema_elements[0] #=> String, one of "RESOURCES"
435
454
  # resp.report_definitions[0].s3_bucket #=> String
436
455
  # resp.report_definitions[0].s3_prefix #=> String
437
- # resp.report_definitions[0].s3_region #=> String, one of "us-east-1", "us-west-1", "us-west-2", "eu-central-1", "eu-west-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "eu-north-1", "ap-northeast-3", "ap-east-1"
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"
438
457
  # resp.report_definitions[0].additional_artifacts #=> Array
439
458
  # resp.report_definitions[0].additional_artifacts[0] #=> String, one of "REDSHIFT", "QUICKSIGHT", "ATHENA"
440
459
  # resp.report_definitions[0].refresh_closed_reports #=> Boolean
@@ -469,13 +488,13 @@ module Aws::CostandUsageReportService
469
488
  # report_name: "ReportName", # required
470
489
  # report_definition: { # required
471
490
  # report_name: "ReportName", # required
472
- # time_unit: "HOURLY", # required, accepts HOURLY, DAILY
491
+ # time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
473
492
  # format: "textORcsv", # required, accepts textORcsv, Parquet
474
493
  # compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
475
494
  # additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
476
495
  # s3_bucket: "S3Bucket", # required
477
496
  # s3_prefix: "S3Prefix", # required
478
- # s3_region: "us-east-1", # required, accepts us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, eu-north-1, ap-northeast-3, ap-east-1
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
479
498
  # additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
480
499
  # refresh_closed_reports: false,
481
500
  # report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
@@ -528,13 +547,13 @@ module Aws::CostandUsageReportService
528
547
  # resp = client.put_report_definition({
529
548
  # report_definition: { # required
530
549
  # report_name: "ReportName", # required
531
- # time_unit: "HOURLY", # required, accepts HOURLY, DAILY
550
+ # time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
532
551
  # format: "textORcsv", # required, accepts textORcsv, Parquet
533
552
  # compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
534
553
  # additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
535
554
  # s3_bucket: "S3Bucket", # required
536
555
  # s3_prefix: "S3Prefix", # required
537
- # s3_region: "us-east-1", # required, accepts us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, eu-north-1, ap-northeast-3, ap-east-1
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
538
557
  # additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
539
558
  # refresh_closed_reports: false,
540
559
  # report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
@@ -563,7 +582,7 @@ module Aws::CostandUsageReportService
563
582
  params: params,
564
583
  config: config)
565
584
  context[:gem_name] = 'aws-sdk-costandusagereportservice'
566
- context[:gem_version] = '1.21.0'
585
+ context[:gem_version] = '1.26.0'
567
586
  Seahorse::Client::Request.new(handlers, context)
568
587
  end
569
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:
@@ -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:
@@ -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:
@@ -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 create. The name must be
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: "us-east-1", # required, accepts us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, eu-north-1, ap-northeast-3, ap-east-1
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: "us-east-1", # required, accepts us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, eu-north-1, ap-northeast-3, ap-east-1
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: "us-east-1", # required, accepts us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, eu-north-1, ap-northeast-3, ap-east-1
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.21.0
4
+ version: 1.26.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-05-28 00:00:00.000000000 Z
11
+ date: 2020-08-28 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement