« blib/lib/Paws/MigrationHub/ApplicationState.pm
↑ Summary
blib/lib/Paws/MigrationHub/AssociateCreatedArtifactResult.pm »
| 1 | |||
| 2 | package Paws::MigrationHub::AssociateCreatedArtifact; | ||
| 3 | use Moose; | ||
| 4 | has CreatedArtifact => (is => 'ro', isa => 'Paws::MigrationHub::CreatedArtifact', 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 => 'AssociateCreatedArtifact'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MigrationHub::AssociateCreatedArtifactResult'); | ||
| 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::AssociateCreatedArtifact - Arguments for method AssociateCreatedArtifact on L<Paws::MigrationHub> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method AssociateCreatedArtifact on the | ||
| 25 | L<AWS Migration Hub|Paws::MigrationHub> service. Use the attributes of this class | ||
| 26 | as arguments to method AssociateCreatedArtifact. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateCreatedArtifact. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $mgh = Paws->service('MigrationHub'); | ||
| 33 | my $AssociateCreatedArtifactResult = $mgh->AssociateCreatedArtifact( | ||
| 34 | CreatedArtifact => { | ||
| 35 | Name => 'MyCreatedArtifactName', # min: 1, max: 1600 | ||
| 36 | Description => 'MyCreatedArtifactDescription', # 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/AssociateCreatedArtifact> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 B<REQUIRED> CreatedArtifact => L<Paws::MigrationHub::CreatedArtifact> | ||
| 50 | |||
| 51 | An ARN of the AWS resource related to the migration (e.g., AMI, EC2 | ||
| 52 | instance, RDS instance, etc.) | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | =head2 DryRun => Bool | ||
| 57 | |||
| 58 | Optional boolean flag to indicate whether any effect should take place. | ||
| 59 | Used to test if the caller has permission to make the call. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> MigrationTaskName => Str | ||
| 64 | |||
| 65 | Unique identifier that references the migration task. I<Do not store | ||
| 66 | personal data in this field.> | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> ProgressUpdateStream => Str | ||
| 71 | |||
| 72 | The name of the ProgressUpdateStream. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head1 SEE ALSO | ||
| 78 | |||
| 79 | This class forms part of L<Paws>, documenting arguments for method AssociateCreatedArtifact in L<Paws::MigrationHub> | ||
| 80 | |||
| 81 | =head1 BUGS and CONTRIBUTIONS | ||
| 82 | |||
| 83 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 84 | |||
| 85 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 86 | |||
| 87 | =cut | ||
| 88 |