5.0.0 • Published 7 years ago

@datafire/amazonaws_sagemaker v5.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@datafire/amazonaws_sagemaker

Client library for Amazon SageMaker Service

Installation and Usage

npm install --save @datafire/amazonaws_sagemaker
let amazonaws_sagemaker = require('@datafire/amazonaws_sagemaker').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_sagemaker.AddTags({
  "ResourceArn": "",
  "Tags": []
}).then(data => {
  console.log(data);
});

Description

Definition of the public APIs exposed by SageMaker

Actions

AddTags

amazonaws_sagemaker.AddTags({
  "ResourceArn": "",
  "Tags": []
}, context)

Input

Output

CreateEndpoint

amazonaws_sagemaker.CreateEndpoint({
  "EndpointName": "",
  "EndpointConfigName": ""
}, context)

Input

Output

CreateEndpointConfig

amazonaws_sagemaker.CreateEndpointConfig({
  "EndpointConfigName": "",
  "ProductionVariants": []
}, context)

Input

Output

CreateModel

amazonaws_sagemaker.CreateModel({
  "ModelName": "",
  "PrimaryContainer": {
    "Image": ""
  },
  "ExecutionRoleArn": ""
}, context)

Input

Output

CreateNotebookInstance

amazonaws_sagemaker.CreateNotebookInstance({
  "NotebookInstanceName": "",
  "InstanceType": "",
  "RoleArn": ""
}, context)

Input

Output

CreatePresignedNotebookInstanceUrl

amazonaws_sagemaker.CreatePresignedNotebookInstanceUrl({
  "NotebookInstanceName": ""
}, context)

Input

Output

CreateTrainingJob

amazonaws_sagemaker.CreateTrainingJob({
  "TrainingJobName": "",
  "AlgorithmSpecification": {
    "TrainingImage": "",
    "TrainingInputMode": ""
  },
  "RoleArn": "",
  "InputDataConfig": [],
  "OutputDataConfig": {
    "S3OutputPath": ""
  },
  "ResourceConfig": {
    "InstanceType": "",
    "InstanceCount": 0,
    "VolumeSizeInGB": 0
  },
  "StoppingCondition": {}
}, context)

Input

Output

DeleteEndpoint

amazonaws_sagemaker.DeleteEndpoint({
  "EndpointName": ""
}, context)

Input

Output

Output schema unknown

DeleteEndpointConfig

amazonaws_sagemaker.DeleteEndpointConfig({
  "EndpointConfigName": ""
}, context)

Input

Output

Output schema unknown

DeleteModel

amazonaws_sagemaker.DeleteModel({
  "ModelName": ""
}, context)

Input

Output

Output schema unknown

DeleteNotebookInstance

amazonaws_sagemaker.DeleteNotebookInstance({
  "NotebookInstanceName": ""
}, context)

Input

Output

Output schema unknown

DeleteTags

amazonaws_sagemaker.DeleteTags({
  "ResourceArn": "",
  "TagKeys": []
}, context)

Input

Output

DescribeEndpoint

amazonaws_sagemaker.DescribeEndpoint({
  "EndpointName": ""
}, context)

Input

Output

DescribeEndpointConfig

amazonaws_sagemaker.DescribeEndpointConfig({
  "EndpointConfigName": ""
}, context)

Input

Output

DescribeModel

amazonaws_sagemaker.DescribeModel({
  "ModelName": ""
}, context)

Input

Output

DescribeNotebookInstance

amazonaws_sagemaker.DescribeNotebookInstance({
  "NotebookInstanceName": ""
}, context)

Input

Output

DescribeTrainingJob

amazonaws_sagemaker.DescribeTrainingJob({
  "TrainingJobName": ""
}, context)

Input

Output

ListEndpointConfigs

amazonaws_sagemaker.ListEndpointConfigs({}, context)

Input

Output

ListEndpoints

amazonaws_sagemaker.ListEndpoints({}, context)

Input

Output

ListModels

amazonaws_sagemaker.ListModels({}, context)

Input

Output

ListNotebookInstances

amazonaws_sagemaker.ListNotebookInstances({}, context)

Input

Output

ListTags

amazonaws_sagemaker.ListTags({
  "ResourceArn": ""
}, context)

Input

Output

ListTrainingJobs

amazonaws_sagemaker.ListTrainingJobs({}, context)

Input

Output

StartNotebookInstance

amazonaws_sagemaker.StartNotebookInstance({
  "NotebookInstanceName": ""
}, context)

Input

Output

Output schema unknown

StopNotebookInstance

amazonaws_sagemaker.StopNotebookInstance({
  "NotebookInstanceName": ""
}, context)

Input

Output

Output schema unknown

StopTrainingJob

amazonaws_sagemaker.StopTrainingJob({
  "TrainingJobName": ""
}, context)

Input

Output

Output schema unknown

UpdateEndpoint

amazonaws_sagemaker.UpdateEndpoint({
  "EndpointName": "",
  "EndpointConfigName": ""
}, context)

Input

Output

UpdateEndpointWeightsAndCapacities

amazonaws_sagemaker.UpdateEndpointWeightsAndCapacities({
  "EndpointName": "",
  "DesiredWeightsAndCapacities": []
}, context)

Input

Output

UpdateNotebookInstance

amazonaws_sagemaker.UpdateNotebookInstance({
  "NotebookInstanceName": ""
}, context)

Input

Output

Definitions

AddTagsInput

AddTagsOutput

AlgorithmImage

  • AlgorithmImage string

AlgorithmSpecification

  • AlgorithmSpecification object: Specifies the training algorithm to use in a CreateTrainingJob request. For more information about algorithms provided by Amazon SageMaker, see Algorithms. For information about using your own algorithms, see Bring Your Own Algorithms .

Channel

ChannelName

  • ChannelName string

CompressionType

  • CompressionType string (values: None, Gzip)

ContainerDefinition

ContainerHostname

  • ContainerHostname string

ContentType

  • ContentType string

CreateEndpointConfigInput

CreateEndpointConfigOutput

CreateEndpointInput

CreateEndpointOutput

  • CreateEndpointOutput object

CreateModelInput

CreateModelOutput

  • CreateModelOutput object

CreateNotebookInstanceInput

CreateNotebookInstanceOutput

CreatePresignedNotebookInstanceUrlInput

CreatePresignedNotebookInstanceUrlOutput

CreateTrainingJobRequest

CreateTrainingJobResponse

  • CreateTrainingJobResponse object

CreationTime

  • CreationTime string

DataSource

  • DataSource object: Describes the location of the channel data.

DeleteEndpointConfigInput

DeleteEndpointInput

  • DeleteEndpointInput object

DeleteModelInput

  • DeleteModelInput object

DeleteNotebookInstanceInput

DeleteTagsInput

DeleteTagsOutput

  • DeleteTagsOutput object

DescribeEndpointConfigInput

DescribeEndpointConfigOutput

DescribeEndpointInput

  • DescribeEndpointInput object

DescribeEndpointOutput

DescribeModelInput

  • DescribeModelInput object

DescribeModelOutput

DescribeNotebookInstanceInput

DescribeNotebookInstanceOutput

DescribeTrainingJobRequest

DescribeTrainingJobResponse

DesiredWeightAndCapacity

  • DesiredWeightAndCapacity object: Specifies weight and capacity values for a production variant.

DesiredWeightAndCapacityList

EndpointArn

  • EndpointArn string

EndpointConfigArn

  • EndpointConfigArn string

EndpointConfigName

  • EndpointConfigName string

EndpointConfigNameContains

  • EndpointConfigNameContains string

EndpointConfigSortKey

  • EndpointConfigSortKey string (values: Name, CreationTime)

EndpointConfigSummary

EndpointConfigSummaryList

EndpointName

  • EndpointName string

EndpointNameContains

  • EndpointNameContains string

EndpointSortKey

  • EndpointSortKey string (values: Name, CreationTime, Status)

EndpointStatus

  • EndpointStatus string (values: OutOfService, Creating, Updating, RollingBack, InService, Deleting, Failed)

EndpointSummary

EndpointSummaryList

EnvironmentKey

  • EnvironmentKey string

EnvironmentMap

EnvironmentValue

  • EnvironmentValue string

FailureReason

  • FailureReason string

HyperParameters

Image

  • Image string

InputDataConfig

InstanceType

  • InstanceType string (values: ml.t2.medium, ml.m4.xlarge, ml.p2.xlarge)

KmsKeyId

  • KmsKeyId string

LastModifiedTime

  • LastModifiedTime string

ListEndpointConfigsInput

ListEndpointConfigsOutput

ListEndpointsInput

ListEndpointsOutput

ListModelsInput

ListModelsOutput

ListNotebookInstancesInput

ListNotebookInstancesOutput

ListTagsInput

ListTagsMaxResults

  • ListTagsMaxResults integer

ListTagsOutput

ListTrainingJobsRequest

ListTrainingJobsResponse

MaxResults

  • MaxResults integer

MaxRuntimeInSeconds

  • MaxRuntimeInSeconds integer

ModelArn

  • ModelArn string

ModelArtifacts

  • ModelArtifacts object: Provides information about the location that is configured for storing model artifacts.
    • S3ModelArtifacts required S3Uri

ModelName

  • ModelName string

ModelNameContains

  • ModelNameContains string

ModelSortKey

  • ModelSortKey string (values: Name, CreationTime)

ModelSummary

  • ModelSummary object: Provides summary information about a model.

ModelSummaryList

NameContains

  • NameContains string

NetworkInterfaceId

  • NetworkInterfaceId string

NextToken

  • NextToken string

NotebookInstanceArn

  • NotebookInstanceArn string

NotebookInstanceName

  • NotebookInstanceName string

NotebookInstanceNameContains

  • NotebookInstanceNameContains string

NotebookInstanceSortKey

  • NotebookInstanceSortKey string (values: Name, CreationTime, Status)

NotebookInstanceSortOrder

  • NotebookInstanceSortOrder string (values: Ascending, Descending)

NotebookInstanceStatus

  • NotebookInstanceStatus string (values: Pending, InService, Stopping, Stopped, Failed, Deleting)

NotebookInstanceSummary

NotebookInstanceSummaryList

NotebookInstanceUrl

  • NotebookInstanceUrl string

OrderKey

  • OrderKey string (values: Ascending, Descending)

OutputDataConfig

  • OutputDataConfig object: Provides information about how to store model training results (model artifacts).

PaginationToken

  • PaginationToken string

ParameterKey

  • ParameterKey string

ParameterValue

  • ParameterValue string

ProductionVariant

  • ProductionVariant object: Identifies a model that you want to host and the resources to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.

ProductionVariantInstanceType

  • ProductionVariantInstanceType string (values: ml.c4.2xlarge, ml.c4.8xlarge, ml.c4.xlarge, ml.c5.2xlarge, ml.c5.9xlarge, ml.c5.xlarge, ml.m4.xlarge, ml.p2.xlarge, ml.p3.2xlarge, ml.t2.medium)

ProductionVariantList

ProductionVariantSummary

  • ProductionVariantSummary object: Describes weight and capacities for a production variant associated with an endpoint. If you sent a request to the UpdateWeightAndCapacities API and the endpoint status is Updating, you get different desired and current values.

ProductionVariantSummaryList

RecordWrapper

  • RecordWrapper string (values: None, RecordIO)

ResourceArn

  • ResourceArn string

ResourceConfig

ResourceInUse

  • ResourceInUse object: Resource being accessed is in use.

ResourceLimitExceeded

  • ResourceLimitExceeded object: You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created.

ResourceNotFound

  • ResourceNotFound object: Resource being access is not found.

RoleArn

  • RoleArn string

S3DataDistribution

  • S3DataDistribution string (values: FullyReplicated, ShardedByS3Key)

S3DataSource

S3DataType

  • S3DataType string (values: ManifestFile, S3Prefix)

S3Uri

  • S3Uri string

SecondaryStatus

  • SecondaryStatus string (values: Starting, Downloading, Training, Uploading, Stopping, Stopped, MaxRuntimeExceeded, Completed, Failed)

SecurityGroupId

  • SecurityGroupId string

SecurityGroupIds

SessionExpirationDurationInSeconds

  • SessionExpirationDurationInSeconds integer

SortBy

  • SortBy string (values: Name, CreationTime, Status)

SortOrder

  • SortOrder string (values: Ascending, Descending)

StartNotebookInstanceInput

StopNotebookInstanceInput

StopTrainingJobRequest

StoppingCondition

  • StoppingCondition object: Specifies how long model training can run. When model training reaches the limit, Amazon SageMaker ends the training job. Use this API to cap model training cost. To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for120 seconds. Algorithms might use this 120-second window to save the model artifacts, so the results of training is not lost. Training algorithms provided by Amazon SageMaker automatically saves the intermediate results of a model training job (it is best effort case, as model might not be ready to save as some stages, for example training just started). This intermediate data is a valid model artifact. You can use it to create a model (CreateModel).

SubnetId

  • SubnetId string

Tag

  • Tag object: Describes a tag.

TagKey

  • TagKey string

TagKeyList

TagList

  • TagList array

TagValue

  • TagValue string

TaskCount

  • TaskCount integer

Timestamp

  • Timestamp string

TrainingInputMode

  • TrainingInputMode string (values: Pipe, File)

TrainingInstanceCount

  • TrainingInstanceCount integer

TrainingInstanceType

  • TrainingInstanceType string (values: ml.m4.xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge)

TrainingJobArn

  • TrainingJobArn string

TrainingJobName

  • TrainingJobName string

TrainingJobStatus

  • TrainingJobStatus string (values: InProgress, Completed, Failed, Stopping, Stopped)

TrainingJobSummaries

TrainingJobSummary

UpdateEndpointInput

UpdateEndpointOutput

  • UpdateEndpointOutput object

UpdateEndpointWeightsAndCapacitiesInput

UpdateEndpointWeightsAndCapacitiesOutput

  • UpdateEndpointWeightsAndCapacitiesOutput object

UpdateNotebookInstanceInput

UpdateNotebookInstanceOutput

  • UpdateNotebookInstanceOutput object

Url

  • Url string

VariantName

  • VariantName string

VariantWeight

  • VariantWeight number

VolumeSizeInGB

  • VolumeSizeInGB integer