aws-sdk-sagemaker 1.230.0 → 1.232.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -897,6 +897,7 @@ module Aws::SageMaker
897
897
  Framework = Shapes::StringShape.new(name: 'Framework')
898
898
  FrameworkVersion = Shapes::StringShape.new(name: 'FrameworkVersion')
899
899
  GenerateCandidateDefinitionsOnly = Shapes::BooleanShape.new(name: 'GenerateCandidateDefinitionsOnly')
900
+ GenerativeAiSettings = Shapes::StructureShape.new(name: 'GenerativeAiSettings')
900
901
  GetDeviceFleetReportRequest = Shapes::StructureShape.new(name: 'GetDeviceFleetReportRequest')
901
902
  GetDeviceFleetReportResponse = Shapes::StructureShape.new(name: 'GetDeviceFleetReportResponse')
902
903
  GetLineageGroupPolicyRequest = Shapes::StructureShape.new(name: 'GetLineageGroupPolicyRequest')
@@ -1432,6 +1433,7 @@ module Aws::SageMaker
1432
1433
  ModelPackageGroupSummary = Shapes::StructureShape.new(name: 'ModelPackageGroupSummary')
1433
1434
  ModelPackageGroupSummaryList = Shapes::ListShape.new(name: 'ModelPackageGroupSummaryList')
1434
1435
  ModelPackageSortBy = Shapes::StringShape.new(name: 'ModelPackageSortBy')
1436
+ ModelPackageSourceUri = Shapes::StringShape.new(name: 'ModelPackageSourceUri')
1435
1437
  ModelPackageStatus = Shapes::StringShape.new(name: 'ModelPackageStatus')
1436
1438
  ModelPackageStatusDetails = Shapes::StructureShape.new(name: 'ModelPackageStatusDetails')
1437
1439
  ModelPackageStatusItem = Shapes::StructureShape.new(name: 'ModelPackageStatusItem')
@@ -2131,6 +2133,8 @@ module Aws::SageMaker
2131
2133
  UpdateArtifactResponse = Shapes::StructureShape.new(name: 'UpdateArtifactResponse')
2132
2134
  UpdateClusterRequest = Shapes::StructureShape.new(name: 'UpdateClusterRequest')
2133
2135
  UpdateClusterResponse = Shapes::StructureShape.new(name: 'UpdateClusterResponse')
2136
+ UpdateClusterSoftwareRequest = Shapes::StructureShape.new(name: 'UpdateClusterSoftwareRequest')
2137
+ UpdateClusterSoftwareResponse = Shapes::StructureShape.new(name: 'UpdateClusterSoftwareResponse')
2134
2138
  UpdateCodeRepositoryInput = Shapes::StructureShape.new(name: 'UpdateCodeRepositoryInput')
2135
2139
  UpdateCodeRepositoryOutput = Shapes::StructureShape.new(name: 'UpdateCodeRepositoryOutput')
2136
2140
  UpdateContextRequest = Shapes::StructureShape.new(name: 'UpdateContextRequest')
@@ -2703,6 +2707,7 @@ module Aws::SageMaker
2703
2707
  CanvasAppSettings.add_member(:identity_provider_o_auth_settings, Shapes::ShapeRef.new(shape: IdentityProviderOAuthSettings, location_name: "IdentityProviderOAuthSettings"))
2704
2708
  CanvasAppSettings.add_member(:direct_deploy_settings, Shapes::ShapeRef.new(shape: DirectDeploySettings, location_name: "DirectDeploySettings"))
2705
2709
  CanvasAppSettings.add_member(:kendra_settings, Shapes::ShapeRef.new(shape: KendraSettings, location_name: "KendraSettings"))
2710
+ CanvasAppSettings.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAiSettings, location_name: "GenerativeAiSettings"))
2706
2711
  CanvasAppSettings.struct_class = Types::CanvasAppSettings
2707
2712
 
2708
2713
  CapacitySize.add_member(:type, Shapes::ShapeRef.new(shape: CapacitySizeType, required: true, location_name: "Type"))
@@ -3442,6 +3447,7 @@ module Aws::SageMaker
3442
3447
  CreateModelPackageInput.add_member(:drift_check_baselines, Shapes::ShapeRef.new(shape: DriftCheckBaselines, location_name: "DriftCheckBaselines"))
3443
3448
  CreateModelPackageInput.add_member(:additional_inference_specifications, Shapes::ShapeRef.new(shape: AdditionalInferenceSpecifications, location_name: "AdditionalInferenceSpecifications"))
3444
3449
  CreateModelPackageInput.add_member(:skip_model_validation, Shapes::ShapeRef.new(shape: SkipModelValidation, location_name: "SkipModelValidation"))
3450
+ CreateModelPackageInput.add_member(:source_uri, Shapes::ShapeRef.new(shape: ModelPackageSourceUri, location_name: "SourceUri"))
3445
3451
  CreateModelPackageInput.struct_class = Types::CreateModelPackageInput
3446
3452
 
3447
3453
  CreateModelPackageOutput.add_member(:model_package_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, required: true, location_name: "ModelPackageArn"))
@@ -4808,6 +4814,7 @@ module Aws::SageMaker
4808
4814
  DescribeModelPackageOutput.add_member(:drift_check_baselines, Shapes::ShapeRef.new(shape: DriftCheckBaselines, location_name: "DriftCheckBaselines"))
4809
4815
  DescribeModelPackageOutput.add_member(:additional_inference_specifications, Shapes::ShapeRef.new(shape: AdditionalInferenceSpecifications, location_name: "AdditionalInferenceSpecifications"))
4810
4816
  DescribeModelPackageOutput.add_member(:skip_model_validation, Shapes::ShapeRef.new(shape: SkipModelValidation, location_name: "SkipModelValidation"))
4817
+ DescribeModelPackageOutput.add_member(:source_uri, Shapes::ShapeRef.new(shape: ModelPackageSourceUri, location_name: "SourceUri"))
4811
4818
  DescribeModelPackageOutput.struct_class = Types::DescribeModelPackageOutput
4812
4819
 
4813
4820
  DescribeModelQualityJobDefinitionRequest.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: MonitoringJobDefinitionName, required: true, location_name: "JobDefinitionName"))
@@ -5627,6 +5634,9 @@ module Aws::SageMaker
5627
5634
 
5628
5635
  ForecastQuantiles.member = Shapes::ShapeRef.new(shape: ForecastQuantile)
5629
5636
 
5637
+ GenerativeAiSettings.add_member(:amazon_bedrock_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "AmazonBedrockRoleArn"))
5638
+ GenerativeAiSettings.struct_class = Types::GenerativeAiSettings
5639
+
5630
5640
  GetDeviceFleetReportRequest.add_member(:device_fleet_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "DeviceFleetName"))
5631
5641
  GetDeviceFleetReportRequest.struct_class = Types::GetDeviceFleetReportRequest
5632
5642
 
@@ -7608,6 +7618,7 @@ module Aws::SageMaker
7608
7618
  ModelPackage.add_member(:task, Shapes::ShapeRef.new(shape: String, location_name: "Task"))
7609
7619
  ModelPackage.add_member(:sample_payload_url, Shapes::ShapeRef.new(shape: String, location_name: "SamplePayloadUrl"))
7610
7620
  ModelPackage.add_member(:additional_inference_specifications, Shapes::ShapeRef.new(shape: AdditionalInferenceSpecifications, location_name: "AdditionalInferenceSpecifications"))
7621
+ ModelPackage.add_member(:source_uri, Shapes::ShapeRef.new(shape: ModelPackageSourceUri, location_name: "SourceUri"))
7611
7622
  ModelPackage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
7612
7623
  ModelPackage.add_member(:customer_metadata_properties, Shapes::ShapeRef.new(shape: CustomerMetadataMap, location_name: "CustomerMetadataProperties"))
7613
7624
  ModelPackage.add_member(:drift_check_baselines, Shapes::ShapeRef.new(shape: DriftCheckBaselines, location_name: "DriftCheckBaselines"))
@@ -7620,6 +7631,7 @@ module Aws::SageMaker
7620
7631
  ModelPackageContainerDefinition.add_member(:image, Shapes::ShapeRef.new(shape: ContainerImage, required: true, location_name: "Image"))
7621
7632
  ModelPackageContainerDefinition.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "ImageDigest"))
7622
7633
  ModelPackageContainerDefinition.add_member(:model_data_url, Shapes::ShapeRef.new(shape: Url, location_name: "ModelDataUrl"))
7634
+ ModelPackageContainerDefinition.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, location_name: "ModelDataSource"))
7623
7635
  ModelPackageContainerDefinition.add_member(:product_id, Shapes::ShapeRef.new(shape: ProductId, location_name: "ProductId"))
7624
7636
  ModelPackageContainerDefinition.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentMap, location_name: "Environment"))
7625
7637
  ModelPackageContainerDefinition.add_member(:model_input, Shapes::ShapeRef.new(shape: ModelInput, location_name: "ModelInput"))
@@ -8848,6 +8860,7 @@ module Aws::SageMaker
8848
8860
  ShuffleConfig.struct_class = Types::ShuffleConfig
8849
8861
 
8850
8862
  SourceAlgorithm.add_member(:model_data_url, Shapes::ShapeRef.new(shape: Url, location_name: "ModelDataUrl"))
8863
+ SourceAlgorithm.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, location_name: "ModelDataSource"))
8851
8864
  SourceAlgorithm.add_member(:algorithm_name, Shapes::ShapeRef.new(shape: ArnOrName, required: true, location_name: "AlgorithmName"))
8852
8865
  SourceAlgorithm.struct_class = Types::SourceAlgorithm
8853
8866
 
@@ -9474,6 +9487,12 @@ module Aws::SageMaker
9474
9487
  UpdateClusterResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "ClusterArn"))
9475
9488
  UpdateClusterResponse.struct_class = Types::UpdateClusterResponse
9476
9489
 
9490
+ UpdateClusterSoftwareRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterNameOrArn, required: true, location_name: "ClusterName"))
9491
+ UpdateClusterSoftwareRequest.struct_class = Types::UpdateClusterSoftwareRequest
9492
+
9493
+ UpdateClusterSoftwareResponse.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "ClusterArn"))
9494
+ UpdateClusterSoftwareResponse.struct_class = Types::UpdateClusterSoftwareResponse
9495
+
9477
9496
  UpdateCodeRepositoryInput.add_member(:code_repository_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "CodeRepositoryName"))
9478
9497
  UpdateCodeRepositoryInput.add_member(:git_config, Shapes::ShapeRef.new(shape: GitConfigForUpdate, location_name: "GitConfig"))
9479
9498
  UpdateCodeRepositoryInput.struct_class = Types::UpdateCodeRepositoryInput
@@ -9631,6 +9650,8 @@ module Aws::SageMaker
9631
9650
  UpdateModelPackageInput.add_member(:customer_metadata_properties, Shapes::ShapeRef.new(shape: CustomerMetadataMap, location_name: "CustomerMetadataProperties"))
9632
9651
  UpdateModelPackageInput.add_member(:customer_metadata_properties_to_remove, Shapes::ShapeRef.new(shape: CustomerMetadataKeyList, location_name: "CustomerMetadataPropertiesToRemove"))
9633
9652
  UpdateModelPackageInput.add_member(:additional_inference_specifications_to_add, Shapes::ShapeRef.new(shape: AdditionalInferenceSpecifications, location_name: "AdditionalInferenceSpecificationsToAdd"))
9653
+ UpdateModelPackageInput.add_member(:inference_specification, Shapes::ShapeRef.new(shape: InferenceSpecification, location_name: "InferenceSpecification"))
9654
+ UpdateModelPackageInput.add_member(:source_uri, Shapes::ShapeRef.new(shape: ModelPackageSourceUri, location_name: "SourceUri"))
9634
9655
  UpdateModelPackageInput.struct_class = Types::UpdateModelPackageInput
9635
9656
 
9636
9657
  UpdateModelPackageOutput.add_member(:model_package_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, required: true, location_name: "ModelPackageArn"))
@@ -12915,6 +12936,16 @@ module Aws::SageMaker
12915
12936
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
12916
12937
  end)
12917
12938
 
12939
+ api.add_operation(:update_cluster_software, Seahorse::Model::Operation.new.tap do |o|
12940
+ o.name = "UpdateClusterSoftware"
12941
+ o.http_method = "POST"
12942
+ o.http_request_uri = "/"
12943
+ o.input = Shapes::ShapeRef.new(shape: UpdateClusterSoftwareRequest)
12944
+ o.output = Shapes::ShapeRef.new(shape: UpdateClusterSoftwareResponse)
12945
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
12946
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
12947
+ end)
12948
+
12918
12949
  api.add_operation(:update_code_repository, Seahorse::Model::Operation.new.tap do |o|
12919
12950
  o.name = "UpdateCodeRepository"
12920
12951
  o.http_method = "POST"
@@ -37,7 +37,7 @@ module Aws::SageMaker
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
38
38
  end
39
39
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
40
- return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
40
+ return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
41
41
  end
42
42
  return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
43
43
  end
@@ -4030,6 +4030,20 @@ module Aws::SageMaker
4030
4030
  end
4031
4031
  end
4032
4032
 
4033
+ class UpdateClusterSoftware
4034
+ def self.build(context)
4035
+ unless context.config.regional_endpoint
4036
+ endpoint = context.config.endpoint.to_s
4037
+ end
4038
+ Aws::SageMaker::EndpointParameters.new(
4039
+ region: context.config.region,
4040
+ use_dual_stack: context.config.use_dualstack_endpoint,
4041
+ use_fips: context.config.use_fips_endpoint,
4042
+ endpoint: endpoint,
4043
+ )
4044
+ end
4045
+ end
4046
+
4033
4047
  class UpdateCodeRepository
4034
4048
  def self.build(context)
4035
4049
  unless context.config.regional_endpoint
@@ -632,6 +632,8 @@ module Aws::SageMaker
632
632
  Aws::SageMaker::Endpoints::UpdateArtifact.build(context)
633
633
  when :update_cluster
634
634
  Aws::SageMaker::Endpoints::UpdateCluster.build(context)
635
+ when :update_cluster_software
636
+ Aws::SageMaker::Endpoints::UpdateClusterSoftware.build(context)
635
637
  when :update_code_repository
636
638
  Aws::SageMaker::Endpoints::UpdateCodeRepository.build(context)
637
639
  when :update_context