-
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 adds support to surface async fargate customer errors fr…
…om async path to customer through describe-fargate-profile API response.
- Loading branch information
1 parent
564eb84
commit def0dec
Showing
10 changed files
with
541 additions
and
3 deletions.
There are no files selected for viewing
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
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
59 changes: 59 additions & 0 deletions
59
sdk/src/Services/EKS/Generated/Model/FargateProfileHealth.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,59 @@ | ||
/* | ||
* 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 eks-2017-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.EKS.Model | ||
{ | ||
/// <summary> | ||
/// The health status of the Fargate profile. If there are issues with your Fargate profile's | ||
/// health, they are listed here. | ||
/// </summary> | ||
public partial class FargateProfileHealth | ||
{ | ||
private List<FargateProfileIssue> _issues = AWSConfigs.InitializeCollections ? new List<FargateProfileIssue>() : null; | ||
|
||
/// <summary> | ||
/// Gets and sets the property Issues. | ||
/// <para> | ||
/// Any issues that are associated with the Fargate profile. | ||
/// </para> | ||
/// </summary> | ||
public List<FargateProfileIssue> Issues | ||
{ | ||
get { return this._issues; } | ||
set { this._issues = value; } | ||
} | ||
|
||
// Check to see if Issues property is set | ||
internal bool IsSetIssues() | ||
{ | ||
return this._issues != null && (this._issues.Count > 0 || !AWSConfigs.InitializeCollections); | ||
} | ||
|
||
} | ||
} |
96 changes: 96 additions & 0 deletions
96
sdk/src/Services/EKS/Generated/Model/FargateProfileIssue.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,96 @@ | ||
/* | ||
* 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 eks-2017-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.EKS.Model | ||
{ | ||
/// <summary> | ||
/// An issue that is associated with the Fargate profile. | ||
/// </summary> | ||
public partial class FargateProfileIssue | ||
{ | ||
private FargateProfileIssueCode _code; | ||
private string _message; | ||
private List<string> _resourceIds = AWSConfigs.InitializeCollections ? new List<string>() : null; | ||
|
||
/// <summary> | ||
/// Gets and sets the property Code. | ||
/// <para> | ||
/// A brief description of the error. | ||
/// </para> | ||
/// </summary> | ||
public FargateProfileIssueCode Code | ||
{ | ||
get { return this._code; } | ||
set { this._code = value; } | ||
} | ||
|
||
// Check to see if Code property is set | ||
internal bool IsSetCode() | ||
{ | ||
return this._code != null; | ||
} | ||
|
||
/// <summary> | ||
/// Gets and sets the property Message. | ||
/// <para> | ||
/// The error message associated with the issue. | ||
/// </para> | ||
/// </summary> | ||
public string Message | ||
{ | ||
get { return this._message; } | ||
set { this._message = value; } | ||
} | ||
|
||
// Check to see if Message property is set | ||
internal bool IsSetMessage() | ||
{ | ||
return this._message != null; | ||
} | ||
|
||
/// <summary> | ||
/// Gets and sets the property ResourceIds. | ||
/// <para> | ||
/// The Amazon Web Services resources that are affected by this issue. | ||
/// </para> | ||
/// </summary> | ||
public List<string> ResourceIds | ||
{ | ||
get { return this._resourceIds; } | ||
set { this._resourceIds = value; } | ||
} | ||
|
||
// Check to see if ResourceIds property is set | ||
internal bool IsSetResourceIds() | ||
{ | ||
return this._resourceIds != null && (this._resourceIds.Count > 0 || !AWSConfigs.InitializeCollections); | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.