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 |
Disable portfolio sharing through the Organizations service. This command will not delete your current shares, but prevents you from creating new shares throughout your organization. Current shares are not kept in sync with your organization structure if the structure changes after calling this API. Only the management account in the organization can call this API.
You cannot call this API if there are active delegated administrators in the organization.
Note that a delegated administrator is not authorized to invoke
DisableAWSOrganizationsAccess
.
If you share an Service Catalog portfolio in an organization within Organizations, and then disable Organizations access for Service Catalog, the portfolio access permissions will not sync with the latest changes to the organization structure. Specifically, accounts that you removed from the organization after disabling Service Catalog access will retain access to the previously shared portfolio.
Synopsis
- data DisableAWSOrganizationsAccess = DisableAWSOrganizationsAccess' {
- newDisableAWSOrganizationsAccess :: DisableAWSOrganizationsAccess
- data DisableAWSOrganizationsAccessResponse = DisableAWSOrganizationsAccessResponse' {
- httpStatus :: Int
- newDisableAWSOrganizationsAccessResponse :: Int -> DisableAWSOrganizationsAccessResponse
- disableAWSOrganizationsAccessResponse_httpStatus :: Lens' DisableAWSOrganizationsAccessResponse Int
Creating a Request
data DisableAWSOrganizationsAccess Source #
See: newDisableAWSOrganizationsAccess
smart constructor.
Instances
newDisableAWSOrganizationsAccess :: DisableAWSOrganizationsAccess Source #
Create a value of DisableAWSOrganizationsAccess
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DisableAWSOrganizationsAccessResponse Source #
See: newDisableAWSOrganizationsAccessResponse
smart constructor.
DisableAWSOrganizationsAccessResponse' | |
|
Instances
Generic DisableAWSOrganizationsAccessResponse Source # | |
Defined in Amazonka.ServiceCatalog.DisableAWSOrganizationsAccess type Rep DisableAWSOrganizationsAccessResponse :: Type -> Type # | |
Read DisableAWSOrganizationsAccessResponse Source # | |
Show DisableAWSOrganizationsAccessResponse Source # | |
NFData DisableAWSOrganizationsAccessResponse Source # | |
Eq DisableAWSOrganizationsAccessResponse Source # | |
type Rep DisableAWSOrganizationsAccessResponse Source # | |
Defined in Amazonka.ServiceCatalog.DisableAWSOrganizationsAccess type Rep DisableAWSOrganizationsAccessResponse = D1 ('MetaData "DisableAWSOrganizationsAccessResponse" "Amazonka.ServiceCatalog.DisableAWSOrganizationsAccess" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "DisableAWSOrganizationsAccessResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisableAWSOrganizationsAccessResponse Source #
Create a value of DisableAWSOrganizationsAccessResponse
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:DisableAWSOrganizationsAccessResponse'
, disableAWSOrganizationsAccessResponse_httpStatus
- The response's http status code.
Response Lenses
disableAWSOrganizationsAccessResponse_httpStatus :: Lens' DisableAWSOrganizationsAccessResponse Int Source #
The response's http status code.