| 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.AcceptGrant
Description
Accepts the specified grant.
Synopsis
- data AcceptGrant = AcceptGrant' {}
- newAcceptGrant :: Text -> AcceptGrant
- acceptGrant_grantArn :: Lens' AcceptGrant Text
- data AcceptGrantResponse = AcceptGrantResponse' {}
- newAcceptGrantResponse :: Int -> AcceptGrantResponse
- acceptGrantResponse_grantArn :: Lens' AcceptGrantResponse (Maybe Text)
- acceptGrantResponse_status :: Lens' AcceptGrantResponse (Maybe GrantStatus)
- acceptGrantResponse_version :: Lens' AcceptGrantResponse (Maybe Text)
- acceptGrantResponse_httpStatus :: Lens' AcceptGrantResponse Int
Creating a Request
data AcceptGrant Source #
See: newAcceptGrant smart constructor.
Constructors
| AcceptGrant' | |
Instances
Arguments
| :: Text | |
| -> AcceptGrant |
Create a value of AcceptGrant 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:
AcceptGrant, acceptGrant_grantArn - Amazon Resource Name (ARN) of the grant.
Request Lenses
acceptGrant_grantArn :: Lens' AcceptGrant Text Source #
Amazon Resource Name (ARN) of the grant.
Destructuring the Response
data AcceptGrantResponse Source #
See: newAcceptGrantResponse smart constructor.
Constructors
| AcceptGrantResponse' | |
Instances
newAcceptGrantResponse Source #
Arguments
| :: Int | |
| -> AcceptGrantResponse |
Create a value of AcceptGrantResponse 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:
AcceptGrant, acceptGrantResponse_grantArn - Grant ARN.
AcceptGrantResponse, acceptGrantResponse_status - Grant status.
AcceptGrantResponse, acceptGrantResponse_version - Grant version.
$sel:httpStatus:AcceptGrantResponse', acceptGrantResponse_httpStatus - The response's http status code.
Response Lenses
acceptGrantResponse_grantArn :: Lens' AcceptGrantResponse (Maybe Text) Source #
Grant ARN.
acceptGrantResponse_status :: Lens' AcceptGrantResponse (Maybe GrantStatus) Source #
Grant status.
acceptGrantResponse_version :: Lens' AcceptGrantResponse (Maybe Text) Source #
Grant version.
acceptGrantResponse_httpStatus :: Lens' AcceptGrantResponse Int Source #
The response's http status code.