UNPKG

2.87 kBJSONView Raw
1{
2 "version": "1.0",
3 "examples": {
4 "DeleteReportDefinition": [
5 {
6 "input": {
7 "ReportName": "ExampleReport"
8 },
9 "comments": {
10 "input": {
11 },
12 "output": {
13 }
14 },
15 "description": "The following example deletes the AWS Cost and Usage report named ExampleReport.",
16 "id": "to-delete-a-report",
17 "title": "To delete the AWS Cost and Usage report named ExampleReport."
18 }
19 ],
20 "DescribeReportDefinitions": [
21 {
22 "input": {
23 "MaxResults": 5
24 },
25 "output": {
26 "ReportDefinitions": [
27 {
28 "AdditionalArtifacts": [
29 "QUICKSIGHT"
30 ],
31 "AdditionalSchemaElements": [
32 "RESOURCES"
33 ],
34 "Compression": "GZIP",
35 "Format": "textORcsv",
36 "ReportName": "ExampleReport",
37 "S3Bucket": "example-s3-bucket",
38 "S3Prefix": "exampleprefix",
39 "S3Region": "us-east-1",
40 "TimeUnit": "HOURLY"
41 },
42 {
43 "AdditionalArtifacts": [
44 "QUICKSIGHT"
45 ],
46 "AdditionalSchemaElements": [
47 "RESOURCES"
48 ],
49 "Compression": "GZIP",
50 "Format": "textORcsv",
51 "ReportName": "ExampleReport2",
52 "S3Bucket": "example-s3-bucket",
53 "S3Prefix": "exampleprefix",
54 "S3Region": "us-east-1",
55 "TimeUnit": "HOURLY"
56 }
57 ]
58 },
59 "comments": {
60 "input": {
61 },
62 "output": {
63 }
64 },
65 "description": "The following example lists the AWS Cost and Usage reports for the account.",
66 "id": "to-retrieve-report-definitions",
67 "title": "To list the AWS Cost and Usage reports for the account."
68 }
69 ],
70 "PutReportDefinition": [
71 {
72 "input": {
73 "ReportDefinition": {
74 "AdditionalArtifacts": [
75 "REDSHIFT",
76 "QUICKSIGHT"
77 ],
78 "AdditionalSchemaElements": [
79 "RESOURCES"
80 ],
81 "Compression": "ZIP",
82 "Format": "textORcsv",
83 "ReportName": "ExampleReport",
84 "S3Bucket": "example-s3-bucket",
85 "S3Prefix": "exampleprefix",
86 "S3Region": "us-east-1",
87 "TimeUnit": "DAILY"
88 }
89 },
90 "comments": {
91 "input": {
92 },
93 "output": {
94 }
95 },
96 "description": "The following example creates a AWS Cost and Usage report named ExampleReport.",
97 "id": "to-create-a-report-definitions",
98 "title": "To create a report named ExampleReport."
99 }
100 ]
101 }
102}