Skip to content

Commit ef470ae

Browse files
Added ConflictException to DeleteBillEstimate.
1 parent c040101 commit ef470ae

File tree

9 files changed

+38
-0
lines changed

9 files changed

+38
-0
lines changed

generator/ServiceModels/bcm-pricing-calculator/bcm-pricing-calculator-2024-06-19.api.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@
252252
"input":{"shape":"DeleteBillEstimateRequest"},
253253
"output":{"shape":"DeleteBillEstimateResponse"},
254254
"errors":[
255+
{"shape":"ConflictException"},
255256
{"shape":"ValidationException"},
256257
{"shape":"DataUnavailableException"},
257258
{"shape":"InternalServerException"},

generator/ServiceModels/bcm-pricing-calculator/bcm-pricing-calculator-2024-06-19.normal.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@
264264
"input":{"shape":"DeleteBillEstimateRequest"},
265265
"output":{"shape":"DeleteBillEstimateResponse"},
266266
"errors":[
267+
{"shape":"ConflictException"},
267268
{"shape":"ValidationException"},
268269
{"shape":"DataUnavailableException"},
269270
{"shape":"InternalServerException"},

sdk/src/Services/BCMPricingCalculator/Generated/Model/Internal/MarshallTransformations/DeleteBillEstimateResponseUnmarshaller.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ public override AmazonServiceException UnmarshallException(JsonUnmarshallerConte
7474
{
7575
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
7676
}
77+
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
78+
{
79+
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
80+
}
7781
if (errorResponse.Code != null && errorResponse.Code.Equals("DataUnavailableException"))
7882
{
7983
return DataUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);

sdk/src/Services/BCMPricingCalculator/Generated/_bcl35/AmazonBCMPricingCalculatorClient.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,6 +1240,10 @@ public virtual CreateWorkloadEstimateResponse EndCreateWorkloadEstimate(IAsyncRe
12401240
/// <exception cref="Amazon.BCMPricingCalculator.Model.AccessDeniedException">
12411241
/// You do not have sufficient access to perform this action.
12421242
/// </exception>
1243+
/// <exception cref="Amazon.BCMPricingCalculator.Model.ConflictException">
1244+
/// The request could not be processed because of conflict in the current state of the
1245+
/// resource.
1246+
/// </exception>
12431247
/// <exception cref="Amazon.BCMPricingCalculator.Model.DataUnavailableException">
12441248
/// The requested data is currently unavailable.
12451249
/// </exception>

sdk/src/Services/BCMPricingCalculator/Generated/_bcl35/IAmazonBCMPricingCalculator.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,10 @@ public partial interface IAmazonBCMPricingCalculator : IAmazonService, IDisposab
854854
/// <exception cref="Amazon.BCMPricingCalculator.Model.AccessDeniedException">
855855
/// You do not have sufficient access to perform this action.
856856
/// </exception>
857+
/// <exception cref="Amazon.BCMPricingCalculator.Model.ConflictException">
858+
/// The request could not be processed because of conflict in the current state of the
859+
/// resource.
860+
/// </exception>
857861
/// <exception cref="Amazon.BCMPricingCalculator.Model.DataUnavailableException">
858862
/// The requested data is currently unavailable.
859863
/// </exception>

sdk/src/Services/BCMPricingCalculator/Generated/_bcl45/AmazonBCMPricingCalculatorClient.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,10 @@ public virtual CreateWorkloadEstimateResponse CreateWorkloadEstimate(CreateWorkl
13891389
/// <exception cref="Amazon.BCMPricingCalculator.Model.AccessDeniedException">
13901390
/// You do not have sufficient access to perform this action.
13911391
/// </exception>
1392+
/// <exception cref="Amazon.BCMPricingCalculator.Model.ConflictException">
1393+
/// The request could not be processed because of conflict in the current state of the
1394+
/// resource.
1395+
/// </exception>
13921396
/// <exception cref="Amazon.BCMPricingCalculator.Model.DataUnavailableException">
13931397
/// The requested data is currently unavailable.
13941398
/// </exception>
@@ -1426,6 +1430,10 @@ public virtual DeleteBillEstimateResponse DeleteBillEstimate(DeleteBillEstimateR
14261430
/// <exception cref="Amazon.BCMPricingCalculator.Model.AccessDeniedException">
14271431
/// You do not have sufficient access to perform this action.
14281432
/// </exception>
1433+
/// <exception cref="Amazon.BCMPricingCalculator.Model.ConflictException">
1434+
/// The request could not be processed because of conflict in the current state of the
1435+
/// resource.
1436+
/// </exception>
14291437
/// <exception cref="Amazon.BCMPricingCalculator.Model.DataUnavailableException">
14301438
/// The requested data is currently unavailable.
14311439
/// </exception>

sdk/src/Services/BCMPricingCalculator/Generated/_bcl45/IAmazonBCMPricingCalculator.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,10 @@ public partial interface IAmazonBCMPricingCalculator : IAmazonService, IDisposab
10121012
/// <exception cref="Amazon.BCMPricingCalculator.Model.AccessDeniedException">
10131013
/// You do not have sufficient access to perform this action.
10141014
/// </exception>
1015+
/// <exception cref="Amazon.BCMPricingCalculator.Model.ConflictException">
1016+
/// The request could not be processed because of conflict in the current state of the
1017+
/// resource.
1018+
/// </exception>
10151019
/// <exception cref="Amazon.BCMPricingCalculator.Model.DataUnavailableException">
10161020
/// The requested data is currently unavailable.
10171021
/// </exception>
@@ -1043,6 +1047,10 @@ public partial interface IAmazonBCMPricingCalculator : IAmazonService, IDisposab
10431047
/// <exception cref="Amazon.BCMPricingCalculator.Model.AccessDeniedException">
10441048
/// You do not have sufficient access to perform this action.
10451049
/// </exception>
1050+
/// <exception cref="Amazon.BCMPricingCalculator.Model.ConflictException">
1051+
/// The request could not be processed because of conflict in the current state of the
1052+
/// resource.
1053+
/// </exception>
10461054
/// <exception cref="Amazon.BCMPricingCalculator.Model.DataUnavailableException">
10471055
/// The requested data is currently unavailable.
10481056
/// </exception>

sdk/src/Services/BCMPricingCalculator/Generated/_netstandard/AmazonBCMPricingCalculatorClient.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,10 @@ internal virtual DeleteBillEstimateResponse DeleteBillEstimate(DeleteBillEstimat
10181018
/// <exception cref="Amazon.BCMPricingCalculator.Model.AccessDeniedException">
10191019
/// You do not have sufficient access to perform this action.
10201020
/// </exception>
1021+
/// <exception cref="Amazon.BCMPricingCalculator.Model.ConflictException">
1022+
/// The request could not be processed because of conflict in the current state of the
1023+
/// resource.
1024+
/// </exception>
10211025
/// <exception cref="Amazon.BCMPricingCalculator.Model.DataUnavailableException">
10221026
/// The requested data is currently unavailable.
10231027
/// </exception>

sdk/src/Services/BCMPricingCalculator/Generated/_netstandard/IAmazonBCMPricingCalculator.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,10 @@ public partial interface IAmazonBCMPricingCalculator : IAmazonService, IDisposab
592592
/// <exception cref="Amazon.BCMPricingCalculator.Model.AccessDeniedException">
593593
/// You do not have sufficient access to perform this action.
594594
/// </exception>
595+
/// <exception cref="Amazon.BCMPricingCalculator.Model.ConflictException">
596+
/// The request could not be processed because of conflict in the current state of the
597+
/// resource.
598+
/// </exception>
595599
/// <exception cref="Amazon.BCMPricingCalculator.Model.DataUnavailableException">
596600
/// The requested data is currently unavailable.
597601
/// </exception>

0 commit comments

Comments
 (0)