| 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.GetGrant
Description
Gets detailed information about the specified grant.
Synopsis
- data GetGrant = GetGrant' {}
- newGetGrant :: Text -> GetGrant
- getGrant_version :: Lens' GetGrant (Maybe Text)
- getGrant_grantArn :: Lens' GetGrant Text
- data GetGrantResponse = GetGrantResponse' {
- grant :: Maybe Grant
- httpStatus :: Int
- newGetGrantResponse :: Int -> GetGrantResponse
- getGrantResponse_grant :: Lens' GetGrantResponse (Maybe Grant)
- getGrantResponse_httpStatus :: Lens' GetGrantResponse Int
Creating a Request
See: newGetGrant smart constructor.
Constructors
| GetGrant' | |
Instances
Create a value of GetGrant 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:
GetGrant, getGrant_version - Grant version.
GetGrant, getGrant_grantArn - Amazon Resource Name (ARN) of the grant.
Request Lenses
Destructuring the Response
data GetGrantResponse Source #
See: newGetGrantResponse smart constructor.
Constructors
| GetGrantResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetGrantResponse |
Create a value of GetGrantResponse 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:grant:GetGrantResponse', getGrantResponse_grant - Grant details.
$sel:httpStatus:GetGrantResponse', getGrantResponse_httpStatus - The response's http status code.
Response Lenses
getGrantResponse_grant :: Lens' GetGrantResponse (Maybe Grant) Source #
Grant details.
getGrantResponse_httpStatus :: Lens' GetGrantResponse Int Source #
The response's http status code.