« blib/lib/Paws/AuditManager/UpdateAssessmentStatusResponse.pm
↑ Summary
blib/lib/Paws/AuditManager/UpdateControlResponse.pm »
| 1 | |||
| 2 | package Paws::AuditManager::UpdateControl; | ||
| 3 | use Moose; | ||
| 4 | has ActionPlanInstructions => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'actionPlanInstructions'); | ||
| 5 | has ActionPlanTitle => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'actionPlanTitle'); | ||
| 6 | has ControlId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'controlId', required => 1); | ||
| 7 | has ControlMappingSources => (is => 'ro', isa => 'ArrayRef[Paws::AuditManager::ControlMappingSource]', traits => ['NameInRequest'], request_name => 'controlMappingSources', required => 1); | ||
| 8 | has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); | ||
| 9 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name', required => 1); | ||
| 10 | has TestingInformation => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'testingInformation'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateControl'); | ||
| 15 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/controls/{controlId}'); | ||
| 16 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 17 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AuditManager::UpdateControlResponse'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::AuditManager::UpdateControl - Arguments for method UpdateControl on L<Paws::AuditManager> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method UpdateControl on the | ||
| 29 | L<AWS Audit Manager|Paws::AuditManager> service. Use the attributes of this class | ||
| 30 | as arguments to method UpdateControl. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateControl. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $auditmanager = Paws->service('AuditManager'); | ||
| 37 | my $UpdateControlResponse = $auditmanager->UpdateControl( | ||
| 38 | ControlId => 'MyUUID', | ||
| 39 | ControlMappingSources => [ | ||
| 40 | { | ||
| 41 | SourceDescription => 'MySourceDescription', # max: 1000; OPTIONAL | ||
| 42 | SourceFrequency => 'DAILY', # values: DAILY, WEEKLY, MONTHLY; OPTIONAL | ||
| 43 | SourceId => 'MyUUID', # min: 36, max: 36 | ||
| 44 | SourceKeyword => { | ||
| 45 | KeywordInputType => | ||
| 46 | 'SELECT_FROM_LIST', # values: SELECT_FROM_LIST; OPTIONAL | ||
| 47 | KeywordValue => 'MyKeywordValue', # min: 1, max: 100; OPTIONAL | ||
| 48 | }, # OPTIONAL | ||
| 49 | SourceName => 'MySourceName', # min: 1, max: 100; OPTIONAL | ||
| 50 | SourceSetUpOption => 'System_Controls_Mapping' | ||
| 51 | , # values: System_Controls_Mapping, Procedural_Controls_Mapping; OPTIONAL | ||
| 52 | SourceType => 'AWS_Cloudtrail' | ||
| 53 | , # values: AWS_Cloudtrail, AWS_Config, AWS_Security_Hub, AWS_API_Call, MANUAL; OPTIONAL | ||
| 54 | TroubleshootingText => 'MyTroubleshootingText', # max: 1000; OPTIONAL | ||
| 55 | }, | ||
| 56 | ... | ||
| 57 | ], | ||
| 58 | Name => 'MyControlName', | ||
| 59 | ActionPlanInstructions => 'MyActionPlanInstructions', # OPTIONAL | ||
| 60 | ActionPlanTitle => 'MyActionPlanTitle', # OPTIONAL | ||
| 61 | Description => 'MyControlDescription', # OPTIONAL | ||
| 62 | TestingInformation => 'MyTestingInformation', # OPTIONAL | ||
| 63 | ); | ||
| 64 | |||
| 65 | # Results: | ||
| 66 | my $Control = $UpdateControlResponse->Control; | ||
| 67 | |||
| 68 | # Returns a L<Paws::AuditManager::UpdateControlResponse> object. | ||
| 69 | |||
| 70 | 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. | ||
| 71 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/auditmanager/UpdateControl> | ||
| 72 | |||
| 73 | =head1 ATTRIBUTES | ||
| 74 | |||
| 75 | |||
| 76 | =head2 ActionPlanInstructions => Str | ||
| 77 | |||
| 78 | The recommended actions to carry out if the control is not fulfilled. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head2 ActionPlanTitle => Str | ||
| 83 | |||
| 84 | The title of the action plan for remediating the control. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 B<REQUIRED> ControlId => Str | ||
| 89 | |||
| 90 | The identifier for the specified control. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 B<REQUIRED> ControlMappingSources => ArrayRef[L<Paws::AuditManager::ControlMappingSource>] | ||
| 95 | |||
| 96 | The data mapping sources for the specified control. | ||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | =head2 Description => Str | ||
| 101 | |||
| 102 | The optional description of the control. | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | =head2 B<REQUIRED> Name => Str | ||
| 107 | |||
| 108 | The name of the control to be updated. | ||
| 109 | |||
| 110 | |||
| 111 | |||
| 112 | =head2 TestingInformation => Str | ||
| 113 | |||
| 114 | The steps that to follow to determine if the control has been | ||
| 115 | satisfied. | ||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | =head1 SEE ALSO | ||
| 121 | |||
| 122 | This class forms part of L<Paws>, documenting arguments for method UpdateControl in L<Paws::AuditManager> | ||
| 123 | |||
| 124 | =head1 BUGS and CONTRIBUTIONS | ||
| 125 | |||
| 126 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 127 | |||
| 128 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 129 | |||
| 130 | =cut | ||
| 131 |