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/ssm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/ssm/get-maintenance-window-execution-task.rst
**To get information about a maintenance window task execution**

The following ``get-maintenance-window-execution-task`` example lists information about a task that is part of the specified maintenance window execution. ::

    aws ssm get-maintenance-window-execution-task \
        --window-execution-id "518d5565-5969-4cca-8f0e-da3b2EXAMPLE" \
        --task-id "ac0c6ae1-daa3-4a89-832e-d3845EXAMPLE"

Output::

    {
        "WindowExecutionId": "518d5565-5969-4cca-8f0e-da3b2EXAMPLE",
        "TaskExecutionId": "ac0c6ae1-daa3-4a89-832e-d3845EXAMPLE",
        "TaskArn": "AWS-RunPatchBaseline",
        "ServiceRole": "arn:aws:iam::111222333444:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM",
        "Type": "RUN_COMMAND",
        "TaskParameters": [
            {
                "BaselineOverride": {
                    "Values": [
                        ""
                    ]
                },
                "InstallOverrideList": {
                    "Values": [
                        ""
                    ]
                },
                "Operation": {
                    "Values": [
                        "Scan"
                    ]
                },
                "RebootOption": {
                    "Values": [
                        "RebootIfNeeded"
                    ]
                },
                "SnapshotId": {
                    "Values": [
                        "{{ aws:ORCHESTRATION_ID }}"
                    ]
                },
                "aws:InstanceId": {
                    "Values": [
                        "i-02573cafcfEXAMPLE",
                        "i-0471e04240EXAMPLE",
                        "i-07782c72faEXAMPLE"
                    ]
                }
            }
        ],
        "Priority": 1,
        "MaxConcurrency": "1",
        "MaxErrors": "3",
        "Status": "SUCCESS",
        "StartTime": "2021-08-04T11:45:35.088000-07:00",
        "EndTime": "2021-08-04T11:53:09.079000-07:00"
    }

For more information, see `View information about tasks and task executions (AWS CLI) <https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-task-info.html>`__ in the *AWS Systems Manager User Guide*.

https://t.me/RX1948 - 2025