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 |
Disassociates a previously associated principal ARN from a specified portfolio.
Synopsis
- data DisassociatePrincipalFromPortfolio = DisassociatePrincipalFromPortfolio' {}
- newDisassociatePrincipalFromPortfolio :: Text -> Text -> DisassociatePrincipalFromPortfolio
- disassociatePrincipalFromPortfolio_acceptLanguage :: Lens' DisassociatePrincipalFromPortfolio (Maybe Text)
- disassociatePrincipalFromPortfolio_portfolioId :: Lens' DisassociatePrincipalFromPortfolio Text
- disassociatePrincipalFromPortfolio_principalARN :: Lens' DisassociatePrincipalFromPortfolio Text
- data DisassociatePrincipalFromPortfolioResponse = DisassociatePrincipalFromPortfolioResponse' {
- httpStatus :: Int
- newDisassociatePrincipalFromPortfolioResponse :: Int -> DisassociatePrincipalFromPortfolioResponse
- disassociatePrincipalFromPortfolioResponse_httpStatus :: Lens' DisassociatePrincipalFromPortfolioResponse Int
Creating a Request
data DisassociatePrincipalFromPortfolio Source #
See: newDisassociatePrincipalFromPortfolio
smart constructor.
DisassociatePrincipalFromPortfolio' | |
|
Instances
newDisassociatePrincipalFromPortfolio Source #
Create a value of DisassociatePrincipalFromPortfolio
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:DisassociatePrincipalFromPortfolio'
, disassociatePrincipalFromPortfolio_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:portfolioId:DisassociatePrincipalFromPortfolio'
, disassociatePrincipalFromPortfolio_portfolioId
- The portfolio identifier.
$sel:principalARN:DisassociatePrincipalFromPortfolio'
, disassociatePrincipalFromPortfolio_principalARN
- The ARN of the principal (IAM user, role, or group).
Request Lenses
disassociatePrincipalFromPortfolio_acceptLanguage :: Lens' DisassociatePrincipalFromPortfolio (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
disassociatePrincipalFromPortfolio_portfolioId :: Lens' DisassociatePrincipalFromPortfolio Text Source #
The portfolio identifier.
disassociatePrincipalFromPortfolio_principalARN :: Lens' DisassociatePrincipalFromPortfolio Text Source #
The ARN of the principal (IAM user, role, or group).
Destructuring the Response
data DisassociatePrincipalFromPortfolioResponse Source #
See: newDisassociatePrincipalFromPortfolioResponse
smart constructor.
DisassociatePrincipalFromPortfolioResponse' | |
|
Instances
Eq DisassociatePrincipalFromPortfolioResponse Source # | |
Read DisassociatePrincipalFromPortfolioResponse Source # | |
Show DisassociatePrincipalFromPortfolioResponse Source # | |
Generic DisassociatePrincipalFromPortfolioResponse Source # | |
NFData DisassociatePrincipalFromPortfolioResponse Source # | |
type Rep DisassociatePrincipalFromPortfolioResponse Source # | |
Defined in Amazonka.ServiceCatalog.DisassociatePrincipalFromPortfolio type Rep DisassociatePrincipalFromPortfolioResponse = D1 ('MetaData "DisassociatePrincipalFromPortfolioResponse" "Amazonka.ServiceCatalog.DisassociatePrincipalFromPortfolio" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "DisassociatePrincipalFromPortfolioResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociatePrincipalFromPortfolioResponse Source #
Create a value of DisassociatePrincipalFromPortfolioResponse
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:DisassociatePrincipalFromPortfolioResponse'
, disassociatePrincipalFromPortfolioResponse_httpStatus
- The response's http status code.
Response Lenses
disassociatePrincipalFromPortfolioResponse_httpStatus :: Lens' DisassociatePrincipalFromPortfolioResponse Int Source #
The response's http status code.