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 the specified application with the specified fleet. This is only supported for Elastic fleets.
Synopsis
- data AssociateApplicationFleet = AssociateApplicationFleet' {
- fleetName :: Text
- applicationArn :: Text
- newAssociateApplicationFleet :: Text -> Text -> AssociateApplicationFleet
- associateApplicationFleet_fleetName :: Lens' AssociateApplicationFleet Text
- associateApplicationFleet_applicationArn :: Lens' AssociateApplicationFleet Text
- data AssociateApplicationFleetResponse = AssociateApplicationFleetResponse' {}
- newAssociateApplicationFleetResponse :: Int -> AssociateApplicationFleetResponse
- associateApplicationFleetResponse_applicationFleetAssociation :: Lens' AssociateApplicationFleetResponse (Maybe ApplicationFleetAssociation)
- associateApplicationFleetResponse_httpStatus :: Lens' AssociateApplicationFleetResponse Int
Creating a Request
data AssociateApplicationFleet Source #
See: newAssociateApplicationFleet
smart constructor.
AssociateApplicationFleet' | |
|
Instances
newAssociateApplicationFleet Source #
Create a value of AssociateApplicationFleet
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:
AssociateApplicationFleet
, associateApplicationFleet_fleetName
- The name of the fleet.
AssociateApplicationFleet
, associateApplicationFleet_applicationArn
- The ARN of the application.
Request Lenses
associateApplicationFleet_fleetName :: Lens' AssociateApplicationFleet Text Source #
The name of the fleet.
associateApplicationFleet_applicationArn :: Lens' AssociateApplicationFleet Text Source #
The ARN of the application.
Destructuring the Response
data AssociateApplicationFleetResponse Source #
See: newAssociateApplicationFleetResponse
smart constructor.
AssociateApplicationFleetResponse' | |
|
Instances
Generic AssociateApplicationFleetResponse Source # | |
Read AssociateApplicationFleetResponse Source # | |
Show AssociateApplicationFleetResponse Source # | |
NFData AssociateApplicationFleetResponse Source # | |
Defined in Amazonka.AppStream.AssociateApplicationFleet rnf :: AssociateApplicationFleetResponse -> () # | |
Eq AssociateApplicationFleetResponse Source # | |
type Rep AssociateApplicationFleetResponse Source # | |
Defined in Amazonka.AppStream.AssociateApplicationFleet type Rep AssociateApplicationFleetResponse = D1 ('MetaData "AssociateApplicationFleetResponse" "Amazonka.AppStream.AssociateApplicationFleet" "amazonka-appstream-2.0-2EgS7yjN1zMCngYkSFPgOd" 'False) (C1 ('MetaCons "AssociateApplicationFleetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationFleetAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApplicationFleetAssociation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateApplicationFleetResponse Source #
Create a value of AssociateApplicationFleetResponse
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:applicationFleetAssociation:AssociateApplicationFleetResponse'
, associateApplicationFleetResponse_applicationFleetAssociation
- If fleet name is specified, this returns the list of applications that
are associated to it. If application ARN is specified, this returns the
list of fleets to which it is associated.
$sel:httpStatus:AssociateApplicationFleetResponse'
, associateApplicationFleetResponse_httpStatus
- The response's http status code.
Response Lenses
associateApplicationFleetResponse_applicationFleetAssociation :: Lens' AssociateApplicationFleetResponse (Maybe ApplicationFleetAssociation) Source #
If fleet name is specified, this returns the list of applications that are associated to it. If application ARN is specified, this returns the list of fleets to which it is associated.
associateApplicationFleetResponse_httpStatus :: Lens' AssociateApplicationFleetResponse Int Source #
The response's http status code.