« blib/lib/Paws/EMR/CreateSecurityConfigurationOutput.pm
↑ Summary
blib/lib/Paws/EMR/CreateStudioOutput.pm »
| 1 | |||
| 2 | package Paws::EMR::CreateStudio; | ||
| 3 | use Moose; | ||
| 4 | has AuthMode => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has DefaultS3Location => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Description => (is => 'ro', isa => 'Str'); | ||
| 7 | has EngineSecurityGroupId => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has ServiceRole => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | has SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | ||
| 11 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EMR::Tag]'); | ||
| 12 | has UserRole => (is => 'ro', isa => 'Str', required => 1); | ||
| 13 | has VpcId => (is => 'ro', isa => 'Str', required => 1); | ||
| 14 | has WorkspaceSecurityGroupId => (is => 'ro', isa => 'Str', required => 1); | ||
| 15 | |||
| 16 | use MooseX::ClassAttribute; | ||
| 17 | |||
| 18 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateStudio'); | ||
| 19 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EMR::CreateStudioOutput'); | ||
| 20 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 21 | 1; | ||
| 22 | |||
| 23 | ### main pod documentation begin ### | ||
| 24 | |||
| 25 | =head1 NAME | ||
| 26 | |||
| 27 | Paws::EMR::CreateStudio - Arguments for method CreateStudio on L<Paws::EMR> | ||
| 28 | |||
| 29 | =head1 DESCRIPTION | ||
| 30 | |||
| 31 | This class represents the parameters used for calling the method CreateStudio on the | ||
| 32 | L<Amazon Elastic MapReduce|Paws::EMR> service. Use the attributes of this class | ||
| 33 | as arguments to method CreateStudio. | ||
| 34 | |||
| 35 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateStudio. | ||
| 36 | |||
| 37 | =head1 SYNOPSIS | ||
| 38 | |||
| 39 | my $elasticmapreduce = Paws->service('EMR'); | ||
| 40 | my $CreateStudioOutput = $elasticmapreduce->CreateStudio( | ||
| 41 | AuthMode => 'SSO', | ||
| 42 | DefaultS3Location => 'MyXmlString', | ||
| 43 | EngineSecurityGroupId => 'MyXmlStringMaxLen256', | ||
| 44 | Name => 'MyXmlStringMaxLen256', | ||
| 45 | ServiceRole => 'MyXmlString', | ||
| 46 | SubnetIds => [ 'MyString', ... ], | ||
| 47 | UserRole => 'MyXmlString', | ||
| 48 | VpcId => 'MyXmlStringMaxLen256', | ||
| 49 | WorkspaceSecurityGroupId => 'MyXmlStringMaxLen256', | ||
| 50 | Description => 'MyXmlStringMaxLen256', # OPTIONAL | ||
| 51 | Tags => [ | ||
| 52 | { | ||
| 53 | Key => 'MyString', | ||
| 54 | Value => 'MyString', | ||
| 55 | }, | ||
| 56 | ... | ||
| 57 | ], # OPTIONAL | ||
| 58 | ); | ||
| 59 | |||
| 60 | # Results: | ||
| 61 | my $StudioId = $CreateStudioOutput->StudioId; | ||
| 62 | my $Url = $CreateStudioOutput->Url; | ||
| 63 | |||
| 64 | # Returns a L<Paws::EMR::CreateStudioOutput> object. | ||
| 65 | |||
| 66 | 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. | ||
| 67 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce/CreateStudio> | ||
| 68 | |||
| 69 | =head1 ATTRIBUTES | ||
| 70 | |||
| 71 | |||
| 72 | =head2 B<REQUIRED> AuthMode => Str | ||
| 73 | |||
| 74 | Specifies whether the Studio authenticates users using single sign-on | ||
| 75 | (SSO) or IAM. Amazon EMR Studio currently only supports SSO | ||
| 76 | authentication. | ||
| 77 | |||
| 78 | Valid values are: C<"SSO">, C<"IAM"> | ||
| 79 | |||
| 80 | =head2 B<REQUIRED> DefaultS3Location => Str | ||
| 81 | |||
| 82 | The Amazon S3 location to back up Amazon EMR Studio Workspaces and | ||
| 83 | notebook files. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head2 Description => Str | ||
| 88 | |||
| 89 | A detailed description of the Amazon EMR Studio. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head2 B<REQUIRED> EngineSecurityGroupId => Str | ||
| 94 | |||
| 95 | The ID of the Amazon EMR Studio Engine security group. The Engine | ||
| 96 | security group allows inbound network traffic from the Workspace | ||
| 97 | security group, and it must be in the same VPC specified by C<VpcId>. | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | =head2 B<REQUIRED> Name => Str | ||
| 102 | |||
| 103 | A descriptive name for the Amazon EMR Studio. | ||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | =head2 B<REQUIRED> ServiceRole => Str | ||
| 108 | |||
| 109 | The IAM role that will be assumed by the Amazon EMR Studio. The service | ||
| 110 | role provides a way for Amazon EMR Studio to interoperate with other | ||
| 111 | AWS services. | ||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | =head2 B<REQUIRED> SubnetIds => ArrayRef[Str|Undef] | ||
| 116 | |||
| 117 | A list of subnet IDs to associate with the Amazon EMR Studio. A Studio | ||
| 118 | can have a maximum of 5 subnets. The subnets must belong to the VPC | ||
| 119 | specified by C<VpcId>. Studio users can create a Workspace in any of | ||
| 120 | the specified subnets. | ||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | =head2 Tags => ArrayRef[L<Paws::EMR::Tag>] | ||
| 125 | |||
| 126 | A list of tags to associate with the Amazon EMR Studio. Tags are | ||
| 127 | user-defined key-value pairs that consist of a required key string with | ||
| 128 | a maximum of 128 characters, and an optional value string with a | ||
| 129 | maximum of 256 characters. | ||
| 130 | |||
| 131 | |||
| 132 | |||
| 133 | =head2 B<REQUIRED> UserRole => Str | ||
| 134 | |||
| 135 | The IAM user role that will be assumed by users and groups logged in to | ||
| 136 | an Amazon EMR Studio. The permissions attached to this IAM role can be | ||
| 137 | scoped down for each user or group using session policies. | ||
| 138 | |||
| 139 | |||
| 140 | |||
| 141 | =head2 B<REQUIRED> VpcId => Str | ||
| 142 | |||
| 143 | The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate | ||
| 144 | with the Studio. | ||
| 145 | |||
| 146 | |||
| 147 | |||
| 148 | =head2 B<REQUIRED> WorkspaceSecurityGroupId => Str | ||
| 149 | |||
| 150 | The ID of the Amazon EMR Studio Workspace security group. The Workspace | ||
| 151 | security group allows outbound network traffic to resources in the | ||
| 152 | Engine security group, and it must be in the same VPC specified by | ||
| 153 | C<VpcId>. | ||
| 154 | |||
| 155 | |||
| 156 | |||
| 157 | |||
| 158 | =head1 SEE ALSO | ||
| 159 | |||
| 160 | This class forms part of L<Paws>, documenting arguments for method CreateStudio in L<Paws::EMR> | ||
| 161 | |||
| 162 | =head1 BUGS and CONTRIBUTIONS | ||
| 163 | |||
| 164 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 165 | |||
| 166 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 167 | |||
| 168 | =cut | ||
| 169 |