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 |
Associates an application to entitle.
Synopsis
- data AssociateApplicationToEntitlement = AssociateApplicationToEntitlement' {}
- newAssociateApplicationToEntitlement :: Text -> Text -> Text -> AssociateApplicationToEntitlement
- associateApplicationToEntitlement_stackName :: Lens' AssociateApplicationToEntitlement Text
- associateApplicationToEntitlement_entitlementName :: Lens' AssociateApplicationToEntitlement Text
- associateApplicationToEntitlement_applicationIdentifier :: Lens' AssociateApplicationToEntitlement Text
- data AssociateApplicationToEntitlementResponse = AssociateApplicationToEntitlementResponse' {
- httpStatus :: Int
- newAssociateApplicationToEntitlementResponse :: Int -> AssociateApplicationToEntitlementResponse
- associateApplicationToEntitlementResponse_httpStatus :: Lens' AssociateApplicationToEntitlementResponse Int
Creating a Request
data AssociateApplicationToEntitlement Source #
See: newAssociateApplicationToEntitlement
smart constructor.
AssociateApplicationToEntitlement' | |
|
Instances
newAssociateApplicationToEntitlement Source #
:: Text | |
-> Text | |
-> Text | |
-> AssociateApplicationToEntitlement |
Create a value of AssociateApplicationToEntitlement
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:
AssociateApplicationToEntitlement
, associateApplicationToEntitlement_stackName
- The name of the stack.
$sel:entitlementName:AssociateApplicationToEntitlement'
, associateApplicationToEntitlement_entitlementName
- The name of the entitlement.
AssociateApplicationToEntitlement
, associateApplicationToEntitlement_applicationIdentifier
- The identifier of the application.
Request Lenses
associateApplicationToEntitlement_stackName :: Lens' AssociateApplicationToEntitlement Text Source #
The name of the stack.
associateApplicationToEntitlement_entitlementName :: Lens' AssociateApplicationToEntitlement Text Source #
The name of the entitlement.
associateApplicationToEntitlement_applicationIdentifier :: Lens' AssociateApplicationToEntitlement Text Source #
The identifier of the application.
Destructuring the Response
data AssociateApplicationToEntitlementResponse Source #
See: newAssociateApplicationToEntitlementResponse
smart constructor.
AssociateApplicationToEntitlementResponse' | |
|
Instances
Generic AssociateApplicationToEntitlementResponse Source # | |
Defined in Amazonka.AppStream.AssociateApplicationToEntitlement type Rep AssociateApplicationToEntitlementResponse :: Type -> Type # | |
Read AssociateApplicationToEntitlementResponse Source # | |
Show AssociateApplicationToEntitlementResponse Source # | |
NFData AssociateApplicationToEntitlementResponse Source # | |
Eq AssociateApplicationToEntitlementResponse Source # | |
type Rep AssociateApplicationToEntitlementResponse Source # | |
Defined in Amazonka.AppStream.AssociateApplicationToEntitlement type Rep AssociateApplicationToEntitlementResponse = D1 ('MetaData "AssociateApplicationToEntitlementResponse" "Amazonka.AppStream.AssociateApplicationToEntitlement" "amazonka-appstream-2.0-2EgS7yjN1zMCngYkSFPgOd" 'False) (C1 ('MetaCons "AssociateApplicationToEntitlementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateApplicationToEntitlementResponse Source #
Create a value of AssociateApplicationToEntitlementResponse
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:AssociateApplicationToEntitlementResponse'
, associateApplicationToEntitlementResponse_httpStatus
- The response's http status code.
Response Lenses
associateApplicationToEntitlementResponse_httpStatus :: Lens' AssociateApplicationToEntitlementResponse Int Source #
The response's http status code.