| 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.LicenseManager.Types.Grant
Description
Synopsis
- data Grant = Grant' {}
- newGrant :: Text -> Text -> Text -> Text -> Text -> Text -> GrantStatus -> Text -> NonEmpty AllowedOperation -> Grant
- grant_statusReason :: Lens' Grant (Maybe Text)
- grant_grantArn :: Lens' Grant Text
- grant_grantName :: Lens' Grant Text
- grant_parentArn :: Lens' Grant Text
- grant_licenseArn :: Lens' Grant Text
- grant_granteePrincipalArn :: Lens' Grant Text
- grant_homeRegion :: Lens' Grant Text
- grant_grantStatus :: Lens' Grant GrantStatus
- grant_version :: Lens' Grant Text
- grant_grantedOperations :: Lens' Grant (NonEmpty AllowedOperation)
Documentation
Describes a grant.
See: newGrant smart constructor.
Constructors
| Grant' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> GrantStatus | |
| -> Text | |
| -> NonEmpty AllowedOperation | |
| -> Grant |
Create a value of Grant 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:statusReason:Grant', grant_statusReason - Grant status reason.
$sel:grantArn:Grant', grant_grantArn - Amazon Resource Name (ARN) of the grant.
$sel:grantName:Grant', grant_grantName - Grant name.
$sel:parentArn:Grant', grant_parentArn - Parent ARN.
$sel:licenseArn:Grant', grant_licenseArn - License ARN.
$sel:granteePrincipalArn:Grant', grant_granteePrincipalArn - The grantee principal ARN.
$sel:homeRegion:Grant', grant_homeRegion - Home Region of the grant.
$sel:grantStatus:Grant', grant_grantStatus - Grant status.
$sel:version:Grant', grant_version - Grant version.
$sel:grantedOperations:Grant', grant_grantedOperations - Granted operations.
grant_grantStatus :: Lens' Grant GrantStatus Source #
Grant status.
grant_grantedOperations :: Lens' Grant (NonEmpty AllowedOperation) Source #
Granted operations.