Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ack_generate_info:
build_date: "2025-10-10T18:41:09Z"
build_hash: 37562000612658e62686882f1b4b924049d1e38c
go_version: go1.24.7
version: v0.52.0-5-g3756200
api_directory_checksum: 5ec38038727f738df3c51c7e9983d3cae9c2424a
build_date: "2025-10-10T23:37:20Z"
build_hash: eaabefb6bd7b2be8a1baf4478f22b3310e6921c8
go_version: go1.25.2
version: v0.52.0-6-geaabefb
api_directory_checksum: 526c36c2c0bc7c22c0d468d82d00ba0ac7e4b9c9
api_version: v1alpha1
aws_sdk_go_version: v1.39.2
generator_config_info:
file_checksum: b3f328f3032ea0472327663d5e3ff0faea76f05d
file_checksum: 4ab4cbc8c8cdbb68a2196067d0e02ea9d138d967
original_file_name: generator.yaml
last_modification:
reason: API generation
5 changes: 5 additions & 0 deletions apis/v1alpha1/app.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions apis/v1alpha1/domain.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/v1alpha1/endpoint.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions apis/v1alpha1/enums.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/v1alpha1/feature_group.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 68 additions & 17 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ resources:
FailureReason:
is_read_only: true
print:
name: FAILURE-REASON
name: FAILURE_REASON
priority: 1
from:
operation: DescribeEndpoint
Expand Down Expand Up @@ -244,7 +244,7 @@ resources:
FailureReason:
is_read_only: true
print:
name: FAILURE-REASON
name: FAILURE_REASON
priority: 1
from:
operation: DescribeFeatureGroup
Expand Down Expand Up @@ -296,7 +296,7 @@ resources:
FailureReason:
is_read_only: true
print:
name: FAILURE-REASON
name: FAILURE_REASON
priority: 1
from:
operation: DescribeHyperParameterTuningJob
Expand Down Expand Up @@ -366,7 +366,7 @@ resources:
FailureReason:
is_read_only: true
print:
name: FAILURE-REASON
name: FAILURE_REASON
priority: 1
from:
operation: DescribeInferenceComponent
Expand Down Expand Up @@ -437,7 +437,7 @@ resources:
FailureReason:
is_read_only: true
print:
name: FAILURE-REASON
name: FAILURE_REASON
priority: 1
from:
operation: DescribeLabelingJob
Expand Down Expand Up @@ -674,7 +674,7 @@ resources:
FailureReason:
is_read_only: true
print:
name: FAILURE-REASON
name: FAILURE_REASON
priority: 1
from:
operation: DescribeMonitoringSchedule
Expand Down Expand Up @@ -795,7 +795,7 @@ resources:
FailureReason:
is_read_only: true
print:
name: FAILURE-REASON
name: FAILURE_REASON
priority: 1
from:
operation: DescribeNotebookInstance
Expand Down Expand Up @@ -864,7 +864,7 @@ resources:
FailureReason:
is_read_only: true
print:
name: FAILURE-REASON
name: FAILURE_REASON
priority: 1
from:
operation: DescribePipelineExecution
Expand Down Expand Up @@ -923,14 +923,70 @@ resources:
FailureReason:
is_read_only: true
print:
name: FAILURE-REASON
name: FAILURE_REASON
priority: 1
from:
operation: DescribeProcessingJob
path: FailureReason
Tags:
compare:
is_ignored: true
Space:
exceptions:
errors:
404:
code: ResourceNotFound
terminal_codes:
- InvalidParameterCombination
- InvalidParameterValue
- MissingParameter
hooks:
sdk_read_one_post_set_output:
code: rm.customDescribeSpaceSetOutput(ko)
sdk_update_pre_build_request:
template_path: common/sdk_update_pre_build_request.go.tpl
sdk_delete_pre_build_request:
template_path: common/sdk_delete_pre_build_request.go.tpl
sdk_delete_post_request:
template_path: common/sdk_delete_post_request.go.tpl
fields:
OwnershipSettings:
is_immutable: true
SpaceSharingSettings:
is_immutable: true
Status:
is_read_only: true
print:
name: STATUS
from:
operation: DescribeSpace
path: Status
FailureReason:
is_read_only: true
print:
name: FAILURE_REASON
priority: 1
from:
operation: DescribeSpace
path: FailureReason
HomeEfsFileSystemUid:
is_read_only: true
from:
operation: DescribeSpace
path: HomeEfsFileSystemUid
CreationTime:
is_read_only: true
from:
operation: DescribeSpace
path: CreationTime
Url:
is_read_only: true
from:
operation: DescribeSpace
path: Url
Tags:
compare:
is_ignored: true
Comment on lines +987 to +989
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why ignore Tags compare?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For all sagemaker resources, we haven't implemented tag comparison/updates yet. I'm not sure if this has been done upstream from codegen already. But if it has, we'll probably require another PR that enable tag comparison across all resources.

TrainingJob:
reconcile:
requeue_on_success_seconds: 300
Expand Down Expand Up @@ -993,7 +1049,7 @@ resources:
FailureReason:
is_read_only: true
print:
name: FAILURE-REASON
name: FAILURE_REASON
priority: 1
from:
operation: DescribeTrainingJob
Expand Down Expand Up @@ -1077,7 +1133,7 @@ resources:
FailureReason:
is_read_only: true
print:
name: FAILURE-REASON
name: FAILURE_REASON
priority: 1
from:
operation: DescribeTransformJob
Expand Down Expand Up @@ -1181,7 +1237,7 @@ ignore:
- PresignedMlflowTrackingServerUrl
# - ProcessingJob
- Project
- Space
# - Space
- StudioLifecycleConfig
# - TrainingJob
- TrainingPlan
Expand All @@ -1205,10 +1261,7 @@ ignore:
- DisableProfiler
- BatchTransformInput_
- MonitoringParquetDatasetFormat
- SpaceName
- DefaultSpaceSettings
- BatchDataCaptureConfig
- CodeRepositories
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be part of separate PR? it seems unrelated

Copy link
Member Author

@sirutBuasai sirutBuasai Oct 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so Space integrates with other SageMaker resources as part of SageMaker Unified Studio feature. This includes, App, Domain, Space, and UserProfile. All of these resources contain SpaceName, DefaultSapceSettings, and CodeRepositories. I've tested these features and they should be good to uncomment

- TableFormat
- RandomSeed
- TrainingImageConfig
Expand Down Expand Up @@ -1254,5 +1307,3 @@ ignore:
- AdditionalS3DataSource.ETag
- ModelPackageContainerDefinition.ModelDataETag
- SourceAlgorithm.ModelDataETag
- CustomFileSystemConfig.FSxLustreFileSystemConfig
- CustomFileSystemConfig.S3FileSystemConfig
Comment on lines -1257 to -1258
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one as well

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old SDK version that was pinned to 1.32 had only CustomFileSystemConfig.EFSFileSystemConfig. Upgrade to SDK 1.39 added these two additional union fields. This field is used in Space, Domain, and UserSetting so they should be added.

2 changes: 1 addition & 1 deletion apis/v1alpha1/hyper_parameter_tuning_job.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/v1alpha1/inference_component.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/v1alpha1/labeling_job.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/v1alpha1/monitoring_schedule.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/v1alpha1/notebook_instance.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/v1alpha1/pipeline_execution.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/v1alpha1/processing_job.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading