/*
* 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 finspace-data-2020-07-13.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.FinSpaceData.Model
{
///
/// The structure with error messages.
///
public partial class DataViewErrorInfo
{
private ErrorCategory _errorCategory;
private string _errorMessage;
///
/// Gets and sets the property ErrorCategory.
///
/// The category of the error.
///
/// -
///
///
VALIDATION
– The inputs to this request are invalid.
///
/// -
///
///
SERVICE_QUOTA_EXCEEDED
– Service quotas have been exceeded. Please contact
/// AWS support to increase quotas.
///
/// -
///
///
ACCESS_DENIED
– Missing required permission to perform this request.
///
/// -
///
///
RESOURCE_NOT_FOUND
– One or more inputs to this request were not found.
///
/// -
///
///
THROTTLING
– The system temporarily lacks sufficient resources to process
/// the request.
///
/// -
///
///
INTERNAL_SERVICE_EXCEPTION
– An internal service error has occurred.
///
/// -
///
///
CANCELLED
– Cancelled.
///
/// -
///
///
USER_RECOVERABLE
– A user recoverable error has occurred.
///
///
///
public ErrorCategory ErrorCategory
{
get { return this._errorCategory; }
set { this._errorCategory = value; }
}
// Check to see if ErrorCategory property is set
internal bool IsSetErrorCategory()
{
return this._errorCategory != null;
}
///
/// Gets and sets the property ErrorMessage.
///
/// The text of the error message.
///
///
[AWSProperty(Max=1000)]
public string ErrorMessage
{
get { return this._errorMessage; }
set { this._errorMessage = value; }
}
// Check to see if ErrorMessage property is set
internal bool IsSetErrorMessage()
{
return this._errorMessage != null;
}
}
}