Skip to content

Commit

Permalink
Java V2 Refactored SSM scenario (awsdocs#6650)
Browse files Browse the repository at this point in the history
  • Loading branch information
scmacdon authored Aug 2, 2024
1 parent 344dd49 commit 32dd8c0
Show file tree
Hide file tree
Showing 6 changed files with 852 additions and 499 deletions.
3 changes: 3 additions & 0 deletions .doc_gen/metadata/ssm_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ ssm_Scenario:
- description:
snippet_tags:
- ssm.java2.scenario.main
- description: A wrapper class for &SYS; SDK methods.
snippet_tags:
- ssm.java2.actions.main
Python:
versions:
- sdk_version: 3
Expand Down
18 changes: 9 additions & 9 deletions javav2/example_code/ssm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `javav

Code excerpts that show you how to call individual service functions.

- [CreateDocument](src/main/java/com/example/scenario/SSMScenario.java#L475)
- [CreateMaintenanceWindow](src/main/java/com/example/scenario/SSMScenario.java#L429)
- [CreateOpsItem](src/main/java/com/example/scenario/SSMScenario.java#L227)
- [DeleteDocument](src/main/java/com/example/scenario/SSMScenario.java#L371)
- [DeleteMaintenanceWindow](src/main/java/com/example/scenario/SSMScenario.java#L389)
- [DescribeOpsItems](src/main/java/com/example/scenario/SSMScenario.java#L517)
- [CreateDocument](src/main/java/com/example/scenario/SSMActions.java#L481)
- [CreateMaintenanceWindow](src/main/java/com/example/scenario/SSMActions.java#L569)
- [CreateOpsItem](src/main/java/com/example/scenario/SSMActions.java#L314)
- [DeleteDocument](src/main/java/com/example/scenario/SSMActions.java#L92)
- [DeleteMaintenanceWindow](src/main/java/com/example/scenario/SSMActions.java#L131)
- [DescribeOpsItems](src/main/java/com/example/scenario/SSMActions.java#L210)
- [DescribeParameters](src/main/java/com/example/ssm/GetParameter.java#L6)
- [PutParameter](src/main/java/com/example/ssm/PutParameter.java#L6)
- [SendCommand](src/main/java/com/example/scenario/SSMScenario.java#L311)
- [UpdateMaintenanceWindow](src/main/java/com/example/scenario/SSMScenario.java#L406)
- [UpdateOpsItem](src/main/java/com/example/scenario/SSMScenario.java#L275)
- [SendCommand](src/main/java/com/example/scenario/SSMActions.java#L385)
- [UpdateMaintenanceWindow](src/main/java/com/example/scenario/SSMActions.java#L532)
- [UpdateOpsItem](src/main/java/com/example/scenario/SSMActions.java#L170)

### Scenarios

Expand Down
6 changes: 5 additions & 1 deletion javav2/example_code/ssm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.21.20</version>
<version>2.25.56</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -59,6 +59,10 @@
<groupId>software.amazon.awssdk</groupId>
<artifactId>secretsmanager</artifactId>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>netty-nio-client</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
Expand Down
Loading

0 comments on commit 32dd8c0

Please sign in to comment.