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 |
Gets the status of the specified portfolio share operation. This API can only be called by the management account in the organization or by a delegated admin.
Synopsis
- data DescribePortfolioShareStatus = DescribePortfolioShareStatus' {}
- newDescribePortfolioShareStatus :: Text -> DescribePortfolioShareStatus
- describePortfolioShareStatus_portfolioShareToken :: Lens' DescribePortfolioShareStatus Text
- data DescribePortfolioShareStatusResponse = DescribePortfolioShareStatusResponse' {}
- newDescribePortfolioShareStatusResponse :: Int -> DescribePortfolioShareStatusResponse
- describePortfolioShareStatusResponse_status :: Lens' DescribePortfolioShareStatusResponse (Maybe ShareStatus)
- describePortfolioShareStatusResponse_portfolioShareToken :: Lens' DescribePortfolioShareStatusResponse (Maybe Text)
- describePortfolioShareStatusResponse_shareDetails :: Lens' DescribePortfolioShareStatusResponse (Maybe ShareDetails)
- describePortfolioShareStatusResponse_portfolioId :: Lens' DescribePortfolioShareStatusResponse (Maybe Text)
- describePortfolioShareStatusResponse_organizationNodeValue :: Lens' DescribePortfolioShareStatusResponse (Maybe Text)
- describePortfolioShareStatusResponse_httpStatus :: Lens' DescribePortfolioShareStatusResponse Int
Creating a Request
data DescribePortfolioShareStatus Source #
See: newDescribePortfolioShareStatus
smart constructor.
DescribePortfolioShareStatus' | |
|
Instances
newDescribePortfolioShareStatus Source #
Create a value of DescribePortfolioShareStatus
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:portfolioShareToken:DescribePortfolioShareStatus'
, describePortfolioShareStatus_portfolioShareToken
- The token for the portfolio share operation. This token is returned
either by CreatePortfolioShare or by DeletePortfolioShare.
Request Lenses
describePortfolioShareStatus_portfolioShareToken :: Lens' DescribePortfolioShareStatus Text Source #
The token for the portfolio share operation. This token is returned either by CreatePortfolioShare or by DeletePortfolioShare.
Destructuring the Response
data DescribePortfolioShareStatusResponse Source #
See: newDescribePortfolioShareStatusResponse
smart constructor.
DescribePortfolioShareStatusResponse' | |
|
Instances
newDescribePortfolioShareStatusResponse Source #
Create a value of DescribePortfolioShareStatusResponse
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:status:DescribePortfolioShareStatusResponse'
, describePortfolioShareStatusResponse_status
- Status of the portfolio share operation.
$sel:portfolioShareToken:DescribePortfolioShareStatus'
, describePortfolioShareStatusResponse_portfolioShareToken
- The token for the portfolio share operation. For example,
share-6v24abcdefghi
.
$sel:shareDetails:DescribePortfolioShareStatusResponse'
, describePortfolioShareStatusResponse_shareDetails
- Information about the portfolio share operation.
$sel:portfolioId:DescribePortfolioShareStatusResponse'
, describePortfolioShareStatusResponse_portfolioId
- The portfolio identifier.
$sel:organizationNodeValue:DescribePortfolioShareStatusResponse'
, describePortfolioShareStatusResponse_organizationNodeValue
- Organization node identifier. It can be either account id,
organizational unit id or organization id.
$sel:httpStatus:DescribePortfolioShareStatusResponse'
, describePortfolioShareStatusResponse_httpStatus
- The response's http status code.
Response Lenses
describePortfolioShareStatusResponse_status :: Lens' DescribePortfolioShareStatusResponse (Maybe ShareStatus) Source #
Status of the portfolio share operation.
describePortfolioShareStatusResponse_portfolioShareToken :: Lens' DescribePortfolioShareStatusResponse (Maybe Text) Source #
The token for the portfolio share operation. For example,
share-6v24abcdefghi
.
describePortfolioShareStatusResponse_shareDetails :: Lens' DescribePortfolioShareStatusResponse (Maybe ShareDetails) Source #
Information about the portfolio share operation.
describePortfolioShareStatusResponse_portfolioId :: Lens' DescribePortfolioShareStatusResponse (Maybe Text) Source #
The portfolio identifier.
describePortfolioShareStatusResponse_organizationNodeValue :: Lens' DescribePortfolioShareStatusResponse (Maybe Text) Source #
Organization node identifier. It can be either account id, organizational unit id or organization id.
describePortfolioShareStatusResponse_httpStatus :: Lens' DescribePortfolioShareStatusResponse Int Source #
The response's http status code.