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.DescribeAssociation

Description

Describes the association for the specified target or managed node. If you created the association by using the Targets parameter, then you must retrieve the association by using the association ID.

Synopsis

Creating a Request

data DescribeAssociation Source #

See: newDescribeAssociation smart constructor.

Constructors

DescribeAssociation' 

Fields

  • associationId :: Maybe Text

    The association ID for which you want information.

  • associationVersion :: Maybe Text

    Specify the association version to retrieve. To view the latest version, either specify $LATEST for this parameter, or omit this parameter. To view a list of all associations for a managed node, use ListAssociations. To get a list of versions for a specific association, use ListAssociationVersions.

  • instanceId :: Maybe Text

    The managed node ID.

  • name :: Maybe Text

    The name of the SSM document.

Instances

Instances details
ToJSON DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

ToHeaders DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

ToPath DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

ToQuery DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

AWSRequest DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Associated Types

type AWSResponse DescribeAssociation #

Generic DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Associated Types

type Rep DescribeAssociation :: Type -> Type #

Read DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Show DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

NFData DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Methods

rnf :: DescribeAssociation -> () #

Eq DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Hashable DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

type AWSResponse DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

type Rep DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

type Rep DescribeAssociation = D1 ('MetaData "DescribeAssociation" "Amazonka.SSM.DescribeAssociation" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "DescribeAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "associationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeAssociation :: DescribeAssociation Source #

Create a value of DescribeAssociation 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:

DescribeAssociation, describeAssociation_associationId - The association ID for which you want information.

DescribeAssociation, describeAssociation_associationVersion - Specify the association version to retrieve. To view the latest version, either specify $LATEST for this parameter, or omit this parameter. To view a list of all associations for a managed node, use ListAssociations. To get a list of versions for a specific association, use ListAssociationVersions.

DescribeAssociation, describeAssociation_instanceId - The managed node ID.

DescribeAssociation, describeAssociation_name - The name of the SSM document.

Request Lenses

describeAssociation_associationId :: Lens' DescribeAssociation (Maybe Text) Source #

The association ID for which you want information.

describeAssociation_associationVersion :: Lens' DescribeAssociation (Maybe Text) Source #

Specify the association version to retrieve. To view the latest version, either specify $LATEST for this parameter, or omit this parameter. To view a list of all associations for a managed node, use ListAssociations. To get a list of versions for a specific association, use ListAssociationVersions.

Destructuring the Response

data DescribeAssociationResponse Source #

See: newDescribeAssociationResponse smart constructor.

Constructors

DescribeAssociationResponse' 

Fields

Instances

Instances details
Generic DescribeAssociationResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Associated Types

type Rep DescribeAssociationResponse :: Type -> Type #

Show DescribeAssociationResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

NFData DescribeAssociationResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Eq DescribeAssociationResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

type Rep DescribeAssociationResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

type Rep DescribeAssociationResponse = D1 ('MetaData "DescribeAssociationResponse" "Amazonka.SSM.DescribeAssociation" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "DescribeAssociationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "associationDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssociationDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeAssociationResponse Source #

Create a value of DescribeAssociationResponse 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:associationDescription:DescribeAssociationResponse', describeAssociationResponse_associationDescription - Information about the association.

$sel:httpStatus:DescribeAssociationResponse', describeAssociationResponse_httpStatus - The response's http status code.

Response Lenses