404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.217.203.133: ~ $
**To retrieve the targets associated with a deployment**

The following ``batch-get-deployment-targets`` example returns information about one of the targets associated with the specified deployment. ::

    aws deploy batch-get-deployment-targets \
        --deployment-id "d-1A2B3C4D5" \
        --target-ids "i-01a2b3c4d5e6f1111"

Output::

    {
        "deploymentTargets": [
            {
                "deploymentTargetType": "InstanceTarget",
                "instanceTarget": {
                    "lifecycleEvents": [
                        {
                            "startTime": 1556918592.162,
                            "lifecycleEventName": "ApplicationStop",
                            "status": "Succeeded",
                            "endTime": 1556918592.247,
                            "diagnostics": {
                                "scriptName": "",
                                "errorCode": "Success",
                                "logTail": "",
                                "message": "Succeeded"
                            }
                        },
                        {
                            "startTime": 1556918593.193,
                            "lifecycleEventName": "DownloadBundle",
                            "status": "Succeeded",
                            "endTime": 1556918593.981,
                            "diagnostics": {
                                "scriptName": "",
                                "errorCode": "Success",
                                "logTail": "",
                                "message": "Succeeded"
                            }
                        },
                        {
                            "startTime": 1556918594.805,
                            "lifecycleEventName": "BeforeInstall",
                            "status": "Succeeded",
                            "endTime": 1556918681.807,
                            "diagnostics": {
                                "scriptName": "",
                                "errorCode": "Success",
                                "logTail": "",
                                "message": "Succeeded"
                            }
                        }
                    ],
                    "targetArn": "arn:aws:ec2:us-west-2:123456789012:instance/i-01a2b3c4d5e6f1111",
                    "deploymentId": "d-1A2B3C4D5",
                    "lastUpdatedAt": 1556918687.504,
                    "targetId": "i-01a2b3c4d5e6f1111",
                    "status": "Succeeded"
                }
            }
        ]
    }

For more information, see `BatchGetDeploymentTargets <https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_BatchGetDeploymentTargets.html>`_ in the *AWS CodeDeploy API Reference*.

Filemanager

Name Type Size Permission Actions
wait Folder 0755
add-tags-to-on-premises-instances.rst File 469 B 0755
batch-get-application-revisions.rst File 1.49 KB 0755
batch-get-applications.rst File 826 B 0755
batch-get-deployment-groups.rst File 3.47 KB 0755
batch-get-deployment-targets.rst File 2.73 KB 0755
batch-get-deployments.rst File 2.5 KB 0755
batch-get-on-premises-instances.rst File 1.36 KB 0755
continue-deployment.rst File 621 B 0755
create-application.rst File 301 B 0755
create-deployment-config.rst File 442 B 0755
create-deployment-group.rst File 683 B 0755
create-deployment.rst File 2 KB 0755
delete-application.rst File 261 B 0755
delete-deployment-config.rst File 307 B 0755
delete-deployment-group.rst File 350 B 0755
delete-git-hub-account-token.rst File 491 B 0755
deregister-on-premises-instance.rst File 571 B 0755
deregister.rst File 967 B 0755
get-application-revision.rst File 1.07 KB 0755
get-application.rst File 498 B 0755
get-deployment-config.rst File 657 B 0755
get-deployment-group.rst File 1007 B 0755
get-deployment-instance.rst File 2.09 KB 0755
get-deployment-target.rst File 4.52 KB 0755
get-deployment.rst File 1.27 KB 0755
get-on-premises-instance.rst File 745 B 0755
install.rst File 825 B 0755
list-application-revisions.rst File 1.16 KB 0755
list-applications.rst File 331 B 0755
list-deployment-configs.rst File 490 B 0755
list-deployment-groups.rst File 440 B 0755
list-deployment-instances.rst File 447 B 0755
list-deployment-targets.rst File 665 B 0755
list-deployments.rst File 585 B 0755
list-git-hub-account-token-names.rst File 608 B 0755
list-on-premises-instances.rst File 589 B 0755
list-tags-for-resource.rst File 738 B 0644
push.rst File 1018 B 0755
register-application-revision.rst File 558 B 0755
register-on-premises-instance.rst File 506 B 0755
register.rst File 1 KB 0755
remove-tags-from-on-premises-instances.rst File 683 B 0755
stop-deployment.rst File 389 B 0755
tag-resource.rst File 628 B 0644
uninstall.rst File 473 B 0755
untag-resource.rst File 585 B 0644
update-application.rst File 334 B 0755
update-deployment-group.rst File 705 B 0755