amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSM.ListCommandInvocations

Description

An invocation is copy of a command sent to a specific managed node. A command can apply to one or more managed nodes. A command invocation applies to one managed node. For example, if a user runs SendCommand against three managed nodes, then a command invocation is created for each requested managed node ID. ListCommandInvocations provide status about command execution.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCommandInvocations Source #

See: newListCommandInvocations smart constructor.

Constructors

ListCommandInvocations' 

Fields

  • commandId :: Maybe Text

    (Optional) The invocations for a specific command ID.

  • details :: Maybe Bool

    (Optional) If set this returns the response of the command executions and any command output. The default value is false.

  • filters :: Maybe (NonEmpty CommandFilter)

    (Optional) One or more filters. Use a filter to return a more specific list of results.

  • instanceId :: Maybe Text

    (Optional) The command execution details for a specific managed node ID.

  • maxResults :: Maybe Natural

    (Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

  • nextToken :: Maybe Text

    (Optional) The token for the next set of items to return. (You received this token from a previous call.)

Instances

Instances details
ToJSON ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

ToHeaders ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

ToPath ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

ToQuery ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

AWSPager ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

AWSRequest ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

Associated Types

type AWSResponse ListCommandInvocations #

Generic ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

Associated Types

type Rep ListCommandInvocations :: Type -> Type #

Read ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

Show ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

NFData ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

Methods

rnf :: ListCommandInvocations -> () #

Eq ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

Hashable ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

type AWSResponse ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

type Rep ListCommandInvocations Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

type Rep ListCommandInvocations = D1 ('MetaData "ListCommandInvocations" "Amazonka.SSM.ListCommandInvocations" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "ListCommandInvocations'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "commandId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty CommandFilter))))) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newListCommandInvocations :: ListCommandInvocations Source #

Create a value of ListCommandInvocations with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ListCommandInvocations, listCommandInvocations_commandId - (Optional) The invocations for a specific command ID.

ListCommandInvocations, listCommandInvocations_details - (Optional) If set this returns the response of the command executions and any command output. The default value is false.

ListCommandInvocations, listCommandInvocations_filters - (Optional) One or more filters. Use a filter to return a more specific list of results.

ListCommandInvocations, listCommandInvocations_instanceId - (Optional) The command execution details for a specific managed node ID.

$sel:maxResults:ListCommandInvocations', listCommandInvocations_maxResults - (Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

ListCommandInvocations, listCommandInvocations_nextToken - (Optional) The token for the next set of items to return. (You received this token from a previous call.)

Request Lenses

listCommandInvocations_commandId :: Lens' ListCommandInvocations (Maybe Text) Source #

(Optional) The invocations for a specific command ID.

listCommandInvocations_details :: Lens' ListCommandInvocations (Maybe Bool) Source #

(Optional) If set this returns the response of the command executions and any command output. The default value is false.

listCommandInvocations_filters :: Lens' ListCommandInvocations (Maybe (NonEmpty CommandFilter)) Source #

(Optional) One or more filters. Use a filter to return a more specific list of results.

listCommandInvocations_instanceId :: Lens' ListCommandInvocations (Maybe Text) Source #

(Optional) The command execution details for a specific managed node ID.

listCommandInvocations_maxResults :: Lens' ListCommandInvocations (Maybe Natural) Source #

(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

listCommandInvocations_nextToken :: Lens' ListCommandInvocations (Maybe Text) Source #

(Optional) The token for the next set of items to return. (You received this token from a previous call.)

Destructuring the Response

data ListCommandInvocationsResponse Source #

See: newListCommandInvocationsResponse smart constructor.

Constructors

ListCommandInvocationsResponse' 

Fields

Instances

Instances details
Generic ListCommandInvocationsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

Associated Types

type Rep ListCommandInvocationsResponse :: Type -> Type #

Read ListCommandInvocationsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

Show ListCommandInvocationsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

NFData ListCommandInvocationsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

Eq ListCommandInvocationsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

type Rep ListCommandInvocationsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListCommandInvocations

type Rep ListCommandInvocationsResponse = D1 ('MetaData "ListCommandInvocationsResponse" "Amazonka.SSM.ListCommandInvocations" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "ListCommandInvocationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "commandInvocations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CommandInvocation])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListCommandInvocationsResponse Source #

Create a value of ListCommandInvocationsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:commandInvocations:ListCommandInvocationsResponse', listCommandInvocationsResponse_commandInvocations - (Optional) A list of all invocations.

ListCommandInvocations, listCommandInvocationsResponse_nextToken - (Optional) The token for the next set of items to return. (You received this token from a previous call.)

$sel:httpStatus:ListCommandInvocationsResponse', listCommandInvocationsResponse_httpStatus - The response's http status code.

Response Lenses

listCommandInvocationsResponse_nextToken :: Lens' ListCommandInvocationsResponse (Maybe Text) Source #

(Optional) The token for the next set of items to return. (You received this token from a previous call.)