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 # 
Data 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 # 
Show DescribeAssociation # 
Generic DescribeAssociation # 
Hashable DescribeAssociation # 
ToJSON DescribeAssociation # 
NFData DescribeAssociation # 

Methods

rnf :: DescribeAssociation -> () #

AWSRequest DescribeAssociation # 
ToHeaders DescribeAssociation # 
ToPath DescribeAssociation # 
ToQuery DescribeAssociation # 
type Rep DescribeAssociation # 
type Rep DescribeAssociation = D1 * (MetaData "DescribeAssociation" "Network.AWS.SSM.DescribeAssociation" "amazonka-ssm-1.6.0-3Tt35jiaR0xLZVuK0jt4Pc" False) (C1 * (MetaCons "DescribeAssociation'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_daAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_daInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_daName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_daAssociationVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))
type Rs 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 # 
Data DescribeAssociationResponse # 

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 # 
Show DescribeAssociationResponse # 
Generic DescribeAssociationResponse # 
NFData DescribeAssociationResponse # 
type Rep DescribeAssociationResponse # 
type Rep DescribeAssociationResponse = D1 * (MetaData "DescribeAssociationResponse" "Network.AWS.SSM.DescribeAssociation" "amazonka-ssm-1.6.0-3Tt35jiaR0xLZVuK0jt4Pc" False) (C1 * (MetaCons "DescribeAssociationResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_daarsAssociationDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AssociationDescription))) (S1 * (MetaSel (Just Symbol "_daarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses