libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.DescribeAssociation

Description

Describes the association for the specified target or instance. 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.

  • instanceId :: Maybe Text

    The instance ID.

  • name :: Maybe Text

    The name of the SSM document.

  • 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 an instance, use ListAssociations. To get a list of versions for a specific association, use ListAssociationVersions.

Instances

Instances details
Eq DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Read DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Show DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Generic DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Associated Types

type Rep DescribeAssociation :: Type -> Type #

NFData DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Methods

rnf :: DescribeAssociation -> () #

Hashable DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

ToJSON DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

AWSRequest DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Associated Types

type AWSResponse 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

type Rep DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

type Rep DescribeAssociation = D1 ('MetaData "DescribeAssociation" "Amazonka.SSM.DescribeAssociation" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "DescribeAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "associationId") '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)) :*: S1 ('MetaSel ('Just "associationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse DescribeAssociation Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

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:

$sel:associationId:DescribeAssociation', describeAssociation_associationId - The association ID for which you want information.

$sel:instanceId:DescribeAssociation', describeAssociation_instanceId - The instance ID.

$sel:name:DescribeAssociation', describeAssociation_name - The name of the SSM document.

$sel:associationVersion: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 an instance, use ListAssociations. To get a list of versions for a specific association, use ListAssociationVersions.

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 an instance, 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
Eq DescribeAssociationResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Read DescribeAssociationResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Show DescribeAssociationResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Generic DescribeAssociationResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeAssociation

Associated Types

type Rep DescribeAssociationResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-ssmZSamazonka-ssm" '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