« blib/lib/Paws/IoT/UpdateAccountAuditConfigurationResponse.pm
↑ Summary
blib/lib/Paws/IoT/UpdateAuditSuppressionResponse.pm »
| 1 | |||
| 2 | package Paws::IoT::UpdateAuditSuppression; | ||
| 3 | use Moose; | ||
| 4 | has CheckName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'checkName', required => 1); | ||
| 5 | has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); | ||
| 6 | has ExpirationDate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'expirationDate'); | ||
| 7 | has ResourceIdentifier => (is => 'ro', isa => 'Paws::IoT::ResourceIdentifier', traits => ['NameInRequest'], request_name => 'resourceIdentifier', required => 1); | ||
| 8 | has SuppressIndefinitely => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'suppressIndefinitely'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAuditSuppression'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/audit/suppressions/update'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::UpdateAuditSuppressionResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::IoT::UpdateAuditSuppression - Arguments for method UpdateAuditSuppression on L<Paws::IoT> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdateAuditSuppression on the | ||
| 27 | L<AWS IoT|Paws::IoT> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdateAuditSuppression. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAuditSuppression. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $iot = Paws->service('IoT'); | ||
| 35 | my $UpdateAuditSuppressionResponse = $iot->UpdateAuditSuppression( | ||
| 36 | CheckName => 'MyAuditCheckName', | ||
| 37 | ResourceIdentifier => { | ||
| 38 | Account => 'MyAwsAccountId', # min: 12, max: 12; OPTIONAL | ||
| 39 | CaCertificateId => 'MyCertificateId', # min: 64, max: 64; OPTIONAL | ||
| 40 | ClientId => 'MyClientId', # OPTIONAL | ||
| 41 | CognitoIdentityPoolId => 'MyCognitoIdentityPoolId', # OPTIONAL | ||
| 42 | DeviceCertificateId => 'MyCertificateId', # min: 64, max: 64; OPTIONAL | ||
| 43 | IamRoleArn => 'MyRoleArn', # min: 20, max: 2048; OPTIONAL | ||
| 44 | PolicyVersionIdentifier => { | ||
| 45 | PolicyName => 'MyPolicyName', # min: 1, max: 128; OPTIONAL | ||
| 46 | PolicyVersionId => 'MyPolicyVersionId', # OPTIONAL | ||
| 47 | }, # OPTIONAL | ||
| 48 | RoleAliasArn => 'MyRoleAliasArn', # min: 1, max: 2048; OPTIONAL | ||
| 49 | }, | ||
| 50 | Description => 'MyAuditDescription', # OPTIONAL | ||
| 51 | ExpirationDate => '1970-01-01T01:00:00', # OPTIONAL | ||
| 52 | SuppressIndefinitely => 1, # OPTIONAL | ||
| 53 | ); | ||
| 54 | |||
| 55 | 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. | ||
| 56 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/UpdateAuditSuppression> | ||
| 57 | |||
| 58 | =head1 ATTRIBUTES | ||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> CheckName => Str | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 Description => Str | ||
| 68 | |||
| 69 | The description of the audit suppression. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 ExpirationDate => Str | ||
| 74 | |||
| 75 | The expiration date (epoch timestamp in seconds) that you want the | ||
| 76 | suppression to adhere to. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 B<REQUIRED> ResourceIdentifier => L<Paws::IoT::ResourceIdentifier> | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 SuppressIndefinitely => Bool | ||
| 87 | |||
| 88 | Indicates whether a suppression should exist indefinitely or not. | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | This class forms part of L<Paws>, documenting arguments for method UpdateAuditSuppression in L<Paws::IoT> | ||
| 96 | |||
| 97 | =head1 BUGS and CONTRIBUTIONS | ||
| 98 | |||
| 99 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 100 | |||
| 101 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 102 | |||
| 103 | =cut | ||
| 104 |