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 progress update stream which is an AWS resource used for access control as well as a namespace for migration task names that is implicitly linked to your AWS account. It must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS account.
Synopsis
- data CreateProgressUpdateStream = CreateProgressUpdateStream' {}
- newCreateProgressUpdateStream :: Text -> CreateProgressUpdateStream
- createProgressUpdateStream_dryRun :: Lens' CreateProgressUpdateStream (Maybe Bool)
- createProgressUpdateStream_progressUpdateStreamName :: Lens' CreateProgressUpdateStream Text
- data CreateProgressUpdateStreamResponse = CreateProgressUpdateStreamResponse' {
- httpStatus :: Int
- newCreateProgressUpdateStreamResponse :: Int -> CreateProgressUpdateStreamResponse
- createProgressUpdateStreamResponse_httpStatus :: Lens' CreateProgressUpdateStreamResponse Int
Creating a Request
data CreateProgressUpdateStream Source #
See: newCreateProgressUpdateStream
smart constructor.
CreateProgressUpdateStream' | |
|
Instances
newCreateProgressUpdateStream Source #
Create a value of CreateProgressUpdateStream
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:dryRun:CreateProgressUpdateStream'
, createProgressUpdateStream_dryRun
- Optional boolean flag to indicate whether any effect should take place.
Used to test if the caller has permission to make the call.
$sel:progressUpdateStreamName:CreateProgressUpdateStream'
, createProgressUpdateStream_progressUpdateStreamName
- The name of the ProgressUpdateStream. /Do not store personal data in
this field./
Request Lenses
createProgressUpdateStream_dryRun :: Lens' CreateProgressUpdateStream (Maybe Bool) Source #
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
createProgressUpdateStream_progressUpdateStreamName :: Lens' CreateProgressUpdateStream Text Source #
The name of the ProgressUpdateStream. /Do not store personal data in this field./
Destructuring the Response
data CreateProgressUpdateStreamResponse Source #
See: newCreateProgressUpdateStreamResponse
smart constructor.
CreateProgressUpdateStreamResponse' | |
|
Instances
Eq CreateProgressUpdateStreamResponse Source # | |
Read CreateProgressUpdateStreamResponse Source # | |
Show CreateProgressUpdateStreamResponse Source # | |
Generic CreateProgressUpdateStreamResponse Source # | |
NFData CreateProgressUpdateStreamResponse Source # | |
Defined in Amazonka.MigrationHub.CreateProgressUpdateStream rnf :: CreateProgressUpdateStreamResponse -> () # | |
type Rep CreateProgressUpdateStreamResponse Source # | |
Defined in Amazonka.MigrationHub.CreateProgressUpdateStream type Rep CreateProgressUpdateStreamResponse = D1 ('MetaData "CreateProgressUpdateStreamResponse" "Amazonka.MigrationHub.CreateProgressUpdateStream" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "CreateProgressUpdateStreamResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateProgressUpdateStreamResponse Source #
Create a value of CreateProgressUpdateStreamResponse
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:CreateProgressUpdateStreamResponse'
, createProgressUpdateStreamResponse_httpStatus
- The response's http status code.
Response Lenses
createProgressUpdateStreamResponse_httpStatus :: Lens' CreateProgressUpdateStreamResponse Int Source #
The response's http status code.