NAME
Paws::SageMaker::CreateArtifact - Arguments for method CreateArtifact on Paws::SageMaker
DESCRIPTION
This class represents the parameters used for calling the method CreateArtifact on the Amazon SageMaker Service service. Use the attributes of this class as arguments to method CreateArtifact.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateArtifact.
SYNOPSIS
my $api.sagemaker = Paws->service('SageMaker');
my $CreateArtifactResponse = $api . sagemaker->CreateArtifact(
ArtifactType => 'MyString256',
Source => {
SourceUri => 'MyString2048', # max: 2048
SourceTypes => [
{
SourceIdType =>
'MD5Hash', # values: MD5Hash, S3ETag, S3Version, Custom
Value => 'MyString256', # max: 256
},
...
], # OPTIONAL
},
ArtifactName => 'MyExperimentEntityName', # OPTIONAL
MetadataProperties => {
CommitId => 'MyMetadataPropertyValue', # max: 1024; OPTIONAL
GeneratedBy => 'MyMetadataPropertyValue', # max: 1024; OPTIONAL
ProjectId => 'MyMetadataPropertyValue', # max: 1024; OPTIONAL
Repository => 'MyMetadataPropertyValue', # max: 1024; OPTIONAL
}, # OPTIONAL
Properties => {
'MyStringParameterValue' =>
'MyStringParameterValue', # key: max: 256, value: max: 256
}, # OPTIONAL
Tags => [
{
Key => 'MyTagKey', # min: 1, max: 128
Value => 'MyTagValue', # max: 256
},
...
], # OPTIONAL
);
# Results:
my $ArtifactArn = $CreateArtifactResponse->ArtifactArn;
# Returns a L<Paws::SageMaker::CreateArtifactResponse> 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/CreateArtifact
ATTRIBUTES
ArtifactName => Str
The name of the artifact. Must be unique to your account in an Amazon Web Services Region.
REQUIRED ArtifactType => Str
The artifact type.
MetadataProperties => Paws::SageMaker::MetadataProperties
Properties => Paws::SageMaker::LineageEntityParameters
A list of properties to add to the artifact.
REQUIRED Source => Paws::SageMaker::ArtifactSource
The ID, ID type, and URI of the source.
Tags => ArrayRef[Paws::SageMaker::Tag]
A list of tags to apply to the artifact.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateArtifact in Paws::SageMaker
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues