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

Description

Creates a portfolio.

A delegated admin is authorized to invoke this command.

Synopsis

Creating a Request

data CreatePortfolio Source #

See: newCreatePortfolio smart constructor.

Constructors

CreatePortfolio' 

Fields

Instances

Instances details
Eq CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

Read CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

Show CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

Generic CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

Associated Types

type Rep CreatePortfolio :: Type -> Type #

NFData CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

Methods

rnf :: CreatePortfolio -> () #

Hashable CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

ToJSON CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

AWSRequest CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

Associated Types

type AWSResponse CreatePortfolio #

ToHeaders CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

ToPath CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

ToQuery CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

type Rep CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

type Rep CreatePortfolio = D1 ('MetaData "CreatePortfolio" "Amazonka.ServiceCatalog.CreatePortfolio" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "CreatePortfolio'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))) :*: (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "providerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "idempotencyToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreatePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

newCreatePortfolio Source #

Create a value of CreatePortfolio 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:CreatePortfolio', createPortfolio_acceptLanguage - The language code.

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

$sel:description:CreatePortfolio', createPortfolio_description - The description of the portfolio.

$sel:tags:CreatePortfolio', createPortfolio_tags - One or more tags.

$sel:displayName:CreatePortfolio', createPortfolio_displayName - The name to use for display purposes.

$sel:providerName:CreatePortfolio', createPortfolio_providerName - The name of the portfolio provider.

$sel:idempotencyToken:CreatePortfolio', createPortfolio_idempotencyToken - A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

Request Lenses

createPortfolio_acceptLanguage :: Lens' CreatePortfolio (Maybe Text) Source #

The language code.

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

createPortfolio_description :: Lens' CreatePortfolio (Maybe Text) Source #

The description of the portfolio.

createPortfolio_displayName :: Lens' CreatePortfolio Text Source #

The name to use for display purposes.

createPortfolio_providerName :: Lens' CreatePortfolio Text Source #

The name of the portfolio provider.

createPortfolio_idempotencyToken :: Lens' CreatePortfolio Text Source #

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

Destructuring the Response

data CreatePortfolioResponse Source #

See: newCreatePortfolioResponse smart constructor.

Constructors

CreatePortfolioResponse' 

Fields

Instances

Instances details
Eq CreatePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

Read CreatePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

Show CreatePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

Generic CreatePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

Associated Types

type Rep CreatePortfolioResponse :: Type -> Type #

NFData CreatePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

Methods

rnf :: CreatePortfolioResponse -> () #

type Rep CreatePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreatePortfolio

type Rep CreatePortfolioResponse = D1 ('MetaData "CreatePortfolioResponse" "Amazonka.ServiceCatalog.CreatePortfolio" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "CreatePortfolioResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "portfolioDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PortfolioDetail)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreatePortfolioResponse Source #

Create a value of CreatePortfolioResponse 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:portfolioDetail:CreatePortfolioResponse', createPortfolioResponse_portfolioDetail - Information about the portfolio.

$sel:tags:CreatePortfolio', createPortfolioResponse_tags - Information about the tags associated with the portfolio.

$sel:httpStatus:CreatePortfolioResponse', createPortfolioResponse_httpStatus - The response's http status code.

Response Lenses

createPortfolioResponse_tags :: Lens' CreatePortfolioResponse (Maybe [Tag]) Source #

Information about the tags associated with the portfolio.