/*
* 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 pi-2018-02-27.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;
namespace Amazon.PI.Model
{
///
/// Container for the parameters to the GetDimensionKeyDetails operation.
/// Get the attributes of the specified dimension group for a DB instance or data source.
/// For example, if you specify a SQL ID, GetDimensionKeyDetails
retrieves
/// the full text of the dimension db.sql.statement
associated with this
/// ID. This operation is useful because GetResourceMetrics
and DescribeDimensionKeys
/// don't support retrieval of large SQL statement text.
///
public partial class GetDimensionKeyDetailsRequest : AmazonPIRequest
{
private string _group;
private string _groupIdentifier;
private string _identifier;
private List _requestedDimensions = new List();
private ServiceType _serviceType;
///
/// Gets and sets the property Group.
///
/// The name of the dimension group. Performance Insights searches the specified group
/// for the dimension group ID. The following group name values are valid:
///
/// -
///
///
db.query
(Amazon DocumentDB only)
///
/// -
///
///
db.sql
(Amazon RDS and Aurora only)
///
///
///
[AWSProperty(Required=true, Min=0, Max=256)]
public string Group
{
get { return this._group; }
set { this._group = value; }
}
// Check to see if Group property is set
internal bool IsSetGroup()
{
return this._group != null;
}
///
/// Gets and sets the property GroupIdentifier.
///
/// The ID of the dimension group from which to retrieve dimension details. For dimension
/// group db.sql
, the group ID is db.sql.id
. The following group
/// ID values are valid:
///
/// -
///
///
db.sql.id
for dimension group db.sql
(Aurora and RDS only)
///
/// -
///
///
db.query.id
for dimension group db.query
(DocumentDB only)
///
///
///
[AWSProperty(Required=true, Min=0, Max=256)]
public string GroupIdentifier
{
get { return this._groupIdentifier; }
set { this._groupIdentifier = value; }
}
// Check to see if GroupIdentifier property is set
internal bool IsSetGroupIdentifier()
{
return this._groupIdentifier != null;
}
///
/// Gets and sets the property Identifier.
///
/// The ID for a data source from which to gather dimension data. This ID must be immutable
/// and unique within an Amazon Web Services Region. When a DB instance is the data source,
/// specify its DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
///
///
///
[AWSProperty(Required=true, Min=0, Max=256)]
public string Identifier
{
get { return this._identifier; }
set { this._identifier = value; }
}
// Check to see if Identifier property is set
internal bool IsSetIdentifier()
{
return this._identifier != null;
}
///
/// Gets and sets the property RequestedDimensions.
///
/// A list of dimensions to retrieve the detail data for within the given dimension group.
/// If you don't specify this parameter, Performance Insights returns all dimension data
/// within the specified dimension group. Specify dimension names for the following dimension
/// groups:
///
/// -
///
///
db.sql
- Specify either the full dimension name db.sql.statement
/// or the short dimension name statement
(Aurora and RDS only).
///
/// -
///
///
db.query
- Specify either the full dimension name db.query.statement
/// or the short dimension name statement
(DocumentDB only).
///
///
///
[AWSProperty(Min=1, Max=10)]
public List RequestedDimensions
{
get { return this._requestedDimensions; }
set { this._requestedDimensions = value; }
}
// Check to see if RequestedDimensions property is set
internal bool IsSetRequestedDimensions()
{
return this._requestedDimensions != null && this._requestedDimensions.Count > 0;
}
///
/// Gets and sets the property ServiceType.
///
/// The Amazon Web Services service for which Performance Insights returns data. The only
/// valid value is RDS
.
///
///
[AWSProperty(Required=true)]
public ServiceType ServiceType
{
get { return this._serviceType; }
set { this._serviceType = value; }
}
// Check to see if ServiceType property is set
internal bool IsSetServiceType()
{
return this._serviceType != null;
}
}
}