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 a snapshot of the application's state data.
Synopsis
- data CreateApplicationSnapshot = CreateApplicationSnapshot' {}
- newCreateApplicationSnapshot :: Text -> Text -> CreateApplicationSnapshot
- createApplicationSnapshot_applicationName :: Lens' CreateApplicationSnapshot Text
- createApplicationSnapshot_snapshotName :: Lens' CreateApplicationSnapshot Text
- data CreateApplicationSnapshotResponse = CreateApplicationSnapshotResponse' {
- httpStatus :: Int
- newCreateApplicationSnapshotResponse :: Int -> CreateApplicationSnapshotResponse
- createApplicationSnapshotResponse_httpStatus :: Lens' CreateApplicationSnapshotResponse Int
Creating a Request
data CreateApplicationSnapshot Source #
See: newCreateApplicationSnapshot
smart constructor.
CreateApplicationSnapshot' | |
|
Instances
newCreateApplicationSnapshot Source #
:: Text | |
-> Text | |
-> CreateApplicationSnapshot |
Create a value of CreateApplicationSnapshot
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:applicationName:CreateApplicationSnapshot'
, createApplicationSnapshot_applicationName
- The name of an existing application
$sel:snapshotName:CreateApplicationSnapshot'
, createApplicationSnapshot_snapshotName
- An identifier for the application snapshot.
Request Lenses
createApplicationSnapshot_applicationName :: Lens' CreateApplicationSnapshot Text Source #
The name of an existing application
createApplicationSnapshot_snapshotName :: Lens' CreateApplicationSnapshot Text Source #
An identifier for the application snapshot.
Destructuring the Response
data CreateApplicationSnapshotResponse Source #
See: newCreateApplicationSnapshotResponse
smart constructor.
CreateApplicationSnapshotResponse' | |
|
Instances
Eq CreateApplicationSnapshotResponse Source # | |
Read CreateApplicationSnapshotResponse Source # | |
Show CreateApplicationSnapshotResponse Source # | |
Generic CreateApplicationSnapshotResponse Source # | |
NFData CreateApplicationSnapshotResponse Source # | |
Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationSnapshot rnf :: CreateApplicationSnapshotResponse -> () # | |
type Rep CreateApplicationSnapshotResponse Source # | |
Defined in Amazonka.KinesisAnalyticsV2.CreateApplicationSnapshot type Rep CreateApplicationSnapshotResponse = D1 ('MetaData "CreateApplicationSnapshotResponse" "Amazonka.KinesisAnalyticsV2.CreateApplicationSnapshot" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" 'False) (C1 ('MetaCons "CreateApplicationSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateApplicationSnapshotResponse Source #
Create a value of CreateApplicationSnapshotResponse
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:CreateApplicationSnapshotResponse'
, createApplicationSnapshotResponse_httpStatus
- The response's http status code.
Response Lenses
createApplicationSnapshotResponse_httpStatus :: Lens' CreateApplicationSnapshotResponse Int Source #
The response's http status code.