awscli 1.37.3__py3-none-any.whl → 1.37.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of awscli might be problematic. Click here for more details.
- awscli/__init__.py +1 -1
- awscli/examples/cloudfront/create-distribution-with-tags.rst +9 -13
- awscli/examples/cloudfront/get-distribution.rst +6 -10
- awscli/examples/cloudtrail/create-subscription.rst +29 -26
- awscli/examples/cloudtrail/create-trail.rst +13 -11
- awscli/examples/cloudtrail/describe-trails.rst +30 -29
- awscli/examples/cloudtrail/put-event-selectors.rst +9 -9
- awscli/examples/cloudtrail/update-subscription.rst +25 -22
- awscli/examples/cloudtrail/update-trail.rst +12 -10
- awscli/examples/codebuild/create-report-group.rst +2 -2
- awscli/examples/datapipeline/get-pipeline-definition.rst +1 -1
- awscli/examples/deploy/batch-get-deployments.rst +2 -2
- awscli/examples/deploy/create-deployment.rst +1 -1
- awscli/examples/deploy/get-application-revision.rst +2 -2
- awscli/examples/deploy/get-deployment.rst +1 -1
- awscli/examples/deploy/list-application-revisions.rst +3 -3
- awscli/examples/deploy/push.rst +2 -2
- awscli/examples/deploy/register-application-revision.rst +1 -1
- awscli/examples/ds-data/add-group-member.rst +12 -0
- awscli/examples/ds-data/create-group.rst +17 -0
- awscli/examples/ds-data/create-user.rst +17 -0
- awscli/examples/ds-data/delete-group.rst +11 -0
- awscli/examples/ds-data/delete-user.rst +11 -0
- awscli/examples/ds-data/describe-group.rst +21 -0
- awscli/examples/ds-data/describe-user.rst +21 -0
- awscli/examples/ds-data/disable-directory-data-access.rst +10 -0
- awscli/examples/ds-data/disable-user.rst +11 -0
- awscli/examples/ds-data/enable-directory-data-access.rst +10 -0
- awscli/examples/ds-data/list-group-members.rst +29 -0
- awscli/examples/ds-data/list-groups-for-member.rst +25 -0
- awscli/examples/ds-data/list-groups.rst +503 -0
- awscli/examples/ds-data/list-users.rst +57 -0
- awscli/examples/ds-data/remove-group-member.rst +12 -0
- awscli/examples/ds-data/reset-user-password.rst +12 -0
- awscli/examples/ds-data/search-groups.rst +25 -0
- awscli/examples/ds-data/search-users.rst +24 -0
- awscli/examples/ds-data/update-group.rst +13 -0
- awscli/examples/ds-data/update-user.rst +13 -0
- awscli/examples/ec2/accept-address-transfer.rst +1 -1
- awscli/examples/ec2/allocate-hosts.rst +55 -55
- awscli/examples/ec2/associate-address.rst +44 -35
- awscli/examples/ec2/authorize-security-group-egress.rst +56 -23
- awscli/examples/ec2/authorize-security-group-ingress.rst +15 -15
- awscli/examples/ec2/cancel-capacity-reservation.rst +14 -14
- awscli/examples/ec2/cancel-spot-fleet-requests.rst +43 -46
- awscli/examples/ec2/copy-snapshot.rst +2 -4
- awscli/examples/ec2/create-capacity-reservation.rst +95 -95
- awscli/examples/ec2/create-replace-root-volume-task.rst +1 -3
- awscli/examples/ec2/create-restore-image-task.rst +2 -2
- awscli/examples/ec2/create-spot-datafeed-subscription.rst +1 -1
- awscli/examples/ec2/create-tags.rst +43 -43
- awscli/examples/ec2/create-traffic-mirror-filter-rule.rst +32 -32
- awscli/examples/ec2/create-traffic-mirror-filter.rst +22 -12
- awscli/examples/ec2/create-traffic-mirror-session.rst +31 -31
- awscli/examples/ec2/create-traffic-mirror-target.rst +45 -35
- awscli/examples/ec2/create-transit-gateway-prefix-list-reference.rst +27 -27
- awscli/examples/ec2/create-verified-access-endpoint.rst +1 -1
- awscli/examples/ec2/create-vpc-endpoint-service-configuration.rst +67 -65
- awscli/examples/ec2/create-vpc-endpoint.rst +4 -4
- awscli/examples/ec2/describe-capacity-reservations.rst +46 -31
- awscli/examples/ec2/describe-instance-image-metadata.rst +186 -0
- awscli/examples/ec2/describe-spot-datafeed-subscription.rst +1 -1
- awscli/examples/ec2/describe-vpc-endpoint-service-configurations.rst +62 -62
- awscli/examples/ec2/describe-vpc-endpoint-services.rst +132 -134
- awscli/examples/ec2/describe-vpc-endpoints.rst +89 -89
- awscli/examples/ec2/register-image.rst +32 -32
- awscli/examples/ecr-public/get-registry-catalog-data.rst +14 -0
- awscli/examples/ecr-public/get-repository-catalog-data.rst +29 -0
- awscli/examples/ecr-public/list-tags-for-resource.rst +28 -0
- awscli/examples/ecr-public/put-registry-catalog-data.rst +15 -0
- awscli/examples/ecr-public/put-repository-catalog-data.rst +5 -4
- awscli/examples/ecr-public/tag-resource.rst +21 -0
- awscli/examples/ecr-public/untag-resource.rst +12 -0
- awscli/examples/ecs/describe-service-deployments.rst +54 -0
- awscli/examples/ecs/describe-service-revisions.rst +60 -0
- awscli/examples/ecs/list-service-deployments.rst +25 -0
- awscli/examples/eks/describe-cluster.rst +1 -1
- awscli/examples/emr/create-cluster-examples.rst +4 -4
- awscli/examples/emr/schedule-hbase-backup.rst +23 -23
- awscli/examples/importexport/create-job.rst +2 -2
- awscli/examples/importexport/get-shipping-label.rst +1 -1
- awscli/examples/importexport/get-status.rst +1 -1
- awscli/examples/ivs-realtime/create-storage-configuration.rst +20 -20
- awscli/examples/ivs-realtime/get-storage-configuration.rst +20 -20
- awscli/examples/ivs-realtime/list-storage-configurations.rst +29 -29
- awscli/examples/kendra/create-data-source.rst +23 -23
- awscli/examples/kendra/describe-data-source.rst +83 -83
- awscli/examples/kendra/update-data-source.rst +18 -18
- awscli/examples/macie2/describe-buckets.rst +13 -11
- awscli/examples/oam/create-link.rst +24 -0
- awscli/examples/oam/create-sink.rst +17 -0
- awscli/examples/oam/delete-link.rst +10 -0
- awscli/examples/oam/delete-sink.rst +10 -0
- awscli/examples/oam/get-link.rst +22 -0
- awscli/examples/oam/get-sink-policy.rst +16 -0
- awscli/examples/oam/get-sink.rst +17 -0
- awscli/examples/oam/list-attached-links.rst +23 -0
- awscli/examples/oam/list-links.rst +21 -0
- awscli/examples/oam/list-sinks.rst +19 -0
- awscli/examples/oam/list-tags-for-resource.rst +16 -0
- awscli/examples/oam/put-sink-policy.rst +17 -0
- awscli/examples/oam/tag-resource.rst +11 -0
- awscli/examples/oam/untag-resource.rst +11 -0
- awscli/examples/oam/update-link.rst +24 -0
- awscli/examples/polly/get-speech-synthesis-task.rst +23 -23
- awscli/examples/polly/list-speech-synthesis-tasks.rst +25 -25
- awscli/examples/polly/start-speech-synthesis-task.rst +27 -27
- awscli/examples/qldb/describe-journal-s3-export.rst +1 -1
- awscli/examples/qldb/export-journal-to-s3.rst +1 -1
- awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst +1 -1
- awscli/examples/qldb/list-journal-s3-exports.rst +2 -2
- awscli/examples/rds/download-db-log-file-portion.rst +7 -3
- awscli/examples/resourcegroupstaggingapi/untag-resources.rst +1 -1
- awscli/examples/s3/cp.rst +7 -7
- awscli/examples/s3/ls.rst +2 -2
- awscli/examples/s3/mv.rst +5 -5
- awscli/examples/s3/sync.rst +5 -5
- awscli/examples/s3api/put-bucket-acl.rst +1 -1
- awscli/examples/s3api/put-bucket-cors.rst +1 -1
- awscli/examples/s3api/put-bucket-logging.rst +10 -10
- awscli/examples/s3api/put-bucket-policy.rst +5 -5
- awscli/examples/s3api/put-object-acl.rst +1 -1
- awscli/examples/securitylake/create-subscriber.rst +83 -0
- awscli/examples/synthetics/associate-resource.rst +11 -0
- awscli/examples/synthetics/create-canary.rst +48 -0
- awscli/examples/synthetics/create-group.rst +21 -0
- awscli/examples/synthetics/delete-canary.rst +10 -0
- awscli/examples/synthetics/delete-group.rst +10 -0
- awscli/examples/synthetics/describe-canaries-last-run.rst +31 -0
- awscli/examples/synthetics/describe-canaries.rst +48 -0
- awscli/examples/synthetics/describe-runtime-versions.rst +74 -0
- awscli/examples/synthetics/disassociate-resource.rst +11 -0
- awscli/examples/synthetics/get-canary-runs.rst +29 -0
- awscli/examples/synthetics/get-canary.rst +47 -0
- awscli/examples/synthetics/get-group.rst +21 -0
- awscli/examples/synthetics/list-associated-groups.rst +20 -0
- awscli/examples/synthetics/list-group-resources.rst +16 -0
- awscli/examples/synthetics/list-groups.rst +19 -0
- awscli/examples/synthetics/list-tags-for-resource.rst +31 -0
- awscli/examples/synthetics/start-canary.rst +10 -0
- awscli/examples/synthetics/stop-canary.rst +10 -0
- awscli/examples/synthetics/tag-resource.rst +21 -0
- awscli/examples/synthetics/untag-resource.rst +21 -0
- awscli/examples/synthetics/update-canary.rst +11 -0
- {awscli-1.37.3.dist-info → awscli-1.37.5.dist-info}/METADATA +2 -2
- {awscli-1.37.3.dist-info → awscli-1.37.5.dist-info}/RECORD +158 -93
- awscli/examples/securitylake/create-subscriber-data-access.rst +0 -41
- awscli/examples/securitylake/create-subscriber-query-access.rst +0 -41
- /awscli/examples/securitylake/{create-aws-logsource.rst → create-aws-log-source.rst} +0 -0
- /awscli/examples/securitylake/{create-custom-logsource.rst → create-custom-log-source.rst} +0 -0
- /awscli/examples/securitylake/{delete-aws-logsource.rst → delete-aws-log-source.rst} +0 -0
- /awscli/examples/securitylake/{delete-custom-logsource.rst → delete-custom-log-source.rst} +0 -0
- {awscli-1.37.3.data → awscli-1.37.5.data}/scripts/aws +0 -0
- {awscli-1.37.3.data → awscli-1.37.5.data}/scripts/aws.cmd +0 -0
- {awscli-1.37.3.data → awscli-1.37.5.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.37.3.data → awscli-1.37.5.data}/scripts/aws_completer +0 -0
- {awscli-1.37.3.data → awscli-1.37.5.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.37.3.dist-info → awscli-1.37.5.dist-info}/LICENSE.txt +0 -0
- {awscli-1.37.3.dist-info → awscli-1.37.5.dist-info}/WHEEL +0 -0
- {awscli-1.37.3.dist-info → awscli-1.37.5.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
**To retrieve catalog metadata for a public ECR registry**
|
|
2
|
+
|
|
3
|
+
The following ``get-registry-catalog-data`` retrieves catalog metadata for an ECR public registry. ::
|
|
4
|
+
|
|
5
|
+
aws ecr-public get-registry-catalog-data \
|
|
6
|
+
--region us-east-1
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"registryCatalogData": {
|
|
12
|
+
"displayName": "YourCustomPublicRepositoryalias"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
**To retrieve catalog metadata for a repository in a public registry**
|
|
2
|
+
|
|
3
|
+
The following ``get-repository-catalog-data`` example lists the catalog metadata for the repository ``project-a/nginx-web-app`` in a public registry. ::
|
|
4
|
+
|
|
5
|
+
aws ecr-public get-repository-catalog-data \
|
|
6
|
+
--repository-name project-a/nginx-web-app \
|
|
7
|
+
--region us-east-1
|
|
8
|
+
|
|
9
|
+
Output::
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"catalogData": {
|
|
13
|
+
"description": "My project-a ECR Public Repository",
|
|
14
|
+
"architectures": [
|
|
15
|
+
"ARM",
|
|
16
|
+
"ARM 64",
|
|
17
|
+
"x86",
|
|
18
|
+
"x86-64"
|
|
19
|
+
],
|
|
20
|
+
"operatingSystems": [
|
|
21
|
+
"Linux"
|
|
22
|
+
],
|
|
23
|
+
"logoUrl": "https://d3g9o9u8re44ak.cloudfront.net/logo/491d3846-8f33-4d8b-a10c-c2ce271e6c0d/4f09d87c-2569-4916-a932-5c296bf6f88a.png",
|
|
24
|
+
"aboutText": "## Quick reference\n\nMaintained <truncated>",
|
|
25
|
+
"usageText": "## Supported architectures\n\namd64, arm64v8\n\n## <truncated>"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
For more information, see `Repository catalog data <https://docs.aws.amazon.com/AmazonECR/latest/public/public-repository-catalog-data.html>`__ in the *Amazon ECR Public*.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
**To list tags for a public repository in a public registry**
|
|
2
|
+
|
|
3
|
+
The following ``list-tags-for-resource`` example lists the tags for a resource named ``project-a/nginx-web-app`` in a public registry. ::
|
|
4
|
+
|
|
5
|
+
aws ecr-public list-tags-for-resource \
|
|
6
|
+
--resource-arn arn:aws:ecr-public::123456789012:repository/project-a/nginx-web-app \
|
|
7
|
+
--region us-east-1
|
|
8
|
+
|
|
9
|
+
Output::
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"tags": [
|
|
13
|
+
{
|
|
14
|
+
"Key": "Environment",
|
|
15
|
+
"Value": "Prod"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"Key": "stack",
|
|
19
|
+
"Value": "dev1"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"Key": "Name",
|
|
23
|
+
"Value": "project-a/nginx-web-app"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
For more information, see `List tags for a public repository <https://docs.aws.amazon.com/AmazonECR/latest/public/ecr-public-using-tags.html>`__ in the *Amazon ECR Public*.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
**To create or update catalog metadata for a public ECR registry**
|
|
2
|
+
|
|
3
|
+
The following ``put-registry-catalog-data`` creates or updates catalog metadata for an ECR public registry. Only accounts that have the verified account badge can have a registry display name. ::
|
|
4
|
+
|
|
5
|
+
aws ecr-public put-registry-catalog-data \
|
|
6
|
+
--region us-east-1 \
|
|
7
|
+
--display-name <YourCustomPublicRepositoryalias>
|
|
8
|
+
|
|
9
|
+
Output::
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"registryCatalogData": {
|
|
13
|
+
"displayName": "YourCustomPublicRepositoryalias"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
**
|
|
1
|
+
**To create or update the catalog data for a repository in a public registry**
|
|
2
2
|
|
|
3
3
|
The following ``put-repository-catalog-data`` example creates or update catalog data for reposiotry named `project-a/nginx-web-app` in a public registry, along with logoImageBlob, aboutText, usageText and tags information. ::
|
|
4
4
|
|
|
@@ -10,6 +10,7 @@ The following ``put-repository-catalog-data`` example creates or update catalog
|
|
|
10
10
|
Contents of ``repository-catalog-data.json``::
|
|
11
11
|
|
|
12
12
|
{
|
|
13
|
+
"repositoryName": "project-a/nginx-web-app",
|
|
13
14
|
"catalogData": {
|
|
14
15
|
"description": "My project-a ECR Public Repository",
|
|
15
16
|
"architectures": [
|
|
@@ -21,9 +22,9 @@ Contents of ``repository-catalog-data.json``::
|
|
|
21
22
|
"operatingSystems": [
|
|
22
23
|
"Linux"
|
|
23
24
|
],
|
|
24
|
-
"logoImageBlob": "
|
|
25
|
+
"logoImageBlob": "iVBORw0KGgoA<<truncated-for-better-reading>>ErkJggg==",
|
|
25
26
|
"aboutText": "## Quick reference.",
|
|
26
|
-
"usageText": "## Supported architectures are as follows"
|
|
27
|
+
"usageText": "## Supported architectures are as follows."
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
|
|
@@ -41,7 +42,7 @@ Output::
|
|
|
41
42
|
"operatingSystems": [
|
|
42
43
|
"Linux"
|
|
43
44
|
],
|
|
44
|
-
"logoUrl": "https://d3g9o9u8re44ak.cloudfront.net/logo/
|
|
45
|
+
"logoUrl": "https://d3g9o9u8re44ak.cloudfront.net/logo/df86cf58-ee60-4061-b804-0be24d97ccb1/4a9ed9b2-69e4-4ede-b924-461462d20ef0.png",
|
|
45
46
|
"aboutText": "## Quick reference.",
|
|
46
47
|
"usageText": "## Supported architectures are as follows."
|
|
47
48
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
**Example 1: To tags an existing public repository in a public registry**
|
|
2
|
+
|
|
3
|
+
The following ``tag-resource`` example tags a repository named ``project-a/nginx-web-app`` in a public registry. ::
|
|
4
|
+
|
|
5
|
+
aws ecr-public tag-resource \
|
|
6
|
+
--resource-arn arn:aws:ecr-public::123456789012:repository/project-a/nginx-web-app \
|
|
7
|
+
--tags Key=stack,Value=dev \
|
|
8
|
+
--region us-east-1
|
|
9
|
+
|
|
10
|
+
For more information, see `Using Tags for a public repository <https://docs.aws.amazon.com/AmazonECR/latest/public/ecr-public-using-tags.html>`__ in the *Amazon ECR Public*.
|
|
11
|
+
|
|
12
|
+
**Example 2: To tag an existing public repository with multiple tags in a public registry.**
|
|
13
|
+
|
|
14
|
+
The following ``tag-resource`` example tags an existing repository with multiple tags. ::
|
|
15
|
+
|
|
16
|
+
aws ecr-public tag-resource \
|
|
17
|
+
--resource-arn arn:aws:ecr-public::890517186334:repository/project-a/nginx-web-app \
|
|
18
|
+
--tags Key=key1,Value=value1 Key=key2,Value=value2 Key=key3,Value=value3 \
|
|
19
|
+
--region us-east-1
|
|
20
|
+
|
|
21
|
+
For more information, see `Using Tags for a public repository <https://docs.aws.amazon.com/AmazonECR/latest/public/ecr-public-using-tags.html>`__ in the *Amazon ECR Public*.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
**Example 1: To untags an existing public repository in a public registry**
|
|
2
|
+
|
|
3
|
+
The following ``untag-resource`` example tags a repository named ``project-a/nginx-web-app`` in a public registry. ::
|
|
4
|
+
|
|
5
|
+
aws ecr-public untag-resource \
|
|
6
|
+
--resource-arn arn:aws:ecr-public::123456789012:repository/project-a/nginx-web-app \
|
|
7
|
+
--tag-keys stack \
|
|
8
|
+
--region us-east-1
|
|
9
|
+
|
|
10
|
+
This command produces no output.
|
|
11
|
+
|
|
12
|
+
For more information, see `Using Tags for a public repository <https://docs.aws.amazon.com/AmazonECR/latest/public/ecr-public-using-tags.html>`__ in the *Amazon ECR Public*.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
**To describe service deployment details**
|
|
2
|
+
|
|
3
|
+
The following ``describe-service-deployments`` example returns the service deployment details for the service deployment with the ARN ``arn:aws:ecs:us-east-1:123456789012:service-deployment/example-cluster/example-service/ejGvqq2ilnbKT9qj0vLJe``. ::
|
|
4
|
+
|
|
5
|
+
aws ecs describe-service-deployments \
|
|
6
|
+
--service-deployment-arn arn:aws:ecs:us-east-1:123456789012:service-deployment/example-cluster/example-service/ejGvqq2ilnbKT9qj0vLJe
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"serviceDeployments": [
|
|
12
|
+
{
|
|
13
|
+
"serviceDeploymentArn": "arn:aws:ecs:us-east-1:123456789012:service-deployment/example-cluster/example-service/ejGvqq2ilnbKT9qj0vLJe",
|
|
14
|
+
"serviceArn": "arn:aws:ecs:us-east-1:123456789012:service/example-cluster/example-service",
|
|
15
|
+
"clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/example-cluster",
|
|
16
|
+
"createdAt": "2024-10-31T08:03:30.917000-04:00",
|
|
17
|
+
"startedAt": "2024-10-31T08:03:32.510000-04:00",
|
|
18
|
+
"finishedAt": "2024-10-31T08:05:04.527000-04:00",
|
|
19
|
+
"updatedAt": "2024-10-31T08:05:04.527000-04:00",
|
|
20
|
+
"sourceServiceRevisions": [],
|
|
21
|
+
"targetServiceRevision": {
|
|
22
|
+
"arn": "arn:aws:ecs:us-east-1:123456789012:service-revision/example-cluster/example-service/1485800978477494678",
|
|
23
|
+
"requestedTaskCount": 1,
|
|
24
|
+
"runningTaskCount": 1,
|
|
25
|
+
"pendingTaskCount": 0
|
|
26
|
+
},
|
|
27
|
+
"status": "SUCCESSFUL",
|
|
28
|
+
"deploymentConfiguration": {
|
|
29
|
+
"deploymentCircuitBreaker": {
|
|
30
|
+
"enable": true,
|
|
31
|
+
"rollback": true
|
|
32
|
+
},
|
|
33
|
+
"maximumPercent": 200,
|
|
34
|
+
"minimumHealthyPercent": 100,
|
|
35
|
+
"alarms": {
|
|
36
|
+
"alarmNames": [],
|
|
37
|
+
"rollback": false,
|
|
38
|
+
"enable": false
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"deploymentCircuitBreaker": {
|
|
42
|
+
"status": "MONITORING_COMPLETE",
|
|
43
|
+
"failureCount": 0,
|
|
44
|
+
"threshold": 3
|
|
45
|
+
},
|
|
46
|
+
"alarms": {
|
|
47
|
+
"status": "DISABLED"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"failures": []
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
For more information, see `View service history using Amazon ECS service deployments <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployment.html>`_ in the *Amazon ECS Developer Guide*.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
**To describe service revision details**
|
|
2
|
+
|
|
3
|
+
The following ``describe-service-revisions`` example returns the service revision details for the service revision with the ARN ``arn:aws:ecs:us-east-1:123456789012:service-revision/example-cluster/example-service/1485800978477494678``. ::
|
|
4
|
+
|
|
5
|
+
aws ecs describe-service-revisions \
|
|
6
|
+
--service-revision-arns arn:aws:ecs:us-east-1:123456789012:service-revision/example-cluster/example-service/1485800978477494678
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"serviceRevisions": [
|
|
12
|
+
{
|
|
13
|
+
"serviceRevisionArn": "arn:aws:ecs:us-east-1:123456789012:service-revision/example-cluster/example-service/1485800978477494678",
|
|
14
|
+
"serviceArn": "arn:aws:ecs:us-east-1:123456789012:service/example-cluster/example-service",
|
|
15
|
+
"clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/example-cluster",
|
|
16
|
+
"taskDefinition": "arn:aws:ecs:us-east-1:123456789012:task-definition/webserver:5",
|
|
17
|
+
"capacityProviderStrategy": [
|
|
18
|
+
{
|
|
19
|
+
"capacityProvider": "FARGATE",
|
|
20
|
+
"weight": 1,
|
|
21
|
+
"base": 0
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"platformVersion": "1.4.0",
|
|
25
|
+
"platformFamily": "Linux",
|
|
26
|
+
"networkConfiguration": {
|
|
27
|
+
"awsvpcConfiguration": {
|
|
28
|
+
"subnets": [
|
|
29
|
+
"subnet-0d0eab1bb38d5ca64",
|
|
30
|
+
"subnet-0db5010045995c2d5"
|
|
31
|
+
],
|
|
32
|
+
"securityGroups": [
|
|
33
|
+
"sg-02556bf85a191f59a"
|
|
34
|
+
],
|
|
35
|
+
"assignPublicIp": "ENABLED"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"containerImages": [
|
|
39
|
+
{
|
|
40
|
+
"containerName": "aws-otel-collector",
|
|
41
|
+
"imageDigest": "sha256:7a1b3560655071bcacd66902c20ebe9a69470d5691fe3bd36baace7c2f3c4640",
|
|
42
|
+
"image": "public.ecr.aws/aws-observability/aws-otel-collector:v0.32.0"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"containerName": "web",
|
|
46
|
+
"imageDigest": "sha256:28402db69fec7c17e179ea87882667f1e054391138f77ffaf0c3eb388efc3ffb",
|
|
47
|
+
"image": "nginx"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"guardDutyEnabled": false,
|
|
51
|
+
"serviceConnectConfiguration": {
|
|
52
|
+
"enabled": false
|
|
53
|
+
},
|
|
54
|
+
"createdAt": "2024-10-31T08:03:29.302000-04:00"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"failures": []
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
For more information, see `Amazon ECS service revisions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-revision.html>`_ in the *Amazon ECS Developer Guide*.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
**To list service deployments**
|
|
2
|
+
|
|
3
|
+
The following ``list-service-deployments`` example retrieves the service deployments for the service named ``example-service``. ::
|
|
4
|
+
|
|
5
|
+
aws ecs list-service-deployments \
|
|
6
|
+
--service arn:aws:ecs:us-east-1:123456789012:service/example-cluster/example-service
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"serviceDeployments": [
|
|
12
|
+
{
|
|
13
|
+
"serviceDeploymentArn": "arn:aws:ecs:us-east-1:123456789012:service-deployment/example-cluster/example-service/ejGvqq2ilnbKT9qj0vLJe",
|
|
14
|
+
"serviceArn": "arn:aws:ecs:us-east-1:123456789012:service/example-cluster/example-service",
|
|
15
|
+
"clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/example-cluster",
|
|
16
|
+
"startedAt": "2024-10-31T08:03:32.510000-04:00",
|
|
17
|
+
"createdAt": "2024-10-31T08:03:30.917000-04:00",
|
|
18
|
+
"finishedAt": "2024-10-31T08:05:04.527000-04:00",
|
|
19
|
+
"targetServiceRevisionArn": "arn:aws:ecs:us-east-1:123456789012:service-revision/example-cluster/example-service/1485800978477494678",
|
|
20
|
+
"status": "SUCCESSFUL"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
For more information, see `View service history using Amazon ECS service deployments <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployment.html>`_ in the *Amazon ECS Developer Guide*.
|
|
@@ -114,7 +114,7 @@ The following example references ``configurations.json`` as a local file. ::
|
|
|
114
114
|
The following example references ``configurations.json`` as a file in Amazon S3. ::
|
|
115
115
|
|
|
116
116
|
aws emr create-cluster \
|
|
117
|
-
--configurations https://s3.amazonaws.com/
|
|
117
|
+
--configurations https://s3.amazonaws.com/amzn-s3-demo-bucket/configurations.json \
|
|
118
118
|
--release-label emr-5.9.0 \
|
|
119
119
|
--instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large \
|
|
120
120
|
--auto-terminate
|
|
@@ -223,7 +223,7 @@ The following ``create-cluster`` example uses the ``--enable-debugging`` paramet
|
|
|
223
223
|
|
|
224
224
|
aws emr create-cluster \
|
|
225
225
|
--enable-debugging \
|
|
226
|
-
--log-uri s3://
|
|
226
|
+
--log-uri s3://amzn-s3-demo-bucket/myLog \
|
|
227
227
|
--release-label emr-5.9.0 \
|
|
228
228
|
--instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large \
|
|
229
229
|
--auto-terminate
|
|
@@ -357,7 +357,7 @@ The following ``create-cluster`` example adds steps by specifying a JAR file sto
|
|
|
357
357
|
Custom JAR steps require the ``Jar=`` parameter, which specifies the path and file name of the JAR. Optional parameters are ``Type``, ``Name``, ``ActionOnFailure``, ``Args``, and ``MainClass``. If main class is not specified, the JAR file should specify ``Main-Class`` in its manifest file. ::
|
|
358
358
|
|
|
359
359
|
aws emr create-cluster \
|
|
360
|
-
--steps Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://
|
|
360
|
+
--steps Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://amzn-s3-demo-bucket/mytest.jar,Args=arg1,arg2,arg3 Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://amzn-s3-demo-bucket/mytest.jar,MainClass=mymainclass,Args=arg1,arg2,arg3 \
|
|
361
361
|
--release-label emr-5.3.1 \
|
|
362
362
|
--instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large \
|
|
363
363
|
--auto-terminate
|
|
@@ -503,7 +503,7 @@ The following ``create-cluster`` example creates an Amazon EMR cluster that uses
|
|
|
503
503
|
|
|
504
504
|
aws emr create-cluster \
|
|
505
505
|
--release-label emr-5.30.0 \
|
|
506
|
-
--log-uri s3://
|
|
506
|
+
--log-uri s3://amzn-s3-demo-bucket/myLog \
|
|
507
507
|
--log-encryption-kms-key-id arn:aws:kms:us-east-1:110302272565:key/dd559181-283e-45d7-99d1-66da348c4d33 \
|
|
508
508
|
--instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large
|
|
509
509
|
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
**Note: This command can only be used with HBase on AMI version 2.x and 3.x**
|
|
2
2
|
|
|
3
|
-
**1. To schedule a full HBase backup**
|
|
3
|
+
**1. To schedule a full HBase backup**
|
|
4
4
|
>>>>>>> 06ab6d6e13564b5733d75abaf3b599f93cf39a23
|
|
5
5
|
|
|
6
|
-
- Command::
|
|
7
|
-
|
|
8
|
-
aws emr schedule-hbase-backup --cluster-id j-XXXXXXYY --type full --dir
|
|
9
|
-
s3://
|
|
10
|
-
2014-04-21T05:26:10Z --consistent
|
|
11
|
-
|
|
12
|
-
- Output::
|
|
13
|
-
|
|
14
|
-
None
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
**2. To schedule an incremental HBase backup**
|
|
18
|
-
|
|
19
|
-
- Command::
|
|
20
|
-
|
|
21
|
-
aws emr schedule-hbase-backup --cluster-id j-XXXXXXYY --type incremental
|
|
22
|
-
--dir s3://
|
|
23
|
-
2014-04-21T05:26:10Z --consistent
|
|
24
|
-
|
|
25
|
-
- Output::
|
|
26
|
-
|
|
27
|
-
None
|
|
6
|
+
- Command::
|
|
7
|
+
|
|
8
|
+
aws emr schedule-hbase-backup --cluster-id j-XXXXXXYY --type full --dir
|
|
9
|
+
s3://amzn-s3-demo-bucket/backup --interval 10 --unit hours --start-time
|
|
10
|
+
2014-04-21T05:26:10Z --consistent
|
|
11
|
+
|
|
12
|
+
- Output::
|
|
13
|
+
|
|
14
|
+
None
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
**2. To schedule an incremental HBase backup**
|
|
18
|
+
|
|
19
|
+
- Command::
|
|
20
|
+
|
|
21
|
+
aws emr schedule-hbase-backup --cluster-id j-XXXXXXYY --type incremental
|
|
22
|
+
--dir s3://amzn-s3-demo-bucket/backup --interval 30 --unit minutes --start-time
|
|
23
|
+
2014-04-21T05:26:10Z --consistent
|
|
24
|
+
|
|
25
|
+
- Output::
|
|
26
|
+
|
|
27
|
+
None
|
|
28
28
|
|
|
@@ -17,7 +17,7 @@ The file ``manifest`` is a YAML formatted text file in the current directory wit
|
|
|
17
17
|
deviceId: 49382
|
|
18
18
|
eraseDevice: yes
|
|
19
19
|
notificationEmail: john.doe@example.com;jane.roe@example.com
|
|
20
|
-
bucket:
|
|
20
|
+
bucket: amzn-s3-demo-bucket
|
|
21
21
|
|
|
22
22
|
For more information on the manifest file format, see `Creating Import Manifests`_ in the *AWS Import/Export Developer Guide*.
|
|
23
23
|
|
|
@@ -38,7 +38,7 @@ You can also pass the manifest as a string in quotes::
|
|
|
38
38
|
deviceId: 49382
|
|
39
39
|
eraseDevice: yes
|
|
40
40
|
notificationEmail: john.doe@example.com;jane.roe@example.com
|
|
41
|
-
bucket:
|
|
41
|
+
bucket: amzn-s3-demo-bucket'
|
|
42
42
|
|
|
43
43
|
For information on quoting string arguments and using files, see `Specifying Parameter Values`_ in the *AWS CLI User Guide*.
|
|
44
44
|
|
|
@@ -4,7 +4,7 @@ The following command creates a pre-paid shipping label for the specified job::
|
|
|
4
4
|
|
|
5
5
|
The output for the get-shipping-label command looks like the following::
|
|
6
6
|
|
|
7
|
-
https://s3.amazonaws.com/
|
|
7
|
+
https://s3.amazonaws.com/amzn-s3-demo-bucket/shipping-label-EX1ID.pdf
|
|
8
8
|
|
|
9
9
|
The link in the output contains the pre-paid shipping label generated in a PDF. It also contains shipping instructions with a unique bar code to identify and authenticate your device. For more information about using the pre-paid shipping label and shipping your device, see `Shipping Your Storage Device`_ in the *AWS Import/Export Developer Guide*.
|
|
10
10
|
|
|
@@ -6,7 +6,7 @@ The output for the get-status command looks like the following::
|
|
|
6
6
|
|
|
7
7
|
2015-05-27T18:58:21Z manifestVersion:2.0
|
|
8
8
|
generator:Text editor
|
|
9
|
-
bucket:
|
|
9
|
+
bucket:amzn-s3-demo-bucket
|
|
10
10
|
deviceId:49382
|
|
11
11
|
eraseDevice:yes
|
|
12
12
|
notificationEmail:john.doe@example.com;jane.roe@example.com
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
**To create a composition storage configuration**
|
|
2
|
-
|
|
3
|
-
The following ``create-storage-configuration`` example creates a composition storage configuration with the specified properties. ::
|
|
4
|
-
|
|
5
|
-
aws ivs-realtime create-storage-configuration \
|
|
6
|
-
--name "test-sc" --s3 "bucketName=
|
|
7
|
-
|
|
8
|
-
Output::
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
"storageConfiguration": {
|
|
12
|
-
"arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/ABabCDcdEFef",
|
|
13
|
-
"name": "test-sc",
|
|
14
|
-
"s3": {
|
|
15
|
-
"bucketName": "
|
|
16
|
-
},
|
|
17
|
-
"tags": {}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
1
|
+
**To create a composition storage configuration**
|
|
2
|
+
|
|
3
|
+
The following ``create-storage-configuration`` example creates a composition storage configuration with the specified properties. ::
|
|
4
|
+
|
|
5
|
+
aws ivs-realtime create-storage-configuration \
|
|
6
|
+
--name "test-sc" --s3 "bucketName=amzn-s3-demo-bucket"
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"storageConfiguration": {
|
|
12
|
+
"arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/ABabCDcdEFef",
|
|
13
|
+
"name": "test-sc",
|
|
14
|
+
"s3": {
|
|
15
|
+
"bucketName": "amzn-s3-demo-bucket"
|
|
16
|
+
},
|
|
17
|
+
"tags": {}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
21
|
For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream <https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/multiple-hosts.html>`__ in the *Amazon Interactive Video Service User Guide*.
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
**To get a composition storage configuration**
|
|
2
|
-
|
|
3
|
-
The following ``get-storage-configuration`` example gets the composition storage configuration specified by the given ARN (Amazon Resource Name). ::
|
|
4
|
-
|
|
5
|
-
aws ivs-realtime get-storage-configuration \
|
|
6
|
-
--name arn "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh"
|
|
7
|
-
|
|
8
|
-
Output::
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
"storageConfiguration": {
|
|
12
|
-
"arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh",
|
|
13
|
-
"name": "test-sc",
|
|
14
|
-
"s3": {
|
|
15
|
-
"bucketName": "
|
|
16
|
-
},
|
|
17
|
-
"tags": {}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
1
|
+
**To get a composition storage configuration**
|
|
2
|
+
|
|
3
|
+
The following ``get-storage-configuration`` example gets the composition storage configuration specified by the given ARN (Amazon Resource Name). ::
|
|
4
|
+
|
|
5
|
+
aws ivs-realtime get-storage-configuration \
|
|
6
|
+
--name arn "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh"
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"storageConfiguration": {
|
|
12
|
+
"arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh",
|
|
13
|
+
"name": "test-sc",
|
|
14
|
+
"s3": {
|
|
15
|
+
"bucketName": "amzn-s3-demo-bucket"
|
|
16
|
+
},
|
|
17
|
+
"tags": {}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
21
|
For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream <https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/multiple-hosts.html>`__ in the *Amazon Interactive Video Service User Guide*.
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
**To list composition storage configurations**
|
|
2
|
-
|
|
3
|
-
The following ``list-storage-configurations`` lists all composition storage configurations for your AWS account, in the AWS region where the API request is processed. ::
|
|
4
|
-
|
|
5
|
-
aws ivs-realtime list-storage-configurations
|
|
6
|
-
|
|
7
|
-
Output::
|
|
8
|
-
|
|
9
|
-
{
|
|
10
|
-
"storageConfigurations": [
|
|
11
|
-
{
|
|
12
|
-
"arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh",
|
|
13
|
-
"name": "test-sc-1",
|
|
14
|
-
"s3": {
|
|
15
|
-
"bucketName": "
|
|
16
|
-
},
|
|
17
|
-
"tags": {}
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/ABCefgEFGabc",
|
|
21
|
-
"name": "test-sc-2",
|
|
22
|
-
"s3": {
|
|
23
|
-
"bucketName": "
|
|
24
|
-
},
|
|
25
|
-
"tags": {}
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
|
|
1
|
+
**To list composition storage configurations**
|
|
2
|
+
|
|
3
|
+
The following ``list-storage-configurations`` lists all composition storage configurations for your AWS account, in the AWS region where the API request is processed. ::
|
|
4
|
+
|
|
5
|
+
aws ivs-realtime list-storage-configurations
|
|
6
|
+
|
|
7
|
+
Output::
|
|
8
|
+
|
|
9
|
+
{
|
|
10
|
+
"storageConfigurations": [
|
|
11
|
+
{
|
|
12
|
+
"arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh",
|
|
13
|
+
"name": "test-sc-1",
|
|
14
|
+
"s3": {
|
|
15
|
+
"bucketName": "amzn-s3-demo-bucket-1"
|
|
16
|
+
},
|
|
17
|
+
"tags": {}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/ABCefgEFGabc",
|
|
21
|
+
"name": "test-sc-2",
|
|
22
|
+
"s3": {
|
|
23
|
+
"bucketName": "amzn-s3-demo-bucket-2"
|
|
24
|
+
},
|
|
25
|
+
"tags": {}
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
|
|
30
30
|
For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream <https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/multiple-hosts.html>`__ in the *Amazon Interactive Video Service User Guide*.
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
**To create an Amazon Kendra data source connector**
|
|
2
|
-
|
|
3
|
-
The following ``create-data-source`` creates and configures an Amazon Kendra data source connector. You can use ``describe-data-source`` to view the status of a data source connector, and read any error messages if the status shows a data source connector "FAILED" to completely create. ::
|
|
4
|
-
|
|
5
|
-
aws kendra create-data-source \
|
|
6
|
-
--name "example data source 1" \
|
|
7
|
-
--description "Example data source 1 for example index 1 contains the first set of example documents" \
|
|
8
|
-
--tags '{"Key": "test resources", "Value": "kendra"}, {"Key": "test resources", "Value": "aws"}' \
|
|
9
|
-
--role-arn "arn:aws:iam::my-account-id:role/KendraRoleForS3TemplateConfigDataSource" \
|
|
10
|
-
--index-id exampleindex1 \
|
|
11
|
-
--language-code "es" \
|
|
12
|
-
--schedule "0 0 18 ? * TUE,MON,WED,THU,FRI,SAT *" \
|
|
13
|
-
--configuration '{"TemplateConfiguration": {"Template": file://s3schemaconfig.json}}' \
|
|
14
|
-
--type "TEMPLATE" \
|
|
15
|
-
--custom-document-enrichment-configuration '{"PostExtractionHookConfiguration": {"LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs", "S3Bucket": "s3://
|
|
16
|
-
--vpc-configuration '{"SecurityGroupIds": ["sg-1234567890abcdef0"], "SubnetIds": ["subnet-1c234","subnet-2b134"]}'
|
|
17
|
-
|
|
18
|
-
Output::
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
"Id": "exampledatasource1"
|
|
22
|
-
}
|
|
23
|
-
|
|
1
|
+
**To create an Amazon Kendra data source connector**
|
|
2
|
+
|
|
3
|
+
The following ``create-data-source`` creates and configures an Amazon Kendra data source connector. You can use ``describe-data-source`` to view the status of a data source connector, and read any error messages if the status shows a data source connector "FAILED" to completely create. ::
|
|
4
|
+
|
|
5
|
+
aws kendra create-data-source \
|
|
6
|
+
--name "example data source 1" \
|
|
7
|
+
--description "Example data source 1 for example index 1 contains the first set of example documents" \
|
|
8
|
+
--tags '{"Key": "test resources", "Value": "kendra"}, {"Key": "test resources", "Value": "aws"}' \
|
|
9
|
+
--role-arn "arn:aws:iam::my-account-id:role/KendraRoleForS3TemplateConfigDataSource" \
|
|
10
|
+
--index-id exampleindex1 \
|
|
11
|
+
--language-code "es" \
|
|
12
|
+
--schedule "0 0 18 ? * TUE,MON,WED,THU,FRI,SAT *" \
|
|
13
|
+
--configuration '{"TemplateConfiguration": {"Template": file://s3schemaconfig.json}}' \
|
|
14
|
+
--type "TEMPLATE" \
|
|
15
|
+
--custom-document-enrichment-configuration '{"PostExtractionHookConfiguration": {"LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs", "S3Bucket": "s3://amzn-s3-demo-bucket/scanned-image-text-example-docs"}, "RoleArn": "arn:aws:iam:my-account-id:role/KendraRoleForCDE"}' \
|
|
16
|
+
--vpc-configuration '{"SecurityGroupIds": ["sg-1234567890abcdef0"], "SubnetIds": ["subnet-1c234","subnet-2b134"]}'
|
|
17
|
+
|
|
18
|
+
Output::
|
|
19
|
+
|
|
20
|
+
{
|
|
21
|
+
"Id": "exampledatasource1"
|
|
22
|
+
}
|
|
23
|
+
|
|
24
24
|
For more information, see `Getting started with an Amazon Kendra index and data source connector <https://docs.aws.amazon.com/kendra/latest/dg/getting-started.html>`__ in the *Amazon Kendra Developer Guide*.
|