« blib/lib/Paws/SMS/PutAppLaunchConfigurationResponse.pm
↑ Summary
blib/lib/Paws/SMS/PutAppReplicationConfigurationResponse.pm »
| 1 | |||
| 2 | package Paws::SMS::PutAppReplicationConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has AppId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'appId' ); | ||
| 5 | has ServerGroupReplicationConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::SMS::ServerGroupReplicationConfiguration]', traits => ['NameInRequest'], request_name => 'serverGroupReplicationConfigurations' ); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutAppReplicationConfiguration'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SMS::PutAppReplicationConfigurationResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::SMS::PutAppReplicationConfiguration - Arguments for method PutAppReplicationConfiguration on L<Paws::SMS> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method PutAppReplicationConfiguration on the | ||
| 23 | L<AWS Server Migration Service|Paws::SMS> service. Use the attributes of this class | ||
| 24 | as arguments to method PutAppReplicationConfiguration. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutAppReplicationConfiguration. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $sms = Paws->service('SMS'); | ||
| 31 | my $PutAppReplicationConfigurationResponse = | ||
| 32 | $sms->PutAppReplicationConfiguration( | ||
| 33 | AppId => 'MyAppId', # OPTIONAL | ||
| 34 | ServerGroupReplicationConfigurations => [ | ||
| 35 | { | ||
| 36 | ServerGroupId => 'MyServerGroupId', # OPTIONAL | ||
| 37 | ServerReplicationConfigurations => [ | ||
| 38 | { | ||
| 39 | Server => { | ||
| 40 | ReplicationJobId => 'MyReplicationJobId', # OPTIONAL | ||
| 41 | ReplicationJobTerminated => 1, # OPTIONAL | ||
| 42 | ServerId => 'MyServerId', # OPTIONAL | ||
| 43 | ServerType => | ||
| 44 | 'VIRTUAL_MACHINE', # values: VIRTUAL_MACHINE; OPTIONAL | ||
| 45 | VmServer => { | ||
| 46 | VmManagerName => 'MyVmManagerName', # OPTIONAL | ||
| 47 | VmManagerType => 'VSPHERE' | ||
| 48 | , # values: VSPHERE, SCVMM, HYPERV-MANAGER; OPTIONAL | ||
| 49 | VmName => 'MyVmName', # OPTIONAL | ||
| 50 | VmPath => 'MyVmPath', # OPTIONAL | ||
| 51 | VmServerAddress => { | ||
| 52 | VmId => 'MyVmId', # OPTIONAL | ||
| 53 | VmManagerId => 'MyVmManagerId', # OPTIONAL | ||
| 54 | }, # OPTIONAL | ||
| 55 | }, # OPTIONAL | ||
| 56 | }, # OPTIONAL | ||
| 57 | ServerReplicationParameters => { | ||
| 58 | Encrypted => 1, # OPTIONAL | ||
| 59 | Frequency => 1, # OPTIONAL | ||
| 60 | KmsKeyId => 'MyKmsKeyId', # OPTIONAL | ||
| 61 | LicenseType => 'AWS', # values: AWS, BYOL; OPTIONAL | ||
| 62 | NumberOfRecentAmisToKeep => 1, # OPTIONAL | ||
| 63 | RunOnce => 1, # OPTIONAL | ||
| 64 | SeedTime => '1970-01-01T01:00:00', # OPTIONAL | ||
| 65 | }, # OPTIONAL | ||
| 66 | }, | ||
| 67 | ... | ||
| 68 | ], # OPTIONAL | ||
| 69 | }, | ||
| 70 | ... | ||
| 71 | ], # OPTIONAL | ||
| 72 | ); | ||
| 73 | |||
| 74 | 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. | ||
| 75 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sms/PutAppReplicationConfiguration> | ||
| 76 | |||
| 77 | =head1 ATTRIBUTES | ||
| 78 | |||
| 79 | |||
| 80 | =head2 AppId => Str | ||
| 81 | |||
| 82 | The ID of the application. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 ServerGroupReplicationConfigurations => ArrayRef[L<Paws::SMS::ServerGroupReplicationConfiguration>] | ||
| 87 | |||
| 88 | Information about the replication configurations for server groups in | ||
| 89 | the application. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head1 SEE ALSO | ||
| 95 | |||
| 96 | This class forms part of L<Paws>, documenting arguments for method PutAppReplicationConfiguration in L<Paws::SMS> | ||
| 97 | |||
| 98 | =head1 BUGS and CONTRIBUTIONS | ||
| 99 | |||
| 100 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 101 | |||
| 102 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 103 | |||
| 104 | =cut | ||
| 105 |