| 1 | |||
| 2 | package Paws::Kinesis::StopStreamEncryption; | ||
| 3 | use Moose; | ||
| 4 | has EncryptionType => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has KeyId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has StreamName => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'StopStreamEncryption'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Kinesis::StopStreamEncryption - Arguments for method StopStreamEncryption on L<Paws::Kinesis> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method StopStreamEncryption on the | ||
| 24 | L<Amazon Kinesis|Paws::Kinesis> service. Use the attributes of this class | ||
| 25 | as arguments to method StopStreamEncryption. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StopStreamEncryption. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $kinesis = Paws->service('Kinesis'); | ||
| 32 | $kinesis->StopStreamEncryption( | ||
| 33 | EncryptionType => 'NONE', | ||
| 34 | KeyId => 'MyKeyId', | ||
| 35 | StreamName => 'MyStreamName', | ||
| 36 | |||
| 37 | ); | ||
| 38 | |||
| 39 | 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. | ||
| 40 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kinesis/StopStreamEncryption> | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 B<REQUIRED> EncryptionType => Str | ||
| 46 | |||
| 47 | The encryption type. The only valid value is C<KMS>. | ||
| 48 | |||
| 49 | Valid values are: C<"NONE">, C<"KMS"> | ||
| 50 | |||
| 51 | =head2 B<REQUIRED> KeyId => Str | ||
| 52 | |||
| 53 | The GUID for the customer-managed AWS KMS key to use for encryption. | ||
| 54 | This value can be a globally unique identifier, a fully specified | ||
| 55 | Amazon Resource Name (ARN) to either an alias or a key, or an alias | ||
| 56 | name prefixed by "alias/".You can also use a master key owned by | ||
| 57 | Kinesis Data Streams by specifying the alias C<aws/kinesis>. | ||
| 58 | |||
| 59 | =over | ||
| 60 | |||
| 61 | =item * | ||
| 62 | |||
| 63 | Key ARN example: | ||
| 64 | C<arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012> | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | Alias ARN example: | ||
| 69 | C<arn:aws:kms:us-east-1:123456789012:alias/MyAliasName> | ||
| 70 | |||
| 71 | =item * | ||
| 72 | |||
| 73 | Globally unique key ID example: C<12345678-1234-1234-1234-123456789012> | ||
| 74 | |||
| 75 | =item * | ||
| 76 | |||
| 77 | Alias name example: C<alias/MyAliasName> | ||
| 78 | |||
| 79 | =item * | ||
| 80 | |||
| 81 | Master key owned by Kinesis Data Streams: C<alias/aws/kinesis> | ||
| 82 | |||
| 83 | =back | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 B<REQUIRED> StreamName => Str | ||
| 89 | |||
| 90 | The name of the stream on which to stop encrypting records. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head1 SEE ALSO | ||
| 96 | |||
| 97 | This class forms part of L<Paws>, documenting arguments for method StopStreamEncryption in L<Paws::Kinesis> | ||
| 98 | |||
| 99 | =head1 BUGS and CONTRIBUTIONS | ||
| 100 | |||
| 101 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 102 | |||
| 103 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 104 | |||
| 105 | =cut | ||
| 106 |