« blib/lib/Paws/Kafka/CreateClusterResponse.pm
↑ Summary
blib/lib/Paws/Kafka/CreateConfigurationResponse.pm »
| 1 | |||
| 2 | package Paws::Kafka::CreateConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); | ||
| 5 | has KafkaVersions => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'kafkaVersions'); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name', required => 1); | ||
| 7 | has ServerProperties => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'serverProperties', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateConfiguration'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/configurations'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Kafka::CreateConfigurationResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::Kafka::CreateConfiguration - Arguments for method CreateConfiguration on L<Paws::Kafka> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method CreateConfiguration on the | ||
| 26 | L<Managed Streaming for Kafka|Paws::Kafka> service. Use the attributes of this class | ||
| 27 | as arguments to method CreateConfiguration. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateConfiguration. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $kafka = Paws->service('Kafka'); | ||
| 34 | my $CreateConfigurationResponse = $kafka->CreateConfiguration( | ||
| 35 | Name => 'My__string', | ||
| 36 | ServerProperties => 'Blob__blob', | ||
| 37 | Description => 'My__string', # OPTIONAL | ||
| 38 | KafkaVersions => [ 'My__string', ... ], # OPTIONAL | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $Arn = $CreateConfigurationResponse->Arn; | ||
| 43 | my $CreationTime = $CreateConfigurationResponse->CreationTime; | ||
| 44 | my $LatestRevision = $CreateConfigurationResponse->LatestRevision; | ||
| 45 | my $Name = $CreateConfigurationResponse->Name; | ||
| 46 | my $State = $CreateConfigurationResponse->State; | ||
| 47 | |||
| 48 | # Returns a L<Paws::Kafka::CreateConfigurationResponse> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kafka/CreateConfiguration> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 Description => Str | ||
| 57 | |||
| 58 | The description of the configuration. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 KafkaVersions => ArrayRef[Str|Undef] | ||
| 63 | |||
| 64 | The versions of Apache Kafka with which you can use this MSK | ||
| 65 | configuration. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> Name => Str | ||
| 70 | |||
| 71 | The name of the configuration. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 B<REQUIRED> ServerProperties => Str | ||
| 76 | |||
| 77 | Contents of the server.properties file. When using the API, you must | ||
| 78 | ensure that the contents of the file are base64 encoded. When using the | ||
| 79 | AWS Management Console, the SDK, or the AWS CLI, the contents of | ||
| 80 | server.properties can be in plaintext. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head1 SEE ALSO | ||
| 86 | |||
| 87 | This class forms part of L<Paws>, documenting arguments for method CreateConfiguration in L<Paws::Kafka> | ||
| 88 | |||
| 89 | =head1 BUGS and CONTRIBUTIONS | ||
| 90 | |||
| 91 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 92 | |||
| 93 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 94 | |||
| 95 | =cut | ||
| 96 |