amazonka-ssm-1.6.0: 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 #

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 #

See: describeAssociation smart constructor.

Instances
Eq DescribeAssociation # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Data DescribeAssociation # 
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 # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Show DescribeAssociation # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Generic DescribeAssociation # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Associated Types

type Rep DescribeAssociation :: * -> * #

Hashable DescribeAssociation # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

ToJSON DescribeAssociation # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

AWSRequest DescribeAssociation # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Associated Types

type Rs DescribeAssociation :: * #

ToHeaders DescribeAssociation # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

ToPath DescribeAssociation # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

ToQuery DescribeAssociation # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

NFData DescribeAssociation # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Methods

rnf :: DescribeAssociation -> () #

type Rep DescribeAssociation # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

type Rep DescribeAssociation = D1 (MetaData "DescribeAssociation" "Network.AWS.SSM.DescribeAssociation" "amazonka-ssm-1.6.0-6ymLhp3p3ub3EVj8bPf5ZJ" 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 # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Request Lenses

daAssociationId :: Lens' DescribeAssociation (Maybe Text) #

The association ID for which you want information.

daName :: Lens' DescribeAssociation (Maybe Text) #

The name of the Systems Manager document.

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

Destructuring the Response

describeAssociationResponse #

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 #

See: describeAssociationResponse smart constructor.

Instances
Eq DescribeAssociationResponse # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Data DescribeAssociationResponse # 
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 # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Show DescribeAssociationResponse # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Generic DescribeAssociationResponse # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

Associated Types

type Rep DescribeAssociationResponse :: * -> * #

NFData DescribeAssociationResponse # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

type Rep DescribeAssociationResponse # 
Instance details

Defined in Network.AWS.SSM.DescribeAssociation

type Rep DescribeAssociationResponse = D1 (MetaData "DescribeAssociationResponse" "Network.AWS.SSM.DescribeAssociation" "amazonka-ssm-1.6.0-6ymLhp3p3ub3EVj8bPf5ZJ" 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