amazonka-ssm-1.6.1: Amazon Simple Systems Manager (SSM) SDK.

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

Network.AWS.SSM.DescribeAssociation

Contents

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. If you created the association by specifying an instance ID and a Systems Manager document, then you retrieve the association by specifying the document name and the instance ID.

Synopsis

Creating a Request

describeAssociation :: DescribeAssociation Source #

Creates a value of DescribeAssociation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • daAssociationId - The association ID for which you want information.
  • daInstanceId - The instance ID.
  • daName - The name of the Systems Manager document.
  • daAssociationVersion - 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 ListInstanceAssociations. To get a list of versions for a specific association, use ListAssociationVersions.

data DescribeAssociation Source #

See: describeAssociation smart constructor.

Instances
Eq DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Data DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeAssociation -> c DescribeAssociation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeAssociation #

toConstr :: DescribeAssociation -> Constr #

dataTypeOf :: DescribeAssociation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeAssociation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeAssociation) #

gmapT :: (forall b. Data b => b -> b) -> DescribeAssociation -> DescribeAssociation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAssociation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAssociation -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeAssociation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeAssociation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeAssociation -> m DescribeAssociation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAssociation -> m DescribeAssociation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAssociation -> m DescribeAssociation #

Read DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Show DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Generic DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Associated Types

type Rep DescribeAssociation :: Type -> Type #

Hashable DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

ToJSON DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

AWSRequest DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Associated Types

type Rs DescribeAssociation :: Type #

ToHeaders DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

ToPath DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

ToQuery DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

NFData DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Methods

rnf :: DescribeAssociation -> () #

type Rep DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

type Rep DescribeAssociation = D1 (MetaData "DescribeAssociation" "Network.AWS.SSM.DescribeAssociation" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "DescribeAssociation'" PrefixI True) ((S1 (MetaSel (Just "_daAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_daInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_daName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_daAssociationVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs DescribeAssociation Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Request Lenses

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

The association ID for which you want information.

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

The name of the Systems Manager document.

daAssociationVersion :: 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 ListInstanceAssociations. To get a list of versions for a specific association, use ListAssociationVersions.

Destructuring the Response

describeAssociationResponse Source #

Creates a value of DescribeAssociationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeAssociationResponse Source #

See: describeAssociationResponse smart constructor.

Instances
Eq DescribeAssociationResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Data DescribeAssociationResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeAssociationResponse -> c DescribeAssociationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeAssociationResponse #

toConstr :: DescribeAssociationResponse -> Constr #

dataTypeOf :: DescribeAssociationResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeAssociationResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeAssociationResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeAssociationResponse -> DescribeAssociationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAssociationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAssociationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeAssociationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeAssociationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeAssociationResponse -> m DescribeAssociationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAssociationResponse -> m DescribeAssociationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAssociationResponse -> m DescribeAssociationResponse #

Read DescribeAssociationResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Show DescribeAssociationResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Generic DescribeAssociationResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Associated Types

type Rep DescribeAssociationResponse :: Type -> Type #

NFData DescribeAssociationResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

type Rep DescribeAssociationResponse Source # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

type Rep DescribeAssociationResponse = D1 (MetaData "DescribeAssociationResponse" "Network.AWS.SSM.DescribeAssociation" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "DescribeAssociationResponse'" PrefixI True) (S1 (MetaSel (Just "_daarsAssociationDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssociationDescription)) :*: S1 (MetaSel (Just "_daarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses