amazonka-cloudformation-1.4.5: Amazon CloudFormation SDK.

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

Network.AWS.CloudFormation.DescribeStackResource

Contents

Description

Returns a description of the specified resource in the specified stack.

For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted.

Synopsis

Creating a Request

describeStackResource Source #

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

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

  • dsrsStackName - The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value.
  • dsrsLogicalResourceId - The logical name of the resource as specified in the template. Default: There is no default value.

data DescribeStackResource Source #

The input for DescribeStackResource action.

See: describeStackResource smart constructor.

Instances

Eq DescribeStackResource Source # 
Data DescribeStackResource Source # 

Methods

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

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

toConstr :: DescribeStackResource -> Constr #

dataTypeOf :: DescribeStackResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeStackResource Source # 
Show DescribeStackResource Source # 
Generic DescribeStackResource Source # 
Hashable DescribeStackResource Source # 
NFData DescribeStackResource Source # 

Methods

rnf :: DescribeStackResource -> () #

AWSRequest DescribeStackResource Source # 
ToPath DescribeStackResource Source # 
ToHeaders DescribeStackResource Source # 
ToQuery DescribeStackResource Source # 
type Rep DescribeStackResource Source # 
type Rep DescribeStackResource = D1 (MetaData "DescribeStackResource" "Network.AWS.CloudFormation.DescribeStackResource" "amazonka-cloudformation-1.4.5-G0stfcEaDzC4JoYZoVvUrE" False) (C1 (MetaCons "DescribeStackResource'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsrsStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dsrsLogicalResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DescribeStackResource Source # 

Request Lenses

dsrsStackName :: Lens' DescribeStackResource Text Source #

The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value.

dsrsLogicalResourceId :: Lens' DescribeStackResource Text Source #

The logical name of the resource as specified in the template. Default: There is no default value.

Destructuring the Response

describeStackResourceResponse Source #

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

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

data DescribeStackResourceResponse Source #

The output for a DescribeStackResource action.

See: describeStackResourceResponse smart constructor.

Instances

Eq DescribeStackResourceResponse Source # 
Data DescribeStackResourceResponse Source # 

Methods

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

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

toConstr :: DescribeStackResourceResponse -> Constr #

dataTypeOf :: DescribeStackResourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeStackResourceResponse Source # 
Show DescribeStackResourceResponse Source # 
Generic DescribeStackResourceResponse Source # 
NFData DescribeStackResourceResponse Source # 
type Rep DescribeStackResourceResponse Source # 
type Rep DescribeStackResourceResponse = D1 (MetaData "DescribeStackResourceResponse" "Network.AWS.CloudFormation.DescribeStackResource" "amazonka-cloudformation-1.4.5-G0stfcEaDzC4JoYZoVvUrE" False) (C1 (MetaCons "DescribeStackResourceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsrrsStackResourceDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StackResourceDetail))) (S1 (MetaSel (Just Symbol "_dsrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dsrrsStackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail) Source #

A StackResourceDetail structure containing the description of the specified resource in the specified stack.