|
NAMEPaws::SageMaker::CreateWorkforce - Arguments for method CreateWorkforce on Paws::SageMaker DESCRIPTIONThis class represents the parameters used for calling the method CreateWorkforce on the Amazon SageMaker Service service. Use the attributes of this class as arguments to method CreateWorkforce. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateWorkforce. SYNOPSIS my $api.sagemaker = Paws->service('SageMaker');
my $CreateWorkforceResponse = $api . sagemaker->CreateWorkforce(
WorkforceName => 'MyWorkforceName',
CognitoConfig => {
ClientId => 'MyClientId', # min: 1, max: 1024
UserPool => 'MyCognitoUserPool', # min: 1, max: 55
}, # OPTIONAL
OidcConfig => {
AuthorizationEndpoint => 'MyOidcEndpoint', # max: 500
ClientId => 'MyClientId', # min: 1, max: 1024
ClientSecret => 'MyClientSecret', # min: 1, max: 1024
Issuer => 'MyOidcEndpoint', # max: 500
JwksUri => 'MyOidcEndpoint', # max: 500
LogoutEndpoint => 'MyOidcEndpoint', # max: 500
TokenEndpoint => 'MyOidcEndpoint', # max: 500
UserInfoEndpoint => 'MyOidcEndpoint', # max: 500
}, # OPTIONAL
SourceIpConfig => {
Cidrs => [
'MyCidr', ... # min: 4, max: 64
],
}, # OPTIONAL
Tags => [
{
Key => 'MyTagKey', # min: 1, max: 128
Value => 'MyTagValue', # max: 256
},
...
], # OPTIONAL
);
# Results:
my $WorkforceArn = $CreateWorkforceResponse->WorkforceArn;
# Returns a L<Paws::SageMaker::CreateWorkforceResponse> object.
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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/CreateWorkforce> ATTRIBUTESCognitoConfig => Paws::SageMaker::CognitoConfigUse this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html). Do not use "OidcConfig" if you specify values for "CognitoConfig". OidcConfig => Paws::SageMaker::OidcConfigUse this parameter to configure a private workforce using your own OIDC Identity Provider. Do not use "CognitoConfig" if you specify values for "OidcConfig". SourceIpConfig => Paws::SageMaker::SourceIpConfigTags => ArrayRef[Paws::SageMaker::Tag]An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define. REQUIRED WorkforceName => StrThe name of the private workforce. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateWorkforce in Paws::SageMaker BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|