« blib/lib/Paws/MigrationHub/AssociateCreatedArtifactResult.pm
↑ Summary
blib/lib/Paws/MigrationHub/AssociateDiscoveredResourceResult.pm »
| 1 | |||
| 2 | package Paws::MigrationHub::AssociateDiscoveredResource; | ||
| 3 | use Moose; | ||
| 4 | has DiscoveredResource => (is => 'ro', isa => 'Paws::MigrationHub::DiscoveredResource', required => 1); | ||
| 5 | has DryRun => (is => 'ro', isa => 'Bool'); | ||
| 6 | has MigrationTaskName => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has ProgressUpdateStream => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'AssociateDiscoveredResource'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MigrationHub::AssociateDiscoveredResourceResult'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::MigrationHub::AssociateDiscoveredResource - Arguments for method AssociateDiscoveredResource on L<Paws::MigrationHub> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method AssociateDiscoveredResource on the | ||
| 25 | L<AWS Migration Hub|Paws::MigrationHub> service. Use the attributes of this class | ||
| 26 | as arguments to method AssociateDiscoveredResource. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateDiscoveredResource. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $mgh = Paws->service('MigrationHub'); | ||
| 33 | my $AssociateDiscoveredResourceResult = $mgh->AssociateDiscoveredResource( | ||
| 34 | DiscoveredResource => { | ||
| 35 | ConfigurationId => 'MyConfigurationId', # min: 1, max: 1600 | ||
| 36 | Description => 'MyDiscoveredResourceDescription', # max: 500; OPTIONAL | ||
| 37 | }, | ||
| 38 | MigrationTaskName => 'MyMigrationTaskName', | ||
| 39 | ProgressUpdateStream => 'MyProgressUpdateStream', | ||
| 40 | DryRun => 1, # OPTIONAL | ||
| 41 | ); | ||
| 42 | |||
| 43 | 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. | ||
| 44 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mgh/AssociateDiscoveredResource> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 B<REQUIRED> DiscoveredResource => L<Paws::MigrationHub::DiscoveredResource> | ||
| 50 | |||
| 51 | Object representing a Resource. | ||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | =head2 DryRun => Bool | ||
| 56 | |||
| 57 | Optional boolean flag to indicate whether any effect should take place. | ||
| 58 | Used to test if the caller has permission to make the call. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> MigrationTaskName => Str | ||
| 63 | |||
| 64 | The identifier given to the MigrationTask. I<Do not store personal data | ||
| 65 | in this field.> | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> ProgressUpdateStream => Str | ||
| 70 | |||
| 71 | The name of the ProgressUpdateStream. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, documenting arguments for method AssociateDiscoveredResource in L<Paws::MigrationHub> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |