Skip to content

Commit

Permalink
Merge branch 'main' into 6447-python-ssm-getting-started-scenerio
Browse files Browse the repository at this point in the history
  • Loading branch information
beqqrry-aws authored Jul 1, 2024
2 parents 86bb379 + de8aa8c commit 74e42e6
Show file tree
Hide file tree
Showing 25 changed files with 3,855 additions and 6 deletions.
159 changes: 159 additions & 0 deletions .doc_gen/metadata/ecr_metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,136 @@
# zexi 0.4.0
ecr_Hello:
title: Hello &ECR;
title_abbrev: Hello &ECR;
synopsis: get started using &ECR;.
category: Hello
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/ecr
sdkguide:
excerpts:
- description:
snippet_tags:
- ecr.java2_hello.main
services:
ecr: {listImages}
ecr_PushImageCmd:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/ecr
sdkguide:
excerpts:
- description:
snippet_tags:
- ecr.java2.push.image.main
services:
ecr: {PushImageCmd}
ecr_SetRepositoryPolicy:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/ecr
sdkguide:
excerpts:
- description:
snippet_tags:
- ecr.java2.set.repo.policy.main
services:
ecr: {SetRepositoryPolicy}
ecr_GetRepositoryPolicy:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/ecr
sdkguide:
excerpts:
- description:
snippet_tags:
- ecr.java2.get.repo.policy.main
services:
ecr: {GetRepositoryPolicy}
ecr_GetAuthorizationToken:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/ecr
sdkguide:
excerpts:
- description:
snippet_tags:
- ecr.java2.get.token.main
services:
ecr: {GetAuthorizationToken}
ecr_StartLifecyclePolicyPreview:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/ecr
sdkguide:
excerpts:
- description:
snippet_tags:
- ecr.java2.verify.image.main
services:
ecr: {StartLifecyclePolicyPreview}
ecr_DescribeImages:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/ecr
sdkguide:
excerpts:
- description:
snippet_tags:
- ecr.java2.verify.image.main
services:
ecr: {DescribeImages}
ecr_DeleteRepository:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/ecr
sdkguide:
excerpts:
- description:
snippet_tags:
- ecr.java2.delete.repo.main
services:
ecr: {DeleteRepository}
ecr_CreateRepository:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/ecr
sdkguide:
excerpts:
- description:
snippet_tags:
- ecr.java2.create.repo.main
services:
ecr: {CreateRepository}
ecr_DescribeRepositories:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/ecr
sdkguide:
excerpts:
- description:
snippet_tags:
- ecr.java2.describe.policy.main
Rust:
versions:
- sdk_version: 1
Expand All @@ -25,3 +155,32 @@ ecr_ListImages:
- ecr.rust.list-images
services:
ecr: {ListImages}
ecr_Scenario_RepositoryManagement:
title: Learn core operations for &ECR; using an &AWS; SDK
title_abbrev: Learn &ECR; core operations
synopsis_list:
- Create an &ECR; repository.
- Set repository policies.
- Retrieve repository URIs.
- Get &ECR; authorization tokens.
- Set lifecycle policies for &ECR; repositories.
- Push a Docker image to an &ECR; repository.
- Verify the existence of an image in an &ECR; repository.
- List &ECR; repositories for your account and get details about them.
- Delete &ECR; repositories.
category: Scenarios
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/kms
sdkguide:
excerpts:
- description: Run an interactive scenario demonstrating &ECR; features.
snippet_tags:
- ecr.java2_scenario.parent.main
- description: A wrapper class for &ECR; SDK methods.
snippet_tags:
- ecr.java2_scenario.main
services:
ecr: {CreateRepository, DescribeRepositories, DeleteRepository, DescribeImages, StartLifecyclePolicyPreview, GetAuthorizationToken, GetRepositoryPolicy, SetRepositoryPolicy}
123 changes: 118 additions & 5 deletions .doc_gen/metadata/s3_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,15 @@ s3_CreateBucket:
- sdk_version: 2
github: gov2/s3
excerpts:
- description:
- description: Create a bucket with default configuration.
snippet_tags:
- gov2.s3.BucketBasics.struct
- gov2.s3.CreateBucket
- description: Create a bucket with object locking and wait for it to exist.
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.CreateBucket
Kotlin:
versions:
- sdk_version: 1
Expand Down Expand Up @@ -399,6 +404,16 @@ s3_DeleteObject:
- description:
snippet_tags:
- s3.cpp.delete_object.code
Go:
versions:
- sdk_version: 2
github: gov2/workflows/s3_object_lock
excerpts:
- description:
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.DeleteObject
Python:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -492,12 +507,13 @@ s3_DeleteObjects:
Go:
versions:
- sdk_version: 2
github: gov2/s3
github: gov2/workflows/s3_object_lock
excerpts:
- description:
genai: some
snippet_tags:
- gov2.s3.BucketBasics.struct
- gov2.s3.DeleteObjects
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.DeleteObjects
Java:
versions:
- sdk_version: 2
Expand Down Expand Up @@ -935,6 +951,16 @@ s3_GetObjectLegalHold:
- description:
snippet_tags:
- S3LockWorkflow.dotnetv3.GetObjectLegalHold
Go:
versions:
- sdk_version: 2
github: gov2/workflows/s3_object_lock
excerpts:
- description:
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.GetObjectLegalHold
services:
s3: {GetObjectLegalHold}
s3_GetObjectLegalHoldConfiguration:
Expand Down Expand Up @@ -992,6 +1018,16 @@ s3_GetObjectLockConfiguration:
- description:
snippet_tags:
- S3LockWorkflow.dotnetv3.GetBucketObjectLockConfiguration
Go:
versions:
- sdk_version: 2
github: gov2/workflows/s3_object_lock
excerpts:
- description:
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.GetObjectLockConfiguration
JavaScript:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -1023,6 +1059,16 @@ s3_GetObjectRetention:
- description:
snippet_tags:
- S3LockWorkflow.dotnetv3.GetObjectRetention
Go:
versions:
- sdk_version: 2
github: gov2/workflows/s3_object_lock
excerpts:
- description:
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.GetObjectRetention
JavaScript:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -1286,6 +1332,16 @@ s3_ListObjectVersions:
- description:
snippet_tags:
- S3.dotnetv3.ListObjectVersionsExample
Go:
versions:
- sdk_version: 2
github: gov2/workflows/s3_object_lock
excerpts:
- description:
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.ListObjectVersions
Rust:
versions:
- sdk_version: 1
Expand Down Expand Up @@ -1324,10 +1380,15 @@ s3_PutObject:
- sdk_version: 2
github: gov2/s3
excerpts:
- description:
- description: Put an object in a bucket by using the low-level API.
snippet_tags:
- gov2.s3.BucketBasics.struct
- gov2.s3.PutObject
- description: Upload an object to a bucket by using a transfer manager.
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.UploadObject
Kotlin:
versions:
- sdk_version: 1
Expand Down Expand Up @@ -2096,6 +2157,16 @@ s3_PutObjectLegalHold:
- description:
snippet_tags:
- S3LockWorkflow.dotnetv3.ModifyObjectLegalHold
Go:
versions:
- sdk_version: 2
github: gov2/workflows/s3_object_lock
excerpts:
- description:
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.PutObjectLegalHold
JavaScript:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -2133,6 +2204,21 @@ s3_PutObjectLockConfiguration:
- description: Set the default retention period of a bucket.
snippet_tags:
- S3LockWorkflow.dotnetv3.ModifyBucketDefaultRetention
Go:
versions:
- sdk_version: 2
github: gov2/workflows/s3_object_lock
excerpts:
- description: Set the object lock configuration of a bucket.
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.PubObjectLockConfiguration.EnableObjectLockOnBucket
- description: Set the default retention period of a bucket.
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.PutObjectLockConfiguration.ModifyDefaultBucketRetention
JavaScript:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -2167,6 +2253,16 @@ s3_PutObjectRetention:
- description:
snippet_tags:
- S3LockWorkflow.dotnetv3.ModifyObjectRetentionPeriod
Go:
versions:
- sdk_version: 2
github: gov2/workflows/s3_object_lock
excerpts:
- description:
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.struct
- gov2.workflows.s3.ObjectLock.PutObjectRetention
JavaScript:
versions:
- sdk_version: 3
Expand Down Expand Up @@ -3048,6 +3144,23 @@ s3_Scenario_ObjectLock:
- description: A wrapper class for S3 functions.
snippet_tags:
- S3LockWorkflow.dotnetv3.S3ActionsWrapper
Go:
versions:
- sdk_version: 2
github: gov2/workflows/s3_object_lock
excerpts:
- description: Run an interactive scenario demonstrating &S3; object lock features.
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.scenario.complete
- description: Define a struct that wraps S3 actions used in this example.
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.S3Actions.complete
- description: Clean up resources.
genai: some
snippet_tags:
- gov2.workflows.s3.ObjectLock.Resources.complete
JavaScript:
versions:
- sdk_version: 3
Expand Down
Loading

0 comments on commit 74e42e6

Please sign in to comment.