Skip to content

Commit

Permalink
chore(clients): use spread operator for command endpoint params when …
Browse files Browse the repository at this point in the history
…necessary (#6458)
  • Loading branch information
trivikr authored Sep 10, 2024
1 parent 2b517a4 commit 76ceacb
Show file tree
Hide file tree
Showing 15,458 changed files with 15,458 additions and 46,372 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ export class ApplyArchiveRuleCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ export class CancelPolicyGenerationCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,7 @@ export class CheckAccessNotGrantedCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ export class CheckNoNewAccessCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ export class CheckNoPublicAccessCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,7 @@ export class CreateAccessPreviewCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ export class CreateAnalyzerCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ export class CreateArchiveRuleCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ export class DeleteAnalyzerCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ export class DeleteArchiveRuleCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ export class GenerateFindingRecommendationCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,7 @@ export class GetAccessPreviewCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ export class GetAnalyzedResourceCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ export class GetAnalyzerCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ export class GetArchiveRuleCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ export class GetFindingCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,7 @@ export class GetFindingRecommendationCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ export class GetFindingV2Command extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ export class GetGeneratedPolicyCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,7 @@ export class ListAccessPreviewFindingsCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ export class ListAccessPreviewsCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ export class ListAnalyzedResourcesCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ export class ListAnalyzersCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ export class ListArchiveRulesCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ export class ListFindingsCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ export class ListFindingsV2Command extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ export class ListPolicyGenerationsCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ export class ListTagsForResourceCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ export class StartPolicyGenerationCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ export class StartResourceScanCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ export class TagResourceCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ export class UntagResourceCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ export class UpdateArchiveRuleCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ export class UpdateFindingsCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@ export class ValidatePolicyCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ export class AcceptPrimaryEmailUpdateCommand extends $Command
ServiceInputTypes,
ServiceOutputTypes
>()
.ep({
...commonParams,
})
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: AccountClientResolvedConfig, o: any) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
Expand Down
Loading

0 comments on commit 76ceacb

Please sign in to comment.