NAME

Paws::MigrationHub::PutResourceAttributes - Arguments for method PutResourceAttributes on Paws::MigrationHub

DESCRIPTION

This class represents the parameters used for calling the method PutResourceAttributes on the AWS Migration Hub service. Use the attributes of this class as arguments to method PutResourceAttributes.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutResourceAttributes.

SYNOPSIS

my $mgh = Paws->service('MigrationHub');
my $PutResourceAttributesResult = $mgh->PutResourceAttributes(
  MigrationTaskName     => 'MyMigrationTaskName',
  ProgressUpdateStream  => 'MyProgressUpdateStream',
  ResourceAttributeList => [
    {
      Type => 'IPV4_ADDRESS'
      , # values: IPV4_ADDRESS, IPV6_ADDRESS, MAC_ADDRESS, FQDN, VM_MANAGER_ID, VM_MANAGED_OBJECT_REFERENCE, VM_NAME, VM_PATH, BIOS_ID, MOTHERBOARD_SERIAL_NUMBER
      Value => 'MyResourceAttributeValue',    # min: 1, max: 256

    },
    ...
  ],
  DryRun => 1,    # OPTIONAL
);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/mgh/PutResourceAttributes

ATTRIBUTES

DryRun => Bool

Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

REQUIRED MigrationTaskName => Str

Unique identifier that references the migration task. Do not store personal data in this field.

REQUIRED ProgressUpdateStream => Str

The name of the ProgressUpdateStream.

REQUIRED ResourceAttributeList => ArrayRef[Paws::MigrationHub::ResourceAttribute]

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 repository.

Takes the object array of ResourceAttribute where the Type field is reserved for the following values: IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER where the identifying value can be a string up to 256 characters.

  • If any "VM" related value is set for a ResourceAttribute object, it is required that VM_MANAGER_ID, as a minimum, is always set. If VM_MANAGER_ID is not set, then all "VM" fields will be discarded and "VM" fields will not be used for matching the migration task to a server in Application Discovery Service repository. See the Example (https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#API_PutResourceAttributes_Examples) section below for a use case of specifying "VM" related values.

  • If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you know in separate type/value pairs passed to the ResourceAttributeList parameter to maximize the chances of matching.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutResourceAttributes in Paws::MigrationHub

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues