Skip to content

Commit 271d6af

Browse files
author
AWS
committed
AWS Resource Explorer Update: This is the initial SDK release for AWS Resource Explorer. AWS Resource Explorer lets your users search for and discover your AWS resources across the AWS Regions in your account.
1 parent 4009219 commit 271d6af

File tree

6 files changed

+2863
-0
lines changed

6 files changed

+2863
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Resource Explorer",
4+
"contributor": "",
5+
"description": "This is the initial SDK release for AWS Resource Explorer. AWS Resource Explorer lets your users search for and discover your AWS resources across the AWS Regions in your account."
6+
}

services/resourceexplorer2/pom.xml

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0"?>
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+
-->
16+
17+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
18+
xmlns="http://maven.apache.org/POM/4.0.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
20+
<modelVersion>4.0.0</modelVersion>
21+
<parent>
22+
<groupId>software.amazon.awssdk</groupId>
23+
<artifactId>services</artifactId>
24+
<version>2.18.13-SNAPSHOT</version>
25+
</parent>
26+
<artifactId>resourceexplorer2</artifactId>
27+
<name>AWS Java SDK :: Services :: Resource Explorer 2</name>
28+
<description>The AWS Java SDK for Resource Explorer 2 module holds the client classes that are used for
29+
communicating with Resource Explorer 2.
30+
</description>
31+
<url>https://aws.amazon.com/sdkforjava</url>
32+
<build>
33+
<plugins>
34+
<plugin>
35+
<groupId>org.apache.maven.plugins</groupId>
36+
<artifactId>maven-jar-plugin</artifactId>
37+
<configuration>
38+
<archive>
39+
<manifestEntries>
40+
<Automatic-Module-Name>software.amazon.awssdk.services.resourceexplorer2</Automatic-Module-Name>
41+
</manifestEntries>
42+
</archive>
43+
</configuration>
44+
</plugin>
45+
</plugins>
46+
</build>
47+
48+
<dependencies>
49+
<dependency>
50+
<groupId>software.amazon.awssdk</groupId>
51+
<artifactId>protocol-core</artifactId>
52+
<version>${awsjavasdk.version}</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>software.amazon.awssdk</groupId>
56+
<artifactId>aws-json-protocol</artifactId>
57+
<version>${awsjavasdk.version}</version>
58+
</dependency>
59+
</dependencies>
60+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,248 @@
1+
{
2+
"version": "1.0",
3+
"parameters": {
4+
"Region": {
5+
"builtIn": "AWS::Region",
6+
"required": false,
7+
"documentation": "The AWS region used to dispatch the request.",
8+
"type": "String"
9+
},
10+
"UseFIPS": {
11+
"builtIn": "AWS::UseFIPS",
12+
"required": true,
13+
"default": false,
14+
"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.",
15+
"type": "Boolean"
16+
},
17+
"Endpoint": {
18+
"builtIn": "SDK::Endpoint",
19+
"required": false,
20+
"documentation": "Override the endpoint used to send this request",
21+
"type": "String"
22+
}
23+
},
24+
"rules": [
25+
{
26+
"conditions": [
27+
{
28+
"fn": "aws.partition",
29+
"argv": [
30+
{
31+
"ref": "Region"
32+
}
33+
],
34+
"assign": "PartitionResult"
35+
}
36+
],
37+
"type": "tree",
38+
"rules": [
39+
{
40+
"conditions": [
41+
{
42+
"fn": "isSet",
43+
"argv": [
44+
{
45+
"ref": "Endpoint"
46+
}
47+
]
48+
},
49+
{
50+
"fn": "parseURL",
51+
"argv": [
52+
{
53+
"ref": "Endpoint"
54+
}
55+
],
56+
"assign": "url"
57+
}
58+
],
59+
"type": "tree",
60+
"rules": [
61+
{
62+
"conditions": [
63+
{
64+
"fn": "booleanEquals",
65+
"argv": [
66+
{
67+
"ref": "UseFIPS"
68+
},
69+
true
70+
]
71+
}
72+
],
73+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
74+
"type": "error"
75+
},
76+
{
77+
"conditions": [],
78+
"endpoint": {
79+
"url": {
80+
"ref": "Endpoint"
81+
},
82+
"properties": {},
83+
"headers": {}
84+
},
85+
"type": "endpoint"
86+
}
87+
]
88+
},
89+
{
90+
"conditions": [],
91+
"type": "tree",
92+
"rules": [
93+
{
94+
"conditions": [
95+
{
96+
"fn": "booleanEquals",
97+
"argv": [
98+
true,
99+
{
100+
"fn": "getAttr",
101+
"argv": [
102+
{
103+
"ref": "PartitionResult"
104+
},
105+
"supportsDualStack"
106+
]
107+
}
108+
]
109+
}
110+
],
111+
"type": "tree",
112+
"rules": [
113+
{
114+
"conditions": [
115+
{
116+
"fn": "booleanEquals",
117+
"argv": [
118+
{
119+
"ref": "UseFIPS"
120+
},
121+
true
122+
]
123+
}
124+
],
125+
"type": "tree",
126+
"rules": [
127+
{
128+
"conditions": [
129+
{
130+
"fn": "booleanEquals",
131+
"argv": [
132+
true,
133+
{
134+
"fn": "getAttr",
135+
"argv": [
136+
{
137+
"ref": "PartitionResult"
138+
},
139+
"supportsFIPS"
140+
]
141+
}
142+
]
143+
}
144+
],
145+
"type": "tree",
146+
"rules": [
147+
{
148+
"conditions": [],
149+
"endpoint": {
150+
"url": "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
151+
"properties": {},
152+
"headers": {}
153+
},
154+
"type": "endpoint"
155+
}
156+
]
157+
},
158+
{
159+
"conditions": [],
160+
"error": "FIPS is enabled but this partition does not support FIPS",
161+
"type": "error"
162+
}
163+
]
164+
},
165+
{
166+
"conditions": [],
167+
"endpoint": {
168+
"url": "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}",
169+
"properties": {},
170+
"headers": {}
171+
},
172+
"type": "endpoint"
173+
}
174+
]
175+
},
176+
{
177+
"conditions": [],
178+
"type": "tree",
179+
"rules": [
180+
{
181+
"conditions": [
182+
{
183+
"fn": "booleanEquals",
184+
"argv": [
185+
{
186+
"ref": "UseFIPS"
187+
},
188+
true
189+
]
190+
}
191+
],
192+
"type": "tree",
193+
"rules": [
194+
{
195+
"conditions": [
196+
{
197+
"fn": "booleanEquals",
198+
"argv": [
199+
true,
200+
{
201+
"fn": "getAttr",
202+
"argv": [
203+
{
204+
"ref": "PartitionResult"
205+
},
206+
"supportsFIPS"
207+
]
208+
}
209+
]
210+
}
211+
],
212+
"type": "tree",
213+
"rules": [
214+
{
215+
"conditions": [],
216+
"endpoint": {
217+
"url": "https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}",
218+
"properties": {},
219+
"headers": {}
220+
},
221+
"type": "endpoint"
222+
}
223+
]
224+
},
225+
{
226+
"conditions": [],
227+
"error": "FIPS is enabled but this partition does not support FIPS",
228+
"type": "error"
229+
}
230+
]
231+
},
232+
{
233+
"conditions": [],
234+
"endpoint": {
235+
"url": "https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}",
236+
"properties": {},
237+
"headers": {}
238+
},
239+
"type": "endpoint"
240+
}
241+
]
242+
}
243+
]
244+
}
245+
]
246+
}
247+
]
248+
}

0 commit comments

Comments
 (0)