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 |
Allows application import from AWS Migration Hub.
Synopsis
- data ImportAppCatalog = ImportAppCatalog' {}
- newImportAppCatalog :: ImportAppCatalog
- importAppCatalog_roleName :: Lens' ImportAppCatalog (Maybe Text)
- data ImportAppCatalogResponse = ImportAppCatalogResponse' {
- httpStatus :: Int
- newImportAppCatalogResponse :: Int -> ImportAppCatalogResponse
- importAppCatalogResponse_httpStatus :: Lens' ImportAppCatalogResponse Int
Creating a Request
data ImportAppCatalog Source #
See: newImportAppCatalog
smart constructor.
ImportAppCatalog' | |
|
Instances
newImportAppCatalog :: ImportAppCatalog Source #
Create a value of ImportAppCatalog
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:roleName:ImportAppCatalog'
, importAppCatalog_roleName
- The name of the service role. If you omit this parameter, we create a
service-linked role for AWS Migration Hub in your account. Otherwise,
the role that you provide must have the
policy and trust policy
described in the AWS Migration Hub User Guide.
Request Lenses
importAppCatalog_roleName :: Lens' ImportAppCatalog (Maybe Text) Source #
The name of the service role. If you omit this parameter, we create a service-linked role for AWS Migration Hub in your account. Otherwise, the role that you provide must have the policy and trust policy described in the AWS Migration Hub User Guide.
Destructuring the Response
data ImportAppCatalogResponse Source #
See: newImportAppCatalogResponse
smart constructor.
ImportAppCatalogResponse' | |
|
Instances
newImportAppCatalogResponse Source #
Create a value of ImportAppCatalogResponse
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:ImportAppCatalogResponse'
, importAppCatalogResponse_httpStatus
- The response's http status code.
Response Lenses
importAppCatalogResponse_httpStatus :: Lens' ImportAppCatalogResponse Int Source #
The response's http status code.