blib/lib/Paws/SageMaker/UpdateWorkforce.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::UpdateWorkforce;
3 use Moose;
4 has OidcConfig => (is => 'ro', isa => 'Paws::SageMaker::OidcConfig');
5 has SourceIpConfig => (is => 'ro', isa => 'Paws::SageMaker::SourceIpConfig');
6 has WorkforceName => (is => 'ro', isa => 'Str', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateWorkforce');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::UpdateWorkforceResponse');
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::UpdateWorkforce - Arguments for method UpdateWorkforce on L<Paws::SageMaker>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method UpdateWorkforce on the
24 L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class
25 as arguments to method UpdateWorkforce.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateWorkforce.
28  
29 =head1 SYNOPSIS
30  
31 my $api.sagemaker = Paws->service('SageMaker');
32 my $UpdateWorkforceResponse = $api . sagemaker->UpdateWorkforce(
33 WorkforceName => 'MyWorkforceName',
34 OidcConfig => {
35 AuthorizationEndpoint => 'MyOidcEndpoint', # max: 500
36 ClientId => 'MyClientId', # min: 1, max: 1024
37 ClientSecret => 'MyClientSecret', # min: 1, max: 1024
38 Issuer => 'MyOidcEndpoint', # max: 500
39 JwksUri => 'MyOidcEndpoint', # max: 500
40 LogoutEndpoint => 'MyOidcEndpoint', # max: 500
41 TokenEndpoint => 'MyOidcEndpoint', # max: 500
42 UserInfoEndpoint => 'MyOidcEndpoint', # max: 500
43  
44 }, # OPTIONAL
45 SourceIpConfig => {
46 Cidrs => [
47 'MyCidr', ... # min: 4, max: 64
48 ],
49  
50 }, # OPTIONAL
51 );
52  
53 # Results:
54 my $Workforce = $UpdateWorkforceResponse->Workforce;
55  
56 # Returns a L<Paws::SageMaker::UpdateWorkforceResponse> object.
57  
58 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.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/UpdateWorkforce>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 OidcConfig => L<Paws::SageMaker::OidcConfig>
65  
66 Use this parameter to update your OIDC Identity Provider (IdP)
67 configuration for a workforce made using your own IdP.
68  
69  
70  
71 =head2 SourceIpConfig => L<Paws::SageMaker::SourceIpConfig>
72  
73 A list of one to ten worker IP address ranges (CIDRs
74 (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
75 that can be used to access tasks assigned to this workforce.
76  
77 Maximum: Ten CIDR values
78  
79  
80  
81 =head2 B<REQUIRED> WorkforceName => Str
82  
83 The name of the private workforce that you want to update. You can find
84 your workforce name by using the operation.
85  
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, documenting arguments for method UpdateWorkforce in L<Paws::SageMaker>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100