npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_sagemaker

v5.0.0

Published

DataFire integration for Amazon SageMaker Service

Downloads

3

Readme

@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