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 |
Disassociate an Application Discovery Service discovered resource from a migration task.
Synopsis
- data DisassociateDiscoveredResource = DisassociateDiscoveredResource' {}
- newDisassociateDiscoveredResource :: Text -> Text -> Text -> DisassociateDiscoveredResource
- disassociateDiscoveredResource_dryRun :: Lens' DisassociateDiscoveredResource (Maybe Bool)
- disassociateDiscoveredResource_progressUpdateStream :: Lens' DisassociateDiscoveredResource Text
- disassociateDiscoveredResource_migrationTaskName :: Lens' DisassociateDiscoveredResource Text
- disassociateDiscoveredResource_configurationId :: Lens' DisassociateDiscoveredResource Text
- data DisassociateDiscoveredResourceResponse = DisassociateDiscoveredResourceResponse' {
- httpStatus :: Int
- newDisassociateDiscoveredResourceResponse :: Int -> DisassociateDiscoveredResourceResponse
- disassociateDiscoveredResourceResponse_httpStatus :: Lens' DisassociateDiscoveredResourceResponse Int
Creating a Request
data DisassociateDiscoveredResource Source #
See: newDisassociateDiscoveredResource
smart constructor.
DisassociateDiscoveredResource' | |
|
Instances
newDisassociateDiscoveredResource Source #
:: Text | |
-> Text | |
-> Text | |
-> DisassociateDiscoveredResource |
Create a value of DisassociateDiscoveredResource
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:DisassociateDiscoveredResource'
, disassociateDiscoveredResource_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:DisassociateDiscoveredResource'
, disassociateDiscoveredResource_progressUpdateStream
- The name of the ProgressUpdateStream.
$sel:migrationTaskName:DisassociateDiscoveredResource'
, disassociateDiscoveredResource_migrationTaskName
- The identifier given to the MigrationTask. /Do not store personal data
in this field./
$sel:configurationId:DisassociateDiscoveredResource'
, disassociateDiscoveredResource_configurationId
- ConfigurationId of the Application Discovery Service resource to be
disassociated.
Request Lenses
disassociateDiscoveredResource_dryRun :: Lens' DisassociateDiscoveredResource (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.
disassociateDiscoveredResource_progressUpdateStream :: Lens' DisassociateDiscoveredResource Text Source #
The name of the ProgressUpdateStream.
disassociateDiscoveredResource_migrationTaskName :: Lens' DisassociateDiscoveredResource Text Source #
The identifier given to the MigrationTask. /Do not store personal data in this field./
disassociateDiscoveredResource_configurationId :: Lens' DisassociateDiscoveredResource Text Source #
ConfigurationId of the Application Discovery Service resource to be disassociated.
Destructuring the Response
data DisassociateDiscoveredResourceResponse Source #
See: newDisassociateDiscoveredResourceResponse
smart constructor.
DisassociateDiscoveredResourceResponse' | |
|
Instances
Eq DisassociateDiscoveredResourceResponse Source # | |
Read DisassociateDiscoveredResourceResponse Source # | |
Show DisassociateDiscoveredResourceResponse Source # | |
Generic DisassociateDiscoveredResourceResponse Source # | |
Defined in Amazonka.MigrationHub.DisassociateDiscoveredResource type Rep DisassociateDiscoveredResourceResponse :: Type -> Type # | |
NFData DisassociateDiscoveredResourceResponse Source # | |
type Rep DisassociateDiscoveredResourceResponse Source # | |
Defined in Amazonka.MigrationHub.DisassociateDiscoveredResource type Rep DisassociateDiscoveredResourceResponse = D1 ('MetaData "DisassociateDiscoveredResourceResponse" "Amazonka.MigrationHub.DisassociateDiscoveredResource" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "DisassociateDiscoveredResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateDiscoveredResourceResponse Source #
Create a value of DisassociateDiscoveredResourceResponse
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:DisassociateDiscoveredResourceResponse'
, disassociateDiscoveredResourceResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateDiscoveredResourceResponse_httpStatus :: Lens' DisassociateDiscoveredResourceResponse Int Source #
The response's http status code.