Skip to content

Commit 523abc3

Browse files
authored
Merge branch 'awsdocs:main' into dotnet-bedrock-tool
2 parents cdbb953 + c8d8209 commit 523abc3

File tree

159 files changed

+18469
-2550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+18469
-2550
lines changed

.doc_gen/metadata/bedrock_metadata.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ bedrock_Hello:
2929
- description:
3030
snippet_files:
3131
- javascriptv3/example_code/bedrock/hello.js
32+
Python:
33+
versions:
34+
- sdk_version: 3
35+
github: python/example_code/bedrock
36+
sdkguide:
37+
excerpts:
38+
- description:
39+
snippet_tags:
40+
- bedrock.example_code.hello_bedrock.complete
3241
services:
3342
bedrock: {ListFoundationModels}
3443

.doc_gen/metadata/iot_sitewise_metadata.yaml

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ iotsitewise_Hello:
2222
- description:
2323
snippet_tags:
2424
- python.example_code.iotsitewise.Hello
25+
JavaScript:
26+
versions:
27+
- sdk_version: 3
28+
github: javascriptv3/example_code/iotsitewise
29+
excerpts:
30+
- description:
31+
snippet_tags:
32+
- iotsitewise.JavaScript.Basics.hello
2533
services:
2634
iotsitewise: {ListAssetModels}
2735
iotsitewise_DescribeGateway:
@@ -43,6 +51,14 @@ iotsitewise_DescribeGateway:
4351
snippet_tags:
4452
- python.example_code.iotsitewise.IoTSitewiseWrapper.decl
4553
- python.example_code.iotsitewise.DescribeGateway
54+
JavaScript:
55+
versions:
56+
- sdk_version: 3
57+
github: javascriptv3/example_code/iotsitewise
58+
excerpts:
59+
- description:
60+
snippet_tags:
61+
- iotsitewise.JavaScript.Basics.describeGateway
4662
services:
4763
iotsitewise: {DescribeGateway}
4864
iotsitewise_DeleteGateway:
@@ -64,6 +80,14 @@ iotsitewise_DeleteGateway:
6480
snippet_tags:
6581
- python.example_code.iotsitewise.IoTSitewiseWrapper.decl
6682
- python.example_code.iotsitewise.DeleteGateway
83+
JavaScript:
84+
versions:
85+
- sdk_version: 3
86+
github: javascriptv3/example_code/iotsitewise
87+
excerpts:
88+
- description:
89+
snippet_tags:
90+
- iotsitewise.JavaScript.Basics.deleteGateway
6791
services:
6892
iotsitewise: {DeleteGateway}
6993
iotsitewise_CreateGateway:
@@ -85,6 +109,14 @@ iotsitewise_CreateGateway:
85109
snippet_tags:
86110
- python.example_code.iotsitewise.IoTSitewiseWrapper.decl
87111
- python.example_code.iotsitewise.CreateGateway
112+
JavaScript:
113+
versions:
114+
- sdk_version: 3
115+
github: javascriptv3/example_code/iotsitewise
116+
excerpts:
117+
- description:
118+
snippet_tags:
119+
- iotsitewise.JavaScript.Basics.createGateway
88120
services:
89121
iotsitewise: {CreateGateway}
90122
iotsitewise_DescribePortal:
@@ -106,6 +138,14 @@ iotsitewise_DescribePortal:
106138
snippet_tags:
107139
- python.example_code.iotsitewise.IoTSitewiseWrapper.decl
108140
- python.example_code.iotsitewise.CreateGateway
141+
JavaScript:
142+
versions:
143+
- sdk_version: 3
144+
github: javascriptv3/example_code/iotsitewise
145+
excerpts:
146+
- description:
147+
snippet_tags:
148+
- iotsitewise.JavaScript.Basics.describePortal
109149
services:
110150
iotsitewise: {DescribePortal}
111151
iotsitewise_ListAssetModels:
@@ -127,6 +167,14 @@ iotsitewise_ListAssetModels:
127167
snippet_tags:
128168
- python.example_code.iotsitewise.IoTSitewiseWrapper.decl
129169
- python.example_code.iotsitewise.ListAssetModels
170+
JavaScript:
171+
versions:
172+
- sdk_version: 3
173+
github: javascriptv3/example_code/iotsitewise
174+
excerpts:
175+
- description:
176+
snippet_tags:
177+
- iotsitewise.JavaScript.Basics.listAssetModels
130178
services:
131179
iotsitewise: {ListAssetModels}
132180
iotsitewise_DeletePortal:
@@ -148,6 +196,14 @@ iotsitewise_DeletePortal:
148196
snippet_tags:
149197
- python.example_code.iotsitewise.IoTSitewiseWrapper.decl
150198
- python.example_code.iotsitewise.DeletePortal
199+
JavaScript:
200+
versions:
201+
- sdk_version: 3
202+
github: javascriptv3/example_code/iotsitewise
203+
excerpts:
204+
- description:
205+
snippet_tags:
206+
- iotsitewise.JavaScript.Basics.deletePortal
151207
services:
152208
iotsitewise: {DeletePortal}
153209
iotsitewise_CreatePortal:
@@ -169,6 +225,14 @@ iotsitewise_CreatePortal:
169225
snippet_tags:
170226
- python.example_code.iotsitewise.IoTSitewiseWrapper.decl
171227
- python.example_code.iotsitewise.CreatePortal
228+
JavaScript:
229+
versions:
230+
- sdk_version: 3
231+
github: javascriptv3/example_code/iotsitewise
232+
excerpts:
233+
- description:
234+
snippet_tags:
235+
- iotsitewise.JavaScript.Basics.createPortal
172236
services:
173237
iotsitewise: {CreatePortal}
174238
iotsitewise_DeleteAssetModel:
@@ -190,6 +254,14 @@ iotsitewise_DeleteAssetModel:
190254
snippet_tags:
191255
- python.example_code.iotsitewise.IoTSitewiseWrapper.decl
192256
- python.example_code.iotsitewise.DeleteAssetModel
257+
JavaScript:
258+
versions:
259+
- sdk_version: 3
260+
github: javascriptv3/example_code/iotsitewise
261+
excerpts:
262+
- description:
263+
snippet_tags:
264+
- iotsitewise.JavaScript.Basics.deleteAssetModel
193265
services:
194266
iotsitewise: {DeleteAssetModel}
195267
iotsitewise_DeleteAsset:
@@ -211,6 +283,14 @@ iotsitewise_DeleteAsset:
211283
snippet_tags:
212284
- python.example_code.iotsitewise.IoTSitewiseWrapper.decl
213285
- python.example_code.iotsitewise.DeleteAsset
286+
JavaScript:
287+
versions:
288+
- sdk_version: 3
289+
github: javascriptv3/example_code/iotsitewise
290+
excerpts:
291+
- description:
292+
snippet_tags:
293+
- iotsitewise.JavaScript.Basics.deleteAsset
214294
services:
215295
iotsitewise: {DeleteAsset}
216296
iotsitewise_DescribeAssetModel:
@@ -223,6 +303,14 @@ iotsitewise_DescribeAssetModel:
223303
- description:
224304
snippet_tags:
225305
- sitewise.java2.describe.asset.model.main
306+
JavaScript:
307+
versions:
308+
- sdk_version: 3
309+
github: javascriptv3/example_code/iotsitewise
310+
excerpts:
311+
- description:
312+
snippet_tags:
313+
- iotsitewise.JavaScript.Basics.describeAssetModel
226314
services:
227315
iotsitewise: {DescribeAssetModel}
228316
iotsitewise_GetAssetPropertyValue:
@@ -244,6 +332,14 @@ iotsitewise_GetAssetPropertyValue:
244332
snippet_tags:
245333
- python.example_code.iotsitewise.IoTSitewiseWrapper.decl
246334
- python.example_code.iotsitewise.GetAssetPropertyValue
335+
JavaScript:
336+
versions:
337+
- sdk_version: 3
338+
github: javascriptv3/example_code/iotsitewise
339+
excerpts:
340+
- description:
341+
snippet_tags:
342+
- iotsitewise.JavaScript.Basics.getAssetPropertyValue
247343
services:
248344
iotsitewise: {GetAssetPropertyValue}
249345
iotsitewise_BatchPutAssetPropertyValue:
@@ -275,6 +371,14 @@ iotsitewise_BatchPutAssetPropertyValue:
275371
function.
276372
snippet_tags:
277373
- python.example_code.iotsitewise.BatchPutAssetPropertyValue.values
374+
JavaScript:
375+
versions:
376+
- sdk_version: 3
377+
github: javascriptv3/example_code/iotsitewise
378+
excerpts:
379+
- description:
380+
snippet_tags:
381+
- iotsitewise.JavaScript.Basics.batchPutAssetPropertyValue
278382
services:
279383
iotsitewise: {BatchPutAssetPropertyValue}
280384
iotsitewise_CreateAsset:
@@ -296,6 +400,14 @@ iotsitewise_CreateAsset:
296400
snippet_tags:
297401
- python.example_code.iotsitewise.IoTSitewiseWrapper.decl
298402
- python.example_code.iotsitewise.CreateAsset
403+
JavaScript:
404+
versions:
405+
- sdk_version: 3
406+
github: javascriptv3/example_code/iotsitewise
407+
excerpts:
408+
- description:
409+
snippet_tags:
410+
- iotsitewise.JavaScript.Basics.createAsset
299411
services:
300412
iotsitewise: {CreateAsset}
301413
iotsitewise_CreateAssetModel:
@@ -321,6 +433,14 @@ iotsitewise_CreateAssetModel:
321433
Here is an example of a properties list to pass to the function.
322434
snippet_tags:
323435
- python.example_code.iotsitewise.CreateAssetModel.properties
436+
JavaScript:
437+
versions:
438+
- sdk_version: 3
439+
github: javascriptv3/example_code/iotsitewise
440+
excerpts:
441+
- description:
442+
snippet_tags:
443+
- iotsitewise.JavaScript.Basics.createAssetModel
324444
services:
325445
iotsitewise: {CreateAssetModel}
326446
iotsitewise_Scenario:
@@ -353,5 +473,13 @@ iotsitewise_Scenario:
353473
genai: some
354474
snippet_tags:
355475
- python.example_code.iotsitewise.IoTSitewiseWrapper.class
476+
JavaScript:
477+
versions:
478+
- sdk_version: 3
479+
github: javascriptv3/example_code/iotsitewise
480+
excerpts:
481+
- description:
482+
snippet_tags:
483+
- iotsitewise.JavaScript.Basics.scenario
356484
services:
357485
iotsitewise: {}

dotnetv4/DotNetV4Examples.sln

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,16 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudWatchScenario", "Cloud
109109
EndProject
110110
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudWatchActions", "CloudWatch\Actions\CloudWatchActions.csproj", "{EAF4A3B8-5CD0-48ED-B848-0EA6D451B8D3}"
111111
EndProject
112+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "EC2", "EC2", "{9424FB14-B6DE-44CE-B675-AC2B57EC1E69}"
113+
EndProject
114+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EC2Tests", "EC2\Tests\EC2Tests.csproj", "{C99A0F7C-9477-4985-90F6-8EED38ECAC10}"
115+
EndProject
116+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scenarios", "Scenarios", "{6C167F25-F97F-4854-8CD8-A2D446B6799B}"
117+
EndProject
118+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basics", "EC2\Scenarios\EC2_Basics\Basics.csproj", "{D95519CA-BD27-45AE-B83B-3FB02E7AE445}"
119+
EndProject
120+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EC2Actions", "EC2\Actions\EC2Actions.csproj", "{0633CB2B-3508-48E5-A8C2-427A83A5CA6E}"
121+
EndProject
112122
Global
113123
GlobalSection(SolutionConfigurationPlatforms) = preSolution
114124
Debug|Any CPU = Debug|Any CPU
@@ -271,6 +281,18 @@ Global
271281
{EAF4A3B8-5CD0-48ED-B848-0EA6D451B8D3}.Debug|Any CPU.Build.0 = Debug|Any CPU
272282
{EAF4A3B8-5CD0-48ED-B848-0EA6D451B8D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
273283
{EAF4A3B8-5CD0-48ED-B848-0EA6D451B8D3}.Release|Any CPU.Build.0 = Release|Any CPU
284+
{C99A0F7C-9477-4985-90F6-8EED38ECAC10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
285+
{C99A0F7C-9477-4985-90F6-8EED38ECAC10}.Debug|Any CPU.Build.0 = Debug|Any CPU
286+
{C99A0F7C-9477-4985-90F6-8EED38ECAC10}.Release|Any CPU.ActiveCfg = Release|Any CPU
287+
{C99A0F7C-9477-4985-90F6-8EED38ECAC10}.Release|Any CPU.Build.0 = Release|Any CPU
288+
{D95519CA-BD27-45AE-B83B-3FB02E7AE445}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
289+
{D95519CA-BD27-45AE-B83B-3FB02E7AE445}.Debug|Any CPU.Build.0 = Debug|Any CPU
290+
{D95519CA-BD27-45AE-B83B-3FB02E7AE445}.Release|Any CPU.ActiveCfg = Release|Any CPU
291+
{D95519CA-BD27-45AE-B83B-3FB02E7AE445}.Release|Any CPU.Build.0 = Release|Any CPU
292+
{0633CB2B-3508-48E5-A8C2-427A83A5CA6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
293+
{0633CB2B-3508-48E5-A8C2-427A83A5CA6E}.Debug|Any CPU.Build.0 = Debug|Any CPU
294+
{0633CB2B-3508-48E5-A8C2-427A83A5CA6E}.Release|Any CPU.ActiveCfg = Release|Any CPU
295+
{0633CB2B-3508-48E5-A8C2-427A83A5CA6E}.Release|Any CPU.Build.0 = Release|Any CPU
274296
EndGlobalSection
275297
GlobalSection(SolutionProperties) = preSolution
276298
HideSolutionNode = FALSE
@@ -323,6 +345,10 @@ Global
323345
{106FBE12-6FF7-40DC-9B3C-E5F67F335B32} = {CED87D19-7F82-4D67-8A30-3EE085D07E45}
324346
{565A9701-3D9C-49F8-86B7-D256A1D9E074} = {CED87D19-7F82-4D67-8A30-3EE085D07E45}
325347
{EAF4A3B8-5CD0-48ED-B848-0EA6D451B8D3} = {CED87D19-7F82-4D67-8A30-3EE085D07E45}
348+
{C99A0F7C-9477-4985-90F6-8EED38ECAC10} = {9424FB14-B6DE-44CE-B675-AC2B57EC1E69}
349+
{6C167F25-F97F-4854-8CD8-A2D446B6799B} = {9424FB14-B6DE-44CE-B675-AC2B57EC1E69}
350+
{D95519CA-BD27-45AE-B83B-3FB02E7AE445} = {6C167F25-F97F-4854-8CD8-A2D446B6799B}
351+
{0633CB2B-3508-48E5-A8C2-427A83A5CA6E} = {9424FB14-B6DE-44CE-B675-AC2B57EC1E69}
326352
EndGlobalSection
327353
GlobalSection(ExtensibilityGlobals) = postSolution
328354
SolutionGuid = {08502818-E8E1-4A91-A51C-4C8C8D4FF9CA}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net8.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<PackageReference Include="AWSSDK.EC2" Version="4.0.0-preview.4" />
12+
<PackageReference Include="AWSSDK.ECS" Version="4.0.0-preview.4" />
13+
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="4.0.0-preview.4" />
14+
<PackageReference Include="AWSSDK.SimpleSystemsManagement" Version="4.0.0-preview.4" />
15+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
16+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
17+
</ItemGroup>
18+
19+
</Project>

0 commit comments

Comments
 (0)