Skip to content

Commit fee6014

Browse files
AWSL-Applin
AWS
authored andcommitted
AWS SimSpace Weaver Update: This release fixes using aws-us-gov ARNs in API calls and adds documentation for snapshot APIs.
1 parent 82b54e3 commit fee6014

File tree

3 files changed

+57
-51
lines changed

3 files changed

+57
-51
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 SimSpace Weaver",
4+
"contributor": "",
5+
"description": "This release fixes using aws-us-gov ARNs in API calls and adds documentation for snapshot APIs."
6+
}

services/simspaceweaver/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
}
99
},
1010
"params": {
11-
"Region": "us-gov-east-1",
11+
"UseDualStack": true,
1212
"UseFIPS": true,
13-
"UseDualStack": true
13+
"Region": "us-gov-east-1"
1414
}
1515
},
1616
{
@@ -21,9 +21,9 @@
2121
}
2222
},
2323
"params": {
24-
"Region": "us-gov-east-1",
24+
"UseDualStack": false,
2525
"UseFIPS": true,
26-
"UseDualStack": false
26+
"Region": "us-gov-east-1"
2727
}
2828
},
2929
{
@@ -34,9 +34,9 @@
3434
}
3535
},
3636
"params": {
37-
"Region": "us-gov-east-1",
37+
"UseDualStack": true,
3838
"UseFIPS": false,
39-
"UseDualStack": true
39+
"Region": "us-gov-east-1"
4040
}
4141
},
4242
{
@@ -47,9 +47,9 @@
4747
}
4848
},
4949
"params": {
50-
"Region": "us-gov-east-1",
50+
"UseDualStack": false,
5151
"UseFIPS": false,
52-
"UseDualStack": false
52+
"Region": "us-gov-east-1"
5353
}
5454
},
5555
{
@@ -60,9 +60,9 @@
6060
}
6161
},
6262
"params": {
63-
"Region": "cn-north-1",
63+
"UseDualStack": true,
6464
"UseFIPS": true,
65-
"UseDualStack": true
65+
"Region": "cn-north-1"
6666
}
6767
},
6868
{
@@ -73,9 +73,9 @@
7373
}
7474
},
7575
"params": {
76-
"Region": "cn-north-1",
76+
"UseDualStack": false,
7777
"UseFIPS": true,
78-
"UseDualStack": false
78+
"Region": "cn-north-1"
7979
}
8080
},
8181
{
@@ -86,9 +86,9 @@
8686
}
8787
},
8888
"params": {
89-
"Region": "cn-north-1",
89+
"UseDualStack": true,
9090
"UseFIPS": false,
91-
"UseDualStack": true
91+
"Region": "cn-north-1"
9292
}
9393
},
9494
{
@@ -99,9 +99,9 @@
9999
}
100100
},
101101
"params": {
102-
"Region": "cn-north-1",
102+
"UseDualStack": false,
103103
"UseFIPS": false,
104-
"UseDualStack": false
104+
"Region": "cn-north-1"
105105
}
106106
},
107107
{
@@ -110,9 +110,9 @@
110110
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
111111
},
112112
"params": {
113-
"Region": "us-iso-east-1",
113+
"UseDualStack": true,
114114
"UseFIPS": true,
115-
"UseDualStack": true
115+
"Region": "us-iso-east-1"
116116
}
117117
},
118118
{
@@ -123,9 +123,9 @@
123123
}
124124
},
125125
"params": {
126-
"Region": "us-iso-east-1",
126+
"UseDualStack": false,
127127
"UseFIPS": true,
128-
"UseDualStack": false
128+
"Region": "us-iso-east-1"
129129
}
130130
},
131131
{
@@ -134,9 +134,9 @@
134134
"error": "DualStack is enabled but this partition does not support DualStack"
135135
},
136136
"params": {
137-
"Region": "us-iso-east-1",
137+
"UseDualStack": true,
138138
"UseFIPS": false,
139-
"UseDualStack": true
139+
"Region": "us-iso-east-1"
140140
}
141141
},
142142
{
@@ -147,9 +147,9 @@
147147
}
148148
},
149149
"params": {
150-
"Region": "us-iso-east-1",
150+
"UseDualStack": false,
151151
"UseFIPS": false,
152-
"UseDualStack": false
152+
"Region": "us-iso-east-1"
153153
}
154154
},
155155
{
@@ -160,9 +160,9 @@
160160
}
161161
},
162162
"params": {
163-
"Region": "us-east-1",
163+
"UseDualStack": true,
164164
"UseFIPS": true,
165-
"UseDualStack": true
165+
"Region": "us-east-1"
166166
}
167167
},
168168
{
@@ -173,9 +173,9 @@
173173
}
174174
},
175175
"params": {
176-
"Region": "us-east-1",
176+
"UseDualStack": false,
177177
"UseFIPS": true,
178-
"UseDualStack": false
178+
"Region": "us-east-1"
179179
}
180180
},
181181
{
@@ -186,9 +186,9 @@
186186
}
187187
},
188188
"params": {
189-
"Region": "us-east-1",
189+
"UseDualStack": true,
190190
"UseFIPS": false,
191-
"UseDualStack": true
191+
"Region": "us-east-1"
192192
}
193193
},
194194
{
@@ -199,9 +199,9 @@
199199
}
200200
},
201201
"params": {
202-
"Region": "us-east-1",
202+
"UseDualStack": false,
203203
"UseFIPS": false,
204-
"UseDualStack": false
204+
"Region": "us-east-1"
205205
}
206206
},
207207
{
@@ -210,9 +210,9 @@
210210
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
211211
},
212212
"params": {
213-
"Region": "us-isob-east-1",
213+
"UseDualStack": true,
214214
"UseFIPS": true,
215-
"UseDualStack": true
215+
"Region": "us-isob-east-1"
216216
}
217217
},
218218
{
@@ -223,9 +223,9 @@
223223
}
224224
},
225225
"params": {
226-
"Region": "us-isob-east-1",
226+
"UseDualStack": false,
227227
"UseFIPS": true,
228-
"UseDualStack": false
228+
"Region": "us-isob-east-1"
229229
}
230230
},
231231
{
@@ -234,9 +234,9 @@
234234
"error": "DualStack is enabled but this partition does not support DualStack"
235235
},
236236
"params": {
237-
"Region": "us-isob-east-1",
237+
"UseDualStack": true,
238238
"UseFIPS": false,
239-
"UseDualStack": true
239+
"Region": "us-isob-east-1"
240240
}
241241
},
242242
{
@@ -247,9 +247,9 @@
247247
}
248248
},
249249
"params": {
250-
"Region": "us-isob-east-1",
250+
"UseDualStack": false,
251251
"UseFIPS": false,
252-
"UseDualStack": false
252+
"Region": "us-isob-east-1"
253253
}
254254
},
255255
{
@@ -260,9 +260,9 @@
260260
}
261261
},
262262
"params": {
263-
"Region": "us-east-1",
264-
"UseFIPS": false,
265263
"UseDualStack": false,
264+
"UseFIPS": false,
265+
"Region": "us-east-1",
266266
"Endpoint": "https://example.com"
267267
}
268268
},
@@ -272,9 +272,9 @@
272272
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
273273
},
274274
"params": {
275-
"Region": "us-east-1",
276-
"UseFIPS": true,
277275
"UseDualStack": false,
276+
"UseFIPS": true,
277+
"Region": "us-east-1",
278278
"Endpoint": "https://example.com"
279279
}
280280
},
@@ -284,9 +284,9 @@
284284
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
285285
},
286286
"params": {
287-
"Region": "us-east-1",
288-
"UseFIPS": false,
289287
"UseDualStack": true,
288+
"UseFIPS": false,
289+
"Region": "us-east-1",
290290
"Endpoint": "https://example.com"
291291
}
292292
}

services/simspaceweaver/src/main/resources/codegen-resources/service-2.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
"members":{
369369
"Destination":{
370370
"shape":"S3Destination",
371-
"documentation":"<p>The Amazon S3 bucket and optional folder (object key prefix) where SimSpace Weaver creates the snapshot file.</p>"
371+
"documentation":"<p>The Amazon S3 bucket and optional folder (object key prefix) where SimSpace Weaver creates the snapshot file.</p> <p>The Amazon S3 bucket must be in the same Amazon Web Services Region as the simulation.</p>"
372372
},
373373
"Simulation":{
374374
"shape":"SimSpaceWeaverResourceName",
@@ -751,7 +751,7 @@
751751
"type":"string",
752752
"max":1600,
753753
"min":0,
754-
"pattern":"^arn:(?:aws|aws-cn):log-group:([a-z]{2}-[a-z]+-\\d{1}):(\\d{12})?:role\\/(.+)$"
754+
"pattern":"^arn:(?:aws|aws-cn|aws-us-gov):log-group:([a-z]{2}-[a-z]+-\\d{1}):(\\d{12})?:role\\/(.+)$"
755755
},
756756
"LoggingConfiguration":{
757757
"type":"structure",
@@ -806,7 +806,7 @@
806806
"type":"string",
807807
"max":1600,
808808
"min":0,
809-
"pattern":"^arn:(?:aws|aws-cn):iam::(\\d{12})?:role\\/(.+)$"
809+
"pattern":"^arn:(?:aws|aws-cn|aws-us-gov):iam::(\\d{12})?:role\\/(.+)$"
810810
},
811811
"S3Destination":{
812812
"type":"structure",
@@ -852,7 +852,7 @@
852852
"type":"string",
853853
"max":1600,
854854
"min":0,
855-
"pattern":"^arn:(?:aws|aws-cn):simspaceweaver:([a-z]{2}-[a-z]+-\\d{1}):(\\d{12})?:([a-z]+)\\/(.+)$"
855+
"pattern":"^arn:(?:aws|aws-cn|aws-us-gov):simspaceweaver:([a-z]{2}-[a-z]+-\\d{1}):(\\d{12})?:([a-z]+)\\/(.+)$"
856856
},
857857
"SimSpaceWeaverLongResourceName":{
858858
"type":"string",
@@ -1112,7 +1112,7 @@
11121112
},
11131113
"SnapshotS3Location":{
11141114
"shape":"S3Location",
1115-
"documentation":"<p>The location of the snapshot .zip file in Amazon Simple Storage Service (Amazon S3). For more information about Amazon S3, see the <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html\"> <i>Amazon Simple Storage Service User Guide</i> </a>.</p> <p>Provide a <code>SnapshotS3Location</code> to start your simulation from a snapshot.</p> <p>If you provide a <code>SnapshotS3Location</code> then you can't provide a <code>SchemaS3Location</code>.</p>"
1115+
"documentation":"<p>The location of the snapshot .zip file in Amazon Simple Storage Service (Amazon S3). For more information about Amazon S3, see the <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html\"> <i>Amazon Simple Storage Service User Guide</i> </a>.</p> <p>Provide a <code>SnapshotS3Location</code> to start your simulation from a snapshot.</p> <p>The Amazon S3 bucket must be in the same Amazon Web Services Region as the simulation.</p> <p>If you provide a <code>SnapshotS3Location</code> then you can't provide a <code>SchemaS3Location</code>.</p>"
11161116
},
11171117
"Tags":{
11181118
"shape":"TagMap",

0 commit comments

Comments
 (0)