https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/fis/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/fis/get-experiment.rst
**To get experiment details**

The following ``get-experiment`` example gets the details of the specified experiment. ::

    aws fis get-experiment \
        --id ABC12DeFGhI3jKLMNOP

Output::

    {
        "experiment": {
            "id": "ABC12DeFGhI3jKLMNOP",
            "experimentTemplateId": "ABCDE1fgHIJkLmNop",
            "roleArn": "arn:aws:iam::123456789012:role/myRole",
            "state": {
                "status": "completed",
                "reason": "Experiment completed."
            },
            "targets": {
                "Instances-Target-1": {
                    "resourceType": "aws:ec2:instance",
                    "resourceArns": [
                        "arn:aws:ec2:us-west-2:123456789012:instance/i-12a3b4c56d78e9012"
                    ],
                    "selectionMode": "ALL"
                }
            },
            "actions": {
                "reboot": {
                    "actionId": "aws:ec2:reboot-instances",
                    "parameters": {},
                    "targets": {
                        "Instances": "Instances-Target-1"
                    },
                    "state": {
                        "status": "completed",
                        "reason": "Action was completed."
                    }
                }
            },
            "stopConditions": [
                {
                    "source": "none"
                }
            ],
            "creationTime": 1616432509.662,
            "startTime": 1616432509.962,
            "endTime": 1616432522.307,
            "tags": {}
        }
    }

For more information, see `Experiments for AWS FIS <https://docs.aws.amazon.com/fis/latest/userguide/experiments.html>`__ in the *AWS Fault Injection Simulator User Guide*.

https://t.me/RX1948 - 2025