Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates an application instance and deploys it to a device.
Synopsis
- data CreateApplicationInstance = CreateApplicationInstance' {}
- newCreateApplicationInstance :: ManifestPayload -> Text -> CreateApplicationInstance
- createApplicationInstance_manifestOverridesPayload :: Lens' CreateApplicationInstance (Maybe ManifestOverridesPayload)
- createApplicationInstance_name :: Lens' CreateApplicationInstance (Maybe Text)
- createApplicationInstance_runtimeRoleArn :: Lens' CreateApplicationInstance (Maybe Text)
- createApplicationInstance_description :: Lens' CreateApplicationInstance (Maybe Text)
- createApplicationInstance_tags :: Lens' CreateApplicationInstance (Maybe (HashMap Text Text))
- createApplicationInstance_applicationInstanceIdToReplace :: Lens' CreateApplicationInstance (Maybe Text)
- createApplicationInstance_manifestPayload :: Lens' CreateApplicationInstance ManifestPayload
- createApplicationInstance_defaultRuntimeContextDevice :: Lens' CreateApplicationInstance Text
- data CreateApplicationInstanceResponse = CreateApplicationInstanceResponse' {}
- newCreateApplicationInstanceResponse :: Int -> Text -> CreateApplicationInstanceResponse
- createApplicationInstanceResponse_httpStatus :: Lens' CreateApplicationInstanceResponse Int
- createApplicationInstanceResponse_applicationInstanceId :: Lens' CreateApplicationInstanceResponse Text
Creating a Request
data CreateApplicationInstance Source #
See: newCreateApplicationInstance
smart constructor.
CreateApplicationInstance' | |
|
Instances
newCreateApplicationInstance Source #
Create a value of CreateApplicationInstance
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:manifestOverridesPayload:CreateApplicationInstance'
, createApplicationInstance_manifestOverridesPayload
- Setting overrides for the application manifest.
$sel:name:CreateApplicationInstance'
, createApplicationInstance_name
- A name for the application instance.
$sel:runtimeRoleArn:CreateApplicationInstance'
, createApplicationInstance_runtimeRoleArn
- The ARN of a runtime role for the application instance.
$sel:description:CreateApplicationInstance'
, createApplicationInstance_description
- A description for the application instance.
$sel:tags:CreateApplicationInstance'
, createApplicationInstance_tags
- Tags for the application instance.
$sel:applicationInstanceIdToReplace:CreateApplicationInstance'
, createApplicationInstance_applicationInstanceIdToReplace
- The ID of an application instance to replace with the new instance.
$sel:manifestPayload:CreateApplicationInstance'
, createApplicationInstance_manifestPayload
- The application's manifest document.
$sel:defaultRuntimeContextDevice:CreateApplicationInstance'
, createApplicationInstance_defaultRuntimeContextDevice
- A device's ID.
Request Lenses
createApplicationInstance_manifestOverridesPayload :: Lens' CreateApplicationInstance (Maybe ManifestOverridesPayload) Source #
Setting overrides for the application manifest.
createApplicationInstance_name :: Lens' CreateApplicationInstance (Maybe Text) Source #
A name for the application instance.
createApplicationInstance_runtimeRoleArn :: Lens' CreateApplicationInstance (Maybe Text) Source #
The ARN of a runtime role for the application instance.
createApplicationInstance_description :: Lens' CreateApplicationInstance (Maybe Text) Source #
A description for the application instance.
createApplicationInstance_tags :: Lens' CreateApplicationInstance (Maybe (HashMap Text Text)) Source #
Tags for the application instance.
createApplicationInstance_applicationInstanceIdToReplace :: Lens' CreateApplicationInstance (Maybe Text) Source #
The ID of an application instance to replace with the new instance.
createApplicationInstance_manifestPayload :: Lens' CreateApplicationInstance ManifestPayload Source #
The application's manifest document.
createApplicationInstance_defaultRuntimeContextDevice :: Lens' CreateApplicationInstance Text Source #
A device's ID.
Destructuring the Response
data CreateApplicationInstanceResponse Source #
See: newCreateApplicationInstanceResponse
smart constructor.
CreateApplicationInstanceResponse' | |
|
Instances
Eq CreateApplicationInstanceResponse Source # | |
Read CreateApplicationInstanceResponse Source # | |
Show CreateApplicationInstanceResponse Source # | |
Generic CreateApplicationInstanceResponse Source # | |
NFData CreateApplicationInstanceResponse Source # | |
Defined in Amazonka.Panorama.CreateApplicationInstance rnf :: CreateApplicationInstanceResponse -> () # | |
type Rep CreateApplicationInstanceResponse Source # | |
Defined in Amazonka.Panorama.CreateApplicationInstance type Rep CreateApplicationInstanceResponse = D1 ('MetaData "CreateApplicationInstanceResponse" "Amazonka.Panorama.CreateApplicationInstance" "libZSservicesZSamazonka-panoramaZSamazonka-panorama" 'False) (C1 ('MetaCons "CreateApplicationInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "applicationInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newCreateApplicationInstanceResponse Source #
:: Int | |
-> Text |
|
-> CreateApplicationInstanceResponse |
Create a value of CreateApplicationInstanceResponse
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:CreateApplicationInstanceResponse'
, createApplicationInstanceResponse_httpStatus
- The response's http status code.
$sel:applicationInstanceId:CreateApplicationInstanceResponse'
, createApplicationInstanceResponse_applicationInstanceId
- The application instance's ID.
Response Lenses
createApplicationInstanceResponse_httpStatus :: Lens' CreateApplicationInstanceResponse Int Source #
The response's http status code.
createApplicationInstanceResponse_applicationInstanceId :: Lens' CreateApplicationInstanceResponse Text Source #
The application instance's ID.