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 |
Creates an application.
Applications are an Amazon AppStream 2.0 resource that stores the details about how to launch applications on Elastic fleet streaming instances. An application consists of the launch details, icon, and display name. Applications are associated with an app block that contains the application binaries and other files. The applications assigned to an Elastic fleet are the applications users can launch.
This is only supported for Elastic fleets.
Synopsis
- data CreateApplication = CreateApplication' {
- description :: Maybe Text
- displayName :: Maybe Text
- launchParameters :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- workingDirectory :: Maybe Text
- name :: Text
- iconS3Location :: S3Location
- launchPath :: Text
- platforms :: [PlatformType]
- instanceFamilies :: [Text]
- appBlockArn :: Text
- newCreateApplication :: Text -> S3Location -> Text -> Text -> CreateApplication
- createApplication_description :: Lens' CreateApplication (Maybe Text)
- createApplication_displayName :: Lens' CreateApplication (Maybe Text)
- createApplication_launchParameters :: Lens' CreateApplication (Maybe Text)
- createApplication_tags :: Lens' CreateApplication (Maybe (HashMap Text Text))
- createApplication_workingDirectory :: Lens' CreateApplication (Maybe Text)
- createApplication_name :: Lens' CreateApplication Text
- createApplication_iconS3Location :: Lens' CreateApplication S3Location
- createApplication_launchPath :: Lens' CreateApplication Text
- createApplication_platforms :: Lens' CreateApplication [PlatformType]
- createApplication_instanceFamilies :: Lens' CreateApplication [Text]
- createApplication_appBlockArn :: Lens' CreateApplication Text
- data CreateApplicationResponse = CreateApplicationResponse' {}
- newCreateApplicationResponse :: Int -> CreateApplicationResponse
- createApplicationResponse_application :: Lens' CreateApplicationResponse (Maybe Application)
- createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int
Creating a Request
data CreateApplication Source #
See: newCreateApplication
smart constructor.
CreateApplication' | |
|
Instances
:: Text | |
-> S3Location | |
-> Text | |
-> Text | |
-> CreateApplication |
Create a value of CreateApplication
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:
CreateApplication
, createApplication_description
- The description of the application.
CreateApplication
, createApplication_displayName
- The display name of the application. This name is visible to users in
the application catalog.
CreateApplication
, createApplication_launchParameters
- The launch parameters of the application.
$sel:tags:CreateApplication'
, createApplication_tags
- The tags assigned to the application.
CreateApplication
, createApplication_workingDirectory
- The working directory of the application.
CreateApplication
, createApplication_name
- The name of the application. This name is visible to users when display
name is not specified.
CreateApplication
, createApplication_iconS3Location
- The location in S3 of the application icon.
CreateApplication
, createApplication_launchPath
- The launch path of the application.
CreateApplication
, createApplication_platforms
- The platforms the application supports. WINDOWS_SERVER_2019 and
AMAZON_LINUX2 are supported for Elastic fleets.
CreateApplication
, createApplication_instanceFamilies
- The instance families the application supports. Valid values are
GENERAL_PURPOSE and GRAPHICS_G4.
CreateApplication
, createApplication_appBlockArn
- The app block ARN to which the application should be associated
Request Lenses
createApplication_description :: Lens' CreateApplication (Maybe Text) Source #
The description of the application.
createApplication_displayName :: Lens' CreateApplication (Maybe Text) Source #
The display name of the application. This name is visible to users in the application catalog.
createApplication_launchParameters :: Lens' CreateApplication (Maybe Text) Source #
The launch parameters of the application.
createApplication_tags :: Lens' CreateApplication (Maybe (HashMap Text Text)) Source #
The tags assigned to the application.
createApplication_workingDirectory :: Lens' CreateApplication (Maybe Text) Source #
The working directory of the application.
createApplication_name :: Lens' CreateApplication Text Source #
The name of the application. This name is visible to users when display name is not specified.
createApplication_iconS3Location :: Lens' CreateApplication S3Location Source #
The location in S3 of the application icon.
createApplication_launchPath :: Lens' CreateApplication Text Source #
The launch path of the application.
createApplication_platforms :: Lens' CreateApplication [PlatformType] Source #
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
createApplication_instanceFamilies :: Lens' CreateApplication [Text] Source #
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
createApplication_appBlockArn :: Lens' CreateApplication Text Source #
The app block ARN to which the application should be associated
Destructuring the Response
data CreateApplicationResponse Source #
See: newCreateApplicationResponse
smart constructor.
CreateApplicationResponse' | |
|
Instances
newCreateApplicationResponse Source #
Create a value of CreateApplicationResponse
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:application:CreateApplicationResponse'
, createApplicationResponse_application
- Undocumented member.
$sel:httpStatus:CreateApplicationResponse'
, createApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
createApplicationResponse_application :: Lens' CreateApplicationResponse (Maybe Application) Source #
Undocumented member.
createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int Source #
The response's http status code.