Skip to content

s3_input Input Validation for Content Type #133

@ChandraLingam

Description

@ChandraLingam

When creating a S3 input configuration, there is no clear documentation on what value needs to sent in content_type parameter. Some documents use "text/csv" convention. Some documents are simply referring as "csv". If there is any mistake, it takes 5-6 minutes for SageMaker to respond back for a simple configuration problem. It will be good if SDK can provide some properties that we can use instead of hard-coding values.

https://docs.aws.amazon.com/sagemaker/latest/dg/cdf-training.html

sagemaker.session.s3_input(s3_data=s3_training_file_location,content_type="csv")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions