From 1803c873fb010d3991d36927eafc5a8683bc9ea4 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Tue, 19 Sep 2023 19:07:17 +0000 Subject: [PATCH] Regenerated Clients --- .../290a2def29f948c287b8983fe8284248.json | 8 ++ .../b7a03d8995d241e7ae6f9ddda47e2ed0.json | 8 ++ .../d86719029aea4be991f5848e7a634863.json | 8 ++ service/ec2/types/enums.go | 40 ++++++++ service/outposts/deserializers.go | 41 ++++++++ service/outposts/types/types.go | 8 +- service/sagemaker/api_op_CreateAutoMLJob.go | 6 +- service/sagemaker/api_op_CreateAutoMLJobV2.go | 6 +- .../api_op_CreateDataQualityJobDefinition.go | 2 +- .../api_op_CreateModelBiasJobDefinition.go | 2 +- ..._CreateModelExplainabilityJobDefinition.go | 2 +- .../api_op_CreateModelQualityJobDefinition.go | 2 +- .../api_op_DescribeModelBiasJobDefinition.go | 6 +- ...escribeModelExplainabilityJobDefinition.go | 6 +- .../api_op_ListDataQualityJobDefinitions.go | 3 +- .../api_op_ListModelBiasJobDefinitions.go | 4 +- ...p_ListModelExplainabilityJobDefinitions.go | 4 +- .../api_op_ListModelQualityJobDefinitions.go | 3 +- .../api_op_ListMonitoringExecutions.go | 8 +- .../api_op_ListMonitoringSchedules.go | 8 +- service/sagemaker/deserializers.go | 36 +++++++ service/sagemaker/serializers.go | 20 ++++ service/sagemaker/types/types.go | 97 ++++++++++++------- .../ssoadmin/internal/endpoints/endpoints.go | 3 + 24 files changed, 263 insertions(+), 68 deletions(-) create mode 100644 .changelog/290a2def29f948c287b8983fe8284248.json create mode 100644 .changelog/b7a03d8995d241e7ae6f9ddda47e2ed0.json create mode 100644 .changelog/d86719029aea4be991f5848e7a634863.json diff --git a/.changelog/290a2def29f948c287b8983fe8284248.json b/.changelog/290a2def29f948c287b8983fe8284248.json new file mode 100644 index 00000000000..5bdd3541caf --- /dev/null +++ b/.changelog/290a2def29f948c287b8983fe8284248.json @@ -0,0 +1,8 @@ +{ + "id": "290a2def-29f9-48c2-87b8-983fe8284248", + "type": "feature", + "description": "This release adds support for one-time model monitoring schedules that are executed immediately without delay, explicit data analysis windows for model monitoring schedules and exclude features attributes to remove features from model monitor analysis.", + "modules": [ + "service/sagemaker" + ] +} \ No newline at end of file diff --git a/.changelog/b7a03d8995d241e7ae6f9ddda47e2ed0.json b/.changelog/b7a03d8995d241e7ae6f9ddda47e2ed0.json new file mode 100644 index 00000000000..ac056893093 --- /dev/null +++ b/.changelog/b7a03d8995d241e7ae6f9ddda47e2ed0.json @@ -0,0 +1,8 @@ +{ + "id": "b7a03d89-95d2-41e7-ae6f-9ddda47e2ed0", + "type": "feature", + "description": "This release adds support for C7i, and R7a instance types.", + "modules": [ + "service/ec2" + ] +} \ No newline at end of file diff --git a/.changelog/d86719029aea4be991f5848e7a634863.json b/.changelog/d86719029aea4be991f5848e7a634863.json new file mode 100644 index 00000000000..f5be54de8bb --- /dev/null +++ b/.changelog/d86719029aea4be991f5848e7a634863.json @@ -0,0 +1,8 @@ +{ + "id": "d8671902-9aea-4be9-91f5-848e7a634863", + "type": "feature", + "description": "This release adds the InstanceFamilies field to the ListAssets response.", + "modules": [ + "service/outposts" + ] +} \ No newline at end of file diff --git a/service/ec2/types/enums.go b/service/ec2/types/enums.go index b90e1b06b4d..01d147e8ad8 100644 --- a/service/ec2/types/enums.go +++ b/service/ec2/types/enums.go @@ -3542,6 +3542,26 @@ const ( InstanceTypeR7gd8xlarge InstanceType = "r7gd.8xlarge" InstanceTypeR7gd12xlarge InstanceType = "r7gd.12xlarge" InstanceTypeR7gd16xlarge InstanceType = "r7gd.16xlarge" + InstanceTypeR7aMedium InstanceType = "r7a.medium" + InstanceTypeR7aLarge InstanceType = "r7a.large" + InstanceTypeR7aXlarge InstanceType = "r7a.xlarge" + InstanceTypeR7a2xlarge InstanceType = "r7a.2xlarge" + InstanceTypeR7a4xlarge InstanceType = "r7a.4xlarge" + InstanceTypeR7a8xlarge InstanceType = "r7a.8xlarge" + InstanceTypeR7a12xlarge InstanceType = "r7a.12xlarge" + InstanceTypeR7a16xlarge InstanceType = "r7a.16xlarge" + InstanceTypeR7a24xlarge InstanceType = "r7a.24xlarge" + InstanceTypeR7a32xlarge InstanceType = "r7a.32xlarge" + InstanceTypeR7a48xlarge InstanceType = "r7a.48xlarge" + InstanceTypeC7iLarge InstanceType = "c7i.large" + InstanceTypeC7iXlarge InstanceType = "c7i.xlarge" + InstanceTypeC7i2xlarge InstanceType = "c7i.2xlarge" + InstanceTypeC7i4xlarge InstanceType = "c7i.4xlarge" + InstanceTypeC7i8xlarge InstanceType = "c7i.8xlarge" + InstanceTypeC7i12xlarge InstanceType = "c7i.12xlarge" + InstanceTypeC7i16xlarge InstanceType = "c7i.16xlarge" + InstanceTypeC7i24xlarge InstanceType = "c7i.24xlarge" + InstanceTypeC7i48xlarge InstanceType = "c7i.48xlarge" ) // Values returns all known values for InstanceType. Note that this can be @@ -4269,6 +4289,26 @@ func (InstanceType) Values() []InstanceType { "r7gd.8xlarge", "r7gd.12xlarge", "r7gd.16xlarge", + "r7a.medium", + "r7a.large", + "r7a.xlarge", + "r7a.2xlarge", + "r7a.4xlarge", + "r7a.8xlarge", + "r7a.12xlarge", + "r7a.16xlarge", + "r7a.24xlarge", + "r7a.32xlarge", + "r7a.48xlarge", + "c7i.large", + "c7i.xlarge", + "c7i.2xlarge", + "c7i.4xlarge", + "c7i.8xlarge", + "c7i.12xlarge", + "c7i.16xlarge", + "c7i.24xlarge", + "c7i.48xlarge", } } diff --git a/service/outposts/deserializers.go b/service/outposts/deserializers.go index 9c3b4014193..f9307d17348 100644 --- a/service/outposts/deserializers.go +++ b/service/outposts/deserializers.go @@ -4654,6 +4654,11 @@ func awsRestjson1_deserializeDocumentComputeAttributes(v **types.ComputeAttribut sv.HostId = ptr.String(jtv) } + case "InstanceFamilies": + if err := awsRestjson1_deserializeDocumentInstanceFamilies(&sv.InstanceFamilies, value); err != nil { + return err + } + case "State": if value != nil { jtv, ok := value.(string) @@ -4903,6 +4908,42 @@ func awsRestjson1_deserializeDocumentEC2CapacityListDefinition(v *[]types.EC2Cap return nil } +func awsRestjson1_deserializeDocumentInstanceFamilies(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected InstanceFamilyName to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocumentInstanceTypeItem(v **types.InstanceTypeItem, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/outposts/types/types.go b/service/outposts/types/types.go index 6d05b3baedf..1628c7a68bb 100644 --- a/service/outposts/types/types.go +++ b/service/outposts/types/types.go @@ -119,6 +119,10 @@ type ComputeAttributes struct { // The host ID of the Dedicated Host on the asset. HostId *string + // A list of the names of instance families that are currently associated with a + // given asset. + InstanceFamilies []string + // The state. // - ACTIVE - The asset is available and can provide capacity for new compute // resources. @@ -196,7 +200,7 @@ type LineItem struct { // The ID of the previous line item. PreviousLineItemId *string - // The ID of the previous order item. + // The ID of the previous order. PreviousOrderId *string // The quantity of the line item. @@ -250,7 +254,7 @@ type Order struct { // The submission date for the order. OrderSubmissionDate *time.Time - // Type of order. + // The type of order. OrderType OrderType // The ID of the Outpost in the order. diff --git a/service/sagemaker/api_op_CreateAutoMLJob.go b/service/sagemaker/api_op_CreateAutoMLJob.go index 2548d57bea2..ddac48ccc21 100644 --- a/service/sagemaker/api_op_CreateAutoMLJob.go +++ b/service/sagemaker/api_op_CreateAutoMLJob.go @@ -21,9 +21,9 @@ import ( // and DescribeAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeAutoMLJobV2.html) // , which offer backward compatibility. CreateAutoMLJobV2 can manage tabular // problem types identical to those of its previous version CreateAutoMLJob , as -// well as time-series forecasting, and non-tabular problem types such as image or -// text classification. Find guidelines about how to migrate a CreateAutoMLJob to -// CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2) +// well as non-tabular problem types such as image or text classification. Find +// guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in +// Migrate a CreateAutoMLJob to CreateAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2) // . You can find the best-performing model after you run an AutoML job by calling // DescribeAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeAutoMLJobV2.html) // (recommended) or DescribeAutoMLJob (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeAutoMLJob.html) diff --git a/service/sagemaker/api_op_CreateAutoMLJobV2.go b/service/sagemaker/api_op_CreateAutoMLJobV2.go index 6f5d3395230..a2cfd08632b 100644 --- a/service/sagemaker/api_op_CreateAutoMLJobV2.go +++ b/service/sagemaker/api_op_CreateAutoMLJobV2.go @@ -23,9 +23,9 @@ import ( // and DescribeAutoMLJob (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeAutoMLJob.html) // which offer backward compatibility. CreateAutoMLJobV2 can manage tabular // problem types identical to those of its previous version CreateAutoMLJob , as -// well as time-series forecasting, and non-tabular problem types such as image or -// text classification. Find guidelines about how to migrate a CreateAutoMLJob to -// CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2) +// well as non-tabular problem types such as image or text classification. Find +// guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in +// Migrate a CreateAutoMLJob to CreateAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2) // . For the list of available problem types supported by CreateAutoMLJobV2 , see // AutoMLProblemTypeConfig (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLProblemTypeConfig.html) // . You can find the best-performing model after you run an AutoML job V2 by diff --git a/service/sagemaker/api_op_CreateDataQualityJobDefinition.go b/service/sagemaker/api_op_CreateDataQualityJobDefinition.go index 90b4b26ecb3..4da9f83b9e8 100644 --- a/service/sagemaker/api_op_CreateDataQualityJobDefinition.go +++ b/service/sagemaker/api_op_CreateDataQualityJobDefinition.go @@ -77,7 +77,7 @@ type CreateDataQualityJobDefinitionInput struct { // A time limit for how long the monitoring job is allowed to run before stopping. StoppingCondition *types.MonitoringStoppingCondition - // (Optional) An array of key-value pairs. For more information, see Using Cost + // (Optional) An array of key-value pairs. For more information, see Using Cost // Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) // in the Amazon Web Services Billing and Cost Management User Guide. Tags []types.Tag diff --git a/service/sagemaker/api_op_CreateModelBiasJobDefinition.go b/service/sagemaker/api_op_CreateModelBiasJobDefinition.go index 5678ea3db99..4d9ba827718 100644 --- a/service/sagemaker/api_op_CreateModelBiasJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelBiasJobDefinition.go @@ -75,7 +75,7 @@ type CreateModelBiasJobDefinitionInput struct { // A time limit for how long the monitoring job is allowed to run before stopping. StoppingCondition *types.MonitoringStoppingCondition - // (Optional) An array of key-value pairs. For more information, see Using Cost + // (Optional) An array of key-value pairs. For more information, see Using Cost // Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) // in the Amazon Web Services Billing and Cost Management User Guide. Tags []types.Tag diff --git a/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go b/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go index 4705d31fd05..1c33c48bb6b 100644 --- a/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go @@ -76,7 +76,7 @@ type CreateModelExplainabilityJobDefinitionInput struct { // A time limit for how long the monitoring job is allowed to run before stopping. StoppingCondition *types.MonitoringStoppingCondition - // (Optional) An array of key-value pairs. For more information, see Using Cost + // (Optional) An array of key-value pairs. For more information, see Using Cost // Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) // in the Amazon Web Services Billing and Cost Management User Guide. Tags []types.Tag diff --git a/service/sagemaker/api_op_CreateModelQualityJobDefinition.go b/service/sagemaker/api_op_CreateModelQualityJobDefinition.go index 4aaf462acd4..56d8a89563b 100644 --- a/service/sagemaker/api_op_CreateModelQualityJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelQualityJobDefinition.go @@ -76,7 +76,7 @@ type CreateModelQualityJobDefinitionInput struct { // A time limit for how long the monitoring job is allowed to run before stopping. StoppingCondition *types.MonitoringStoppingCondition - // (Optional) An array of key-value pairs. For more information, see Using Cost + // (Optional) An array of key-value pairs. For more information, see Using Cost // Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) // in the Amazon Web Services Billing and Cost Management User Guide. Tags []types.Tag diff --git a/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go b/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go index 5798f3998b4..d754501e95a 100644 --- a/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go +++ b/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go @@ -82,9 +82,9 @@ type DescribeModelBiasJobDefinitionOutput struct { // This member is required. ModelBiasJobOutputConfig *types.MonitoringOutputConfig - // The Amazon Resource Name (ARN) of the IAM role that has read permission to the - // input data location and write permission to the output data location in Amazon - // S3. + // The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access + // Management (IAM) role that has read permission to the input data location and + // write permission to the output data location in Amazon S3. // // This member is required. RoleArn *string diff --git a/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go b/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go index b1b8c46eb61..920369114e4 100644 --- a/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go +++ b/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go @@ -83,9 +83,9 @@ type DescribeModelExplainabilityJobDefinitionOutput struct { // This member is required. ModelExplainabilityJobOutputConfig *types.MonitoringOutputConfig - // The Amazon Resource Name (ARN) of the IAM role that has read permission to the - // input data location and write permission to the output data location in Amazon - // S3. + // The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access + // Management (IAM) role that has read permission to the input data location and + // write permission to the output data location in Amazon S3. // // This member is required. RoleArn *string diff --git a/service/sagemaker/api_op_ListDataQualityJobDefinitions.go b/service/sagemaker/api_op_ListDataQualityJobDefinitions.go index 8894b450aa0..feae95c118f 100644 --- a/service/sagemaker/api_op_ListDataQualityJobDefinitions.go +++ b/service/sagemaker/api_op_ListDataQualityJobDefinitions.go @@ -64,8 +64,7 @@ type ListDataQualityJobDefinitionsInput struct { // The field to sort results by. The default is CreationTime . SortBy types.MonitoringJobDefinitionSortKey - // Whether to sort the results in Ascending or Descending order. The default is - // Descending . + // The sort order for results. The default is Descending . SortOrder types.SortOrder noSmithyDocumentSerde diff --git a/service/sagemaker/api_op_ListModelBiasJobDefinitions.go b/service/sagemaker/api_op_ListModelBiasJobDefinitions.go index b20f59dfa20..8d21e7d726c 100644 --- a/service/sagemaker/api_op_ListModelBiasJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelBiasJobDefinitions.go @@ -73,8 +73,8 @@ type ListModelBiasJobDefinitionsOutput struct { // This member is required. JobDefinitionSummaries []types.MonitoringJobDefinitionSummary - // The token returned if the response is truncated. To retrieve the next set of - // job executions, use it in the next request. + // If the response is truncated, Amazon SageMaker returns this token. To retrieve + // the next set of jobs, use it in the subsequent request. NextToken *string // Metadata pertaining to the operation's result. diff --git a/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go b/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go index dc541f2756f..00b140dbc91 100644 --- a/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go @@ -74,8 +74,8 @@ type ListModelExplainabilityJobDefinitionsOutput struct { // This member is required. JobDefinitionSummaries []types.MonitoringJobDefinitionSummary - // The token returned if the response is truncated. To retrieve the next set of - // job executions, use it in the next request. + // If the response is truncated, Amazon SageMaker returns this token. To retrieve + // the next set of jobs, use it in the subsequent request. NextToken *string // Metadata pertaining to the operation's result. diff --git a/service/sagemaker/api_op_ListModelQualityJobDefinitions.go b/service/sagemaker/api_op_ListModelQualityJobDefinitions.go index c124fd45ddb..38dc733e26b 100644 --- a/service/sagemaker/api_op_ListModelQualityJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelQualityJobDefinitions.go @@ -63,8 +63,7 @@ type ListModelQualityJobDefinitionsInput struct { // The field to sort results by. The default is CreationTime . SortBy types.MonitoringJobDefinitionSortKey - // Whether to sort the results in Ascending or Descending order. The default is - // Descending . + // The sort order for results. The default is Descending . SortOrder types.SortOrder noSmithyDocumentSerde diff --git a/service/sagemaker/api_op_ListMonitoringExecutions.go b/service/sagemaker/api_op_ListMonitoringExecutions.go index 181979cbf26..c21341c99de 100644 --- a/service/sagemaker/api_op_ListMonitoringExecutions.go +++ b/service/sagemaker/api_op_ListMonitoringExecutions.go @@ -74,8 +74,8 @@ type ListMonitoringExecutionsInput struct { // Filter for jobs scheduled before a specified time. ScheduledTimeBefore *time.Time - // Whether to sort the results by the Status , CreationTime , or ScheduledTime - // field. The default is CreationTime . + // Whether to sort results by Status , CreationTime , ScheduledTime field. The + // default is CreationTime . SortBy types.MonitoringExecutionSortKey // Whether to sort the results in Ascending or Descending order. The default is @@ -95,8 +95,8 @@ type ListMonitoringExecutionsOutput struct { // This member is required. MonitoringExecutionSummaries []types.MonitoringExecutionSummary - // The token returned if the response is truncated. To retrieve the next set of - // job executions, use it in the next request. + // If the response is truncated, Amazon SageMaker returns this token. To retrieve + // the next set of jobs, use it in the subsequent reques NextToken *string // Metadata pertaining to the operation's result. diff --git a/service/sagemaker/api_op_ListMonitoringSchedules.go b/service/sagemaker/api_op_ListMonitoringSchedules.go index f7c8aee4195..46125e6a071 100644 --- a/service/sagemaker/api_op_ListMonitoringSchedules.go +++ b/service/sagemaker/api_op_ListMonitoringSchedules.go @@ -69,8 +69,8 @@ type ListMonitoringSchedulesInput struct { // job executions, use it in the next request. NextToken *string - // Whether to sort the results by the Status , CreationTime , or ScheduledTime - // field. The default is CreationTime . + // Whether to sort results by Status , CreationTime , ScheduledTime field. The + // default is CreationTime . SortBy types.MonitoringScheduleSortKey // Whether to sort the results in Ascending or Descending order. The default is @@ -91,8 +91,8 @@ type ListMonitoringSchedulesOutput struct { // This member is required. MonitoringScheduleSummaries []types.MonitoringScheduleSummary - // The token returned if the response is truncated. To retrieve the next set of - // job executions, use it in the next request. + // If the response is truncated, Amazon SageMaker returns this token. To retrieve + // the next set of jobs, use it in the subsequent request. NextToken *string // Metadata pertaining to the operation's result. diff --git a/service/sagemaker/deserializers.go b/service/sagemaker/deserializers.go index 561d0a0f164..2385104f23c 100644 --- a/service/sagemaker/deserializers.go +++ b/service/sagemaker/deserializers.go @@ -36916,6 +36916,15 @@ func awsAwsjson11_deserializeDocumentBatchTransformInput(v **types.BatchTransfor sv.EndTimeOffset = ptr.String(jtv) } + case "ExcludeFeaturesAttribute": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ExcludeFeaturesAttribute to be of type string, got %T instead", value) + } + sv.ExcludeFeaturesAttribute = ptr.String(jtv) + } + case "FeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -44197,6 +44206,15 @@ func awsAwsjson11_deserializeDocumentEndpointInput(v **types.EndpointInput, valu sv.EndTimeOffset = ptr.String(jtv) } + case "ExcludeFeaturesAttribute": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ExcludeFeaturesAttribute to be of type string, got %T instead", value) + } + sv.ExcludeFeaturesAttribute = ptr.String(jtv) + } + case "FeaturesAttribute": if value != nil { jtv, ok := value.(string) @@ -67297,6 +67315,24 @@ func awsAwsjson11_deserializeDocumentScheduleConfig(v **types.ScheduleConfig, va for key, value := range shape { switch key { + case "DataAnalysisEndTime": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.DataAnalysisEndTime = ptr.String(jtv) + } + + case "DataAnalysisStartTime": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.DataAnalysisStartTime = ptr.String(jtv) + } + case "ScheduleExpression": if value != nil { jtv, ok := value.(string) diff --git a/service/sagemaker/serializers.go b/service/sagemaker/serializers.go index 53009f162cd..bfa77098c9d 100644 --- a/service/sagemaker/serializers.go +++ b/service/sagemaker/serializers.go @@ -17682,6 +17682,11 @@ func awsAwsjson11_serializeDocumentBatchTransformInput(v *types.BatchTransformIn ok.String(*v.EndTimeOffset) } + if v.ExcludeFeaturesAttribute != nil { + ok := object.Key("ExcludeFeaturesAttribute") + ok.String(*v.ExcludeFeaturesAttribute) + } + if v.FeaturesAttribute != nil { ok := object.Key("FeaturesAttribute") ok.String(*v.FeaturesAttribute) @@ -19568,6 +19573,11 @@ func awsAwsjson11_serializeDocumentEndpointInput(v *types.EndpointInput, value s ok.String(*v.EndTimeOffset) } + if v.ExcludeFeaturesAttribute != nil { + ok := object.Key("ExcludeFeaturesAttribute") + ok.String(*v.ExcludeFeaturesAttribute) + } + if v.FeaturesAttribute != nil { ok := object.Key("FeaturesAttribute") ok.String(*v.FeaturesAttribute) @@ -24730,6 +24740,16 @@ func awsAwsjson11_serializeDocumentScheduleConfig(v *types.ScheduleConfig, value object := value.Object() defer object.Close() + if v.DataAnalysisEndTime != nil { + ok := object.Key("DataAnalysisEndTime") + ok.String(*v.DataAnalysisEndTime) + } + + if v.DataAnalysisStartTime != nil { + ok := object.Key("DataAnalysisStartTime") + ok.String(*v.DataAnalysisStartTime) + } + if v.ScheduleExpression != nil { ok := object.Key("ScheduleExpression") ok.String(*v.ScheduleExpression) diff --git a/service/sagemaker/types/types.go b/service/sagemaker/types/types.go index 1e80f7f0512..d3a24ccb4f5 100644 --- a/service/sagemaker/types/types.go +++ b/service/sagemaker/types/types.go @@ -1849,6 +1849,9 @@ type BatchTransformInput struct { // . EndTimeOffset *string + // The attributes of the input data to exclude from the analysis. + ExcludeFeaturesAttribute *string + // The attributes of the input data that are the input features. FeaturesAttribute *string @@ -2059,12 +2062,11 @@ type CapacitySize struct { } // Configuration specifying how to treat different headers. If no headers are -// specified Amazon SageMaker will by default base64 encode when capturing the -// data. +// specified SageMaker will by default base64 encode when capturing the data. type CaptureContentTypeHeader struct { - // The list of all content type headers that Amazon SageMaker will treat as CSV - // and capture accordingly. + // The list of all content type headers that SageMaker will treat as CSV and + // capture accordingly. CsvContentTypes []string // The list of all content type headers that SageMaker will treat as JSON and @@ -2895,9 +2897,9 @@ type DataCaptureConfig struct { // Whether data capture should be enabled or disabled (defaults to enabled). EnableCapture bool - // The Amazon Resource Name (ARN) of an Key Management Service key that SageMaker - // uses to encrypt the captured data at rest using Amazon S3 server-side - // encryption. The KmsKeyId can be any of the following formats: + // The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service + // key that SageMaker uses to encrypt the captured data at rest using Amazon S3 + // server-side encryption. The KmsKeyId can be any of the following formats: // - Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab // - Key ARN: // arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab @@ -3030,9 +3032,9 @@ type DataQualityAppSpecification struct { PostAnalyticsProcessorSourceUri *string // An Amazon S3 URI to a script that is called per row prior to running analysis. - // It can base64 decode the payload and convert it into a flattened JSON so that - // the built-in container can use the converted data. Applicable only for the - // built-in (first party) containers. + // It can base64 decode the payload and convert it into a flatted json so that the + // built-in container can use the converted data. Applicable only for the built-in + // (first party) containers. RecordPreprocessorSourceUri *string noSmithyDocumentSerde @@ -4114,6 +4116,9 @@ type EndpointInput struct { // . EndTimeOffset *string + // The attributes of the input data to exclude from the analysis. + ExcludeFeaturesAttribute *string + // The attributes of the input data that are the input features. FeaturesAttribute *string @@ -4128,7 +4133,7 @@ type EndpointInput struct { ProbabilityThresholdAttribute *float64 // Whether input data distributed in Amazon S3 is fully replicated or sharded by - // an Amazon S3 key. Defaults to FullyReplicated + // an S3 key. Defaults to FullyReplicated S3DataDistributionType ProcessingS3DataDistributionType // Whether the Pipe or File is used as the input mode for transferring data for @@ -6695,8 +6700,7 @@ type InferenceExperimentDataStorageConfig struct { Destination *string // Configuration specifying how to treat different headers. If no headers are - // specified Amazon SageMaker will by default base64 encode when capturing the - // data. + // specified SageMaker will by default base64 encode when capturing the data. ContentType *CaptureContentTypeHeader // The Amazon Web Services Key Management Service key that Amazon SageMaker uses @@ -8324,7 +8328,7 @@ type ModelDigests struct { // Docker container image configuration object for the model explainability job. type ModelExplainabilityAppSpecification struct { - // JSON formatted Amazon S3 file that defines explainability parameters. For more + // JSON formatted S3 file that defines explainability parameters. For more // information on this JSON configuration file, see Configure model explainability // parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-config-json-monitor-model-explainability-parameters.html) // . @@ -8861,9 +8865,9 @@ type ModelQualityAppSpecification struct { ProblemType MonitoringProblemType // An Amazon S3 URI to a script that is called per row prior to running analysis. - // It can base64 decode the payload and convert it into a flattened JSON so that - // the built-in container can use the converted data. Applicable only for the - // built-in (first party) containers. + // It can base64 decode the payload and convert it into a flatted json so that the + // built-in container can use the converted data. Applicable only for the built-in + // (first party) containers. RecordPreprocessorSourceUri *string noSmithyDocumentSerde @@ -8883,7 +8887,7 @@ type ModelQualityBaselineConfig struct { noSmithyDocumentSerde } -// The input for the model quality monitoring job. Currently endpoints are +// The input for the model quality monitoring job. Currently endponts are // supported for input for model quality monitoring jobs. type ModelQualityJobInput struct { @@ -9103,9 +9107,9 @@ type MonitoringAppSpecification struct { PostAnalyticsProcessorSourceUri *string // An Amazon S3 URI to a script that is called per row prior to running analysis. - // It can base64 decode the payload and convert it into a flattened JSON so that - // the built-in container can use the converted data. Applicable only for the - // built-in (first party) containers. + // It can base64 decode the payload and convert it into a flatted json so that the + // built-in container can use the converted data. Applicable only for the built-in + // (first party) containers. RecordPreprocessorSourceUri *string noSmithyDocumentSerde @@ -9151,9 +9155,9 @@ type MonitoringClusterConfig struct { // This member is required. VolumeSizeInGB *int32 - // The Key Management Service (KMS) key that Amazon SageMaker uses to encrypt data - // on the storage volume attached to the ML compute instance(s) that run the model - // monitoring job. + // The Amazon Web Services Key Management Service (Amazon Web Services KMS) key + // that Amazon SageMaker uses to encrypt data on the storage volume attached to the + // ML compute instance(s) that run the model monitoring job. VolumeKmsKeyId *string noSmithyDocumentSerde @@ -9273,7 +9277,8 @@ type MonitoringJobDefinition struct { // This member is required. MonitoringInputs []MonitoringInput - // The array of outputs from the monitoring job to be uploaded to Amazon S3. + // The array of outputs from the monitoring job to be uploaded to Amazon Simple + // Storage Service (Amazon S3). // // This member is required. MonitoringOutputConfig *MonitoringOutputConfig @@ -9336,7 +9341,7 @@ type MonitoringJobDefinitionSummary struct { // Represents the JSON dataset format used when running a monitoring job. type MonitoringJsonDatasetFormat struct { - // Indicates if the file should be read as a JSON object per line. + // Indicates if the file should be read as a json object per line. Line bool noSmithyDocumentSerde @@ -9385,8 +9390,9 @@ type MonitoringOutputConfig struct { // This member is required. MonitoringOutputs []MonitoringOutput - // The Key Management Service (KMS) key that Amazon SageMaker uses to encrypt the - // model artifacts at rest using Amazon S3 server-side encryption. + // The Amazon Web Services Key Management Service (Amazon Web Services KMS) key + // that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon + // S3 server-side encryption. KmsKeyId *string noSmithyDocumentSerde @@ -12605,10 +12611,10 @@ type ScalingPolicyObjective struct { // Configuration details about the monitoring schedule. type ScheduleConfig struct { - // A cron expression that describes details about the monitoring schedule. - // Currently the only supported cron expressions are: - // - If you want to set the job to start every hour, please use the following: - // Hourly: cron(0 * ? * * *) + // A cron expression that describes details about the monitoring schedule. The + // supported cron expressions are: + // - If you want to set the job to start every hour, use the following: Hourly: + // cron(0 * ? * * *) // - If you want to start the job daily: cron(0 [00-23] ? * * *) // For example, the following are valid cron expressions: // - Daily at noon UTC: cron(0 12 ? * * *) @@ -12623,10 +12629,33 @@ type ScheduleConfig struct { // execution. // - We recommend that if you would like a daily schedule, you do not provide // this parameter. Amazon SageMaker will pick a time for running every day. + // You can also specify the keyword NOW to run the monitoring job immediately, one + // time, without recurring. // // This member is required. ScheduleExpression *string + // Sets the end time for a monitoring job window. Express this time as an offset + // to the times that you schedule your monitoring jobs to run. You schedule + // monitoring jobs with the ScheduleExpression parameter. Specify this offset in + // ISO 8601 duration format. For example, if you want to end the window one hour + // before the start of each monitoring job, you would specify: "-PT1H" . The end + // time that you specify must not follow the start time that you specify by more + // than 24 hours. You specify the start time with the DataAnalysisStartTime + // parameter. If you set ScheduleExpression to NOW , this parameter is required. + DataAnalysisEndTime *string + + // Sets the start time for a monitoring job window. Express this time as an offset + // to the times that you schedule your monitoring jobs to run. You schedule + // monitoring jobs with the ScheduleExpression parameter. Specify this offset in + // ISO 8601 duration format. For example, if you want to monitor the five hours of + // data in your dataset that precede the start of each monitoring job, you would + // specify: "-PT5H" . The start time that you specify must not precede the end time + // that you specify by more than 24 hours. You specify the end time with the + // DataAnalysisEndTime parameter. If you set ScheduleExpression to NOW , this + // parameter is required. + DataAnalysisStartTime *string + noSmithyDocumentSerde } @@ -13480,8 +13509,8 @@ type TimeSeriesForecastingJobConfig struct { // and p90 as default. ForecastQuantiles []string - // The collection of holiday featurization attributes used to incorporate national - // holiday information into your forecasting model. + // The collection of holidays featurization attributes used to incorporate + // national holiday information into your forecasting model. HolidayConfig []HolidayConfigAttributes // The transformations modifying specific attributes of the time-series, such as diff --git a/service/ssoadmin/internal/endpoints/endpoints.go b/service/ssoadmin/internal/endpoints/endpoints.go index 24d7f221316..b0cc07b5ead 100644 --- a/service/ssoadmin/internal/endpoints/endpoints.go +++ b/service/ssoadmin/internal/endpoints/endpoints.go @@ -172,6 +172,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-central-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-north-1", }: endpoints.Endpoint{},