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 |
Associates a discovered resource ID from Application Discovery Service with a migration task.
Synopsis
- data AssociateDiscoveredResource = AssociateDiscoveredResource' {}
- newAssociateDiscoveredResource :: Text -> Text -> DiscoveredResource -> AssociateDiscoveredResource
- associateDiscoveredResource_dryRun :: Lens' AssociateDiscoveredResource (Maybe Bool)
- associateDiscoveredResource_progressUpdateStream :: Lens' AssociateDiscoveredResource Text
- associateDiscoveredResource_migrationTaskName :: Lens' AssociateDiscoveredResource Text
- associateDiscoveredResource_discoveredResource :: Lens' AssociateDiscoveredResource DiscoveredResource
- data AssociateDiscoveredResourceResponse = AssociateDiscoveredResourceResponse' {
- httpStatus :: Int
- newAssociateDiscoveredResourceResponse :: Int -> AssociateDiscoveredResourceResponse
- associateDiscoveredResourceResponse_httpStatus :: Lens' AssociateDiscoveredResourceResponse Int
Creating a Request
data AssociateDiscoveredResource Source #
See: newAssociateDiscoveredResource
smart constructor.
AssociateDiscoveredResource' | |
|
Instances
newAssociateDiscoveredResource Source #
Create a value of AssociateDiscoveredResource
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:AssociateDiscoveredResource'
, associateDiscoveredResource_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:progressUpdateStream:AssociateDiscoveredResource'
, associateDiscoveredResource_progressUpdateStream
- The name of the ProgressUpdateStream.
$sel:migrationTaskName:AssociateDiscoveredResource'
, associateDiscoveredResource_migrationTaskName
- The identifier given to the MigrationTask. /Do not store personal data
in this field./
$sel:discoveredResource:AssociateDiscoveredResource'
, associateDiscoveredResource_discoveredResource
- Object representing a Resource.
Request Lenses
associateDiscoveredResource_dryRun :: Lens' AssociateDiscoveredResource (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.
associateDiscoveredResource_progressUpdateStream :: Lens' AssociateDiscoveredResource Text Source #
The name of the ProgressUpdateStream.
associateDiscoveredResource_migrationTaskName :: Lens' AssociateDiscoveredResource Text Source #
The identifier given to the MigrationTask. /Do not store personal data in this field./
associateDiscoveredResource_discoveredResource :: Lens' AssociateDiscoveredResource DiscoveredResource Source #
Object representing a Resource.
Destructuring the Response
data AssociateDiscoveredResourceResponse Source #
See: newAssociateDiscoveredResourceResponse
smart constructor.
AssociateDiscoveredResourceResponse' | |
|
Instances
newAssociateDiscoveredResourceResponse Source #
Create a value of AssociateDiscoveredResourceResponse
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:AssociateDiscoveredResourceResponse'
, associateDiscoveredResourceResponse_httpStatus
- The response's http status code.
Response Lenses
associateDiscoveredResourceResponse_httpStatus :: Lens' AssociateDiscoveredResourceResponse Int Source #
The response's http status code.