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 |
Imports a node package.
Synopsis
- data CreatePackageImportJob = CreatePackageImportJob' {}
- newCreatePackageImportJob :: PackageImportJobType -> PackageImportJobInputConfig -> PackageImportJobOutputConfig -> Text -> CreatePackageImportJob
- createPackageImportJob_jobTags :: Lens' CreatePackageImportJob (Maybe [JobResourceTags])
- createPackageImportJob_jobType :: Lens' CreatePackageImportJob PackageImportJobType
- createPackageImportJob_inputConfig :: Lens' CreatePackageImportJob PackageImportJobInputConfig
- createPackageImportJob_outputConfig :: Lens' CreatePackageImportJob PackageImportJobOutputConfig
- createPackageImportJob_clientToken :: Lens' CreatePackageImportJob Text
- data CreatePackageImportJobResponse = CreatePackageImportJobResponse' {
- httpStatus :: Int
- jobId :: Text
- newCreatePackageImportJobResponse :: Int -> Text -> CreatePackageImportJobResponse
- createPackageImportJobResponse_httpStatus :: Lens' CreatePackageImportJobResponse Int
- createPackageImportJobResponse_jobId :: Lens' CreatePackageImportJobResponse Text
Creating a Request
data CreatePackageImportJob Source #
See: newCreatePackageImportJob
smart constructor.
CreatePackageImportJob' | |
|
Instances
newCreatePackageImportJob Source #
:: PackageImportJobType | |
-> PackageImportJobInputConfig | |
-> PackageImportJobOutputConfig | |
-> Text | |
-> CreatePackageImportJob |
Create a value of CreatePackageImportJob
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:jobTags:CreatePackageImportJob'
, createPackageImportJob_jobTags
- Tags for the package import job.
$sel:jobType:CreatePackageImportJob'
, createPackageImportJob_jobType
- A job type for the package import job.
$sel:inputConfig:CreatePackageImportJob'
, createPackageImportJob_inputConfig
- An input config for the package import job.
$sel:outputConfig:CreatePackageImportJob'
, createPackageImportJob_outputConfig
- An output config for the package import job.
$sel:clientToken:CreatePackageImportJob'
, createPackageImportJob_clientToken
- A client token for the package import job.
Request Lenses
createPackageImportJob_jobTags :: Lens' CreatePackageImportJob (Maybe [JobResourceTags]) Source #
Tags for the package import job.
createPackageImportJob_jobType :: Lens' CreatePackageImportJob PackageImportJobType Source #
A job type for the package import job.
createPackageImportJob_inputConfig :: Lens' CreatePackageImportJob PackageImportJobInputConfig Source #
An input config for the package import job.
createPackageImportJob_outputConfig :: Lens' CreatePackageImportJob PackageImportJobOutputConfig Source #
An output config for the package import job.
createPackageImportJob_clientToken :: Lens' CreatePackageImportJob Text Source #
A client token for the package import job.
Destructuring the Response
data CreatePackageImportJobResponse Source #
See: newCreatePackageImportJobResponse
smart constructor.
CreatePackageImportJobResponse' | |
|
Instances
Eq CreatePackageImportJobResponse Source # | |
Read CreatePackageImportJobResponse Source # | |
Show CreatePackageImportJobResponse Source # | |
Defined in Amazonka.Panorama.CreatePackageImportJob | |
Generic CreatePackageImportJobResponse Source # | |
NFData CreatePackageImportJobResponse Source # | |
Defined in Amazonka.Panorama.CreatePackageImportJob rnf :: CreatePackageImportJobResponse -> () # | |
type Rep CreatePackageImportJobResponse Source # | |
Defined in Amazonka.Panorama.CreatePackageImportJob type Rep CreatePackageImportJobResponse = D1 ('MetaData "CreatePackageImportJobResponse" "Amazonka.Panorama.CreatePackageImportJob" "libZSservicesZSamazonka-panoramaZSamazonka-panorama" 'False) (C1 ('MetaCons "CreatePackageImportJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newCreatePackageImportJobResponse Source #
Create a value of CreatePackageImportJobResponse
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:CreatePackageImportJobResponse'
, createPackageImportJobResponse_httpStatus
- The response's http status code.
$sel:jobId:CreatePackageImportJobResponse'
, createPackageImportJobResponse_jobId
- The job's ID.
Response Lenses
createPackageImportJobResponse_httpStatus :: Lens' CreatePackageImportJobResponse Int Source #
The response's http status code.
createPackageImportJobResponse_jobId :: Lens' CreatePackageImportJobResponse Text Source #
The job's ID.