Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_organizationNodeValue :: Lens' DescribePortfolioShareStatusResponse (Maybe Text)
- describePortfolioShareStatusResponse_portfolioId :: Lens' DescribePortfolioShareStatusResponse (Maybe Text)
- describePortfolioShareStatusResponse_portfolioShareToken :: Lens' DescribePortfolioShareStatusResponse (Maybe Text)
- describePortfolioShareStatusResponse_shareDetails :: Lens' DescribePortfolioShareStatusResponse (Maybe ShareDetails)
- describePortfolioShareStatusResponse_status :: Lens' DescribePortfolioShareStatusResponse (Maybe ShareStatus)
- 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:
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:organizationNodeValue:DescribePortfolioShareStatusResponse'
, describePortfolioShareStatusResponse_organizationNodeValue
- Organization node identifier. It can be either account id,
organizational unit id or organization id.
DescribePortfolioShareStatusResponse
, describePortfolioShareStatusResponse_portfolioId
- The portfolio identifier.
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.
DescribePortfolioShareStatusResponse
, describePortfolioShareStatusResponse_status
- Status of the portfolio share operation.
$sel:httpStatus:DescribePortfolioShareStatusResponse'
, describePortfolioShareStatusResponse_httpStatus
- The response's http status code.
Response Lenses
describePortfolioShareStatusResponse_organizationNodeValue :: Lens' DescribePortfolioShareStatusResponse (Maybe Text) Source #
Organization node identifier. It can be either account id, organizational unit id or organization id.
describePortfolioShareStatusResponse_portfolioId :: Lens' DescribePortfolioShareStatusResponse (Maybe Text) Source #
The portfolio identifier.
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_status :: Lens' DescribePortfolioShareStatusResponse (Maybe ShareStatus) Source #
Status of the portfolio share operation.
describePortfolioShareStatusResponse_httpStatus :: Lens' DescribePortfolioShareStatusResponse Int Source #
The response's http status code.