« blib/lib/Paws/EMRContainers/ContainerProvider.pm
↑ Summary
blib/lib/Paws/EMRContainers/CreateManagedEndpointResponse.pm »
| 1 | |||
| 2 | package Paws::EMRContainers::CreateManagedEndpoint; | ||
| 3 | use Moose; | ||
| 4 | has CertificateArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'certificateArn', required => 1); | ||
| 5 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken', required => 1); | ||
| 6 | has ConfigurationOverrides => (is => 'ro', isa => 'Paws::EMRContainers::ConfigurationOverrides', traits => ['NameInRequest'], request_name => 'configurationOverrides'); | ||
| 7 | has ExecutionRoleArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'executionRoleArn', required => 1); | ||
| 8 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name', required => 1); | ||
| 9 | has ReleaseLabel => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'releaseLabel', required => 1); | ||
| 10 | has Tags => (is => 'ro', isa => 'Paws::EMRContainers::TagMap', traits => ['NameInRequest'], request_name => 'tags'); | ||
| 11 | has Type => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'type', required => 1); | ||
| 12 | has VirtualClusterId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'virtualClusterId', required => 1); | ||
| 13 | |||
| 14 | use MooseX::ClassAttribute; | ||
| 15 | |||
| 16 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateManagedEndpoint'); | ||
| 17 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/virtualclusters/{virtualClusterId}/endpoints'); | ||
| 18 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 19 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EMRContainers::CreateManagedEndpointResponse'); | ||
| 20 | 1; | ||
| 21 | |||
| 22 | ### main pod documentation begin ### | ||
| 23 | |||
| 24 | =head1 NAME | ||
| 25 | |||
| 26 | Paws::EMRContainers::CreateManagedEndpoint - Arguments for method CreateManagedEndpoint on L<Paws::EMRContainers> | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | This class represents the parameters used for calling the method CreateManagedEndpoint on the | ||
| 31 | L<Amazon EMR Containers|Paws::EMRContainers> service. Use the attributes of this class | ||
| 32 | as arguments to method CreateManagedEndpoint. | ||
| 33 | |||
| 34 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateManagedEndpoint. | ||
| 35 | |||
| 36 | =head1 SYNOPSIS | ||
| 37 | |||
| 38 | my $emr-containers = Paws->service('EMRContainers'); | ||
| 39 | my $CreateManagedEndpointResponse = $emr -containers->CreateManagedEndpoint( | ||
| 40 | CertificateArn => 'MyACMCertArn', | ||
| 41 | ClientToken => 'MyClientToken', | ||
| 42 | ExecutionRoleArn => 'MyIAMRoleArn', | ||
| 43 | Name => 'MyResourceNameString', | ||
| 44 | ReleaseLabel => 'MyReleaseLabel', | ||
| 45 | Type => 'MyEndpointType', | ||
| 46 | VirtualClusterId => 'MyResourceIdString', | ||
| 47 | ConfigurationOverrides => { | ||
| 48 | ApplicationConfiguration => [ | ||
| 49 | { | ||
| 50 | Classification => 'MyString1024', # min: 1, max: 1024 | ||
| 51 | Configurations => <ConfigurationList>, | ||
| 52 | Properties => { | ||
| 53 | 'MyString1024' => 'MyString1024' | ||
| 54 | , # key: min: 1, max: 1024, value: min: 1, max: 1024 | ||
| 55 | }, # max: 100; OPTIONAL | ||
| 56 | }, | ||
| 57 | ... | ||
| 58 | ], # max: 100; OPTIONAL | ||
| 59 | MonitoringConfiguration => { | ||
| 60 | CloudWatchMonitoringConfiguration => { | ||
| 61 | LogGroupName => 'MyLogGroupName', # min: 1, max: 512 | ||
| 62 | LogStreamNamePrefix => 'MyString256', # min: 1, max: 256; OPTIONAL | ||
| 63 | }, # OPTIONAL | ||
| 64 | PersistentAppUI => 'ENABLED', # values: ENABLED, DISABLED; OPTIONAL | ||
| 65 | S3MonitoringConfiguration => { | ||
| 66 | LogUri => 'MyUriString', # min: 1, max: 10280 | ||
| 67 | |||
| 68 | }, # OPTIONAL | ||
| 69 | }, # OPTIONAL | ||
| 70 | }, # OPTIONAL | ||
| 71 | Tags => { | ||
| 72 | 'MyString128' => | ||
| 73 | 'MyStringEmpty256', # key: min: 1, max: 128, value: max: 256 | ||
| 74 | }, # OPTIONAL | ||
| 75 | ); | ||
| 76 | |||
| 77 | # Results: | ||
| 78 | my $Arn = $CreateManagedEndpointResponse->Arn; | ||
| 79 | my $Id = $CreateManagedEndpointResponse->Id; | ||
| 80 | my $Name = $CreateManagedEndpointResponse->Name; | ||
| 81 | my $VirtualClusterId = $CreateManagedEndpointResponse->VirtualClusterId; | ||
| 82 | |||
| 83 | # Returns a L<Paws::EMRContainers::CreateManagedEndpointResponse> object. | ||
| 84 | |||
| 85 | 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. | ||
| 86 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/emr-containers/CreateManagedEndpoint> | ||
| 87 | |||
| 88 | =head1 ATTRIBUTES | ||
| 89 | |||
| 90 | |||
| 91 | =head2 B<REQUIRED> CertificateArn => Str | ||
| 92 | |||
| 93 | The certificate ARN of the managed endpoint. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head2 B<REQUIRED> ClientToken => Str | ||
| 98 | |||
| 99 | The client idempotency token for this create call. | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head2 ConfigurationOverrides => L<Paws::EMRContainers::ConfigurationOverrides> | ||
| 104 | |||
| 105 | The configuration settings that will be used to override existing | ||
| 106 | configurations. | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | =head2 B<REQUIRED> ExecutionRoleArn => Str | ||
| 111 | |||
| 112 | The ARN of the execution role. | ||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | =head2 B<REQUIRED> Name => Str | ||
| 117 | |||
| 118 | The name of the managed endpoint. | ||
| 119 | |||
| 120 | |||
| 121 | |||
| 122 | =head2 B<REQUIRED> ReleaseLabel => Str | ||
| 123 | |||
| 124 | The Amazon EMR release version. | ||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | =head2 Tags => L<Paws::EMRContainers::TagMap> | ||
| 129 | |||
| 130 | The tags of the managed endpoint. | ||
| 131 | |||
| 132 | |||
| 133 | |||
| 134 | =head2 B<REQUIRED> Type => Str | ||
| 135 | |||
| 136 | The type of the managed endpoint. | ||
| 137 | |||
| 138 | |||
| 139 | |||
| 140 | =head2 B<REQUIRED> VirtualClusterId => Str | ||
| 141 | |||
| 142 | The ID of the virtual cluster for which a managed endpoint is created. | ||
| 143 | |||
| 144 | |||
| 145 | |||
| 146 | |||
| 147 | =head1 SEE ALSO | ||
| 148 | |||
| 149 | This class forms part of L<Paws>, documenting arguments for method CreateManagedEndpoint in L<Paws::EMRContainers> | ||
| 150 | |||
| 151 | =head1 BUGS and CONTRIBUTIONS | ||
| 152 | |||
| 153 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 154 | |||
| 155 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 156 | |||
| 157 | =cut | ||
| 158 |