You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* nodes. If you don't specify node IDs, it returns information for all your managed nodes. If you
40
40
* specify a node ID that isn't valid or a node that you don't own, you receive an error.</p>
41
41
* <note>
42
-
* <p>The <code>IamRole</code> field returned for this API operation is the Identity and Access Management (IAM) role assigned to on-premises managed nodes. This operation does not
43
-
* return the IAM role for EC2 instances.</p>
42
+
* <p>The <code>IamRole</code> field returned for this API operation is the role assigned to an
43
+
* Amazon EC2 instance configured with a Systems Manager Quick Setup host management configuration or
44
+
* the role assigned to an on-premises managed node.</p>
44
45
* </note>
45
46
* @example
46
47
* Use a bare-bones client and the command you need to make an API call.
* <p>Returns detailed information about command execution for an invocation or plugin.</p>
31
+
* <p>Returns detailed information about command execution for an invocation or plugin. The Run
32
+
* Command API follows an eventual consistency model, due to the distributed nature of the system
33
+
* supporting the API. This means that the result of an API command you run that affects your
34
+
* resources might not be immediately visible to all subsequent commands you run. You should keep
35
+
* this in mind when you carry out an API command that immediately follows a previous API
36
+
* command.</p>
32
37
* <p>
33
38
* <code>GetCommandInvocation</code> only gives the execution status of a plugin in a document.
34
39
* To get the command execution status on a specific managed node, use <a>ListCommandInvocations</a>. To get the command execution status across managed nodes,
* <p>The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager
7702
-
* managed node. This call doesn't return the IAM role for Amazon Elastic Compute Cloud
7703
-
* (Amazon EC2) instances. To retrieve the IAM role for an EC2 instance, use
7704
-
* the Amazon EC2 <code>DescribeInstances</code> operation. For information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html">DescribeInstances</a> in the <i>Amazon EC2 API Reference</i> or <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html">describe-instances</a> in the <i>Amazon Web Services CLI Command Reference</i>.</p>
7715
+
* <p>The role assigned to an Amazon EC2 instance configured with a Systems Manager
7716
+
* Quick Setup host management configuration or the role assigned to an on-premises managed
7717
+
* node.</p>
7718
+
* <p> This call doesn't return the IAM role for <i>unmanaged</i>
7719
+
* Amazon EC2 instances (instances not configured for Systems Manager). To retrieve the
7720
+
* role for an unmanaged instance, use the Amazon EC2 <code>DescribeInstances</code> operation. For
7721
+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html">DescribeInstances</a> in the
7722
+
* <i>Amazon EC2 API Reference</i> or <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html">describe-instances</a> in the
7723
+
* <i>Amazon Web Services CLI Command Reference</i>.</p>
* <p>Describes a filter for a specific list of managed nodes. You can filter node information by using tags. You specify tags by using a key-value mapping.</p>
8531
+
* <p>Describes a filter for a specific list of managed nodes. You can filter node information by
8532
+
* using tags. You specify tags by using a key-value mapping.</p>
* <p>The value of the EC2 <code>Name</code> tag associated with the node. If a <code>Name</code> tag hasn't been applied to the node, this value is blank.</p>
8585
+
* <p>The value of the EC2 <code>Name</code> tag associated with the node. If a <code>Name</code>
8586
+
* tag hasn't been applied to the node, this value is blank.</p>
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service
413
-
* (Amazon SNS) notifications for maintenance window Run Command tasks.</p>
412
+
* <p>The Amazon Resource Name (ARN) of the IAM service role for
413
+
* Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a
414
+
* service role ARN, Systems Manager uses a service-linked role in your account. If no
415
+
* appropriate service-linked role for Systems Manager exists in your account, it is created when
416
+
* you run <code>RegisterTaskWithMaintenanceWindow</code>.</p>
417
+
* <p>However, for an improved security posture, we strongly recommend creating a custom
418
+
* policy and custom service role for running your maintenance window tasks. The policy
419
+
* can be crafted to provide only the permissions needed for your particular
420
+
* maintenance window tasks. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html">Setting up maintenance windows</a> in the in the
421
+
* <i>Amazon Web Services Systems Manager User Guide</i>.</p>
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service
3946
-
* (Amazon SNS) notifications for maintenance window Run Command tasks.</p>
3954
+
* <p>The Amazon Resource Name (ARN) of the IAM service role for
3955
+
* Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a
3956
+
* service role ARN, Systems Manager uses a service-linked role in your account. If no
3957
+
* appropriate service-linked role for Systems Manager exists in your account, it is created when
3958
+
* you run <code>RegisterTaskWithMaintenanceWindow</code>.</p>
3959
+
* <p>However, for an improved security posture, we strongly recommend creating a custom
3960
+
* policy and custom service role for running your maintenance window tasks. The policy
3961
+
* can be crafted to provide only the permissions needed for your particular
3962
+
* maintenance window tasks. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html">Setting up maintenance windows</a> in the in the
3963
+
* <i>Amazon Web Services Systems Manager User Guide</i>.</p>
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service
4055
-
* (Amazon SNS) notifications for maintenance window Run Command tasks.</p>
4071
+
* <p>The Amazon Resource Name (ARN) of the IAM service role for
4072
+
* Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a
4073
+
* service role ARN, Systems Manager uses a service-linked role in your account. If no
4074
+
* appropriate service-linked role for Systems Manager exists in your account, it is created when
4075
+
* you run <code>RegisterTaskWithMaintenanceWindow</code>.</p>
4076
+
* <p>However, for an improved security posture, we strongly recommend creating a custom
4077
+
* policy and custom service role for running your maintenance window tasks. The policy
4078
+
* can be crafted to provide only the permissions needed for your particular
4079
+
* maintenance window tasks. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html">Setting up maintenance windows</a> in the in the
4080
+
* <i>Amazon Web Services Systems Manager User Guide</i>.</p>
0 commit comments