Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Provides identifying details of the resource being migrated so that it can be associated in the Application Discovery Service (ADS)'s repository. This association occurs asynchronously after PutResourceAttributes
returns.
Important: Keep in mind that subsequent calls to PutResourceAttributes will override previously stored attributes. For example, if it is first called with a MAC address, but later, it is desired to add an IP address, it will then be required to call it with both the IP and MAC addresses to prevent overiding the MAC address.
- putResourceAttributes :: Text -> Text -> NonEmpty ResourceAttribute -> PutResourceAttributes
- data PutResourceAttributes
- praDryRun :: Lens' PutResourceAttributes (Maybe Bool)
- praProgressUpdateStream :: Lens' PutResourceAttributes Text
- praMigrationTaskName :: Lens' PutResourceAttributes Text
- praResourceAttributeList :: Lens' PutResourceAttributes (NonEmpty ResourceAttribute)
- putResourceAttributesResponse :: Int -> PutResourceAttributesResponse
- data PutResourceAttributesResponse
- prarsResponseStatus :: Lens' PutResourceAttributesResponse Int
Creating a Request
putResourceAttributes Source #
Creates a value of PutResourceAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
praDryRun
- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.praProgressUpdateStream
- The name of the ProgressUpdateStream.praMigrationTaskName
- Unique identifier that references the migration task.praResourceAttributeList
- Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service (ADS)'s repository.
data PutResourceAttributes Source #
See: putResourceAttributes
smart constructor.
Request Lenses
praDryRun :: Lens' PutResourceAttributes (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.
praProgressUpdateStream :: Lens' PutResourceAttributes Text Source #
The name of the ProgressUpdateStream.
praMigrationTaskName :: Lens' PutResourceAttributes Text Source #
Unique identifier that references the migration task.
praResourceAttributeList :: Lens' PutResourceAttributes (NonEmpty ResourceAttribute) Source #
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service (ADS)'s repository.
Destructuring the Response
putResourceAttributesResponse Source #
Creates a value of PutResourceAttributesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prarsResponseStatus
- -- | The response status code.
data PutResourceAttributesResponse Source #
See: putResourceAttributesResponse
smart constructor.
Response Lenses
prarsResponseStatus :: Lens' PutResourceAttributesResponse Int Source #
- - | The response status code.