amazonka-cloudformation-1.6.0: Amazon CloudFormation 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.CloudFormation.ListChangeSets

Contents

Description

Returns the ID and status of each active change set for a stack. For example, AWS CloudFormation lists change sets that are in the CREATE_IN_PROGRESS or CREATE_PENDING state.

Synopsis

Creating a Request

listChangeSets Source #

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

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

  • lcsNextToken - A string (provided by the ListChangeSets response output) that identifies the next page of change sets that you want to retrieve.
  • lcsStackName - The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.

data ListChangeSets Source #

The input for the ListChangeSets action.

See: listChangeSets smart constructor.

Instances

Eq ListChangeSets Source # 
Data ListChangeSets Source # 

Methods

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

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

toConstr :: ListChangeSets -> Constr #

dataTypeOf :: ListChangeSets -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListChangeSets Source # 
Show ListChangeSets Source # 
Generic ListChangeSets Source # 

Associated Types

type Rep ListChangeSets :: * -> * #

Hashable ListChangeSets Source # 
NFData ListChangeSets Source # 

Methods

rnf :: ListChangeSets -> () #

AWSRequest ListChangeSets Source # 
ToHeaders ListChangeSets Source # 
ToPath ListChangeSets Source # 
ToQuery ListChangeSets Source # 
type Rep ListChangeSets Source # 
type Rep ListChangeSets = D1 * (MetaData "ListChangeSets" "Network.AWS.CloudFormation.ListChangeSets" "amazonka-cloudformation-1.6.0-E2GV66prdF5G8DMBRBifWM" False) (C1 * (MetaCons "ListChangeSets'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lcsStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs ListChangeSets Source # 

Request Lenses

lcsNextToken :: Lens' ListChangeSets (Maybe Text) Source #

A string (provided by the ListChangeSets response output) that identifies the next page of change sets that you want to retrieve.

lcsStackName :: Lens' ListChangeSets Text Source #

The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.

Destructuring the Response

listChangeSetsResponse Source #

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

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

  • lcsrsNextToken - If the output exceeds 1 MB, a string that identifies the next page of change sets. If there is no additional page, this value is null.
  • lcsrsSummaries - A list of ChangeSetSummary structures that provides the ID and status of each change set for the specified stack.
  • lcsrsResponseStatus - -- | The response status code.

data ListChangeSetsResponse Source #

The output for the ListChangeSets action.

See: listChangeSetsResponse smart constructor.

Instances

Eq ListChangeSetsResponse Source # 
Data ListChangeSetsResponse Source # 

Methods

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

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

toConstr :: ListChangeSetsResponse -> Constr #

dataTypeOf :: ListChangeSetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListChangeSetsResponse Source # 
Show ListChangeSetsResponse Source # 
Generic ListChangeSetsResponse Source # 
NFData ListChangeSetsResponse Source # 

Methods

rnf :: ListChangeSetsResponse -> () #

type Rep ListChangeSetsResponse Source # 
type Rep ListChangeSetsResponse = D1 * (MetaData "ListChangeSetsResponse" "Network.AWS.CloudFormation.ListChangeSets" "amazonka-cloudformation-1.6.0-E2GV66prdF5G8DMBRBifWM" False) (C1 * (MetaCons "ListChangeSetsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcsrsSummaries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ChangeSetSummary]))) (S1 * (MetaSel (Just Symbol "_lcsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lcsrsNextToken :: Lens' ListChangeSetsResponse (Maybe Text) Source #

If the output exceeds 1 MB, a string that identifies the next page of change sets. If there is no additional page, this value is null.

lcsrsSummaries :: Lens' ListChangeSetsResponse [ChangeSetSummary] Source #

A list of ChangeSetSummary structures that provides the ID and status of each change set for the specified stack.