@@ -4,6 +4,7 @@ package odb
44
55import (
66 "context"
7+
78 "github.com/aws/aws-sdk-go-v2/service/odb"
89 "github.com/hashicorp/terraform-plugin-framework/datasource"
910 "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
@@ -17,19 +18,19 @@ import (
1718
1819// Function annotations are used for datasource registration to the Provider. DO NOT EDIT.
1920// @FrameworkDataSource("aws_odb_db_system_shapes_list", name="Db System Shapes List")
20- func newDataSourceDbSystemShapesList (context.Context ) (datasource.DataSourceWithConfigure , error ) {
21- return & dataSourceDbSystemShapesList {}, nil
21+ func newDataSourceDBSystemShapesList (context.Context ) (datasource.DataSourceWithConfigure , error ) {
22+ return & dataSourceDBSystemShapesList {}, nil
2223}
2324
2425const (
25- DSNameDbSystemShapesList = "Db System Shapes List Data Source"
26+ DSNameDBSystemShapesList = "Db System Shapes List Data Source"
2627)
2728
28- type dataSourceDbSystemShapesList struct {
29+ type dataSourceDBSystemShapesList struct {
2930 framework.DataSourceWithModel [dbSystemShapesListDataSourceModel ]
3031}
3132
32- func (d * dataSourceDbSystemShapesList ) Schema (ctx context.Context , req datasource.SchemaRequest , resp * datasource.SchemaResponse ) {
33+ func (d * dataSourceDBSystemShapesList ) Schema (ctx context.Context , req datasource.SchemaRequest , resp * datasource.SchemaResponse ) {
3334 resp .Schema = schema.Schema {
3435 Attributes : map [string ]schema.Attribute {
3536 "availability_zone_id" : schema.StringAttribute {
@@ -46,7 +47,7 @@ func (d *dataSourceDbSystemShapesList) Schema(ctx context.Context, req datasourc
4647 }
4748}
4849
49- func (d * dataSourceDbSystemShapesList ) Read (ctx context.Context , req datasource.ReadRequest , resp * datasource.ReadResponse ) {
50+ func (d * dataSourceDBSystemShapesList ) Read (ctx context.Context , req datasource.ReadRequest , resp * datasource.ReadResponse ) {
5051 conn := d .Meta ().ODBClient (ctx )
5152
5253 var data dbSystemShapesListDataSourceModel
@@ -64,7 +65,7 @@ func (d *dataSourceDbSystemShapesList) Read(ctx context.Context, req datasource.
6465 page , err := paginator .NextPage (ctx )
6566 if err != nil {
6667 resp .Diagnostics .AddError (
67- create .ProblemStandardMessage (names .ODB , create .ErrActionReading , DSNameDbSystemShapesList , "" , err ),
68+ create .ProblemStandardMessage (names .ODB , create .ErrActionReading , DSNameDBSystemShapesList , "" , err ),
6869 err .Error (),
6970 )
7071 return
0 commit comments