awscli 1.42.7__py3-none-any.whl → 1.44.26__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.
- awscli/__init__.py +1 -1
- awscli/alias.py +3 -3
- awscli/argprocess.py +7 -2
- awscli/arguments.py +1 -1
- awscli/bcdoc/docevents.py +3 -0
- awscli/clidocs.py +19 -2
- awscli/clidriver.py +55 -9
- awscli/customizations/argrename.py +1 -3
- awscli/customizations/cliinputjson.py +4 -0
- awscli/customizations/cloudformation/deploy.py +19 -3
- awscli/customizations/cloudtrail/validation.py +22 -2
- awscli/customizations/commands.py +2 -1
- awscli/customizations/eks/update_kubeconfig.py +12 -1
- awscli/customizations/emr/argumentschema.py +355 -344
- awscli/customizations/emr/createcluster.py +12 -0
- awscli/customizations/emr/emrutils.py +83 -50
- awscli/customizations/emr/helptext.py +10 -0
- awscli/customizations/emr/steputils.py +92 -52
- awscli/customizations/gamelift/uploadbuild.py +24 -11
- awscli/customizations/globalargs.py +169 -0
- awscli/customizations/paginate.py +66 -1
- awscli/customizations/s3/filegenerator.py +4 -1
- awscli/customizations/s3/fileinfo.py +4 -1
- awscli/customizations/s3/fileinfobuilder.py +6 -0
- awscli/customizations/s3/s3handler.py +9 -0
- awscli/customizations/s3/subcommands.py +147 -6
- awscli/customizations/s3/syncstrategy/base.py +9 -0
- awscli/customizations/s3/syncstrategy/caseconflict.py +96 -0
- awscli/customizations/s3/utils.py +14 -0
- awscli/customizations/scalarparse.py +48 -9
- awscli/data/cli.json +5 -0
- awscli/examples/apigateway/update-vpc-link.rst +47 -0
- awscli/examples/application-signals/batch-get-service-level-objective-budget-report.rst +99 -0
- awscli/examples/application-signals/create-service-level-objective.rst +88 -0
- awscli/examples/application-signals/delete-service-level-objective.rst +10 -0
- awscli/examples/application-signals/get-service-level-objective.rst +53 -0
- awscli/examples/application-signals/get-service.rst +72 -0
- awscli/examples/application-signals/list-service-dependencies.rst +96 -0
- awscli/examples/application-signals/list-service-dependents.rst +36 -0
- awscli/examples/application-signals/list-service-level-objectives.rst +17 -0
- awscli/examples/application-signals/list-service-operations.rst +63 -0
- awscli/examples/application-signals/list-services.rst +61 -0
- awscli/examples/application-signals/list-tags-for-resource.rst +17 -0
- awscli/examples/application-signals/start-discovery.rst +9 -0
- awscli/examples/application-signals/tag-resource.rst +11 -0
- awscli/examples/application-signals/untag-resource.rst +11 -0
- awscli/examples/application-signals/update-service-level-objective.rst +69 -0
- awscli/examples/cloudformation/create-generated-template.rst +50 -0
- awscli/examples/cloudformation/create-stack-refactor.rst +16 -0
- awscli/examples/cloudformation/delete-generated-template.rst +10 -0
- awscli/examples/cloudformation/describe-generated-template.rst +62 -0
- awscli/examples/cloudformation/describe-resource-scan.rst +38 -0
- awscli/examples/cloudformation/describe-stack-refactor.rst +20 -0
- awscli/examples/cloudformation/execute-stack-refactor.rst +10 -0
- awscli/examples/cloudformation/list-generated-templates.rst +41 -0
- awscli/examples/cloudformation/list-resource-scan-related-resources.rst +47 -0
- awscli/examples/cloudformation/list-resource-scan-resources.rst +30 -0
- awscli/examples/cloudformation/list-stack-refactor-actions.rst +71 -0
- awscli/examples/cloudformation/start-resource-scan.rst +14 -0
- awscli/examples/ec2/authorize-security-group-ingress.rst +1 -1
- awscli/examples/global_options.rst +4 -0
- awscli/examples/global_synopsis.rst +1 -0
- awscli/examples/guardduty/update-detector.rst +23 -0
- awscli/examples/ivs-realtime/get-composition.rst +7 -4
- awscli/examples/ivs-realtime/start-composition.rst +88 -3
- awscli/examples/lambda/create-function.rst +4 -4
- awscli/examples/lambda/get-function.rst +3 -3
- awscli/examples/lambda/list-functions.rst +6 -6
- awscli/examples/medical-imaging/create-datastore.rst +19 -2
- awscli/examples/medical-imaging/get-datastore.rst +24 -1
- awscli/examples/networkmanager/get-vpc-attachment.rst +1 -1
- awscli/examples/securityhub/describe-hub.rst +6 -4
- awscli/examples/servicediscovery/create-service.rst +50 -10
- awscli/examples/servicediscovery/delete-namespace.rst +18 -4
- awscli/examples/servicediscovery/delete-service-attributes.rst +15 -3
- awscli/examples/servicediscovery/delete-service.rst +13 -3
- awscli/examples/servicediscovery/deregister-instance.rst +18 -2
- awscli/examples/servicediscovery/discover-instances-revision.rst +18 -1
- awscli/examples/servicediscovery/discover-instances.rst +32 -2
- awscli/examples/servicediscovery/get-instance.rst +30 -4
- awscli/examples/servicediscovery/get-instances-health-status.rst +19 -1
- awscli/examples/servicediscovery/get-namespace.rst +40 -9
- awscli/examples/servicediscovery/get-operation.rst +32 -6
- awscli/examples/servicediscovery/get-service-attributes.rst +25 -3
- awscli/examples/servicediscovery/get-service.rst +35 -7
- awscli/examples/servicediscovery/list-instances.rst +38 -3
- awscli/examples/servicediscovery/list-namespaces.rst +45 -22
- awscli/examples/servicediscovery/list-services.rst +30 -2
- awscli/examples/servicediscovery/register-instance.rst +18 -2
- awscli/examples/servicediscovery/update-http-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-instance-custom-health-status.rst +14 -1
- awscli/examples/servicediscovery/update-private-dns-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-public-dns-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-service-attributes.rst +14 -2
- awscli/examples/servicediscovery/update-service.rst +20 -4
- awscli/handlers.py +0 -4
- awscli/paramfile.py +21 -4
- awscli/testutils.py +17 -0
- awscli/topics/config-vars.rst +1 -1
- awscli/topics/s3-case-insensitivity.rst +105 -0
- awscli/topics/topic-tags.json +16 -0
- awscli/utils.py +19 -2
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/METADATA +16 -3
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/RECORD +112 -231
- awscli/customizations/opsworks.py +0 -543
- awscli/customizations/opsworkscm.py +0 -21
- awscli/examples/elastictranscoder/cancel-job.rst +0 -8
- awscli/examples/elastictranscoder/create-job.rst +0 -94
- awscli/examples/elastictranscoder/create-pipeline.rst +0 -94
- awscli/examples/elastictranscoder/create-preset.rst +0 -141
- awscli/examples/elastictranscoder/delete-pipeline.rst +0 -13
- awscli/examples/elastictranscoder/delete-preset.rst +0 -8
- awscli/examples/elastictranscoder/list-jobs-by-pipeline.rst +0 -13
- awscli/examples/elastictranscoder/list-jobs-by-status.rst +0 -14
- awscli/examples/elastictranscoder/list-pipelines.rst +0 -84
- awscli/examples/elastictranscoder/list-presets.rst +0 -95
- awscli/examples/elastictranscoder/read-job.rst +0 -65
- awscli/examples/elastictranscoder/read-pipeline.rst +0 -59
- awscli/examples/elastictranscoder/read-preset.rst +0 -100
- awscli/examples/elastictranscoder/update-pipeline-notifications.rst +0 -52
- awscli/examples/elastictranscoder/update-pipeline-status.rst +0 -53
- awscli/examples/elastictranscoder/update-pipeline.rst +0 -95
- awscli/examples/opsworks/assign-instance.rst +0 -14
- awscli/examples/opsworks/assign-volume.rst +0 -17
- awscli/examples/opsworks/associate-elastic-ip.rst +0 -14
- awscli/examples/opsworks/attach-elastic-load-balancer.rst +0 -14
- awscli/examples/opsworks/create-app.rst +0 -64
- awscli/examples/opsworks/create-deployment.rst +0 -66
- awscli/examples/opsworks/create-instance.rst +0 -25
- awscli/examples/opsworks/create-layer.rst +0 -17
- awscli/examples/opsworks/create-server.rst +0 -43
- awscli/examples/opsworks/create-stack.rst +0 -25
- awscli/examples/opsworks/create-user-profile.rst +0 -24
- awscli/examples/opsworks/delete-app.rst +0 -17
- awscli/examples/opsworks/delete-instance.rst +0 -15
- awscli/examples/opsworks/delete-layer.rst +0 -17
- awscli/examples/opsworks/delete-stack.rst +0 -18
- awscli/examples/opsworks/delete-user-profile.rst +0 -17
- awscli/examples/opsworks/deregister-elastic-ip.rst +0 -13
- awscli/examples/opsworks/deregister-instance.rst +0 -14
- awscli/examples/opsworks/deregister-rds-db-instance.rst +0 -20
- awscli/examples/opsworks/deregister-volume.rst +0 -15
- awscli/examples/opsworks/describe-apps.rst +0 -38
- awscli/examples/opsworks/describe-commands.rst +0 -43
- awscli/examples/opsworks/describe-deployments.rst +0 -52
- awscli/examples/opsworks/describe-elastic-ips.rst +0 -24
- awscli/examples/opsworks/describe-elastic-load-balancers.rst +0 -37
- awscli/examples/opsworks/describe-instances.rst +0 -95
- awscli/examples/opsworks/describe-layers.rst +0 -171
- awscli/examples/opsworks/describe-load-based-auto-scaling.rst +0 -37
- awscli/examples/opsworks/describe-my-user-profile.rst +0 -24
- awscli/examples/opsworks/describe-permissions.rst +0 -26
- awscli/examples/opsworks/describe-raid-arrays.rst +0 -31
- awscli/examples/opsworks/describe-rds-db-instances.rst +0 -29
- awscli/examples/opsworks/describe-stack-provisioning-parameters.rst +0 -32
- awscli/examples/opsworks/describe-stack-summary.rst +0 -27
- awscli/examples/opsworks/describe-stacks.rst +0 -65
- awscli/examples/opsworks/describe-timebased-auto-scaling.rst +0 -39
- awscli/examples/opsworks/describe-user-profiles.rst +0 -32
- awscli/examples/opsworks/describe-volumes.rst +0 -31
- awscli/examples/opsworks/detach-elastic-load-balancer.rst +0 -14
- awscli/examples/opsworks/disassociate-elastic-ip.rst +0 -14
- awscli/examples/opsworks/get-hostname-suggestion.rst +0 -21
- awscli/examples/opsworks/reboot-instance.rst +0 -14
- awscli/examples/opsworks/register-elastic-ip.rst +0 -19
- awscli/examples/opsworks/register-rds-db-instance.rst +0 -15
- awscli/examples/opsworks/register-volume.rst +0 -18
- awscli/examples/opsworks/register.rst +0 -105
- awscli/examples/opsworks/set-load-based-auto-scaling.rst +0 -38
- awscli/examples/opsworks/set-permission.rst +0 -23
- awscli/examples/opsworks/set-time-based-auto-scaling.rst +0 -33
- awscli/examples/opsworks/start-instance.rst +0 -20
- awscli/examples/opsworks/start-stack.rst +0 -15
- awscli/examples/opsworks/stop-instance.rst +0 -20
- awscli/examples/opsworks/stop-stack.rst +0 -15
- awscli/examples/opsworks/unassign-instance.rst +0 -14
- awscli/examples/opsworks/unassign-volume.rst +0 -16
- awscli/examples/opsworks/update-app.rst +0 -14
- awscli/examples/opsworks/update-elastic-ip.rst +0 -14
- awscli/examples/opsworks/update-instance.rst +0 -14
- awscli/examples/opsworks/update-layer.rst +0 -14
- awscli/examples/opsworks/update-my-user-profile.rst +0 -16
- awscli/examples/opsworks/update-rds-db-instance.rst +0 -18
- awscli/examples/opsworks/update-volume.rst +0 -16
- awscli/examples/opsworkscm/associate-node.rst +0 -22
- awscli/examples/opsworkscm/create-backup.rst +0 -46
- awscli/examples/opsworkscm/create-server.rst +0 -48
- awscli/examples/opsworkscm/delete-backup.rst +0 -17
- awscli/examples/opsworkscm/delete-server.rst +0 -16
- awscli/examples/opsworkscm/describe-account-attributes.rst +0 -26
- awscli/examples/opsworkscm/describe-backups.rst +0 -44
- awscli/examples/opsworkscm/describe-events.rst +0 -21
- awscli/examples/opsworkscm/describe-node-association-status.rst +0 -20
- awscli/examples/opsworkscm/describe-servers.rst +0 -48
- awscli/examples/opsworkscm/disassociate-node.rst +0 -19
- awscli/examples/opsworkscm/restore-server.rst +0 -20
- awscli/examples/opsworkscm/start-maintenance.rst +0 -39
- awscli/examples/opsworkscm/update-server-engine-attributes.rst +0 -43
- awscli/examples/opsworkscm/update-server.rst +0 -42
- awscli/examples/qldb/cancel-journal-kinesis-stream.rst +0 -15
- awscli/examples/qldb/create-ledger.rst +0 -43
- awscli/examples/qldb/delete-ledger.rst +0 -10
- awscli/examples/qldb/describe-journal-kinesis-stream.rst +0 -29
- awscli/examples/qldb/describe-journal-s3-export.rst +0 -30
- awscli/examples/qldb/describe-ledger.rst +0 -23
- awscli/examples/qldb/export-journal-to-s3.rst +0 -28
- awscli/examples/qldb/get-block.rst +0 -55
- awscli/examples/qldb/get-digest.rst +0 -17
- awscli/examples/qldb/get-revision.rst +0 -57
- awscli/examples/qldb/list-journal-kinesis-streams-for-ledger.rst +0 -30
- awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst +0 -31
- awscli/examples/qldb/list-journal-s3-exports.rst +0 -46
- awscli/examples/qldb/list-ledgers.rst +0 -24
- awscli/examples/qldb/list-tags-for-resource.rst +0 -17
- awscli/examples/qldb/stream-journal-to-kinesis.rst +0 -46
- awscli/examples/qldb/tag-resource.rst +0 -11
- awscli/examples/qldb/untag-resource.rst +0 -11
- awscli/examples/qldb/update-ledger-permissions-mode.rst +0 -34
- awscli/examples/qldb/update-ledger.rst +0 -63
- awscli/examples/robomaker/batch-describe-simulation-job.rst +0 -150
- awscli/examples/robomaker/cancel-simulation-job.rst +0 -6
- awscli/examples/robomaker/create-deployment-job.rst +0 -37
- awscli/examples/robomaker/create-fleet.rst +0 -18
- awscli/examples/robomaker/create-robot-application-version.rst +0 -31
- awscli/examples/robomaker/create-robot-application.rst +0 -29
- awscli/examples/robomaker/create-robot.rst +0 -20
- awscli/examples/robomaker/create-simulation-application-version.rst +0 -39
- awscli/examples/robomaker/create-simulation-application.rst +0 -38
- awscli/examples/robomaker/create-simulation-job.rst +0 -43
- awscli/examples/robomaker/delete-fleet.rst +0 -7
- awscli/examples/robomaker/delete-robot-application.rst +0 -7
- awscli/examples/robomaker/delete-robot.rst +0 -7
- awscli/examples/robomaker/delete-simulation-application.rst +0 -7
- awscli/examples/robomaker/deregister-robot.rst +0 -14
- awscli/examples/robomaker/describe-deployment-job.rst +0 -38
- awscli/examples/robomaker/describe-fleet.rst +0 -28
- awscli/examples/robomaker/describe-robot-application.rst +0 -29
- awscli/examples/robomaker/describe-robot.rst +0 -21
- awscli/examples/robomaker/describe-simulation-application.rst +0 -37
- awscli/examples/robomaker/describe-simulation-job.rst +0 -45
- awscli/examples/robomaker/list-deployment-jobs.rst +0 -57
- awscli/examples/robomaker/list-fleets.rst +0 -22
- awscli/examples/robomaker/list-robot-applications.rst +0 -32
- awscli/examples/robomaker/list-robots.rst +0 -45
- awscli/examples/robomaker/list-simulation-applications.rst +0 -50
- awscli/examples/robomaker/list-simulation-jobs.rst +0 -80
- awscli/examples/robomaker/list-tags-for-resource.rst +0 -16
- awscli/examples/robomaker/register-robot.rst +0 -14
- awscli/examples/robomaker/restart-simulation-job.rst +0 -7
- awscli/examples/robomaker/sync-deployment-job.rst +0 -30
- awscli/examples/robomaker/tag-resource.rst +0 -7
- awscli/examples/robomaker/untag-resource.rst +0 -7
- awscli/examples/robomaker/update-robot-application.rst +0 -28
- awscli/examples/robomaker/update-simulation-application.rst +0 -36
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws.cmd +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_completer +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/LICENSE.txt +0 -0
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/WHEEL +0 -0
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
**To list related resources from a resource scan**
|
|
2
|
+
|
|
3
|
+
The following ``list-resource-scan-related-resources`` example lists resources from the specified resource scan that are related to resources in ``resources.json``. ::
|
|
4
|
+
|
|
5
|
+
aws cloudformation list-resource-scan-related-resources \
|
|
6
|
+
--resource-scan-id arn:aws:cloudformation:us-east-1:123456789012:resourceScan/0a699f15-489c-43ca-a3ef-3e6ecfa5da60 \
|
|
7
|
+
--resources file://resources.json
|
|
8
|
+
|
|
9
|
+
Contents of ``resources.json``::
|
|
10
|
+
|
|
11
|
+
[
|
|
12
|
+
{
|
|
13
|
+
"ResourceType": "AWS::EKS::Cluster",
|
|
14
|
+
"ResourceIdentifier": {
|
|
15
|
+
"ClusterName": "MyAppClusterName"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"ResourceType": "AWS::AutoScaling::AutoScalingGroup",
|
|
20
|
+
"ResourceIdentifier": {
|
|
21
|
+
"AutoScalingGroupName": "MyAppASGName"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
Output::
|
|
27
|
+
|
|
28
|
+
{
|
|
29
|
+
"RelatedResources": [
|
|
30
|
+
{
|
|
31
|
+
"ResourceType": "AWS::EKS::Nodegroup",
|
|
32
|
+
"ResourceIdentifier": {
|
|
33
|
+
"NodegroupName": "MyAppNodegroupName"
|
|
34
|
+
},
|
|
35
|
+
"ManagedByStack": false
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"ResourceType": "AWS::IAM::Role",
|
|
39
|
+
"ResourceIdentifier": {
|
|
40
|
+
"RoleId": "arn:aws::iam::123456789012:role/MyAppIAMRole"
|
|
41
|
+
},
|
|
42
|
+
"ManagedByStack": false
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
For more information, see `Create a CloudFormation template from resources scanned with IaC generator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/iac-generator-create-template-from-scanned-resources.html>`__ in the *AWS CloudFormation User Guide*.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
**To list resources from a resource scan**
|
|
2
|
+
|
|
3
|
+
The following ``list-resource-scan-resources`` example lists resources from the specified resource scan, filtered by resource identifier. ::
|
|
4
|
+
|
|
5
|
+
aws cloudformation list-resource-scan-resources \
|
|
6
|
+
--resource-scan-id arn:aws:cloudformation:us-east-1:123456789012:resourceScan/0a699f15-489c-43ca-a3ef-3e6ecfa5da60 \
|
|
7
|
+
--resource-identifier MyApp
|
|
8
|
+
|
|
9
|
+
Output::
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"Resources": [
|
|
13
|
+
{
|
|
14
|
+
"ResourceType": "AWS::EKS::Cluster",
|
|
15
|
+
"ResourceIdentifier": {
|
|
16
|
+
"ClusterName": "MyAppClusterName"
|
|
17
|
+
},
|
|
18
|
+
"ManagedByStack": false
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"ResourceType": "AWS::AutoScaling::AutoScalingGroup",
|
|
22
|
+
"ResourceIdentifier": {
|
|
23
|
+
"AutoScalingGroupName": "MyAppASGName"
|
|
24
|
+
},
|
|
25
|
+
"ManagedByStack": false
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
For more information, see `Create a CloudFormation template from resources scanned with IaC generator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/iac-generator-create-template-from-scanned-resources.html>`__ in the *AWS CloudFormation User Guide*.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
**To list actions for a stack refactor operation**
|
|
2
|
+
|
|
3
|
+
The following ``list-stack-refactor-actions`` example lists actions for the stack refactor operation with the specified stack refactor ID. ::
|
|
4
|
+
|
|
5
|
+
aws cloudformation list-stack-refactor-actions \
|
|
6
|
+
--stack-refactor-id 9c384f70-4e07-4ed7-a65d-fee5eb430841
|
|
7
|
+
|
|
8
|
+
Output::
|
|
9
|
+
|
|
10
|
+
{
|
|
11
|
+
"StackRefactorActions": [
|
|
12
|
+
{
|
|
13
|
+
"Action": "MOVE",
|
|
14
|
+
"Entity": "RESOURCE",
|
|
15
|
+
"PhysicalResourceId": "MyTestLambdaRole",
|
|
16
|
+
"Description": "No configuration changes detected.",
|
|
17
|
+
"Detection": "AUTO",
|
|
18
|
+
"TagResources": [],
|
|
19
|
+
"UntagResources": [],
|
|
20
|
+
"ResourceMapping": {
|
|
21
|
+
"Source": {
|
|
22
|
+
"StackName": "arn:aws:cloudformation:us-east-1:123456789012:stack/Stack1/3e6a1ff0-94b1-11f0-aa6f-0a88d2e03acf",
|
|
23
|
+
"LogicalResourceId": "MyLambdaRole"
|
|
24
|
+
},
|
|
25
|
+
"Destination": {
|
|
26
|
+
"StackName": "arn:aws:cloudformation:us-east-1:123456789012:stack/Stack2/5da91650-94b1-11f0-81cf-0a23500e151b",
|
|
27
|
+
"LogicalResourceId": "MyLambdaRole"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"Action": "MOVE",
|
|
33
|
+
"Entity": "RESOURCE",
|
|
34
|
+
"PhysicalResourceId": "MyTestFunction",
|
|
35
|
+
"Description": "Resource configuration changes will be validated during refactor execution.",
|
|
36
|
+
"Detection": "AUTO",
|
|
37
|
+
"TagResources": [
|
|
38
|
+
{
|
|
39
|
+
"Key": "aws:cloudformation:stack-name",
|
|
40
|
+
"Value": "Stack2"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"Key": "aws:cloudformation:logical-id",
|
|
44
|
+
"Value": "MyFunction"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"Key": "aws:cloudformation:stack-id",
|
|
48
|
+
"Value": "arn:aws:cloudformation:us-east-1:123456789012:stack/Stack2/5da91650-94b1-11f0-81cf-0a23500e151b"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"UntagResources": [
|
|
52
|
+
"aws:cloudformation:stack-name",
|
|
53
|
+
"aws:cloudformation:logical-id",
|
|
54
|
+
"aws:cloudformation:stack-id"
|
|
55
|
+
],
|
|
56
|
+
"ResourceMapping": {
|
|
57
|
+
"Source": {
|
|
58
|
+
"StackName": "arn:aws:cloudformation:us-east-1:123456789012:stack/Stack1/3e6a1ff0-94b1-11f0-aa6f-0a88d2e03acf",
|
|
59
|
+
"LogicalResourceId": "MyFunction"
|
|
60
|
+
},
|
|
61
|
+
"Destination": {
|
|
62
|
+
"StackName": "arn:aws:cloudformation:us-east-1:123456789012:stack/Stack2/5da91650-94b1-11f0-81cf-0a23500e151b",
|
|
63
|
+
"LogicalResourceId": "MyFunction"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
For more information, see `Stack refactoring <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-refactoring.html>`__ in the *AWS CloudFormation User Guide*.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
**To start a resource scan**
|
|
2
|
+
|
|
3
|
+
The following ``start-resource-scan`` example starts a resource scan that scans all existing resources in the current account and Region. ::
|
|
4
|
+
|
|
5
|
+
aws cloudformation start-resource-scan
|
|
6
|
+
|
|
7
|
+
Output::
|
|
8
|
+
|
|
9
|
+
{
|
|
10
|
+
"ResourceScanId":
|
|
11
|
+
"arn:aws:cloudformation:us-east-1:123456789012:resourceScan/0a699f15-489c-43ca-a3ef-3e6ecfa5da60"
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
For more information, see `Start a resource scan with CloudFormation IaC generator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/iac-generator-start-resource-scan.html>`__ in the *AWS CloudFormation User Guide*.
|
|
@@ -63,7 +63,7 @@ The following ``authorize-security-group-ingress`` example uses the ``ip-permiss
|
|
|
63
63
|
|
|
64
64
|
aws ec2 authorize-security-group-ingress \
|
|
65
65
|
--group-id sg-1234567890abcdef0 \
|
|
66
|
-
--ip-permissions 'IpProtocol=tcp,FromPort=3389,ToPort=3389,IpRanges=[{CidrIp=172.31.0.0/16}]
|
|
66
|
+
--ip-permissions 'IpProtocol=tcp,FromPort=3389,ToPort=3389,IpRanges=[{CidrIp=172.31.0.0/16}]' 'IpProtocol=icmp,FromPort=-1,ToPort=-1,IpRanges=[{CidrIp=172.31.0.0/16}]'
|
|
67
67
|
|
|
68
68
|
Output::
|
|
69
69
|
|
|
@@ -70,3 +70,7 @@
|
|
|
70
70
|
|
|
71
71
|
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
|
|
72
72
|
|
|
73
|
+
``--v2-debug`` (boolean)
|
|
74
|
+
|
|
75
|
+
Enable AWS CLI v2 migration assistance. Prints warnings if the command would face a breaking change after swapping AWS CLI v1 for AWS CLI v2 in the current environment. Prints one warning for each breaking change detected.
|
|
76
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
**Example 1: To enable runtime monitoring in GuardDuty**
|
|
2
|
+
|
|
3
|
+
The following ``update-detector`` example enables runtime monitoring without additional configuration. ::
|
|
4
|
+
|
|
5
|
+
aws guardduty update-detector \
|
|
6
|
+
--detector-id 12abc34d567e8fa901bc2d34eexample \
|
|
7
|
+
--features 'Name=RUNTIME_MONITORING,Status=ENABLED'
|
|
8
|
+
|
|
9
|
+
This command produces no output.
|
|
10
|
+
|
|
11
|
+
For more information, see `Runtime monitoring <https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html>`__ in the *GuardDuty User Guide*.
|
|
12
|
+
|
|
13
|
+
**Example 2: To enable runtime monitoring with additional configuration**
|
|
14
|
+
|
|
15
|
+
The following ``update-detector`` example enables runtime monitoring with additional configuration for EC2, ECS Fargate, and EKS. ::
|
|
16
|
+
|
|
17
|
+
aws guardduty update-detector \
|
|
18
|
+
--detector-id 12abc34d567e8fa901bc2d34eexample \
|
|
19
|
+
--features 'Name=RUNTIME_MONITORING,Status=ENABLED,AdditionalConfiguration=[{Name=EC2_AGENT_MANAGEMENT,Status=ENABLED},{Name=ECS_FARGATE_AGENT_MANAGEMENT,Status=ENABLED},{Name=EKS_ADDON_MANAGEMENT,Status=ENABLED}]'
|
|
20
|
+
|
|
21
|
+
This command produces no output.
|
|
22
|
+
|
|
23
|
+
For more information, see `Runtime monitoring <https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html>`__ in the *GuardDuty User Guide*.
|
|
@@ -51,9 +51,10 @@ Output::
|
|
|
51
51
|
],
|
|
52
52
|
"layout": {
|
|
53
53
|
"grid": {
|
|
54
|
-
"featuredParticipantAttribute": ""
|
|
54
|
+
"featuredParticipantAttribute": "",
|
|
55
55
|
"gridGap": 2,
|
|
56
56
|
"omitStoppedVideo": false,
|
|
57
|
+
"participantOrderAttribute": "",
|
|
57
58
|
"videoAspectRatio": "VIDEO",
|
|
58
59
|
"videoFillMode": ""
|
|
59
60
|
}
|
|
@@ -65,7 +66,7 @@ Output::
|
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
|
|
68
|
-
For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon
|
|
69
|
+
For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
|
|
69
70
|
|
|
70
71
|
**Example 2: To get a composition with PiP layout**
|
|
71
72
|
|
|
@@ -123,6 +124,7 @@ Output::
|
|
|
123
124
|
"featuredParticipantAttribute": "abcdefg",
|
|
124
125
|
"gridGap": 0,
|
|
125
126
|
"omitStoppedVideo": false,
|
|
127
|
+
"participantOrderAttribute": "",
|
|
126
128
|
"pipBehavior": "STATIC",
|
|
127
129
|
"pipOffset": 0,
|
|
128
130
|
"pipParticipantAttribute": "",
|
|
@@ -137,7 +139,7 @@ Output::
|
|
|
137
139
|
}
|
|
138
140
|
}
|
|
139
141
|
|
|
140
|
-
For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon
|
|
142
|
+
For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
|
|
141
143
|
|
|
142
144
|
**Example 3: To get a composition with thumbnail recording enabled**
|
|
143
145
|
|
|
@@ -203,6 +205,7 @@ Output::
|
|
|
203
205
|
"featuredParticipantAttribute": ""
|
|
204
206
|
"gridGap": 2,
|
|
205
207
|
"omitStoppedVideo": false,
|
|
208
|
+
"participantOrderAttribute": "",
|
|
206
209
|
"videoAspectRatio": "VIDEO",
|
|
207
210
|
"videoFillMode": "" }
|
|
208
211
|
},
|
|
@@ -213,4 +216,4 @@ Output::
|
|
|
213
216
|
}
|
|
214
217
|
}
|
|
215
218
|
|
|
216
|
-
For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon
|
|
219
|
+
For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
|
|
@@ -57,6 +57,7 @@ Output::
|
|
|
57
57
|
"featuredParticipantAttribute": ""
|
|
58
58
|
"gridGap": 2,
|
|
59
59
|
"omitStoppedVideo": false,
|
|
60
|
+
"participantOrderAttribute": "",
|
|
60
61
|
"videoAspectRatio": "VIDEO",
|
|
61
62
|
"videoFillMode": ""
|
|
62
63
|
}
|
|
@@ -68,7 +69,7 @@ Output::
|
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
|
|
71
|
-
For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon
|
|
72
|
+
For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
|
|
72
73
|
|
|
73
74
|
**Example 2: To start a composition with PiP layout**
|
|
74
75
|
|
|
@@ -129,6 +130,7 @@ Output::
|
|
|
129
130
|
"featuredParticipantAttribute": "abcdefg",
|
|
130
131
|
"gridGap": 0,
|
|
131
132
|
"omitStoppedVideo": false,
|
|
133
|
+
"participantOrderAttribute": "",
|
|
132
134
|
"pipBehavior": "STATIC",
|
|
133
135
|
"pipOffset": 0,
|
|
134
136
|
"pipParticipantAttribute": "",
|
|
@@ -143,7 +145,7 @@ Output::
|
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
147
|
|
|
146
|
-
For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon
|
|
148
|
+
For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
|
|
147
149
|
|
|
148
150
|
**Example 3: To start a composition with thumbnail recording enabled**
|
|
149
151
|
|
|
@@ -212,6 +214,7 @@ Output::
|
|
|
212
214
|
"featuredParticipantAttribute": ""
|
|
213
215
|
"gridGap": 2,
|
|
214
216
|
"omitStoppedVideo": false,
|
|
217
|
+
"participantOrderAttribute": "",
|
|
215
218
|
"videoAspectRatio": "VIDEO",
|
|
216
219
|
"videoFillMode": ""
|
|
217
220
|
}
|
|
@@ -223,4 +226,86 @@ Output::
|
|
|
223
226
|
}
|
|
224
227
|
}
|
|
225
228
|
|
|
226
|
-
For more information, see `
|
|
229
|
+
For more information, see `Composite Recording (Real-Time Streaming) <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
|
|
230
|
+
|
|
231
|
+
**Example 4: To start a composition using grid layout with custom participant ordering**
|
|
232
|
+
|
|
233
|
+
The following ``start-composition`` example starts a composition for the specified stage to be streamed to the specified locations using grid layout with custom participant ordering. ::
|
|
234
|
+
|
|
235
|
+
aws ivs-realtime start-composition \
|
|
236
|
+
--stage-arn arn:aws:ivs:ap-northeast-1:123456789012:stage/defgABCDabcd \
|
|
237
|
+
--destinations '[{"channel": {"channelArn": "arn:aws:ivs:ap-northeast-1:123456789012:channel/abcABCdefDEg", \
|
|
238
|
+
"encoderConfigurationArn": "arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"}}, \
|
|
239
|
+
{"s3": {"encoderConfigurationArns": ["arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"], \
|
|
240
|
+
"storageConfigurationArn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE", \
|
|
241
|
+
"thumbnailConfigurations": [{"storage": ["SEQUENTIAL"],"targetIntervalSeconds": 60}]}}]' \
|
|
242
|
+
--layout grid='{participantOrderAttribute="abcdefg"}'
|
|
243
|
+
|
|
244
|
+
Output::
|
|
245
|
+
|
|
246
|
+
{
|
|
247
|
+
"composition": {
|
|
248
|
+
"arn": "arn:aws:ivs:ap-northeast-1:123456789012:composition/abcdABCDefgh",
|
|
249
|
+
"destinations": [
|
|
250
|
+
{
|
|
251
|
+
"configuration": {
|
|
252
|
+
"channel": {
|
|
253
|
+
"channelArn": "arn:aws:ivs:ap-northeast-1:123456789012:channel/abcABCdefDEg",
|
|
254
|
+
"encoderConfigurationArn": "arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"
|
|
255
|
+
},
|
|
256
|
+
"name": ""
|
|
257
|
+
},
|
|
258
|
+
"id": "AabBCcdDEefF",
|
|
259
|
+
"state": "STARTING"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"configuration": {
|
|
263
|
+
"name": "",
|
|
264
|
+
"s3": {
|
|
265
|
+
"encoderConfigurationArns": [
|
|
266
|
+
"arn:aws:ivs:arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"
|
|
267
|
+
],
|
|
268
|
+
"recordingConfiguration": {
|
|
269
|
+
"format": "HLS",
|
|
270
|
+
"hlsConfiguration": {
|
|
271
|
+
"targetSegmentDurationSeconds": 2
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE",
|
|
275
|
+
"thumbnailConfigurations": [
|
|
276
|
+
{
|
|
277
|
+
"targetIntervalSeconds": 60,
|
|
278
|
+
"storage": [
|
|
279
|
+
"SEQUENTIAL"
|
|
280
|
+
]
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"detail": {
|
|
286
|
+
"s3": {
|
|
287
|
+
"recordingPrefix": "aBcDeFgHhGfE/AbCdEfGhHgFe/GHFabcgefABC/composite"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"id": "GHFabcgefABC",
|
|
291
|
+
"state": "STARTING"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"layout": {
|
|
295
|
+
"grid": {
|
|
296
|
+
"featuredParticipantAttribute": ""
|
|
297
|
+
"gridGap": 2,
|
|
298
|
+
"omitStoppedVideo": false,
|
|
299
|
+
"participantOrderAttribute": "abcdefg",
|
|
300
|
+
"videoAspectRatio": "VIDEO",
|
|
301
|
+
"videoFillMode": ""
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"stageArn": "arn:aws:ivs:ap-northeast-1:123456789012:stage/defgABCDabcd",
|
|
305
|
+
"startTime": "2023-10-16T23:24:00+00:00",
|
|
306
|
+
"state": "STARTING",
|
|
307
|
+
"tags": {}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
For more information, see `IVS Composite Recording | Real-Time Streaming <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-composite-recording.html>`__ in the *Amazon Interactive Video Service User Guide*.
|
|
@@ -4,7 +4,7 @@ The following ``create-function`` example creates a Lambda function named ``my-f
|
|
|
4
4
|
|
|
5
5
|
aws lambda create-function \
|
|
6
6
|
--function-name my-function \
|
|
7
|
-
--runtime
|
|
7
|
+
--runtime nodejs22.x \
|
|
8
8
|
--zip-file fileb://my-function.zip \
|
|
9
9
|
--handler my-function.handler \
|
|
10
10
|
--role arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-tges6bf4
|
|
@@ -28,10 +28,10 @@ Output::
|
|
|
28
28
|
"Version": "$LATEST",
|
|
29
29
|
"Role": "arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-zgur6bf4",
|
|
30
30
|
"Timeout": 3,
|
|
31
|
-
"LastModified": "
|
|
31
|
+
"LastModified": "2025-10-14T22:26:11.234+0000",
|
|
32
32
|
"Handler": "my-function.handler",
|
|
33
|
-
"Runtime": "
|
|
33
|
+
"Runtime": "nodejs22.x",
|
|
34
34
|
"Description": ""
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
For more information, see `
|
|
37
|
+
For more information, see `Configure Lambda function memory <https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html>`__ in the *AWS Lambda Developer Guide*.
|
|
@@ -34,10 +34,10 @@ Output::
|
|
|
34
34
|
"Handler": "index.handler",
|
|
35
35
|
"Role": "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq",
|
|
36
36
|
"Timeout": 3,
|
|
37
|
-
"LastModified": "
|
|
38
|
-
"Runtime": "
|
|
37
|
+
"LastModified": "2025-09-24T18:20:35.054+0000",
|
|
38
|
+
"Runtime": "nodejs22.x",
|
|
39
39
|
"Description": ""
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
For more information, see `
|
|
43
|
+
For more information, see `Configure Lambda function memory <https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html>`__ in the *AWS Lambda Developer Guide*.
|
|
@@ -22,8 +22,8 @@ Output::
|
|
|
22
22
|
"Handler": "helloworld.handler",
|
|
23
23
|
"Role": "arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-zgur6bf4",
|
|
24
24
|
"Timeout": 3,
|
|
25
|
-
"LastModified": "
|
|
26
|
-
"Runtime": "
|
|
25
|
+
"LastModified": "2025-09-23T18:32:33.857+0000",
|
|
26
|
+
"Runtime": "nodejs22.x",
|
|
27
27
|
"Description": ""
|
|
28
28
|
},
|
|
29
29
|
{
|
|
@@ -45,8 +45,8 @@ Output::
|
|
|
45
45
|
"Handler": "index.handler",
|
|
46
46
|
"Role": "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq",
|
|
47
47
|
"Timeout": 3,
|
|
48
|
-
"LastModified": "
|
|
49
|
-
"Runtime": "
|
|
48
|
+
"LastModified": "2025-10-01T16:47:28.490+0000",
|
|
49
|
+
"Runtime": "nodejs22.x",
|
|
50
50
|
"Description": ""
|
|
51
51
|
},
|
|
52
52
|
{
|
|
@@ -78,11 +78,11 @@ Output::
|
|
|
78
78
|
"Handler": "lambda_function.lambda_handler",
|
|
79
79
|
"Role": "arn:aws:iam::123456789012:role/service-role/my-python-function-role-z5g7dr6n",
|
|
80
80
|
"Timeout": 3,
|
|
81
|
-
"LastModified": "
|
|
81
|
+
"LastModified": "2025-10-01T19:40:41.643+0000",
|
|
82
82
|
"Runtime": "python3.11",
|
|
83
83
|
"Description": ""
|
|
84
84
|
}
|
|
85
85
|
]
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
For more information, see `
|
|
88
|
+
For more information, see `Configure Lambda function memory <https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html>`__ in the *AWS Lambda Developer Guide*.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
**To create a data store**
|
|
1
|
+
**Example 1: To create a data store**
|
|
2
2
|
|
|
3
|
-
The following ``create-datastore`` code example creates a data store with the name ``my-datastore``.
|
|
3
|
+
The following ``create-datastore`` code example creates a data store with the name ``my-datastore``.
|
|
4
|
+
When you create a datastore without specifying a ``--lossless-storage-format``, AWS HealthImaging defaults to HTJ2K (High Throughput JPEG 2000). ::
|
|
4
5
|
|
|
5
6
|
aws medical-imaging create-datastore \
|
|
6
7
|
--datastore-name "my-datastore"
|
|
@@ -12,4 +13,20 @@ Output::
|
|
|
12
13
|
"datastoreStatus": "CREATING"
|
|
13
14
|
}
|
|
14
15
|
|
|
16
|
+
**Example 2: To create a data store with JPEG 2000 Lossless storage format**
|
|
17
|
+
|
|
18
|
+
A data store configured with JPEG 2000 Lossless storage format will transcode and persist lossless image frames in JPEG 2000 format. Image frames can then be retrieved in
|
|
19
|
+
JPEG 2000 Lossless without transcoding. The following ``create-datastore`` code example creates a data store configured for JPEG 2000 Lossless storage format with the name ``my-datastore``. ::
|
|
20
|
+
|
|
21
|
+
aws medical-imaging create-datastore \
|
|
22
|
+
--datastore-name "my-datastore" \
|
|
23
|
+
--lossless-storage-format JPEG_2000_LOSSLESS
|
|
24
|
+
|
|
25
|
+
Output::
|
|
26
|
+
|
|
27
|
+
{
|
|
28
|
+
"datastoreId": "12345678901234567890123456789012",
|
|
29
|
+
"datastoreStatus": "CREATING"
|
|
30
|
+
}
|
|
31
|
+
|
|
15
32
|
For more information, see `Creating a data store <https://docs.aws.amazon.com/healthimaging/latest/devguide/create-data-store.html>`__ in the *AWS HealthImaging Developer Guide*.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
**To get a data store's properties**
|
|
1
|
+
**Example 1: To get a data store's properties**
|
|
2
2
|
|
|
3
3
|
The following ``get-datastore`` code example gets a data store's properties. ::
|
|
4
4
|
|
|
@@ -13,6 +13,29 @@ Output::
|
|
|
13
13
|
"datastoreId": "12345678901234567890123456789012",
|
|
14
14
|
"datastoreName": "TestDatastore123",
|
|
15
15
|
"datastoreStatus": "ACTIVE",
|
|
16
|
+
"losslessStorageFormat": "HTJ2K"
|
|
17
|
+
"datastoreArn": "arn:aws:medical-imaging:us-east-1:123456789012:datastore/12345678901234567890123456789012",
|
|
18
|
+
"createdAt": "2022-11-15T23:33:09.643000+00:00",
|
|
19
|
+
"updatedAt": "2022-11-15T23:33:09.643000+00:00"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
**Example 2: To get data store's properties configured for JPEG2000**
|
|
24
|
+
|
|
25
|
+
The following ``get-datastore`` code example gets a data store's properties for a data store configured for JPEG 2000 Lossless storage format. ::
|
|
26
|
+
|
|
27
|
+
aws medical-imaging get-datastore \
|
|
28
|
+
--datastore-id 12345678901234567890123456789012
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Output::
|
|
32
|
+
|
|
33
|
+
{
|
|
34
|
+
"datastoreProperties": {
|
|
35
|
+
"datastoreId": "12345678901234567890123456789012",
|
|
36
|
+
"datastoreName": "TestDatastore123",
|
|
37
|
+
"datastoreStatus": "ACTIVE",
|
|
38
|
+
"losslessStorageFormat": "JPEG_2000_LOSSLESS",
|
|
16
39
|
"datastoreArn": "arn:aws:medical-imaging:us-east-1:123456789012:datastore/12345678901234567890123456789012",
|
|
17
40
|
"createdAt": "2022-11-15T23:33:09.643000+00:00",
|
|
18
41
|
"updatedAt": "2022-11-15T23:33:09.643000+00:00"
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
**To get information about a hub resource**
|
|
2
2
|
|
|
3
|
-
The following ``describe-hub`` example returns the subscription date for the specified hub resource. The hub resource is identified by its ARN. ::
|
|
3
|
+
The following ``describe-hub`` example returns the subscription date and other configuration settings for the specified hub resource. The hub resource is identified by its ARN. ::
|
|
4
4
|
|
|
5
|
-
aws securityhub describe-hub \
|
|
5
|
+
aws securityhub describe-hub \
|
|
6
6
|
--hub-arn "arn:aws:securityhub:us-west-1:123456789012:hub/default"
|
|
7
7
|
|
|
8
8
|
Output::
|
|
9
9
|
|
|
10
10
|
{
|
|
11
11
|
"HubArn": "arn:aws:securityhub:us-west-1:123456789012:hub/default",
|
|
12
|
-
"SubscribedAt": "2019-11-19T23:15:10.046Z"
|
|
12
|
+
"SubscribedAt": "2019-11-19T23:15:10.046Z",
|
|
13
|
+
"AutoEnableControls": true,
|
|
14
|
+
"ControlFindingGenerator": "SECURITY_CONTROL"
|
|
13
15
|
}
|
|
14
16
|
|
|
15
|
-
For more information, see `AWS::SecurityHub::Hub <https://docs.aws.amazon.com/AWSCloudFormation/latest/
|
|
17
|
+
For more information, see `AWS::SecurityHub::Hub <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-securityhub-hub.html>`__ in the *AWS CloudFormation User Guide*.
|