Module Smaws_Client_MigrationHub.PutResourceAttributes

val request : Smaws_Lib.Context.t -> put_resource_attributes_request -> (put_resource_attributes_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of access_denied_exception | `DryRunOperation of dry_run_operation | `HomeRegionNotSetException of home_region_not_set_exception | `InternalServerError of internal_server_error | `InvalidInputException of invalid_input_exception | `ResourceNotFoundException of resource_not_found_exception | `ServiceUnavailableException of service_unavailable_exception | `ThrottlingException of throttling_exception | `UnauthorizedOperation of unauthorized_operation ]) Stdlib.result

Provides identifying details of the resource being migrated so that it can be associated in the Application Discovery Service repository. This association occurs asynchronously after PutResourceAttributes returns.

  • 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 overriding the MAC address.
  • Note the instructions regarding the special use case of the ResourceAttributeList parameter when specifying any "VM" related value.

Because this is an asynchronous call, it will always return 200, whether an association occurs or not. To confirm if an association was found based on the provided details, call ListDiscoveredResources.