-
Notifications
You must be signed in to change notification settings - Fork 849
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release enables AWS Compute Optimizer to analyze and generate op…
…timization recommendations for Amazon RDS MySQL and RDS PostgreSQL.
- Loading branch information
1 parent
6d558a0
commit 613bd93
Showing
58 changed files
with
8,983 additions
and
175 deletions.
There are no files selected for viewing
506 changes: 482 additions & 24 deletions
506
generator/ServiceModels/compute-optimizer/compute-optimizer-2019-11-01.api.json
Large diffs are not rendered by default.
Oops, something went wrong.
391 changes: 371 additions & 20 deletions
391
generator/ServiceModels/compute-optimizer/compute-optimizer-2019-11-01.docs.json
Large diffs are not rendered by default.
Oops, something went wrong.
804 changes: 752 additions & 52 deletions
804
generator/ServiceModels/compute-optimizer/compute-optimizer-2019-11-01.normal.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
135 changes: 135 additions & 0 deletions
135
sdk/src/Services/ComputeOptimizer/Generated/Model/DBStorageConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
/* | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
|
||
/* | ||
* Do not modify this file. This file is generated from the compute-optimizer-2019-11-01.normal.json service model. | ||
*/ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Xml.Serialization; | ||
using System.Text; | ||
using System.IO; | ||
using System.Net; | ||
|
||
using Amazon.Runtime; | ||
using Amazon.Runtime.Internal; | ||
|
||
#pragma warning disable CS0612,CS0618,CS1570 | ||
namespace Amazon.ComputeOptimizer.Model | ||
{ | ||
/// <summary> | ||
/// The configuration of the recommended RDS storage. | ||
/// </summary> | ||
public partial class DBStorageConfiguration | ||
{ | ||
private int? _allocatedStorage; | ||
private int? _iops; | ||
private int? _maxAllocatedStorage; | ||
private int? _storageThroughput; | ||
private string _storageType; | ||
|
||
/// <summary> | ||
/// Gets and sets the property AllocatedStorage. | ||
/// <para> | ||
/// The size of the RDS storage in gigabytes (GB). | ||
/// </para> | ||
/// </summary> | ||
public int AllocatedStorage | ||
{ | ||
get { return this._allocatedStorage.GetValueOrDefault(); } | ||
set { this._allocatedStorage = value; } | ||
} | ||
|
||
// Check to see if AllocatedStorage property is set | ||
internal bool IsSetAllocatedStorage() | ||
{ | ||
return this._allocatedStorage.HasValue; | ||
} | ||
|
||
/// <summary> | ||
/// Gets and sets the property Iops. | ||
/// <para> | ||
/// The provisioned IOPs of the RDS storage. | ||
/// </para> | ||
/// </summary> | ||
public int Iops | ||
{ | ||
get { return this._iops.GetValueOrDefault(); } | ||
set { this._iops = value; } | ||
} | ||
|
||
// Check to see if Iops property is set | ||
internal bool IsSetIops() | ||
{ | ||
return this._iops.HasValue; | ||
} | ||
|
||
/// <summary> | ||
/// Gets and sets the property MaxAllocatedStorage. | ||
/// <para> | ||
/// The maximum limit in gibibytes (GiB) to which Amazon RDS can automatically scale | ||
/// the storage of the RDS instance. | ||
/// </para> | ||
/// </summary> | ||
public int MaxAllocatedStorage | ||
{ | ||
get { return this._maxAllocatedStorage.GetValueOrDefault(); } | ||
set { this._maxAllocatedStorage = value; } | ||
} | ||
|
||
// Check to see if MaxAllocatedStorage property is set | ||
internal bool IsSetMaxAllocatedStorage() | ||
{ | ||
return this._maxAllocatedStorage.HasValue; | ||
} | ||
|
||
/// <summary> | ||
/// Gets and sets the property StorageThroughput. | ||
/// <para> | ||
/// The storage throughput of the RDS storage. | ||
/// </para> | ||
/// </summary> | ||
public int StorageThroughput | ||
{ | ||
get { return this._storageThroughput.GetValueOrDefault(); } | ||
set { this._storageThroughput = value; } | ||
} | ||
|
||
// Check to see if StorageThroughput property is set | ||
internal bool IsSetStorageThroughput() | ||
{ | ||
return this._storageThroughput.HasValue; | ||
} | ||
|
||
/// <summary> | ||
/// Gets and sets the property StorageType. | ||
/// <para> | ||
/// The type of RDS storage. | ||
/// </para> | ||
/// </summary> | ||
public string StorageType | ||
{ | ||
get { return this._storageType; } | ||
set { this._storageType = value; } | ||
} | ||
|
||
// Check to see if StorageType property is set | ||
internal bool IsSetStorageType() | ||
{ | ||
return this._storageType != null; | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.