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

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

  • 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.

  • name :: Maybe Text

    The product name.

  • acceptLanguage :: Maybe Text

    The language code.

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

    The product identifier.

Instances

Instances details
Eq DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Read DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Show DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Generic DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Associated Types

type Rep DescribeProductAsAdmin :: Type -> Type #

NFData DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Methods

rnf :: DescribeProductAsAdmin -> () #

Hashable DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

ToJSON DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

AWSRequest DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Associated Types

type AWSResponse 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

type Rep DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

type Rep DescribeProductAsAdmin = D1 ('MetaData "DescribeProductAsAdmin" "Amazonka.ServiceCatalog.DescribeProductAsAdmin" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "DescribeProductAsAdmin'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourcePortfolioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse DescribeProductAsAdmin Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

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: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.

$sel:name:DescribeProductAsAdmin', describeProductAsAdmin_name - The product name.

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

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

$sel:id:DescribeProductAsAdmin', describeProductAsAdmin_id - The product identifier.

Request Lenses

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.

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

The language code.

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

Destructuring the Response

data DescribeProductAsAdminResponse Source #

See: newDescribeProductAsAdminResponse smart constructor.

Constructors

DescribeProductAsAdminResponse' 

Fields

Instances

Instances details
Eq DescribeProductAsAdminResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Read DescribeProductAsAdminResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Show DescribeProductAsAdminResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Generic DescribeProductAsAdminResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DescribeProductAsAdmin

Associated Types

type Rep DescribeProductAsAdminResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "DescribeProductAsAdminResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "productViewDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProductViewDetail)) :*: (S1 ('MetaSel ('Just "tagOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagOptionDetail])) :*: S1 ('MetaSel ('Just "provisioningArtifactSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProvisioningArtifactSummary])))) :*: (S1 ('MetaSel ('Just "budgets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BudgetDetail])) :*: (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:productViewDetail:DescribeProductAsAdminResponse', describeProductAsAdminResponse_productViewDetail - Information about the product view.

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

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

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

$sel:tags: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_tagOptions :: Lens' DescribeProductAsAdminResponse (Maybe [TagOptionDetail]) Source #

Information about the TagOptions associated with the product.

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

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

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

Information about the tags associated with the product.