« blib/lib/Paws/WellArchitected/UntagResourceOutput.pm
↑ Summary
blib/lib/Paws/WellArchitected/UpdateAnswerOutput.pm »
| 1 | |||
| 2 | package Paws::WellArchitected::UpdateAnswer; | ||
| 3 | use Moose; | ||
| 4 | has IsApplicable => (is => 'ro', isa => 'Bool'); | ||
| 5 | has LensAlias => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'LensAlias', required => 1); | ||
| 6 | has Notes => (is => 'ro', isa => 'Str'); | ||
| 7 | has QuestionId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'QuestionId', required => 1); | ||
| 8 | has SelectedChoices => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 9 | has WorkloadId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'WorkloadId', required => 1); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAnswer'); | ||
| 14 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/workloads/{WorkloadId}/lensReviews/{LensAlias}/answers/{QuestionId}'); | ||
| 15 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WellArchitected::UpdateAnswerOutput'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::WellArchitected::UpdateAnswer - Arguments for method UpdateAnswer on L<Paws::WellArchitected> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method UpdateAnswer on the | ||
| 28 | L<AWS Well-Architected Tool|Paws::WellArchitected> service. Use the attributes of this class | ||
| 29 | as arguments to method UpdateAnswer. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAnswer. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $wellarchitected = Paws->service('WellArchitected'); | ||
| 36 | my $UpdateAnswerOutput = $wellarchitected->UpdateAnswer( | ||
| 37 | LensAlias => 'MyLensAlias', | ||
| 38 | QuestionId => 'MyQuestionId', | ||
| 39 | WorkloadId => 'MyWorkloadId', | ||
| 40 | IsApplicable => 1, # OPTIONAL | ||
| 41 | Notes => 'MyNotes', # OPTIONAL | ||
| 42 | SelectedChoices => [ | ||
| 43 | 'MyChoiceId', ... # min: 1, max: 64 | ||
| 44 | ], # OPTIONAL | ||
| 45 | ); | ||
| 46 | |||
| 47 | # Results: | ||
| 48 | my $Answer = $UpdateAnswerOutput->Answer; | ||
| 49 | my $LensAlias = $UpdateAnswerOutput->LensAlias; | ||
| 50 | my $WorkloadId = $UpdateAnswerOutput->WorkloadId; | ||
| 51 | |||
| 52 | # Returns a L<Paws::WellArchitected::UpdateAnswerOutput> object. | ||
| 53 | |||
| 54 | 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. | ||
| 55 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/wellarchitected/UpdateAnswer> | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 IsApplicable => Bool | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> LensAlias => Str | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 Notes => Str | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> QuestionId => Str | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 SelectedChoices => ArrayRef[Str|Undef] | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 B<REQUIRED> WorkloadId => Str | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head1 SEE ALSO | ||
| 98 | |||
| 99 | This class forms part of L<Paws>, documenting arguments for method UpdateAnswer in L<Paws::WellArchitected> | ||
| 100 | |||
| 101 | =head1 BUGS and CONTRIBUTIONS | ||
| 102 | |||
| 103 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 104 | |||
| 105 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 106 | |||
| 107 | =cut | ||
| 108 |