diff --git a/.changelog/3d6f2f495ae045b2ab7321e5b2e0b0ef.json b/.changelog/3d6f2f495ae045b2ab7321e5b2e0b0ef.json new file mode 100644 index 00000000000..778a4abb4cb --- /dev/null +++ b/.changelog/3d6f2f495ae045b2ab7321e5b2e0b0ef.json @@ -0,0 +1,8 @@ +{ + "id": "3d6f2f49-5ae0-45b2-ab73-21e5b2e0b0ef", + "type": "feature", + "description": "RequestSpotInstances and RequestSpotFleet feature release.", + "modules": [ + "service/ec2" + ] +} \ No newline at end of file diff --git a/.changelog/8574ddeea0b646ea803114130ee2a81c.json b/.changelog/8574ddeea0b646ea803114130ee2a81c.json new file mode 100644 index 00000000000..d278cdae704 --- /dev/null +++ b/.changelog/8574ddeea0b646ea803114130ee2a81c.json @@ -0,0 +1,8 @@ +{ + "id": "8574ddee-a0b6-46ea-8031-14130ee2a81c", + "type": "feature", + "description": "Added converse support for custom imported models", + "modules": [ + "service/bedrockruntime" + ] +} \ No newline at end of file diff --git a/.changelog/9603e112d9e24400a3d9a32bb3693a66.json b/.changelog/9603e112d9e24400a3d9a32bb3693a66.json new file mode 100644 index 00000000000..42be0d10686 --- /dev/null +++ b/.changelog/9603e112d9e24400a3d9a32bb3693a66.json @@ -0,0 +1,8 @@ +{ + "id": "9603e112-d9e2-4400-a3d9-a32bb3693a66", + "type": "feature", + "description": "Removing FEDERATED from Create/List/Delete/GetDataCatalog API", + "modules": [ + "service/athena" + ] +} \ No newline at end of file diff --git a/.changelog/9cf2855ea5134855b02eca1576d8cc5c.json b/.changelog/9cf2855ea5134855b02eca1576d8cc5c.json new file mode 100644 index 00000000000..5fa6b9b6703 --- /dev/null +++ b/.changelog/9cf2855ea5134855b02eca1576d8cc5c.json @@ -0,0 +1,8 @@ +{ + "id": "9cf2855e-a513-4855-b02e-ca1576d8cc5c", + "type": "feature", + "description": "Adding converse support to CMI API's", + "modules": [ + "service/bedrock" + ] +} \ No newline at end of file diff --git a/.changelog/c0f2f6df5c804edebd07c74c7be56323.json b/.changelog/c0f2f6df5c804edebd07c74c7be56323.json new file mode 100644 index 00000000000..bc2532b1938 --- /dev/null +++ b/.changelog/c0f2f6df5c804edebd07c74c7be56323.json @@ -0,0 +1,8 @@ +{ + "id": "c0f2f6df-5c80-4ede-bd07-c74c7be56323", + "type": "feature", + "description": "Adding the following project member designations: PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER and PROJECT_CATALOG_STEWARD in the CreateProjectMembership API and PROJECT_CATALOG_STEWARD designation in the AddPolicyGrant API.", + "modules": [ + "service/datazone" + ] +} \ No newline at end of file diff --git a/feature/dynamodbstreams/attributevalue/go_module_metadata.go b/feature/dynamodbstreams/attributevalue/go_module_metadata.go index 285038c42aa..7a98a199477 100644 --- a/feature/dynamodbstreams/attributevalue/go_module_metadata.go +++ b/feature/dynamodbstreams/attributevalue/go_module_metadata.go @@ -3,4 +3,4 @@ package attributevalue // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.37" +const goModuleVersion = "1.15.12" diff --git a/service/athena/api_op_CreateDataCatalog.go b/service/athena/api_op_CreateDataCatalog.go index 3e57ff91e4c..41f6451d926 100644 --- a/service/athena/api_op_CreateDataCatalog.go +++ b/service/athena/api_op_CreateDataCatalog.go @@ -39,10 +39,8 @@ type CreateDataCatalogInput struct { // This member is required. Name *string - // The type of data catalog to create: LAMBDA for a federated catalog, GLUE for an - // Glue Data Catalog, and HIVE for an external Apache Hive metastore. FEDERATED is - // a federated catalog for which Athena creates the connection and the Lambda - // function for you based on the parameters that you pass. + // The type of data catalog to create: LAMBDA for a federated catalog, HIVE for an + // external hive metastore, or GLUE for an Glue Data Catalog. // // This member is required. Type types.DataCatalogType @@ -81,22 +79,6 @@ type CreateDataCatalogInput struct { // - The GLUE data catalog type also applies to the default AwsDataCatalog that // already exists in your account, of which you can have only one and cannot // modify. - // - // - The FEDERATED data catalog type uses one of the following parameters, but - // not both. Use connection-arn for an existing Glue connection. Use - // connection-type and connection-properties to specify the configuration setting - // for a new connection. - // - // - connection-arn: - // - // - lambda-role-arn (optional): The execution role to use for the Lambda - // function. If not provided, one is created. - // - // - connection-type:MYSQL|REDSHIFT|...., connection-properties:"" - // - // For , use escaped JSON text, as in the following example. - // - // "{\"spill_bucket\":\"my_spill\",\"spill_prefix\":\"athena-spill\",\"host\":\"abc12345.snowflakecomputing.com\",\"port\":\"1234\",\"warehouse\":\"DEV_WH\",\"database\":\"TEST\",\"schema\":\"PUBLIC\",\"SecretArn\":\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\"}" Parameters map[string]string // A list of comma separated tags to add to the data catalog that is created. @@ -106,13 +88,6 @@ type CreateDataCatalogInput struct { } type CreateDataCatalogOutput struct { - - // Contains information about a data catalog in an Amazon Web Services account. - // - // In the Athena console, data catalogs are listed as "data sources" on the Data - // sources page under the Data source name column. - DataCatalog *types.DataCatalog - // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/athena/api_op_DeleteDataCatalog.go b/service/athena/api_op_DeleteDataCatalog.go index 15a8d207bb0..85257df9adf 100644 --- a/service/athena/api_op_DeleteDataCatalog.go +++ b/service/athena/api_op_DeleteDataCatalog.go @@ -6,7 +6,6 @@ import ( "context" "fmt" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/athena/types" "github.com/aws/smithy-go/middleware" smithyhttp "github.com/aws/smithy-go/transport/http" ) @@ -38,13 +37,6 @@ type DeleteDataCatalogInput struct { } type DeleteDataCatalogOutput struct { - - // Contains information about a data catalog in an Amazon Web Services account. - // - // In the Athena console, data catalogs are listed as "data sources" on the Data - // sources page under the Data source name column. - DataCatalog *types.DataCatalog - // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/athena/api_op_GetQueryResults.go b/service/athena/api_op_GetQueryResults.go index 581bdaa1ca0..12c6461185e 100644 --- a/service/athena/api_op_GetQueryResults.go +++ b/service/athena/api_op_GetQueryResults.go @@ -70,7 +70,8 @@ type GetQueryResultsOutput struct { // The results of the query execution. ResultSet *types.ResultSet - // The number of rows inserted with a CREATE TABLE AS SELECT statement. + // The number of rows inserted with a CREATE TABLE AS SELECT , INSERT INTO , or + // UPDATE statement. UpdateCount *int64 // Metadata pertaining to the operation's result. diff --git a/service/athena/deserializers.go b/service/athena/deserializers.go index 23a046ec3d2..a4964865846 100644 --- a/service/athena/deserializers.go +++ b/service/athena/deserializers.go @@ -9332,15 +9332,6 @@ func awsAwsjson11_deserializeDocumentDataCatalog(v **types.DataCatalog, value in for key, value := range shape { switch key { - case "ConnectionType": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ConnectionType to be of type string, got %T instead", value) - } - sv.ConnectionType = types.ConnectionType(jtv) - } - case "Description": if value != nil { jtv, ok := value.(string) @@ -9350,15 +9341,6 @@ func awsAwsjson11_deserializeDocumentDataCatalog(v **types.DataCatalog, value in sv.Description = ptr.String(jtv) } - case "Error": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) - } - sv.Error = ptr.String(jtv) - } - case "Name": if value != nil { jtv, ok := value.(string) @@ -9373,15 +9355,6 @@ func awsAwsjson11_deserializeDocumentDataCatalog(v **types.DataCatalog, value in return err } - case "Status": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DataCatalogStatus to be of type string, got %T instead", value) - } - sv.Status = types.DataCatalogStatus(jtv) - } - case "Type": if value != nil { jtv, ok := value.(string) @@ -9431,33 +9404,6 @@ func awsAwsjson11_deserializeDocumentDataCatalogSummary(v **types.DataCatalogSum sv.CatalogName = ptr.String(jtv) } - case "ConnectionType": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ConnectionType to be of type string, got %T instead", value) - } - sv.ConnectionType = types.ConnectionType(jtv) - } - - case "Error": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) - } - sv.Error = ptr.String(jtv) - } - - case "Status": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DataCatalogStatus to be of type string, got %T instead", value) - } - sv.Status = types.DataCatalogStatus(jtv) - } - case "Type": if value != nil { jtv, ok := value.(string) @@ -13710,11 +13656,6 @@ func awsAwsjson11_deserializeOpDocumentCreateDataCatalogOutput(v **CreateDataCat for key, value := range shape { switch key { - case "DataCatalog": - if err := awsAwsjson11_deserializeDocumentDataCatalog(&sv.DataCatalog, value); err != nil { - return err - } - default: _, _ = key, value @@ -13981,11 +13922,6 @@ func awsAwsjson11_deserializeOpDocumentDeleteDataCatalogOutput(v **DeleteDataCat for key, value := range shape { switch key { - case "DataCatalog": - if err := awsAwsjson11_deserializeDocumentDataCatalog(&sv.DataCatalog, value); err != nil { - return err - } - default: _, _ = key, value diff --git a/service/athena/types/enums.go b/service/athena/types/enums.go index 56f8f140c74..d2f5c2489fb 100644 --- a/service/athena/types/enums.go +++ b/service/athena/types/enums.go @@ -119,122 +119,13 @@ func (ColumnNullable) Values() []ColumnNullable { } } -type ConnectionType string - -// Enum values for ConnectionType -const ( - ConnectionTypeDynamodb ConnectionType = "DYNAMODB" - ConnectionTypeMysql ConnectionType = "MYSQL" - ConnectionTypePostgresql ConnectionType = "POSTGRESQL" - ConnectionTypeRedshift ConnectionType = "REDSHIFT" - ConnectionTypeOracle ConnectionType = "ORACLE" - ConnectionTypeSynapse ConnectionType = "SYNAPSE" - ConnectionTypeSqlserver ConnectionType = "SQLSERVER" - ConnectionTypeDb2 ConnectionType = "DB2" - ConnectionTypeOpensearch ConnectionType = "OPENSEARCH" - ConnectionTypeBigquery ConnectionType = "BIGQUERY" - ConnectionTypeGooglecloudstorage ConnectionType = "GOOGLECLOUDSTORAGE" - ConnectionTypeHbase ConnectionType = "HBASE" - ConnectionTypeDocumentdb ConnectionType = "DOCUMENTDB" - ConnectionTypeMsk ConnectionType = "MSK" - ConnectionTypeNeptune ConnectionType = "NEPTUNE" - ConnectionTypeCmdb ConnectionType = "CMDB" - ConnectionTypeTpcds ConnectionType = "TPCDS" - ConnectionTypeRedis ConnectionType = "REDIS" - ConnectionTypeCloudwatch ConnectionType = "CLOUDWATCH" - ConnectionTypeTimestream ConnectionType = "TIMESTREAM" - ConnectionTypeSaphana ConnectionType = "SAPHANA" - ConnectionTypeSnowflake ConnectionType = "SNOWFLAKE" - ConnectionTypeTeradata ConnectionType = "TERADATA" - ConnectionTypeVertica ConnectionType = "VERTICA" - ConnectionTypeClouderaimpala ConnectionType = "CLOUDERAIMPALA" - ConnectionTypeClouderahive ConnectionType = "CLOUDERAHIVE" - ConnectionTypeHortonworkshive ConnectionType = "HORTONWORKSHIVE" - ConnectionTypeDatalakegen2 ConnectionType = "DATALAKEGEN2" - ConnectionTypeDb2as400 ConnectionType = "DB2AS400" - ConnectionTypeCloudwatchmetrics ConnectionType = "CLOUDWATCHMETRICS" -) - -// Values returns all known values for ConnectionType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (ConnectionType) Values() []ConnectionType { - return []ConnectionType{ - "DYNAMODB", - "MYSQL", - "POSTGRESQL", - "REDSHIFT", - "ORACLE", - "SYNAPSE", - "SQLSERVER", - "DB2", - "OPENSEARCH", - "BIGQUERY", - "GOOGLECLOUDSTORAGE", - "HBASE", - "DOCUMENTDB", - "MSK", - "NEPTUNE", - "CMDB", - "TPCDS", - "REDIS", - "CLOUDWATCH", - "TIMESTREAM", - "SAPHANA", - "SNOWFLAKE", - "TERADATA", - "VERTICA", - "CLOUDERAIMPALA", - "CLOUDERAHIVE", - "HORTONWORKSHIVE", - "DATALAKEGEN2", - "DB2AS400", - "CLOUDWATCHMETRICS", - } -} - -type DataCatalogStatus string - -// Enum values for DataCatalogStatus -const ( - DataCatalogStatusCreateInProgress DataCatalogStatus = "CREATE_IN_PROGRESS" - DataCatalogStatusCreateComplete DataCatalogStatus = "CREATE_COMPLETE" - DataCatalogStatusCreateFailed DataCatalogStatus = "CREATE_FAILED" - DataCatalogStatusCreateFailedCleanupInProgress DataCatalogStatus = "CREATE_FAILED_CLEANUP_IN_PROGRESS" - DataCatalogStatusCreateFailedCleanupComplete DataCatalogStatus = "CREATE_FAILED_CLEANUP_COMPLETE" - DataCatalogStatusCreateFailedCleanupFailed DataCatalogStatus = "CREATE_FAILED_CLEANUP_FAILED" - DataCatalogStatusDeleteInProgress DataCatalogStatus = "DELETE_IN_PROGRESS" - DataCatalogStatusDeleteComplete DataCatalogStatus = "DELETE_COMPLETE" - DataCatalogStatusDeleteFailed DataCatalogStatus = "DELETE_FAILED" -) - -// Values returns all known values for DataCatalogStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DataCatalogStatus) Values() []DataCatalogStatus { - return []DataCatalogStatus{ - "CREATE_IN_PROGRESS", - "CREATE_COMPLETE", - "CREATE_FAILED", - "CREATE_FAILED_CLEANUP_IN_PROGRESS", - "CREATE_FAILED_CLEANUP_COMPLETE", - "CREATE_FAILED_CLEANUP_FAILED", - "DELETE_IN_PROGRESS", - "DELETE_COMPLETE", - "DELETE_FAILED", - } -} - type DataCatalogType string // Enum values for DataCatalogType const ( - DataCatalogTypeLambda DataCatalogType = "LAMBDA" - DataCatalogTypeGlue DataCatalogType = "GLUE" - DataCatalogTypeHive DataCatalogType = "HIVE" - DataCatalogTypeFederated DataCatalogType = "FEDERATED" + DataCatalogTypeLambda DataCatalogType = "LAMBDA" + DataCatalogTypeGlue DataCatalogType = "GLUE" + DataCatalogTypeHive DataCatalogType = "HIVE" ) // Values returns all known values for DataCatalogType. Note that this can be @@ -246,7 +137,6 @@ func (DataCatalogType) Values() []DataCatalogType { "LAMBDA", "GLUE", "HIVE", - "FEDERATED", } } diff --git a/service/athena/types/types.go b/service/athena/types/types.go index 097e11ab8e2..f97aa87d9bd 100644 --- a/service/athena/types/types.go +++ b/service/athena/types/types.go @@ -8,19 +8,21 @@ import ( ) // Indicates that an Amazon S3 canned ACL should be set to control ownership of -// stored query results. When Athena stores query results in Amazon S3, the canned -// ACL is set with the x-amz-acl request header. For more information about S3 -// Object Ownership, see [Object Ownership settings]in the Amazon S3 User Guide. +// stored query results, including data files inserted by Athena as the result of +// statements like CTAS or INSERT INTO. When Athena stores query results in Amazon +// S3, the canned ACL is set with the x-amz-acl request header. For more +// information about S3 Object Ownership, see [Object Ownership settings]in the Amazon S3 User Guide. // // [Object Ownership settings]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html#object-ownership-overview type AclConfiguration struct { - // The Amazon S3 canned ACL that Athena should specify when storing query results. - // Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL . If a - // query runs in a workgroup and the workgroup overrides client-side settings, then - // the Amazon S3 canned ACL specified in the workgroup's settings is used for all - // queries that run in the workgroup. For more information about Amazon S3 canned - // ACLs, see [Canned ACL]in the Amazon S3 User Guide. + // The Amazon S3 canned ACL that Athena should specify when storing query results, + // including data files inserted by Athena as the result of statements like CTAS or + // INSERT INTO. Currently the only supported canned ACL is + // BUCKET_OWNER_FULL_CONTROL . If a query runs in a workgroup and the workgroup + // overrides client-side settings, then the Amazon S3 canned ACL specified in the + // workgroup's settings is used for all queries that run in the workgroup. For more + // information about Amazon S3 canned ACLs, see [Canned ACL]in the Amazon S3 User Guide. // // [Canned ACL]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl // @@ -359,26 +361,15 @@ type DataCatalog struct { // This member is required. Name *string - // The type of data catalog to create: LAMBDA for a federated catalog, GLUE for an - // Glue Data Catalog, and HIVE for an external Apache Hive metastore. FEDERATED is - // a federated catalog for which Athena creates the connection and the Lambda - // function for you based on the parameters that you pass. + // The type of data catalog to create: LAMBDA for a federated catalog, HIVE for an + // external hive metastore, or GLUE for an Glue Data Catalog. // // This member is required. Type DataCatalogType - // The type of connection for a FEDERATED data catalog (for example, REDSHIFT , - // MYSQL , or SQLSERVER ). For information about individual connectors, see [Available data source connectors]. - // - // [Available data source connectors]: https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html - ConnectionType ConnectionType - // An optional description of the data catalog. Description *string - // Text of the error that occurred during data catalog creation or deletion. - Error *string - // Specifies the Lambda function or functions to use for the data catalog. This is // a mapping whose values depend on the catalog type. // @@ -410,54 +401,8 @@ type DataCatalog struct { // - The GLUE data catalog type also applies to the default AwsDataCatalog that // already exists in your account, of which you can have only one and cannot // modify. - // - // - The FEDERATED data catalog type uses one of the following parameters, but - // not both. Use connection-arn for an existing Glue connection. Use - // connection-type and connection-properties to specify the configuration setting - // for a new connection. - // - // - connection-arn: - // - // - connection-type:MYSQL|REDSHIFT|...., connection-properties:"" - // - // For , use escaped JSON text, as in the following example. - // - // "{\"spill_bucket\":\"my_spill\",\"spill_prefix\":\"athena-spill\",\"host\":\"abc12345.snowflakecomputing.com\",\"port\":\"1234\",\"warehouse\":\"DEV_WH\",\"database\":\"TEST\",\"schema\":\"PUBLIC\",\"SecretArn\":\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\"}" Parameters map[string]string - // The status of the creation or deletion of the data catalog. - // - // - The LAMBDA , GLUE , and HIVE data catalog types are created synchronously. - // Their status is either CREATE_COMPLETE or CREATE_FAILED . - // - // - The FEDERATED data catalog type is created asynchronously. - // - // Data catalog creation status: - // - // - CREATE_IN_PROGRESS : Federated data catalog creation in progress. - // - // - CREATE_COMPLETE : Data catalog creation complete. - // - // - CREATE_FAILED : Data catalog could not be created. - // - // - CREATE_FAILED_CLEANUP_IN_PROGRESS : Federated data catalog creation failed - // and is being removed. - // - // - CREATE_FAILED_CLEANUP_COMPLETE : Federated data catalog creation failed and - // was removed. - // - // - CREATE_FAILED_CLEANUP_FAILED : Federated data catalog creation failed but - // could not be removed. - // - // Data catalog deletion status: - // - // - DELETE_IN_PROGRESS : Federated data catalog deletion in progress. - // - // - DELETE_COMPLETE : Federated data catalog deleted. - // - // - DELETE_FAILED : Federated data catalog could not be deleted. - Status DataCatalogStatus - noSmithyDocumentSerde } @@ -470,48 +415,6 @@ type DataCatalogSummary struct { // for use by Athena. CatalogName *string - // The type of connection for a FEDERATED data catalog (for example, REDSHIFT , - // MYSQL , or SQLSERVER ). For information about individual connectors, see [Available data source connectors]. - // - // [Available data source connectors]: https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html - ConnectionType ConnectionType - - // Text of the error that occurred during data catalog creation or deletion. - Error *string - - // The status of the creation or deletion of the data catalog. - // - // - The LAMBDA , GLUE , and HIVE data catalog types are created synchronously. - // Their status is either CREATE_COMPLETE or CREATE_FAILED . - // - // - The FEDERATED data catalog type is created asynchronously. - // - // Data catalog creation status: - // - // - CREATE_IN_PROGRESS : Federated data catalog creation in progress. - // - // - CREATE_COMPLETE : Data catalog creation complete. - // - // - CREATE_FAILED : Data catalog could not be created. - // - // - CREATE_FAILED_CLEANUP_IN_PROGRESS : Federated data catalog creation failed - // and is being removed. - // - // - CREATE_FAILED_CLEANUP_COMPLETE : Federated data catalog creation failed and - // was removed. - // - // - CREATE_FAILED_CLEANUP_FAILED : Federated data catalog creation failed but - // could not be removed. - // - // Data catalog deletion status: - // - // - DELETE_IN_PROGRESS : Federated data catalog deletion in progress. - // - // - DELETE_COMPLETE : Federated data catalog deleted. - // - // - DELETE_FAILED : Federated data catalog could not be deleted. - Status DataCatalogStatus - // The data catalog type. Type DataCatalogType diff --git a/service/bedrock/api_op_GetImportedModel.go b/service/bedrock/api_op_GetImportedModel.go index 1066eaefdf7..fb75c1be8b1 100644 --- a/service/bedrock/api_op_GetImportedModel.go +++ b/service/bedrock/api_op_GetImportedModel.go @@ -43,6 +43,9 @@ type GetImportedModelOutput struct { // Creation time of the imported model. CreationTime *time.Time + // Specifies if the imported model supports fine tuning. + InstructSupported *bool + // Job Amazon Resource Name (ARN) associated with the imported model. JobArn *string diff --git a/service/bedrock/deserializers.go b/service/bedrock/deserializers.go index bdf63cba6a6..b787dcdf58b 100644 --- a/service/bedrock/deserializers.go +++ b/service/bedrock/deserializers.go @@ -3301,6 +3301,15 @@ func awsRestjson1_deserializeOpDocumentGetImportedModelOutput(v **GetImportedMod sv.CreationTime = ptr.Time(t) } + case "instructSupported": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected InstructSupported to be of type *bool, got %T instead", value) + } + sv.InstructSupported = ptr.Bool(jtv) + } + case "jobArn": if value != nil { jtv, ok := value.(string) @@ -11207,6 +11216,24 @@ func awsRestjson1_deserializeDocumentImportedModelSummary(v **types.ImportedMode sv.CreationTime = ptr.Time(t) } + case "instructSupported": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected InstructSupported to be of type *bool, got %T instead", value) + } + sv.InstructSupported = ptr.Bool(jtv) + } + + case "modelArchitecture": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ModelArchitecture to be of type string, got %T instead", value) + } + sv.ModelArchitecture = ptr.String(jtv) + } + case "modelArn": if value != nil { jtv, ok := value.(string) diff --git a/service/bedrock/types/types.go b/service/bedrock/types/types.go index a185cdfa97b..7d38a559db5 100644 --- a/service/bedrock/types/types.go +++ b/service/bedrock/types/types.go @@ -1204,7 +1204,7 @@ type HumanWorkflowConfig struct { noSmithyDocumentSerde } -// Information about tne imported model. +// Information about the imported model. type ImportedModelSummary struct { // Creation time of the imported model. @@ -1222,6 +1222,12 @@ type ImportedModelSummary struct { // This member is required. ModelName *string + // Specifies if the imported model supports fine tuning. + InstructSupported *bool + + // The architecture of the imported model. + ModelArchitecture *string + noSmithyDocumentSerde } diff --git a/service/datazone/types/enums.go b/service/datazone/types/enums.go index d6d75676ca6..e83acb314ae 100644 --- a/service/datazone/types/enums.go +++ b/service/datazone/types/enums.go @@ -794,8 +794,9 @@ type ProjectDesignation string // Enum values for ProjectDesignation const ( - ProjectDesignationOwner ProjectDesignation = "OWNER" - ProjectDesignationContributor ProjectDesignation = "CONTRIBUTOR" + ProjectDesignationOwner ProjectDesignation = "OWNER" + ProjectDesignationContributor ProjectDesignation = "CONTRIBUTOR" + ProjectDesignationProjectCatalogSteward ProjectDesignation = "PROJECT_CATALOG_STEWARD" ) // Values returns all known values for ProjectDesignation. Note that this can be @@ -806,6 +807,7 @@ func (ProjectDesignation) Values() []ProjectDesignation { return []ProjectDesignation{ "OWNER", "CONTRIBUTOR", + "PROJECT_CATALOG_STEWARD", } } @@ -1302,8 +1304,11 @@ type UserDesignation string // Enum values for UserDesignation const ( - UserDesignationProjectOwner UserDesignation = "PROJECT_OWNER" - UserDesignationProjectContributor UserDesignation = "PROJECT_CONTRIBUTOR" + UserDesignationProjectOwner UserDesignation = "PROJECT_OWNER" + UserDesignationProjectContributor UserDesignation = "PROJECT_CONTRIBUTOR" + UserDesignationProjectCatalogViewer UserDesignation = "PROJECT_CATALOG_VIEWER" + UserDesignationProjectCatalogConsumer UserDesignation = "PROJECT_CATALOG_CONSUMER" + UserDesignationProjectCatalogSteward UserDesignation = "PROJECT_CATALOG_STEWARD" ) // Values returns all known values for UserDesignation. Note that this can be @@ -1314,6 +1319,9 @@ func (UserDesignation) Values() []UserDesignation { return []UserDesignation{ "PROJECT_OWNER", "PROJECT_CONTRIBUTOR", + "PROJECT_CATALOG_VIEWER", + "PROJECT_CATALOG_CONSUMER", + "PROJECT_CATALOG_STEWARD", } } diff --git a/service/ec2/api_op_DescribeImages.go b/service/ec2/api_op_DescribeImages.go index 0a933f853eb..3a7e9390f05 100644 --- a/service/ec2/api_op_DescribeImages.go +++ b/service/ec2/api_op_DescribeImages.go @@ -155,7 +155,7 @@ type DescribeImagesInput struct { // - sriov-net-support - A value of simple indicates that enhanced networking // with the Intel 82599 VF interface is enabled. // - // - tag : - The key/value combination of a tag assigned to the resource. Use the + // - tag: - The key/value combination of a tag assigned to the resource. Use the // tag key in the filter name and the tag value as the filter value. For example, // to find all resources that have a tag with the key Owner and the value TeamA , // specify tag:Owner for the filter name and TeamA for the filter value.