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

Copyright(c) 2013-2017 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 associations for the specified Systems Manager document or instance.

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 # 
Data DescribeAssociation Source # 

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

Methods

rnf :: DescribeAssociation -> () #

AWSRequest DescribeAssociation Source # 
ToQuery DescribeAssociation Source # 
ToPath DescribeAssociation Source # 
ToHeaders DescribeAssociation Source # 
type Rep DescribeAssociation Source # 
type Rep DescribeAssociation = D1 (MetaData "DescribeAssociation" "Network.AWS.SSM.DescribeAssociation" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" 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 Source # 

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 # 
Data DescribeAssociationResponse Source # 

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 # 
Show DescribeAssociationResponse Source # 
Generic DescribeAssociationResponse Source # 
NFData DescribeAssociationResponse Source # 
type Rep DescribeAssociationResponse Source # 
type Rep DescribeAssociationResponse = D1 (MetaData "DescribeAssociationResponse" "Network.AWS.SSM.DescribeAssociation" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" 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