Skip to content

Commit 1a367d8

Browse files
author
AWS
committed
AWS Billing and Cost Management Dashboards Update: Billing and Cost Management Dashboards enables users to create dashboards that combine multiple visualizations of cost and usage data. Users can create, manage, and share dashboards. Tags are also available for dashboards.
1 parent 4d3d035 commit 1a367d8

File tree

7 files changed

+1496
-0
lines changed

7 files changed

+1496
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Billing and Cost Management Dashboards",
4+
"contributor": "",
5+
"description": "Billing and Cost Management Dashboards enables users to create dashboards that combine multiple visualizations of cost and usage data. Users can create, manage, and share dashboards. Tags are also available for dashboards."
6+
}

services/bcmdashboards/pom.xml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<!--
3+
~ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License").
6+
~ You may not use this file except in compliance with the License.
7+
~ A copy of the License is located at
8+
~
9+
~ http://aws.amazon.com/apache2.0
10+
~
11+
~ or in the "license" file accompanying this file. This file is distributed
12+
~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+
~ express or implied. See the License for the specific language governing
14+
~ permissions and limitations under the License.
15+
--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
16+
<modelVersion>4.0.0</modelVersion>
17+
<parent>
18+
<groupId>software.amazon.awssdk</groupId>
19+
<artifactId>services</artifactId>
20+
<version>2.32.25-SNAPSHOT</version>
21+
</parent>
22+
<artifactId>bcmdashboards</artifactId>
23+
<name>AWS Java SDK :: Services :: BCM Dashboards</name>
24+
<description>The AWS Java SDK for BCM Dashboards module holds the client classes that are used for
25+
communicating with BCM Dashboards.
26+
</description>
27+
<url>https://aws.amazon.com/sdkforjava</url>
28+
<build>
29+
<plugins>
30+
<plugin>
31+
<groupId>org.apache.maven.plugins</groupId>
32+
<artifactId>maven-jar-plugin</artifactId>
33+
<configuration>
34+
<archive>
35+
<manifestEntries>
36+
<Automatic-Module-Name>software.amazon.awssdk.services.bcmdashboards</Automatic-Module-Name>
37+
</manifestEntries>
38+
</archive>
39+
</configuration>
40+
</plugin>
41+
</plugins>
42+
</build>
43+
<dependencies>
44+
<dependency>
45+
<groupId>software.amazon.awssdk</groupId>
46+
<artifactId>protocol-core</artifactId>
47+
<version>${awsjavasdk.version}</version>
48+
</dependency>
49+
<dependency>
50+
<groupId>software.amazon.awssdk</groupId>
51+
<artifactId>aws-json-protocol</artifactId>
52+
<version>${awsjavasdk.version}</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>software.amazon.awssdk</groupId>
56+
<artifactId>http-auth-aws</artifactId>
57+
<version>${awsjavasdk.version}</version>
58+
</dependency>
59+
</dependencies>
60+
</project>
Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
{
2+
"version": "1.0",
3+
"parameters": {
4+
"UseFIPS": {
5+
"builtIn": "AWS::UseFIPS",
6+
"required": true,
7+
"default": false,
8+
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
9+
"type": "Boolean"
10+
},
11+
"Endpoint": {
12+
"builtIn": "SDK::Endpoint",
13+
"required": false,
14+
"documentation": "Override the endpoint used to send this request",
15+
"type": "String"
16+
},
17+
"Region": {
18+
"builtIn": "AWS::Region",
19+
"required": false,
20+
"documentation": "The AWS region used to dispatch the request.",
21+
"type": "String"
22+
}
23+
},
24+
"rules": [
25+
{
26+
"conditions": [
27+
{
28+
"fn": "isSet",
29+
"argv": [
30+
{
31+
"ref": "Endpoint"
32+
}
33+
]
34+
}
35+
],
36+
"rules": [
37+
{
38+
"conditions": [
39+
{
40+
"fn": "booleanEquals",
41+
"argv": [
42+
{
43+
"ref": "UseFIPS"
44+
},
45+
true
46+
]
47+
}
48+
],
49+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
50+
"type": "error"
51+
},
52+
{
53+
"conditions": [],
54+
"endpoint": {
55+
"url": {
56+
"ref": "Endpoint"
57+
},
58+
"properties": {},
59+
"headers": {}
60+
},
61+
"type": "endpoint"
62+
}
63+
],
64+
"type": "tree"
65+
},
66+
{
67+
"conditions": [],
68+
"rules": [
69+
{
70+
"conditions": [
71+
{
72+
"fn": "isSet",
73+
"argv": [
74+
{
75+
"ref": "Region"
76+
}
77+
]
78+
}
79+
],
80+
"rules": [
81+
{
82+
"conditions": [
83+
{
84+
"fn": "aws.partition",
85+
"argv": [
86+
{
87+
"ref": "Region"
88+
}
89+
],
90+
"assign": "PartitionResult"
91+
}
92+
],
93+
"rules": [
94+
{
95+
"conditions": [
96+
{
97+
"fn": "booleanEquals",
98+
"argv": [
99+
{
100+
"ref": "UseFIPS"
101+
},
102+
true
103+
]
104+
}
105+
],
106+
"endpoint": {
107+
"url": "https://bcm-dashboards-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",
108+
"properties": {
109+
"authSchemes": [
110+
{
111+
"name": "sigv4",
112+
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
113+
}
114+
]
115+
},
116+
"headers": {}
117+
},
118+
"type": "endpoint"
119+
},
120+
{
121+
"conditions": [],
122+
"endpoint": {
123+
"url": "https://bcm-dashboards.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",
124+
"properties": {
125+
"authSchemes": [
126+
{
127+
"name": "sigv4",
128+
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
129+
}
130+
]
131+
},
132+
"headers": {}
133+
},
134+
"type": "endpoint"
135+
}
136+
],
137+
"type": "tree"
138+
}
139+
],
140+
"type": "tree"
141+
},
142+
{
143+
"conditions": [],
144+
"error": "Invalid Configuration: Missing Region",
145+
"type": "error"
146+
}
147+
],
148+
"type": "tree"
149+
}
150+
]
151+
}
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
{
2+
"testCases": [
3+
{
4+
"documentation": "For custom endpoint with region not set and fips disabled",
5+
"expect": {
6+
"endpoint": {
7+
"url": "https://example.com"
8+
}
9+
},
10+
"params": {
11+
"Endpoint": "https://example.com",
12+
"UseFIPS": false
13+
}
14+
},
15+
{
16+
"documentation": "For custom endpoint with fips enabled",
17+
"expect": {
18+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
19+
},
20+
"params": {
21+
"Endpoint": "https://example.com",
22+
"UseFIPS": true
23+
}
24+
},
25+
{
26+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
27+
"expect": {
28+
"endpoint": {
29+
"properties": {
30+
"authSchemes": [
31+
{
32+
"name": "sigv4",
33+
"signingRegion": "us-east-1"
34+
}
35+
]
36+
},
37+
"url": "https://bcm-dashboards-fips.us-east-1.api.aws"
38+
}
39+
},
40+
"params": {
41+
"Region": "us-east-1",
42+
"UseFIPS": true
43+
}
44+
},
45+
{
46+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
47+
"expect": {
48+
"endpoint": {
49+
"properties": {
50+
"authSchemes": [
51+
{
52+
"name": "sigv4",
53+
"signingRegion": "us-east-1"
54+
}
55+
]
56+
},
57+
"url": "https://bcm-dashboards.us-east-1.api.aws"
58+
}
59+
},
60+
"params": {
61+
"Region": "us-east-1",
62+
"UseFIPS": false
63+
}
64+
},
65+
{
66+
"documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled",
67+
"expect": {
68+
"endpoint": {
69+
"properties": {
70+
"authSchemes": [
71+
{
72+
"name": "sigv4",
73+
"signingRegion": "cn-northwest-1"
74+
}
75+
]
76+
},
77+
"url": "https://bcm-dashboards-fips.cn-northwest-1.api.amazonwebservices.com.cn"
78+
}
79+
},
80+
"params": {
81+
"Region": "cn-northwest-1",
82+
"UseFIPS": true
83+
}
84+
},
85+
{
86+
"documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled",
87+
"expect": {
88+
"endpoint": {
89+
"properties": {
90+
"authSchemes": [
91+
{
92+
"name": "sigv4",
93+
"signingRegion": "cn-northwest-1"
94+
}
95+
]
96+
},
97+
"url": "https://bcm-dashboards.cn-northwest-1.api.amazonwebservices.com.cn"
98+
}
99+
},
100+
"params": {
101+
"Region": "cn-northwest-1",
102+
"UseFIPS": false
103+
}
104+
},
105+
{
106+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
107+
"expect": {
108+
"endpoint": {
109+
"properties": {
110+
"authSchemes": [
111+
{
112+
"name": "sigv4",
113+
"signingRegion": "us-gov-west-1"
114+
}
115+
]
116+
},
117+
"url": "https://bcm-dashboards-fips.us-gov-west-1.api.aws"
118+
}
119+
},
120+
"params": {
121+
"Region": "us-gov-west-1",
122+
"UseFIPS": true
123+
}
124+
},
125+
{
126+
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
127+
"expect": {
128+
"endpoint": {
129+
"properties": {
130+
"authSchemes": [
131+
{
132+
"name": "sigv4",
133+
"signingRegion": "us-gov-west-1"
134+
}
135+
]
136+
},
137+
"url": "https://bcm-dashboards.us-gov-west-1.api.aws"
138+
}
139+
},
140+
"params": {
141+
"Region": "us-gov-west-1",
142+
"UseFIPS": false
143+
}
144+
},
145+
{
146+
"documentation": "Missing region",
147+
"expect": {
148+
"error": "Invalid Configuration: Missing Region"
149+
}
150+
}
151+
],
152+
"version": "1.0"
153+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"pagination": {
3+
"ListDashboards": {
4+
"input_token": "nextToken",
5+
"output_token": "nextToken",
6+
"limit_key": "maxResults",
7+
"result_key": "dashboards"
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)