aws-sdk-costandusagereportservice 1.42.0 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costandusagereportservice/client.rb +7 -7
- data/lib/aws-sdk-costandusagereportservice/endpoint_provider.rb +38 -95
- data/lib/aws-sdk-costandusagereportservice/types.rb +0 -74
- data/lib/aws-sdk-costandusagereportservice.rb +1 -1
- 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: 3598b4cf20bdc6b6ec62e886c8f0dbae0fa36b23c5c7b36ce44c67250813fb24
|
4
|
+
data.tar.gz: 6afc2d994b8b9d6fd3ea35491e75924522e6aee99b3ee77384b3e6cbe37b2366
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f5baa5a3a6824da72a01de7f690404f6381ca65619fdf4d78136df95de612ef0eb7398afd17a79f1f5a7f2c6d381d5572831adf8465b231985bf133583a2918
|
7
|
+
data.tar.gz: 61d2f024d87a0bf72b03544de3989a58b86966f6865f00a6b379cee43214c1575881eb9c3d92ad743444fb5fb78b8cd02a9063d612a58dc19d69537791254190
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2023-05-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for split cost allocation data on a report.
|
8
|
+
|
9
|
+
1.43.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.42.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -491,10 +491,10 @@ module Aws::CostandUsageReportService
|
|
491
491
|
# resp.report_definitions[0].format #=> String, one of "textORcsv", "Parquet"
|
492
492
|
# resp.report_definitions[0].compression #=> String, one of "ZIP", "GZIP", "Parquet"
|
493
493
|
# resp.report_definitions[0].additional_schema_elements #=> Array
|
494
|
-
# resp.report_definitions[0].additional_schema_elements[0] #=> String, one of "RESOURCES"
|
494
|
+
# resp.report_definitions[0].additional_schema_elements[0] #=> String, one of "RESOURCES", "SPLIT_COST_ALLOCATION_DATA"
|
495
495
|
# resp.report_definitions[0].s3_bucket #=> String
|
496
496
|
# resp.report_definitions[0].s3_prefix #=> String
|
497
|
-
# 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-southeast-3", "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", "eu-south-2", "me-central-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"
|
497
|
+
# resp.report_definitions[0].s3_region #=> String, one of "af-south-1", "ap-east-1", "ap-south-1", "ap-south-2", "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ca-central-1", "eu-central-1", "eu-central-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-north-1", "eu-south-1", "eu-south-2", "me-central-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"
|
498
498
|
# resp.report_definitions[0].additional_artifacts #=> Array
|
499
499
|
# resp.report_definitions[0].additional_artifacts[0] #=> String, one of "REDSHIFT", "QUICKSIGHT", "ATHENA"
|
500
500
|
# resp.report_definitions[0].refresh_closed_reports #=> Boolean
|
@@ -533,10 +533,10 @@ module Aws::CostandUsageReportService
|
|
533
533
|
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
|
534
534
|
# format: "textORcsv", # required, accepts textORcsv, Parquet
|
535
535
|
# compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
|
536
|
-
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
|
536
|
+
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES, SPLIT_COST_ALLOCATION_DATA
|
537
537
|
# s3_bucket: "S3Bucket", # required
|
538
538
|
# s3_prefix: "S3Prefix", # required
|
539
|
-
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-southeast-3, 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, eu-south-2, me-central-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
|
539
|
+
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-northeast-1, ap-northeast-2, ap-northeast-3, ca-central-1, eu-central-1, eu-central-2, eu-west-1, eu-west-2, eu-west-3, eu-north-1, eu-south-1, eu-south-2, me-central-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
540
|
# additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
|
541
541
|
# refresh_closed_reports: false,
|
542
542
|
# report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
|
@@ -593,10 +593,10 @@ module Aws::CostandUsageReportService
|
|
593
593
|
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
|
594
594
|
# format: "textORcsv", # required, accepts textORcsv, Parquet
|
595
595
|
# compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
|
596
|
-
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
|
596
|
+
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES, SPLIT_COST_ALLOCATION_DATA
|
597
597
|
# s3_bucket: "S3Bucket", # required
|
598
598
|
# s3_prefix: "S3Prefix", # required
|
599
|
-
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-southeast-3, 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, eu-south-2, me-central-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
|
599
|
+
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-northeast-1, ap-northeast-2, ap-northeast-3, ca-central-1, eu-central-1, eu-central-2, eu-west-1, eu-west-2, eu-west-3, eu-north-1, eu-south-1, eu-south-2, me-central-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
|
600
600
|
# additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
|
601
601
|
# refresh_closed_reports: false,
|
602
602
|
# report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
|
@@ -626,7 +626,7 @@ module Aws::CostandUsageReportService
|
|
626
626
|
params: params,
|
627
627
|
config: config)
|
628
628
|
context[:gem_name] = 'aws-sdk-costandusagereportservice'
|
629
|
-
context[:gem_version] = '1.
|
629
|
+
context[:gem_version] = '1.44.0'
|
630
630
|
Seahorse::Client::Request.new(handlers, context)
|
631
631
|
end
|
632
632
|
|
@@ -9,103 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::CostandUsageReportService
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
|
+
end
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
21
25
|
end
|
22
|
-
|
23
|
-
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cur-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cur-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cur.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
|
+
end
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cur.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3Vt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dXBwb3J0c0R1YWxTdGFj
|
98
|
-
ayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6
|
99
|
-
W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vY3VyLntSZWdpb259LntQ
|
100
|
-
YXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRp
|
101
|
-
ZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJj
|
102
|
-
b25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBi
|
103
|
-
dXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
|
104
|
-
LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50
|
105
|
-
Ijp7InVybCI6Imh0dHBzOi8vY3VyLntSZWdpb259LntQYXJ0aXRpb25SZXN1
|
106
|
-
bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0s
|
107
|
-
InR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
108
|
-
|
109
|
-
JSON
|
110
53
|
end
|
111
54
|
end
|
@@ -12,13 +12,6 @@ module Aws::CostandUsageReportService
|
|
12
12
|
|
13
13
|
# Deletes the specified report.
|
14
14
|
#
|
15
|
-
# @note When making an API call, you may pass DeleteReportDefinitionRequest
|
16
|
-
# data as a hash:
|
17
|
-
#
|
18
|
-
# {
|
19
|
-
# report_name: "ReportName",
|
20
|
-
# }
|
21
|
-
#
|
22
15
|
# @!attribute [rw] report_name
|
23
16
|
# The name of the report that you want to delete. The name must be
|
24
17
|
# unique, is case sensitive, and can't include spaces.
|
@@ -49,14 +42,6 @@ module Aws::CostandUsageReportService
|
|
49
42
|
|
50
43
|
# Requests a list of AWS Cost and Usage reports owned by the account.
|
51
44
|
#
|
52
|
-
# @note When making an API call, you may pass DescribeReportDefinitionsRequest
|
53
|
-
# data as a hash:
|
54
|
-
#
|
55
|
-
# {
|
56
|
-
# max_results: 1,
|
57
|
-
# next_token: "GenericString",
|
58
|
-
# }
|
59
|
-
#
|
60
45
|
# @!attribute [rw] max_results
|
61
46
|
# The maximum number of results that AWS returns for the operation.
|
62
47
|
# @return [Integer]
|
@@ -124,27 +109,6 @@ module Aws::CostandUsageReportService
|
|
124
109
|
include Aws::Structure
|
125
110
|
end
|
126
111
|
|
127
|
-
# @note When making an API call, you may pass ModifyReportDefinitionRequest
|
128
|
-
# data as a hash:
|
129
|
-
#
|
130
|
-
# {
|
131
|
-
# report_name: "ReportName", # required
|
132
|
-
# report_definition: { # required
|
133
|
-
# report_name: "ReportName", # required
|
134
|
-
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
|
135
|
-
# format: "textORcsv", # required, accepts textORcsv, Parquet
|
136
|
-
# compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
|
137
|
-
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
|
138
|
-
# s3_bucket: "S3Bucket", # required
|
139
|
-
# s3_prefix: "S3Prefix", # required
|
140
|
-
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-southeast-3, 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, eu-south-2, me-central-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
|
141
|
-
# additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
|
142
|
-
# refresh_closed_reports: false,
|
143
|
-
# report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
|
144
|
-
# billing_view_arn: "BillingViewArn",
|
145
|
-
# },
|
146
|
-
# }
|
147
|
-
#
|
148
112
|
# @!attribute [rw] report_name
|
149
113
|
# The name of the report that you want to create. The name must be
|
150
114
|
# unique, is case sensitive, and can't include spaces.
|
@@ -171,26 +135,6 @@ module Aws::CostandUsageReportService
|
|
171
135
|
|
172
136
|
# Creates a Cost and Usage Report.
|
173
137
|
#
|
174
|
-
# @note When making an API call, you may pass PutReportDefinitionRequest
|
175
|
-
# data as a hash:
|
176
|
-
#
|
177
|
-
# {
|
178
|
-
# report_definition: { # required
|
179
|
-
# report_name: "ReportName", # required
|
180
|
-
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
|
181
|
-
# format: "textORcsv", # required, accepts textORcsv, Parquet
|
182
|
-
# compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
|
183
|
-
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
|
184
|
-
# s3_bucket: "S3Bucket", # required
|
185
|
-
# s3_prefix: "S3Prefix", # required
|
186
|
-
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-southeast-3, 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, eu-south-2, me-central-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
|
187
|
-
# additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
|
188
|
-
# refresh_closed_reports: false,
|
189
|
-
# report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
|
190
|
-
# billing_view_arn: "BillingViewArn",
|
191
|
-
# },
|
192
|
-
# }
|
193
|
-
#
|
194
138
|
# @!attribute [rw] report_definition
|
195
139
|
# Represents the output of the PutReportDefinition operation. The
|
196
140
|
# content consists of the detailed metadata and data file information.
|
@@ -215,24 +159,6 @@ module Aws::CostandUsageReportService
|
|
215
159
|
# report name, time unit, report format, compression format, S3 bucket,
|
216
160
|
# additional artifacts, and schema elements in the definition.
|
217
161
|
#
|
218
|
-
# @note When making an API call, you may pass ReportDefinition
|
219
|
-
# data as a hash:
|
220
|
-
#
|
221
|
-
# {
|
222
|
-
# report_name: "ReportName", # required
|
223
|
-
# time_unit: "HOURLY", # required, accepts HOURLY, DAILY, MONTHLY
|
224
|
-
# format: "textORcsv", # required, accepts textORcsv, Parquet
|
225
|
-
# compression: "ZIP", # required, accepts ZIP, GZIP, Parquet
|
226
|
-
# additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
|
227
|
-
# s3_bucket: "S3Bucket", # required
|
228
|
-
# s3_prefix: "S3Prefix", # required
|
229
|
-
# s3_region: "af-south-1", # required, accepts af-south-1, ap-east-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-southeast-3, 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, eu-south-2, me-central-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
|
230
|
-
# additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT, ATHENA
|
231
|
-
# refresh_closed_reports: false,
|
232
|
-
# report_versioning: "CREATE_NEW_REPORT", # accepts CREATE_NEW_REPORT, OVERWRITE_REPORT
|
233
|
-
# billing_view_arn: "BillingViewArn",
|
234
|
-
# }
|
235
|
-
#
|
236
162
|
# @!attribute [rw] report_name
|
237
163
|
# The name of the report that you want to create. The name must be
|
238
164
|
# unique, is case sensitive, and can't include spaces.
|
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.44.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:
|
11
|
+
date: 2023-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|