Skip to content

Commit 23e5983

Browse files
Add ConflictExceptions to UpdateScope and DeleteScope operations for scopes being mutated.
1 parent 0875f09 commit 23e5983

22 files changed

+596
-347
lines changed

generator/ServiceModels/networkflowmonitor/networkflowmonitor-2023-04-19.api.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"errors":[
8282
{"shape":"ServiceQuotaExceededException"},
8383
{"shape":"ResourceNotFoundException"},
84+
{"shape":"ConflictException"},
8485
{"shape":"ValidationException"},
8586
{"shape":"ThrottlingException"},
8687
{"shape":"AccessDeniedException"},
@@ -450,6 +451,7 @@
450451
"errors":[
451452
{"shape":"ServiceQuotaExceededException"},
452453
{"shape":"ResourceNotFoundException"},
454+
{"shape":"ConflictException"},
453455
{"shape":"ValidationException"},
454456
{"shape":"ThrottlingException"},
455457
{"shape":"AccessDeniedException"},

generator/ServiceModels/networkflowmonitor/networkflowmonitor-2023-04-19.docs.json

Lines changed: 19 additions & 19 deletions
Large diffs are not rendered by default.

generator/ServiceModels/networkflowmonitor/networkflowmonitor-2023-04-19.normal.json

Lines changed: 21 additions & 19 deletions
Large diffs are not rendered by default.

generator/ServiceModels/networkflowmonitor/networkflowmonitor-2023-04-19.smoke2.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
{
22
"version" : 2,
33
"testCases" : [ {
4-
"id" : "GetMonitorSuccess",
5-
"operationName" : "GetMonitor",
6-
"input" : {
7-
"monitorName" : "SmokeTestMonitor"
8-
},
4+
"id" : "ListMonitors",
5+
"operationName" : "ListMonitors",
6+
"input" : { },
97
"expectation" : {
108
"success" : { }
119
},

sdk/src/Services/NetworkFlowMonitor/Generated/Model/GetQueryResultsMonitorTopContributorsRequest.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ namespace Amazon.NetworkFlowMonitor.Model
4444
///
4545
/// <para>
4646
/// Top contributors in Network Flow Monitor are network flows with the highest values
47-
/// for a specific metric type, related to a scope (for workload insights) or a monitor.
47+
/// for a specific metric type. Top contributors can be across all workload insights,
48+
/// for a given scope, or for a specific monitor. Use the applicable call for the top
49+
/// contributors that you want to be returned.
4850
/// </para>
4951
/// </summary>
5052
public partial class GetQueryResultsMonitorTopContributorsRequest : AmazonNetworkFlowMonitorRequest
@@ -113,7 +115,7 @@ internal bool IsSetNextToken()
113115
/// Gets and sets the property QueryId.
114116
/// <para>
115117
/// The identifier for the query. A query ID is an internally-generated identifier for
116-
/// a specific query returned from an API call to start a query.
118+
/// a specific query returned from an API call to create a query.
117119
/// </para>
118120
/// </summary>
119121
[AWSProperty(Required=true)]

sdk/src/Services/NetworkFlowMonitor/Generated/Model/GetQueryResultsWorkloadInsightsTopContributorsDataRequest.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@ namespace Amazon.NetworkFlowMonitor.Model
5050
///
5151
/// <para>
5252
/// Top contributors in Network Flow Monitor are network flows with the highest values
53-
/// for a specific metric type, related to a scope (for workload insights) or a monitor.
53+
/// for a specific metric type. Top contributors can be across all workload insights,
54+
/// for a given scope, or for a specific monitor. Use the applicable call for the top
55+
/// contributors that you want to be returned.
5456
/// </para>
5557
///
5658
/// <para>
57-
/// The top contributor network flows overall for a specific metric type, for example,
59+
/// The top contributor network flows overall are for a specific metric type, for example,
5860
/// the number of retransmissions.
5961
/// </para>
6062
/// </summary>
@@ -105,7 +107,7 @@ internal bool IsSetNextToken()
105107
/// Gets and sets the property QueryId.
106108
/// <para>
107109
/// The identifier for the query. A query ID is an internally-generated identifier for
108-
/// a specific query returned from an API call to start a query.
110+
/// a specific query returned from an API call to create a query.
109111
/// </para>
110112
/// </summary>
111113
[AWSProperty(Required=true)]

sdk/src/Services/NetworkFlowMonitor/Generated/Model/GetQueryResultsWorkloadInsightsTopContributorsRequest.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ namespace Amazon.NetworkFlowMonitor.Model
5050
///
5151
/// <para>
5252
/// Top contributors in Network Flow Monitor are network flows with the highest values
53-
/// for a specific metric type, related to a scope (for workload insights) or a monitor.
53+
/// for a specific metric type. Top contributors can be across all workload insights,
54+
/// for a given scope, or for a specific monitor. Use the applicable call for the top
55+
/// contributors that you want to be returned.
5456
/// </para>
5557
/// </summary>
5658
public partial class GetQueryResultsWorkloadInsightsTopContributorsRequest : AmazonNetworkFlowMonitorRequest
@@ -100,7 +102,7 @@ internal bool IsSetNextToken()
100102
/// Gets and sets the property QueryId.
101103
/// <para>
102104
/// The identifier for the query. A query ID is an internally-generated identifier for
103-
/// a specific query returned from an API call to start a query.
105+
/// a specific query returned from an API call to create a query.
104106
/// </para>
105107
/// </summary>
106108
[AWSProperty(Required=true)]

sdk/src/Services/NetworkFlowMonitor/Generated/Model/GetQueryStatusMonitorTopContributorsRequest.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,9 @@ namespace Amazon.NetworkFlowMonitor.Model
3737
///
3838
///
3939
/// <para>
40-
/// When you start a query, use this call to check the status of the query to make sure
41-
/// that it has has <c>SUCCEEDED</c> before you reviewStartQueryWorkloadInsightsTopContributorsData
42-
/// the results. Use the same query ID that you used for the corresponding API call to
43-
/// start the query, <c>StartQueryMonitorTopContributors</c>.
40+
/// When you create a query, use this call to check the status of the query to make sure
41+
/// that it has has <c>SUCCEEDED</c> before you review the results. Use the same query
42+
/// ID that you used for the corresponding API call to start (create) the query, <c>StartQueryMonitorTopContributors</c>.
4443
/// </para>
4544
///
4645
/// <para>

sdk/src/Services/NetworkFlowMonitor/Generated/Model/GetQueryStatusWorkloadInsightsTopContributorsDataRequest.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ namespace Amazon.NetworkFlowMonitor.Model
4444
///
4545
/// <para>
4646
/// Top contributors in Network Flow Monitor are network flows with the highest values
47-
/// for a specific metric type, related to a scope (for workload insights) or a monitor.
47+
/// for a specific metric type. Top contributors can be across all workload insights,
48+
/// for a given scope, or for a specific monitor. Use the applicable call for the top
49+
/// contributors that you want to be returned.
4850
/// </para>
4951
///
5052
/// <para>
51-
/// The top contributor network flows overall for a specific metric type, for example,
53+
/// The top contributor network flows overall are for a specific metric type, for example,
5254
/// the number of retransmissions.
5355
/// </para>
5456
/// </summary>

sdk/src/Services/NetworkFlowMonitor/Generated/Model/GetQueryStatusWorkloadInsightsTopContributorsRequest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ namespace Amazon.NetworkFlowMonitor.Model
4444
///
4545
/// <para>
4646
/// Top contributors in Network Flow Monitor are network flows with the highest values
47-
/// for a specific metric type, related to a scope (for workload insights) or a monitor.
47+
/// for a specific metric type. Top contributors can be across all workload insights,
48+
/// for a given scope, or for a specific monitor. Use the applicable call for the top
49+
/// contributors that you want to be returned.
4850
/// </para>
4951
/// </summary>
5052
public partial class GetQueryStatusWorkloadInsightsTopContributorsRequest : AmazonNetworkFlowMonitorRequest

0 commit comments

Comments
 (0)