| 1 | package Paws::EC2::InstanceMetadataOptionsResponse; | ||
| 2 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | has HttpEndpoint => (is => 'ro', isa => 'Str', request_name => 'httpEndpoint', traits => ['NameInRequest']); | |
| 4 | 1 | has HttpPutResponseHopLimit => (is => 'ro', isa => 'Int', request_name => 'httpPutResponseHopLimit', traits => ['NameInRequest']); | |
| 5 | 1 | has HttpTokens => (is => 'ro', isa => 'Str', request_name => 'httpTokens', traits => ['NameInRequest']); | |
| 6 | 1 | has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']); | |
| 7 | 1 | 1; | |
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::EC2::InstanceMetadataOptionsResponse | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::EC2::InstanceMetadataOptionsResponse object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { HttpEndpoint => $value, ..., State => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::InstanceMetadataOptionsResponse object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->HttpEndpoint | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | This class has no description | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 HttpEndpoint => Str | ||
| 43 | |||
| 44 | This parameter enables or disables the HTTP metadata endpoint on your | ||
| 45 | instances. If the parameter is not specified, the default state is | ||
| 46 | C<enabled>. | ||
| 47 | |||
| 48 | If you specify a value of C<disabled>, you will not be able to access | ||
| 49 | your instance metadata. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 HttpPutResponseHopLimit => Int | ||
| 53 | |||
| 54 | The desired HTTP PUT response hop limit for instance metadata requests. | ||
| 55 | The larger the number, the further instance metadata requests can | ||
| 56 | travel. | ||
| 57 | |||
| 58 | Default: 1 | ||
| 59 | |||
| 60 | Possible values: Integers from 1 to 64 | ||
| 61 | |||
| 62 | |||
| 63 | =head2 HttpTokens => Str | ||
| 64 | |||
| 65 | The state of token usage for your instance metadata requests. If the | ||
| 66 | parameter is not specified in the request, the default state is | ||
| 67 | C<optional>. | ||
| 68 | |||
| 69 | If the state is C<optional>, you can choose to retrieve instance | ||
| 70 | metadata with or without a signed token header on your request. If you | ||
| 71 | retrieve the IAM role credentials without a token, the version 1.0 role | ||
| 72 | credentials are returned. If you retrieve the IAM role credentials | ||
| 73 | using a valid signed token, the version 2.0 role credentials are | ||
| 74 | returned. | ||
| 75 | |||
| 76 | If the state is C<required>, you must send a signed token header with | ||
| 77 | any instance metadata retrieval requests. In this state, retrieving the | ||
| 78 | IAM role credential always returns the version 2.0 credentials; the | ||
| 79 | version 1.0 credentials are not available. | ||
| 80 | |||
| 81 | |||
| 82 | =head2 State => Str | ||
| 83 | |||
| 84 | The state of the metadata option changes. | ||
| 85 | |||
| 86 | C<pending> - The metadata options are being updated and the instance is | ||
| 87 | not ready to process metadata traffic with the new selection. | ||
| 88 | |||
| 89 | C<applied> - The metadata options have been successfully applied on the | ||
| 90 | instance. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head1 SEE ALSO | ||
| 95 | |||
| 96 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 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 | ||