« blib/lib/Paws/WellArchitected/UpdateShareInvitationOutput.pm
↑ Summary
blib/lib/Paws/WellArchitected/UpdateWorkloadOutput.pm »
| 1 | |||
| 2 | package Paws::WellArchitected::UpdateWorkload; | ||
| 3 | use Moose; | ||
| 4 | has AccountIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 5 | has ArchitecturalDesign => (is => 'ro', isa => 'Str'); | ||
| 6 | has AwsRegions => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 7 | has Description => (is => 'ro', isa => 'Str'); | ||
| 8 | has Environment => (is => 'ro', isa => 'Str'); | ||
| 9 | has ImprovementStatus => (is => 'ro', isa => 'Str'); | ||
| 10 | has Industry => (is => 'ro', isa => 'Str'); | ||
| 11 | has IndustryType => (is => 'ro', isa => 'Str'); | ||
| 12 | has IsReviewOwnerUpdateAcknowledged => (is => 'ro', isa => 'Bool'); | ||
| 13 | has NonAwsRegions => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 14 | has Notes => (is => 'ro', isa => 'Str'); | ||
| 15 | has PillarPriorities => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 16 | has ReviewOwner => (is => 'ro', isa => 'Str'); | ||
| 17 | has WorkloadId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'WorkloadId', required => 1); | ||
| 18 | has WorkloadName => (is => 'ro', isa => 'Str'); | ||
| 19 | |||
| 20 | use MooseX::ClassAttribute; | ||
| 21 | |||
| 22 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateWorkload'); | ||
| 23 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/workloads/{WorkloadId}'); | ||
| 24 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 25 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WellArchitected::UpdateWorkloadOutput'); | ||
| 26 | 1; | ||
| 27 | |||
| 28 | ### main pod documentation begin ### | ||
| 29 | |||
| 30 | =head1 NAME | ||
| 31 | |||
| 32 | Paws::WellArchitected::UpdateWorkload - Arguments for method UpdateWorkload on L<Paws::WellArchitected> | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | This class represents the parameters used for calling the method UpdateWorkload on the | ||
| 37 | L<AWS Well-Architected Tool|Paws::WellArchitected> service. Use the attributes of this class | ||
| 38 | as arguments to method UpdateWorkload. | ||
| 39 | |||
| 40 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateWorkload. | ||
| 41 | |||
| 42 | =head1 SYNOPSIS | ||
| 43 | |||
| 44 | my $wellarchitected = Paws->service('WellArchitected'); | ||
| 45 | my $UpdateWorkloadOutput = $wellarchitected->UpdateWorkload( | ||
| 46 | WorkloadId => 'MyWorkloadId', | ||
| 47 | AccountIds => [ 'MyAwsAccountId', ... ], # OPTIONAL | ||
| 48 | ArchitecturalDesign => 'MyWorkloadArchitecturalDesign', # OPTIONAL | ||
| 49 | AwsRegions => [ | ||
| 50 | 'MyAwsRegion', ... # max: 100 | ||
| 51 | ], # OPTIONAL | ||
| 52 | Description => 'MyWorkloadDescription', # OPTIONAL | ||
| 53 | Environment => 'PRODUCTION', # OPTIONAL | ||
| 54 | ImprovementStatus => 'NOT_APPLICABLE', # OPTIONAL | ||
| 55 | Industry => 'MyWorkloadIndustry', # OPTIONAL | ||
| 56 | IndustryType => 'MyWorkloadIndustryType', # OPTIONAL | ||
| 57 | IsReviewOwnerUpdateAcknowledged => 1, # OPTIONAL | ||
| 58 | NonAwsRegions => [ | ||
| 59 | 'MyWorkloadNonAwsRegion', ... # min: 3, max: 25 | ||
| 60 | ], # OPTIONAL | ||
| 61 | Notes => 'MyNotes', # OPTIONAL | ||
| 62 | PillarPriorities => [ | ||
| 63 | 'MyPillarId', ... # min: 1, max: 64 | ||
| 64 | ], # OPTIONAL | ||
| 65 | ReviewOwner => 'MyWorkloadReviewOwner', # OPTIONAL | ||
| 66 | WorkloadName => 'MyWorkloadName', # OPTIONAL | ||
| 67 | ); | ||
| 68 | |||
| 69 | # Results: | ||
| 70 | my $Workload = $UpdateWorkloadOutput->Workload; | ||
| 71 | |||
| 72 | # Returns a L<Paws::WellArchitected::UpdateWorkloadOutput> object. | ||
| 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/wellarchitected/UpdateWorkload> | ||
| 76 | |||
| 77 | =head1 ATTRIBUTES | ||
| 78 | |||
| 79 | |||
| 80 | =head2 AccountIds => ArrayRef[Str|Undef] | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 ArchitecturalDesign => Str | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | =head2 AwsRegions => ArrayRef[Str|Undef] | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head2 Description => Str | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | =head2 Environment => Str | ||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | Valid values are: C<"PRODUCTION">, C<"PREPRODUCTION"> | ||
| 109 | |||
| 110 | =head2 ImprovementStatus => Str | ||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | Valid values are: C<"NOT_APPLICABLE">, C<"NOT_STARTED">, C<"IN_PROGRESS">, C<"COMPLETE">, C<"RISK_ACKNOWLEDGED"> | ||
| 115 | |||
| 116 | =head2 Industry => Str | ||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | |||
| 121 | |||
| 122 | =head2 IndustryType => Str | ||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | =head2 IsReviewOwnerUpdateAcknowledged => Bool | ||
| 129 | |||
| 130 | Flag indicating whether the workload owner has acknowledged that the | ||
| 131 | I<Review owner> field is required. | ||
| 132 | |||
| 133 | If a B<Review owner> is not added to the workload within 60 days of | ||
| 134 | acknowledgement, access to the workload is restricted until an owner is | ||
| 135 | added. | ||
| 136 | |||
| 137 | |||
| 138 | |||
| 139 | =head2 NonAwsRegions => ArrayRef[Str|Undef] | ||
| 140 | |||
| 141 | |||
| 142 | |||
| 143 | |||
| 144 | |||
| 145 | =head2 Notes => Str | ||
| 146 | |||
| 147 | |||
| 148 | |||
| 149 | |||
| 150 | |||
| 151 | =head2 PillarPriorities => ArrayRef[Str|Undef] | ||
| 152 | |||
| 153 | |||
| 154 | |||
| 155 | |||
| 156 | |||
| 157 | =head2 ReviewOwner => Str | ||
| 158 | |||
| 159 | |||
| 160 | |||
| 161 | |||
| 162 | |||
| 163 | =head2 B<REQUIRED> WorkloadId => Str | ||
| 164 | |||
| 165 | |||
| 166 | |||
| 167 | |||
| 168 | |||
| 169 | =head2 WorkloadName => Str | ||
| 170 | |||
| 171 | |||
| 172 | |||
| 173 | |||
| 174 | |||
| 175 | |||
| 176 | =head1 SEE ALSO | ||
| 177 | |||
| 178 | This class forms part of L<Paws>, documenting arguments for method UpdateWorkload in L<Paws::WellArchitected> | ||
| 179 | |||
| 180 | =head1 BUGS and CONTRIBUTIONS | ||
| 181 | |||
| 182 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 183 | |||
| 184 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 185 | |||
| 186 | =cut | ||
| 187 |