From a031969bf86195b8f8bf3f6163cf45c3b6c0db05 Mon Sep 17 00:00:00 2001 From: Sogo Kato Date: Wed, 27 Mar 2024 11:44:05 +0900 Subject: [PATCH] Remove db.mini from rdb service --- .../sdk-codegen/nifcloud-models/rdb.smithy | 20 ------------------- service/rdb/types/enums.go | 10 ---------- 2 files changed, 30 deletions(-) diff --git a/codegen/sdk-codegen/nifcloud-models/rdb.smithy b/codegen/sdk-codegen/nifcloud-models/rdb.smithy index bb6ad64..268307d 100644 --- a/codegen/sdk-codegen/nifcloud-models/rdb.smithy +++ b/codegen/sdk-codegen/nifcloud-models/rdb.smithy @@ -23,10 +23,6 @@ use aws.protocols#ec2QueryName string AccountingTypeOfCreateDBInstanceRequest @enum([ - { - name: "DB_MINI", - value: "db.mini", - }, { name: "DB_E_SMALL", value: "db.e-small", @@ -579,10 +575,6 @@ structure StatusInfos { string AccountingTypeOfCreateDBInstanceReadReplicaRequest @enum([ - { - name: "DB_MINI", - value: "db.mini", - }, { name: "DB_E_SMALL", value: "db.e-small", @@ -1050,10 +1042,6 @@ structure DBInstances { string AccountingTypeOfModifyDBInstanceRequest @enum([ - { - name: "DB_MINI", - value: "db.mini", - }, { name: "DB_E_SMALL", value: "db.e-small", @@ -2015,10 +2003,6 @@ structure DBSnapshots { string AccountingTypeOfRestoreDBInstanceFromDBSnapshotRequest @enum([ - { - name: "DB_MINI", - value: "db.mini", - }, { name: "DB_E_SMALL", value: "db.e-small", @@ -2343,10 +2327,6 @@ structure RestoreDBInstanceFromDBSnapshotResult { string AccountingTypeOfRestoreDBInstanceToPointInTimeRequest @enum([ - { - name: "DB_MINI", - value: "db.mini", - }, { name: "DB_E_SMALL", value: "db.e-small", diff --git a/service/rdb/types/enums.go b/service/rdb/types/enums.go index 756427a..d1d0aae 100644 --- a/service/rdb/types/enums.go +++ b/service/rdb/types/enums.go @@ -140,7 +140,6 @@ type DBInstanceClassOfCreateDBInstanceReadReplicaRequest string // Enum values for DBInstanceClassOfCreateDBInstanceReadReplicaRequest const ( - DBInstanceClassOfCreateDBInstanceReadReplicaRequestDbMini DBInstanceClassOfCreateDBInstanceReadReplicaRequest = "db.mini" DBInstanceClassOfCreateDBInstanceReadReplicaRequestDbESmall DBInstanceClassOfCreateDBInstanceReadReplicaRequest = "db.e-small" DBInstanceClassOfCreateDBInstanceReadReplicaRequestDbSmall DBInstanceClassOfCreateDBInstanceReadReplicaRequest = "db.small" DBInstanceClassOfCreateDBInstanceReadReplicaRequestDbESmall2 DBInstanceClassOfCreateDBInstanceReadReplicaRequest = "db.e-small2" @@ -210,7 +209,6 @@ const ( // ordering of this slice is not guaranteed to be stable across updates. func (DBInstanceClassOfCreateDBInstanceReadReplicaRequest) Values() []DBInstanceClassOfCreateDBInstanceReadReplicaRequest { return []DBInstanceClassOfCreateDBInstanceReadReplicaRequest{ - "db.mini", "db.e-small", "db.small", "db.e-small2", @@ -279,7 +277,6 @@ type DBInstanceClassOfCreateDBInstanceRequest string // Enum values for DBInstanceClassOfCreateDBInstanceRequest const ( - DBInstanceClassOfCreateDBInstanceRequestDbMini DBInstanceClassOfCreateDBInstanceRequest = "db.mini" DBInstanceClassOfCreateDBInstanceRequestDbESmall DBInstanceClassOfCreateDBInstanceRequest = "db.e-small" DBInstanceClassOfCreateDBInstanceRequestDbSmall DBInstanceClassOfCreateDBInstanceRequest = "db.small" DBInstanceClassOfCreateDBInstanceRequestDbESmall2 DBInstanceClassOfCreateDBInstanceRequest = "db.e-small2" @@ -349,7 +346,6 @@ const ( // updates. func (DBInstanceClassOfCreateDBInstanceRequest) Values() []DBInstanceClassOfCreateDBInstanceRequest { return []DBInstanceClassOfCreateDBInstanceRequest{ - "db.mini", "db.e-small", "db.small", "db.e-small2", @@ -557,7 +553,6 @@ type DBInstanceClassOfModifyDBInstanceRequest string // Enum values for DBInstanceClassOfModifyDBInstanceRequest const ( - DBInstanceClassOfModifyDBInstanceRequestDbMini DBInstanceClassOfModifyDBInstanceRequest = "db.mini" DBInstanceClassOfModifyDBInstanceRequestDbESmall DBInstanceClassOfModifyDBInstanceRequest = "db.e-small" DBInstanceClassOfModifyDBInstanceRequestDbSmall DBInstanceClassOfModifyDBInstanceRequest = "db.small" DBInstanceClassOfModifyDBInstanceRequestDbESmall2 DBInstanceClassOfModifyDBInstanceRequest = "db.e-small2" @@ -627,7 +622,6 @@ const ( // updates. func (DBInstanceClassOfModifyDBInstanceRequest) Values() []DBInstanceClassOfModifyDBInstanceRequest { return []DBInstanceClassOfModifyDBInstanceRequest{ - "db.mini", "db.e-small", "db.small", "db.e-small2", @@ -696,7 +690,6 @@ type DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequest string // Enum values for DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequest const ( - DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequestDbMini DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequest = "db.mini" DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequestDbESmall DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequest = "db.e-small" DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequestDbSmall DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequest = "db.small" DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequestDbESmall2 DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequest = "db.e-small2" @@ -766,7 +759,6 @@ const ( // ordering of this slice is not guaranteed to be stable across updates. func (DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequest) Values() []DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequest { return []DBInstanceClassOfRestoreDBInstanceFromDBSnapshotRequest{ - "db.mini", "db.e-small", "db.small", "db.e-small2", @@ -835,7 +827,6 @@ type DBInstanceClassOfRestoreDBInstanceToPointInTimeRequest string // Enum values for DBInstanceClassOfRestoreDBInstanceToPointInTimeRequest const ( - DBInstanceClassOfRestoreDBInstanceToPointInTimeRequestDbMini DBInstanceClassOfRestoreDBInstanceToPointInTimeRequest = "db.mini" DBInstanceClassOfRestoreDBInstanceToPointInTimeRequestDbESmall DBInstanceClassOfRestoreDBInstanceToPointInTimeRequest = "db.e-small" DBInstanceClassOfRestoreDBInstanceToPointInTimeRequestDbSmall DBInstanceClassOfRestoreDBInstanceToPointInTimeRequest = "db.small" DBInstanceClassOfRestoreDBInstanceToPointInTimeRequestDbESmall2 DBInstanceClassOfRestoreDBInstanceToPointInTimeRequest = "db.e-small2" @@ -905,7 +896,6 @@ const ( // ordering of this slice is not guaranteed to be stable across updates. func (DBInstanceClassOfRestoreDBInstanceToPointInTimeRequest) Values() []DBInstanceClassOfRestoreDBInstanceToPointInTimeRequest { return []DBInstanceClassOfRestoreDBInstanceToPointInTimeRequest{ - "db.mini", "db.e-small", "db.small", "db.e-small2",