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

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