| 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 |
Amazonka.ServerlessApplicationRepository.UnshareApplication
Description
Unshares an application from an AWS Organization.
This operation can be called only from the organization's master account.
Synopsis
- data UnshareApplication = UnshareApplication' {}
- newUnshareApplication :: Text -> Text -> UnshareApplication
- unshareApplication_applicationId :: Lens' UnshareApplication Text
- unshareApplication_organizationId :: Lens' UnshareApplication Text
- data UnshareApplicationResponse = UnshareApplicationResponse' {
- newUnshareApplicationResponse :: UnshareApplicationResponse
Creating a Request
data UnshareApplication Source #
See: newUnshareApplication smart constructor.
Constructors
| UnshareApplication' | |
Fields
| |
Instances
newUnshareApplication Source #
Arguments
| :: Text | |
| -> Text | |
| -> UnshareApplication |
Create a value of UnshareApplication 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:
UnshareApplication, unshareApplication_applicationId - The Amazon Resource Name (ARN) of the application.
$sel:organizationId:UnshareApplication', unshareApplication_organizationId - The AWS Organization ID to unshare the application from.
Request Lenses
unshareApplication_applicationId :: Lens' UnshareApplication Text Source #
The Amazon Resource Name (ARN) of the application.
unshareApplication_organizationId :: Lens' UnshareApplication Text Source #
The AWS Organization ID to unshare the application from.
Destructuring the Response
data UnshareApplicationResponse Source #
See: newUnshareApplicationResponse smart constructor.
Constructors
| UnshareApplicationResponse' | |
Instances
newUnshareApplicationResponse :: UnshareApplicationResponse Source #
Create a value of UnshareApplicationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.