amazonka-servicecatalog-2.0: Amazon Service Catalog SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ServiceCatalog.DescribeProductAsAdmin

Description

Gets information about the specified product. This operation is run with administrator access.

Synopsis

Creating a Request

data DescribeProductAsAdmin Source #

See: newDescribeProductAsAdmin smart constructor.

Constructors

DescribeProductAsAdmin' 

Fields

  • acceptLanguage :: Maybe Text

    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - Chinese
  • id :: Maybe Text

    The product identifier.

  • name :: Maybe Text

    The product name.

  • sourcePortfolioId :: Maybe Text

    The unique identifier of the shared portfolio that the specified product is associated with.

    You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.

Instances

Instances details
ToJSON DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

ToHeaders DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

ToPath DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

ToQuery DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

AWSRequest DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Associated Types

type AWSResponse DescribeProductAsAdmin #

Generic DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Associated Types

type Rep DescribeProductAsAdmin :: Type -> Type #

Read DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Show DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

NFData DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Methods

rnf :: DescribeProductAsAdmin -> () #

Eq DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Hashable DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

type AWSResponse DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

type Rep DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

type Rep DescribeProductAsAdmin = D1 ('MetaData "DescribeProductAsAdmin" "Amazonka.ServiceCatalog.DescribeProductAsAdmin" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "DescribeProductAsAdmin'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourcePortfolioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeProductAsAdmin :: DescribeProductAsAdmin Source #

Create a value of DescribeProductAsAdmin with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:acceptLanguage:DescribeProductAsAdmin', describeProductAsAdmin_acceptLanguage - The language code.

  • en - English (default)
  • jp - Japanese
  • zh - Chinese

DescribeProductAsAdmin, describeProductAsAdmin_id - The product identifier.

DescribeProductAsAdmin, describeProductAsAdmin_name - The product name.

$sel:sourcePortfolioId:DescribeProductAsAdmin', describeProductAsAdmin_sourcePortfolioId - The unique identifier of the shared portfolio that the specified product is associated with.

You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.

Request Lenses

describeProductAsAdmin_acceptLanguage :: Lens' DescribeProductAsAdmin (Maybe Text) Source #

The language code.

  • en - English (default)
  • jp - Japanese
  • zh - Chinese

describeProductAsAdmin_sourcePortfolioId :: Lens' DescribeProductAsAdmin (Maybe Text) Source #

The unique identifier of the shared portfolio that the specified product is associated with.

You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.

Destructuring the Response

data DescribeProductAsAdminResponse Source #

See: newDescribeProductAsAdminResponse smart constructor.

Constructors

DescribeProductAsAdminResponse' 

Fields

Instances

Instances details
Generic DescribeProductAsAdminResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Associated Types

type Rep DescribeProductAsAdminResponse :: Type -> Type #

Read DescribeProductAsAdminResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Show DescribeProductAsAdminResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

NFData DescribeProductAsAdminResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Eq DescribeProductAsAdminResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

type Rep DescribeProductAsAdminResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

type Rep DescribeProductAsAdminResponse = D1 ('MetaData "DescribeProductAsAdminResponse" "Amazonka.ServiceCatalog.DescribeProductAsAdmin" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "DescribeProductAsAdminResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "budgets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BudgetDetail])) :*: (S1 ('MetaSel ('Just "productViewDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProductViewDetail)) :*: S1 ('MetaSel ('Just "provisioningArtifactSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProvisioningArtifactSummary])))) :*: (S1 ('MetaSel ('Just "tagOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagOptionDetail])) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDescribeProductAsAdminResponse Source #

Create a value of DescribeProductAsAdminResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:budgets:DescribeProductAsAdminResponse', describeProductAsAdminResponse_budgets - Information about the associated budgets.

$sel:productViewDetail:DescribeProductAsAdminResponse', describeProductAsAdminResponse_productViewDetail - Information about the product view.

$sel:provisioningArtifactSummaries:DescribeProductAsAdminResponse', describeProductAsAdminResponse_provisioningArtifactSummaries - Information about the provisioning artifacts (also known as versions) for the specified product.

$sel:tagOptions:DescribeProductAsAdminResponse', describeProductAsAdminResponse_tagOptions - Information about the TagOptions associated with the product.

DescribeProductAsAdminResponse, describeProductAsAdminResponse_tags - Information about the tags associated with the product.

$sel:httpStatus:DescribeProductAsAdminResponse', describeProductAsAdminResponse_httpStatus - The response's http status code.

Response Lenses

describeProductAsAdminResponse_provisioningArtifactSummaries :: Lens' DescribeProductAsAdminResponse (Maybe [ProvisioningArtifactSummary]) Source #

Information about the provisioning artifacts (also known as versions) for the specified product.

describeProductAsAdminResponse_tagOptions :: Lens' DescribeProductAsAdminResponse (Maybe [TagOptionDetail]) Source #

Information about the TagOptions associated with the product.

describeProductAsAdminResponse_tags :: Lens' DescribeProductAsAdminResponse (Maybe [Tag]) Source #

Information about the tags associated with the product.