From d7c4d310f4f9612b831662c8231ee435a372d8a7 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 18 Jan 2024 19:13:58 +0000 Subject: [PATCH] feat(client-drs): Removed invalid and unnecessary default values. --- codegen/sdk-codegen/aws-models/drs.json | 28 +++---------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/drs.json b/codegen/sdk-codegen/aws-models/drs.json index 5ac0d104fade..06baa73f48a8 100644 --- a/codegen/sdk-codegen/aws-models/drs.json +++ b/codegen/sdk-codegen/aws-models/drs.json @@ -1522,7 +1522,6 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Job log items to retrieve.

" } }, @@ -1601,7 +1600,6 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Jobs to retrieve.

" } }, @@ -1721,7 +1719,6 @@ "maxResults": { "target": "com.amazonaws.drs#MaxResultsType", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Maximum results to be returned in DescribeLaunchConfigurationTemplates.

" } }, @@ -1807,7 +1804,6 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Recovery Instances to retrieve.

" } }, @@ -1922,7 +1918,6 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Recovery Snapshots to retrieve.

" } }, @@ -2024,7 +2019,6 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Replication Configuration Templates to retrieve.

" } }, @@ -2103,7 +2097,6 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Source Networks to retrieve.

" } }, @@ -2226,7 +2219,6 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Source Servers to retrieve.

" } }, @@ -4469,10 +4461,7 @@ } }, "order": { - "target": "com.amazonaws.drs#LaunchActionOrder", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.drs#LaunchActionOrder" }, "actionVersion": { "target": "com.amazonaws.drs#LaunchActionVersion" @@ -4573,7 +4562,6 @@ "com.amazonaws.drs#LaunchActionOrder": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Launch action order.

", "smithy.api#range": { "min": 2, @@ -5204,7 +5192,6 @@ "maxResults": { "target": "com.amazonaws.drs#MaxResultsReplicatingSourceServers", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of extensible source servers to retrieve.

" } }, @@ -5292,7 +5279,6 @@ "maxResults": { "target": "com.amazonaws.drs#MaxResultsType", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Maximum amount of items to return when listing resource launch actions.

" } }, @@ -5374,6 +5360,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of staging Accounts to retrieve.

", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { @@ -5469,7 +5456,6 @@ "com.amazonaws.drs#MaxResultsReplicatingSourceServers": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 300 @@ -5479,7 +5465,6 @@ "com.amazonaws.drs#MaxResultsType": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -5585,7 +5570,6 @@ "interval": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

How often, in the chosen units, a snapshot should be taken.

", "smithy.api#required": {} } @@ -5593,7 +5577,6 @@ "retentionDuration": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration to retain a snapshot for, in the chosen units.

", "smithy.api#required": {} } @@ -5780,7 +5763,6 @@ "order": { "target": "com.amazonaws.drs#LaunchActionOrder", "traits": { - "smithy.api#default": 0, "smithy.api#required": {} } }, @@ -5867,10 +5849,7 @@ } }, "order": { - "target": "com.amazonaws.drs#LaunchActionOrder", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.drs#LaunchActionOrder" }, "actionVersion": { "target": "com.amazonaws.drs#LaunchActionVersion" @@ -8542,7 +8521,6 @@ "com.amazonaws.drs#StrictlyPositiveInteger": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 }