Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Rejects an offer to share the specified portfolio.
Synopsis
- data RejectPortfolioShare = RejectPortfolioShare' {}
- newRejectPortfolioShare :: Text -> RejectPortfolioShare
- rejectPortfolioShare_portfolioShareType :: Lens' RejectPortfolioShare (Maybe PortfolioShareType)
- rejectPortfolioShare_acceptLanguage :: Lens' RejectPortfolioShare (Maybe Text)
- rejectPortfolioShare_portfolioId :: Lens' RejectPortfolioShare Text
- data RejectPortfolioShareResponse = RejectPortfolioShareResponse' {
- httpStatus :: Int
- newRejectPortfolioShareResponse :: Int -> RejectPortfolioShareResponse
- rejectPortfolioShareResponse_httpStatus :: Lens' RejectPortfolioShareResponse Int
Creating a Request
data RejectPortfolioShare Source #
See: newRejectPortfolioShare
smart constructor.
RejectPortfolioShare' | |
|
Instances
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
- Japanesezh
- 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
- Japanesezh
- Chinese
rejectPortfolioShare_portfolioId :: Lens' RejectPortfolioShare Text Source #
The portfolio identifier.
Destructuring the Response
data RejectPortfolioShareResponse Source #
See: newRejectPortfolioShareResponse
smart constructor.
RejectPortfolioShareResponse' | |
|
Instances
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
rejectPortfolioShareResponse_httpStatus :: Lens' RejectPortfolioShareResponse Int Source #
The response's http status code.