blib/lib/Paws/SageMaker/UpdateDomain.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SageMaker::UpdateDomain;
3 use Moose;
4 has DefaultUserSettings => (is => 'ro', isa => 'Paws::SageMaker::UserSettings');
5 has DomainId => (is => 'ro', isa => 'Str', required => 1);
6  
7 use MooseX::ClassAttribute;
8  
9 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateDomain');
10 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::UpdateDomainResponse');
11 class_has _result_key => (isa => 'Str', is => 'ro');
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::SageMaker::UpdateDomain - Arguments for method UpdateDomain on L<Paws::SageMaker>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method UpdateDomain on the
23 L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class
24 as arguments to method UpdateDomain.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDomain.
27  
28 =head1 SYNOPSIS
29  
30 my $api.sagemaker = Paws->service('SageMaker');
31 my $UpdateDomainResponse = $api . sagemaker->UpdateDomain(
32 DomainId => 'MyDomainId',
33 DefaultUserSettings => {
34 ExecutionRole => 'MyRoleArn', # min: 20, max: 2048; OPTIONAL
35 JupyterServerAppSettings => {
36 DefaultResourceSpec => {
37 InstanceType => 'system'
38 , # values: system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge; OPTIONAL
39 SageMakerImageArn => 'MyImageArn', # max: 256; OPTIONAL
40 SageMakerImageVersionArn =>
41 'MyImageVersionArn', # max: 256; OPTIONAL
42 }, # OPTIONAL
43 }, # OPTIONAL
44 KernelGatewayAppSettings => {
45 CustomImages => [
46 {
47 AppImageConfigName => 'MyAppImageConfigName', # max: 63
48 ImageName => 'MyImageName', # min: 1, max: 63
49 ImageVersionNumber => 1, # OPTIONAL
50 },
51 ...
52 ], # max: 30; OPTIONAL
53 DefaultResourceSpec => {
54 InstanceType => 'system'
55 , # values: system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge; OPTIONAL
56 SageMakerImageArn => 'MyImageArn', # max: 256; OPTIONAL
57 SageMakerImageVersionArn =>
58 'MyImageVersionArn', # max: 256; OPTIONAL
59 }, # OPTIONAL
60 }, # OPTIONAL
61 SecurityGroups => [
62 'MySecurityGroupId', ... # max: 32
63 ], # max: 5; OPTIONAL
64 SharingSettings => {
65 NotebookOutputOption =>
66 'Allowed', # values: Allowed, Disabled; OPTIONAL
67 S3KmsKeyId => 'MyKmsKeyId', # max: 2048; OPTIONAL
68 S3OutputPath => 'MyS3Uri', # max: 1024; OPTIONAL
69 }, # OPTIONAL
70 TensorBoardAppSettings => {
71 DefaultResourceSpec => {
72 InstanceType => 'system'
73 , # values: system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge; OPTIONAL
74 SageMakerImageArn => 'MyImageArn', # max: 256; OPTIONAL
75 SageMakerImageVersionArn =>
76 'MyImageVersionArn', # max: 256; OPTIONAL
77 }, # OPTIONAL
78 }, # OPTIONAL
79 }, # OPTIONAL
80 );
81  
82 # Results:
83 my $DomainArn = $UpdateDomainResponse->DomainArn;
84  
85 # Returns a L<Paws::SageMaker::UpdateDomainResponse> object.
86  
87 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.
88 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/UpdateDomain>
89  
90 =head1 ATTRIBUTES
91  
92  
93 =head2 DefaultUserSettings => L<Paws::SageMaker::UserSettings>
94  
95 A collection of settings.
96  
97  
98  
99 =head2 B<REQUIRED> DomainId => Str
100  
101 The ID of the domain to be updated.
102  
103  
104  
105  
106 =head1 SEE ALSO
107  
108 This class forms part of L<Paws>, documenting arguments for method UpdateDomain in L<Paws::SageMaker>
109  
110 =head1 BUGS and CONTRIBUTIONS
111  
112 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
113  
114 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
115  
116 =cut
117