« blib/lib/Paws/SageMaker/CreateApp.pm
↑ Summary
blib/lib/Paws/SageMaker/CreateAppImageConfigResponse.pm »
| 1 | |||
| 2 | package Paws::SageMaker::CreateAppImageConfig; | ||
| 3 | use Moose; | ||
| 4 | has AppImageConfigName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has KernelGatewayImageConfig => (is => 'ro', isa => 'Paws::SageMaker::KernelGatewayImageConfig'); | ||
| 6 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::SageMaker::Tag]'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateAppImageConfig'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::CreateAppImageConfigResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::SageMaker::CreateAppImageConfig - Arguments for method CreateAppImageConfig on L<Paws::SageMaker> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method CreateAppImageConfig on the | ||
| 24 | L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class | ||
| 25 | as arguments to method CreateAppImageConfig. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAppImageConfig. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $api.sagemaker = Paws->service('SageMaker'); | ||
| 32 | my $CreateAppImageConfigResponse = $api . sagemaker->CreateAppImageConfig( | ||
| 33 | AppImageConfigName => 'MyAppImageConfigName', | ||
| 34 | KernelGatewayImageConfig => { | ||
| 35 | KernelSpecs => [ | ||
| 36 | { | ||
| 37 | Name => 'MyKernelName', # max: 1024 | ||
| 38 | DisplayName => 'MyKernelDisplayName', # max: 1024; OPTIONAL | ||
| 39 | }, | ||
| 40 | ... | ||
| 41 | ], # min: 1, max: 1 | ||
| 42 | FileSystemConfig => { | ||
| 43 | DefaultGid => 1, # max: 65535; OPTIONAL | ||
| 44 | DefaultUid => 1, # max: 65535; OPTIONAL | ||
| 45 | MountPath => 'MyMountPath', # max: 1024; OPTIONAL | ||
| 46 | }, # OPTIONAL | ||
| 47 | }, # OPTIONAL | ||
| 48 | Tags => [ | ||
| 49 | { | ||
| 50 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 51 | Value => 'MyTagValue', # max: 256 | ||
| 52 | |||
| 53 | }, | ||
| 54 | ... | ||
| 55 | ], # OPTIONAL | ||
| 56 | ); | ||
| 57 | |||
| 58 | # Results: | ||
| 59 | my $AppImageConfigArn = $CreateAppImageConfigResponse->AppImageConfigArn; | ||
| 60 | |||
| 61 | # Returns a L<Paws::SageMaker::CreateAppImageConfigResponse> object. | ||
| 62 | |||
| 63 | 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. | ||
| 64 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/CreateAppImageConfig> | ||
| 65 | |||
| 66 | =head1 ATTRIBUTES | ||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> AppImageConfigName => Str | ||
| 70 | |||
| 71 | The name of the AppImageConfig. Must be unique to your account. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 KernelGatewayImageConfig => L<Paws::SageMaker::KernelGatewayImageConfig> | ||
| 76 | |||
| 77 | The KernelGatewayImageConfig. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 Tags => ArrayRef[L<Paws::SageMaker::Tag>] | ||
| 82 | |||
| 83 | A list of tags to apply to the AppImageConfig. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head1 SEE ALSO | ||
| 89 | |||
| 90 | This class forms part of L<Paws>, documenting arguments for method CreateAppImageConfig in L<Paws::SageMaker> | ||
| 91 | |||
| 92 | =head1 BUGS and CONTRIBUTIONS | ||
| 93 | |||
| 94 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 95 | |||
| 96 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 97 | |||
| 98 | =cut | ||
| 99 |