Skip to content

Commit 76ceacb

Browse files
authored
chore(clients): use spread operator for command endpoint params when necessary (#6458)
1 parent 2b517a4 commit 76ceacb

File tree

15,458 files changed

+15458
-46372
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

15,458 files changed

+15458
-46372
lines changed

clients/client-accessanalyzer/src/commands/ApplyArchiveRuleCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ export class ApplyArchiveRuleCommand extends $Command
8181
ServiceInputTypes,
8282
ServiceOutputTypes
8383
>()
84-
.ep({
85-
...commonParams,
86-
})
84+
.ep(commonParams)
8785
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
8886
return [
8987
getSerdePlugin(config, this.serialize, this.deserialize),

clients/client-accessanalyzer/src/commands/CancelPolicyGenerationCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ export class CancelPolicyGenerationCommand extends $Command
7575
ServiceInputTypes,
7676
ServiceOutputTypes
7777
>()
78-
.ep({
79-
...commonParams,
80-
})
78+
.ep(commonParams)
8179
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
8280
return [
8381
getSerdePlugin(config, this.serialize, this.deserialize),

clients/client-accessanalyzer/src/commands/CheckAccessNotGrantedCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,7 @@ export class CheckAccessNotGrantedCommand extends $Command
188188
ServiceInputTypes,
189189
ServiceOutputTypes
190190
>()
191-
.ep({
192-
...commonParams,
193-
})
191+
.ep(commonParams)
194192
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
195193
return [
196194
getSerdePlugin(config, this.serialize, this.deserialize),

clients/client-accessanalyzer/src/commands/CheckNoNewAccessCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ export class CheckNoNewAccessCommand extends $Command
102102
ServiceInputTypes,
103103
ServiceOutputTypes
104104
>()
105-
.ep({
106-
...commonParams,
107-
})
105+
.ep(commonParams)
108106
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
109107
return [
110108
getSerdePlugin(config, this.serialize, this.deserialize),

clients/client-accessanalyzer/src/commands/CheckNoPublicAccessCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,7 @@ export class CheckNoPublicAccessCommand extends $Command
140140
ServiceInputTypes,
141141
ServiceOutputTypes
142142
>()
143-
.ep({
144-
...commonParams,
145-
})
143+
.ep(commonParams)
146144
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
147145
return [
148146
getSerdePlugin(config, this.serialize, this.deserialize),

clients/client-accessanalyzer/src/commands/CreateAccessPreviewCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,7 @@ export class CreateAccessPreviewCommand extends $Command
203203
ServiceInputTypes,
204204
ServiceOutputTypes
205205
>()
206-
.ep({
207-
...commonParams,
208-
})
206+
.ep(commonParams)
209207
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
210208
return [
211209
getSerdePlugin(config, this.serialize, this.deserialize),

clients/client-accessanalyzer/src/commands/CreateAnalyzerCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ export class CreateAnalyzerCommand extends $Command
112112
ServiceInputTypes,
113113
ServiceOutputTypes
114114
>()
115-
.ep({
116-
...commonParams,
117-
})
115+
.ep(commonParams)
118116
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
119117
return [
120118
getSerdePlugin(config, this.serialize, this.deserialize),

clients/client-accessanalyzer/src/commands/CreateArchiveRuleCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ export class CreateArchiveRuleCommand extends $Command
102102
ServiceInputTypes,
103103
ServiceOutputTypes
104104
>()
105-
.ep({
106-
...commonParams,
107-
})
105+
.ep(commonParams)
108106
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
109107
return [
110108
getSerdePlugin(config, this.serialize, this.deserialize),

clients/client-accessanalyzer/src/commands/DeleteAnalyzerCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ export class DeleteAnalyzerCommand extends $Command
8181
ServiceInputTypes,
8282
ServiceOutputTypes
8383
>()
84-
.ep({
85-
...commonParams,
86-
})
84+
.ep(commonParams)
8785
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
8886
return [
8987
getSerdePlugin(config, this.serialize, this.deserialize),

clients/client-accessanalyzer/src/commands/DeleteArchiveRuleCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ export class DeleteArchiveRuleCommand extends $Command
8080
ServiceInputTypes,
8181
ServiceOutputTypes
8282
>()
83-
.ep({
84-
...commonParams,
85-
})
83+
.ep(commonParams)
8684
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
8785
return [
8886
getSerdePlugin(config, this.serialize, this.deserialize),

0 commit comments

Comments
 (0)