« blib/lib/Paws/MigrationHubConfig/GetHomeRegionResult.pm
↑ Summary
blib/lib/Paws/MigrationHubConfig/Target.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MigrationHubConfig::HomeRegionControl; | ||
| 3 | use Moose; | ||
| 4 | has ControlId => (is => 'ro', isa => 'Str'); | ||
| 5 | has HomeRegion => (is => 'ro', isa => 'Str'); | ||
| 6 | has RequestedTime => (is => 'ro', isa => 'Str'); | ||
| 7 | has Target => (is => 'ro', isa => 'Paws::MigrationHubConfig::Target'); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::MigrationHubConfig::HomeRegionControl | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::MigrationHubConfig::HomeRegionControl object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { ControlId => $value, ..., Target => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::MigrationHubConfig::HomeRegionControl object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->ControlId | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | A home region control is an object that specifies the home region for | ||
| 40 | an account, with some additional information. It contains a target | ||
| 41 | (always of type C<ACCOUNT>), an ID, and a time at which the home region | ||
| 42 | was set. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 ControlId => Str | ||
| 48 | |||
| 49 | A unique identifier that's generated for each home region control. It's | ||
| 50 | always a string that begins with "hrc-" followed by 12 lowercase | ||
| 51 | letters and numbers. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 HomeRegion => Str | ||
| 55 | |||
| 56 | The AWS Region that's been set as home region. For example, "us-west-2" | ||
| 57 | or "eu-central-1" are valid home regions. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 RequestedTime => Str | ||
| 61 | |||
| 62 | A timestamp representing the time when the customer called | ||
| 63 | C<CreateHomeregionControl> and set the home region for the account. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 Target => L<Paws::MigrationHubConfig::Target> | ||
| 67 | |||
| 68 | The target parameter specifies the identifier to which the home region | ||
| 69 | is applied, which is always an C<ACCOUNT>. It applies the home region | ||
| 70 | to the current C<ACCOUNT>. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head1 SEE ALSO | ||
| 75 | |||
| 76 | This class forms part of L<Paws>, describing an object used in L<Paws::MigrationHubConfig> | ||
| 77 | |||
| 78 | =head1 BUGS and CONTRIBUTIONS | ||
| 79 | |||
| 80 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 81 | |||
| 82 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 83 | |||
| 84 | =cut | ||
| 85 |