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

Description

Rejects an offer to share the specified portfolio.

Synopsis

Creating a Request

data RejectPortfolioShare Source #

See: newRejectPortfolioShare smart constructor.

Constructors

RejectPortfolioShare' 

Fields

  • portfolioShareType :: Maybe PortfolioShareType

    The type of shared portfolios to reject. The default is to reject imported portfolios.

    • AWS_ORGANIZATIONS - Reject portfolios shared by the management account of your organization.
    • IMPORTED - Reject imported portfolios.
    • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

    For example, aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS

  • acceptLanguage :: Maybe Text

    The language code.

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

    The portfolio identifier.

Instances

Instances details
Eq RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

Read RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

Show RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

Generic RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

Associated Types

type Rep RejectPortfolioShare :: Type -> Type #

NFData RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

Methods

rnf :: RejectPortfolioShare -> () #

Hashable RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

ToJSON RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

AWSRequest RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

Associated Types

type AWSResponse RejectPortfolioShare #

ToHeaders RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

ToPath RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

ToQuery RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

type Rep RejectPortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

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

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

newRejectPortfolioShare Source #

Create a value of RejectPortfolioShare 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:portfolioShareType:RejectPortfolioShare', rejectPortfolioShare_portfolioShareType - The type of shared portfolios to reject. The default is to reject imported portfolios.

  • AWS_ORGANIZATIONS - Reject portfolios shared by the management account of your organization.
  • IMPORTED - Reject imported portfolios.
  • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

For example, aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS

$sel:acceptLanguage:RejectPortfolioShare', rejectPortfolioShare_acceptLanguage - The language code.

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

$sel:portfolioId:RejectPortfolioShare', rejectPortfolioShare_portfolioId - The portfolio identifier.

Request Lenses

rejectPortfolioShare_portfolioShareType :: Lens' RejectPortfolioShare (Maybe PortfolioShareType) Source #

The type of shared portfolios to reject. The default is to reject imported portfolios.

  • AWS_ORGANIZATIONS - Reject portfolios shared by the management account of your organization.
  • IMPORTED - Reject imported portfolios.
  • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

For example, aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS

rejectPortfolioShare_acceptLanguage :: Lens' RejectPortfolioShare (Maybe Text) Source #

The language code.

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

Destructuring the Response

data RejectPortfolioShareResponse Source #

See: newRejectPortfolioShareResponse smart constructor.

Constructors

RejectPortfolioShareResponse' 

Fields

Instances

Instances details
Eq RejectPortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

Read RejectPortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

Show RejectPortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

Generic RejectPortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

Associated Types

type Rep RejectPortfolioShareResponse :: Type -> Type #

NFData RejectPortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

type Rep RejectPortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.RejectPortfolioShare

type Rep RejectPortfolioShareResponse = D1 ('MetaData "RejectPortfolioShareResponse" "Amazonka.ServiceCatalog.RejectPortfolioShare" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "RejectPortfolioShareResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRejectPortfolioShareResponse Source #

Create a value of RejectPortfolioShareResponse 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:httpStatus:RejectPortfolioShareResponse', rejectPortfolioShareResponse_httpStatus - The response's http status code.

Response Lenses