amazonka-servicecatalog-1.4.5: Amazon Service Catalog 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.ServiceCatalog.DescribeProduct

Contents

Description

Retrieves information about a specified product.

This operation is functionally identical to DescribeProductView except that it takes as input ProductId instead of ProductViewId .

Synopsis

Creating a Request

describeProduct #

Arguments

:: Text

dpId

-> DescribeProduct 

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

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

  • dpAcceptLanguage - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
  • dpId - The ProductId of the product to describe.

data DescribeProduct #

See: describeProduct smart constructor.

Instances

Eq DescribeProduct # 
Data DescribeProduct # 

Methods

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

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

toConstr :: DescribeProduct -> Constr #

dataTypeOf :: DescribeProduct -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeProduct # 
Show DescribeProduct # 
Generic DescribeProduct # 
Hashable DescribeProduct # 
ToJSON DescribeProduct # 
NFData DescribeProduct # 

Methods

rnf :: DescribeProduct -> () #

AWSRequest DescribeProduct # 
ToQuery DescribeProduct # 
ToPath DescribeProduct # 
ToHeaders DescribeProduct # 
type Rep DescribeProduct # 
type Rep DescribeProduct = D1 (MetaData "DescribeProduct" "Network.AWS.ServiceCatalog.DescribeProduct" "amazonka-servicecatalog-1.4.5-E18s202pm17KzFGbCQM02M" False) (C1 (MetaCons "DescribeProduct'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dpAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DescribeProduct # 

Request Lenses

dpAcceptLanguage :: Lens' DescribeProduct (Maybe Text) #

The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.

dpId :: Lens' DescribeProduct Text #

The ProductId of the product to describe.

Destructuring the Response

describeProductResponse #

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

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

data DescribeProductResponse #

See: describeProductResponse smart constructor.

Instances

Eq DescribeProductResponse # 
Data DescribeProductResponse # 

Methods

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

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

toConstr :: DescribeProductResponse -> Constr #

dataTypeOf :: DescribeProductResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeProductResponse # 
Show DescribeProductResponse # 
Generic DescribeProductResponse # 
NFData DescribeProductResponse # 

Methods

rnf :: DescribeProductResponse -> () #

type Rep DescribeProductResponse # 
type Rep DescribeProductResponse = D1 (MetaData "DescribeProductResponse" "Network.AWS.ServiceCatalog.DescribeProduct" "amazonka-servicecatalog-1.4.5-E18s202pm17KzFGbCQM02M" False) (C1 (MetaCons "DescribeProductResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddrsProductViewSummary") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProductViewSummary))) ((:*:) (S1 (MetaSel (Just Symbol "_ddrsProvisioningArtifacts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProvisioningArtifact]))) (S1 (MetaSel (Just Symbol "_ddrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ddrsProductViewSummary :: Lens' DescribeProductResponse (Maybe ProductViewSummary) #

The summary metadata about the specified product.

ddrsProvisioningArtifacts :: Lens' DescribeProductResponse [ProvisioningArtifact] #

A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts parameter represent the ways the specified product can be provisioned.

ddrsResponseStatus :: Lens' DescribeProductResponse Int #

  • - | The response status code.