404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.140.188.79: ~ $
**To stop an experiment**

The following ``stop-experiment`` example stops the specified experiment from running. ::

    aws fis stop-experiment \
        --id ABC12DeFGhI3jKLMNOP

Output::

    {
        "experiment": {
            "id": "ABC12DeFGhI3jKLMNOP",
            "experimentTemplateId": "ABCDE1fgHIJkLmNop",
            "roleArn": "arn:aws:iam::123456789012:role/myRole",
            "state": {
                "status": "stopping",
                "reason": "Stopping Experiment."
            },
            "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"
                    },
                    "startAfter": [
                        "wait"
                    ],
                    "state": {
                        "status": "pending",
                        "reason": "Initial state."
                    }
                },
                "wait": {
                    "actionId": "aws:fis:wait",
                    "parameters": {
                        "duration": "PT5M"
                    },
                    "state": {
                        "status": "running",
                        "reason": ""
                    }
                }
            },
            "stopConditions": [
                {
                    "source": "none"
                }
            ],
            "creationTime": 1616432680.927,
            "startTime": 1616432681.177,
            "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*.

Filemanager

Name Type Size Permission Actions
create-experiment-template.rst File 2.67 KB 0644
delete-experiment-template.rst File 1.5 KB 0644
get-action.rst File 938 B 0644
get-experiment-template.rst File 1.54 KB 0644
get-experiment.rst File 1.79 KB 0644
list-actions.rst File 4.56 KB 0644
list-experiment-templates.rst File 752 B 0644
list-experiments.rst File 788 B 0644
list-tags-for-resource.rst File 553 B 0644
start-experiment.rst File 1.75 KB 0644
stop-experiment.rst File 2.16 KB 0644
tag-resource.rst File 470 B 0644
untag-resource.rst File 451 B 0644
update-experiment-template.rst File 1.63 KB 0644