Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
AssociateDiscoveredResource
, associateDiscoveredResource_progressUpdateStream
- The name of the ProgressUpdateStream.
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
Generic AssociateDiscoveredResourceResponse Source # | |
Defined in Amazonka.MigrationHub.AssociateDiscoveredResource type Rep AssociateDiscoveredResourceResponse :: Type -> Type # | |
Read AssociateDiscoveredResourceResponse Source # | |
Show AssociateDiscoveredResourceResponse Source # | |
NFData AssociateDiscoveredResourceResponse Source # | |
Defined in Amazonka.MigrationHub.AssociateDiscoveredResource rnf :: AssociateDiscoveredResourceResponse -> () # | |
Eq AssociateDiscoveredResourceResponse Source # | |
type Rep AssociateDiscoveredResourceResponse Source # | |
Defined in Amazonka.MigrationHub.AssociateDiscoveredResource type Rep AssociateDiscoveredResourceResponse = D1 ('MetaData "AssociateDiscoveredResourceResponse" "Amazonka.MigrationHub.AssociateDiscoveredResource" "amazonka-migrationhub-2.0-HPFHfkzHnlJDPxcpvPbrRQ" 'False) (C1 ('MetaCons "AssociateDiscoveredResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.