Skip to content

Commit

Permalink
chore(clients): allow commands to be constructed without arg if optio…
Browse files Browse the repository at this point in the history
…nal (#5901)
  • Loading branch information
trivikr committed Mar 15, 2024
1 parent 96fd7dc commit 56e6715
Show file tree
Hide file tree
Showing 790 changed files with 13,585 additions and 10,701 deletions.
52 changes: 26 additions & 26 deletions clients/client-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,36 +32,36 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.1.5",
"@smithy/core": "^1.3.8",
"@smithy/fetch-http-handler": "^2.4.5",
"@smithy/hash-node": "^2.1.4",
"@smithy/invalid-dependency": "^2.1.4",
"@smithy/middleware-content-length": "^2.1.4",
"@smithy/middleware-endpoint": "^2.4.6",
"@smithy/middleware-retry": "^2.1.7",
"@smithy/middleware-serde": "^2.2.1",
"@smithy/middleware-stack": "^2.1.4",
"@smithy/node-config-provider": "^2.2.5",
"@smithy/node-http-handler": "^2.4.3",
"@smithy/protocol-http": "^3.2.2",
"@smithy/smithy-client": "^2.4.5",
"@smithy/types": "^2.11.0",
"@smithy/url-parser": "^2.1.4",
"@smithy/util-base64": "^2.2.1",
"@smithy/util-body-length-browser": "^2.1.1",
"@smithy/util-body-length-node": "^2.2.2",
"@smithy/util-defaults-mode-browser": "^2.1.7",
"@smithy/util-defaults-mode-node": "^2.2.7",
"@smithy/util-endpoints": "^1.1.5",
"@smithy/util-middleware": "^2.1.4",
"@smithy/util-retry": "^2.1.4",
"@smithy/util-utf8": "^2.2.0",
"@smithy/config-resolver": "^2.2.0",
"@smithy/core": "^1.4.0",
"@smithy/fetch-http-handler": "^2.5.0",
"@smithy/hash-node": "^2.2.0",
"@smithy/invalid-dependency": "^2.2.0",
"@smithy/middleware-content-length": "^2.2.0",
"@smithy/middleware-endpoint": "^2.5.0",
"@smithy/middleware-retry": "^2.2.0",
"@smithy/middleware-serde": "^2.3.0",
"@smithy/middleware-stack": "^2.2.0",
"@smithy/node-config-provider": "^2.3.0",
"@smithy/node-http-handler": "^2.5.0",
"@smithy/protocol-http": "^3.3.0",
"@smithy/smithy-client": "^2.5.0",
"@smithy/types": "^2.12.0",
"@smithy/url-parser": "^2.2.0",
"@smithy/util-base64": "^2.3.0",
"@smithy/util-body-length-browser": "^2.2.0",
"@smithy/util-body-length-node": "^2.3.0",
"@smithy/util-defaults-mode-browser": "^2.2.0",
"@smithy/util-defaults-mode-node": "^2.3.0",
"@smithy/util-endpoints": "^1.2.0",
"@smithy/util-middleware": "^2.2.0",
"@smithy/util-retry": "^2.2.0",
"@smithy/util-utf8": "^2.3.0",
"tslib": "^2.6.2",
"uuid": "^9.0.1"
},
"devDependencies": {
"@smithy/service-client-documentation-generator": "^2.1.1",
"@smithy/service-client-documentation-generator": "^2.2.0",
"@tsconfig/node14": "1.0.3",
"@types/node": "^14.14.31",
"@types/uuid": "^9.0.4",
Expand Down
2 changes: 2 additions & 0 deletions clients/client-accessanalyzer/src/AccessAnalyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ export interface AccessAnalyzer {
/**
* @see {@link ListAnalyzersCommand}
*/
listAnalyzers(): Promise<ListAnalyzersCommandOutput>;
listAnalyzers(args: ListAnalyzersCommandInput, options?: __HttpHandlerOptions): Promise<ListAnalyzersCommandOutput>;
listAnalyzers(args: ListAnalyzersCommandInput, cb: (err: any, data?: ListAnalyzersCommandOutput) => void): void;
listAnalyzers(
Expand Down Expand Up @@ -540,6 +541,7 @@ export interface AccessAnalyzer {
/**
* @see {@link ListPolicyGenerationsCommand}
*/
listPolicyGenerations(): Promise<ListPolicyGenerationsCommandOutput>;
listPolicyGenerations(
args: ListPolicyGenerationsCommandInput,
options?: __HttpHandlerOptions
Expand Down
52 changes: 26 additions & 26 deletions clients/client-account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,35 +32,35 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.1.5",
"@smithy/core": "^1.3.8",
"@smithy/fetch-http-handler": "^2.4.5",
"@smithy/hash-node": "^2.1.4",
"@smithy/invalid-dependency": "^2.1.4",
"@smithy/middleware-content-length": "^2.1.4",
"@smithy/middleware-endpoint": "^2.4.6",
"@smithy/middleware-retry": "^2.1.7",
"@smithy/middleware-serde": "^2.2.1",
"@smithy/middleware-stack": "^2.1.4",
"@smithy/node-config-provider": "^2.2.5",
"@smithy/node-http-handler": "^2.4.3",
"@smithy/protocol-http": "^3.2.2",
"@smithy/smithy-client": "^2.4.5",
"@smithy/types": "^2.11.0",
"@smithy/url-parser": "^2.1.4",
"@smithy/util-base64": "^2.2.1",
"@smithy/util-body-length-browser": "^2.1.1",
"@smithy/util-body-length-node": "^2.2.2",
"@smithy/util-defaults-mode-browser": "^2.1.7",
"@smithy/util-defaults-mode-node": "^2.2.7",
"@smithy/util-endpoints": "^1.1.5",
"@smithy/util-middleware": "^2.1.4",
"@smithy/util-retry": "^2.1.4",
"@smithy/util-utf8": "^2.2.0",
"@smithy/config-resolver": "^2.2.0",
"@smithy/core": "^1.4.0",
"@smithy/fetch-http-handler": "^2.5.0",
"@smithy/hash-node": "^2.2.0",
"@smithy/invalid-dependency": "^2.2.0",
"@smithy/middleware-content-length": "^2.2.0",
"@smithy/middleware-endpoint": "^2.5.0",
"@smithy/middleware-retry": "^2.2.0",
"@smithy/middleware-serde": "^2.3.0",
"@smithy/middleware-stack": "^2.2.0",
"@smithy/node-config-provider": "^2.3.0",
"@smithy/node-http-handler": "^2.5.0",
"@smithy/protocol-http": "^3.3.0",
"@smithy/smithy-client": "^2.5.0",
"@smithy/types": "^2.12.0",
"@smithy/url-parser": "^2.2.0",
"@smithy/util-base64": "^2.3.0",
"@smithy/util-body-length-browser": "^2.2.0",
"@smithy/util-body-length-node": "^2.3.0",
"@smithy/util-defaults-mode-browser": "^2.2.0",
"@smithy/util-defaults-mode-node": "^2.3.0",
"@smithy/util-endpoints": "^1.2.0",
"@smithy/util-middleware": "^2.2.0",
"@smithy/util-retry": "^2.2.0",
"@smithy/util-utf8": "^2.3.0",
"tslib": "^2.6.2"
},
"devDependencies": {
"@smithy/service-client-documentation-generator": "^2.1.1",
"@smithy/service-client-documentation-generator": "^2.2.0",
"@tsconfig/node14": "1.0.3",
"@types/node": "^14.14.31",
"concurrently": "7.0.0",
Expand Down
2 changes: 2 additions & 0 deletions clients/client-account/src/Account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export interface Account {
/**
* @see {@link GetContactInformationCommand}
*/
getContactInformation(): Promise<GetContactInformationCommandOutput>;
getContactInformation(
args: GetContactInformationCommandInput,
options?: __HttpHandlerOptions
Expand Down Expand Up @@ -151,6 +152,7 @@ export interface Account {
/**
* @see {@link ListRegionsCommand}
*/
listRegions(): Promise<ListRegionsCommandOutput>;
listRegions(args: ListRegionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRegionsCommandOutput>;
listRegions(args: ListRegionsCommandInput, cb: (err: any, data?: ListRegionsCommandOutput) => void): void;
listRegions(
Expand Down
54 changes: 27 additions & 27 deletions clients/client-acm-pca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,36 +32,36 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.1.5",
"@smithy/core": "^1.3.8",
"@smithy/fetch-http-handler": "^2.4.5",
"@smithy/hash-node": "^2.1.4",
"@smithy/invalid-dependency": "^2.1.4",
"@smithy/middleware-content-length": "^2.1.4",
"@smithy/middleware-endpoint": "^2.4.6",
"@smithy/middleware-retry": "^2.1.7",
"@smithy/middleware-serde": "^2.2.1",
"@smithy/middleware-stack": "^2.1.4",
"@smithy/node-config-provider": "^2.2.5",
"@smithy/node-http-handler": "^2.4.3",
"@smithy/protocol-http": "^3.2.2",
"@smithy/smithy-client": "^2.4.5",
"@smithy/types": "^2.11.0",
"@smithy/url-parser": "^2.1.4",
"@smithy/util-base64": "^2.2.1",
"@smithy/util-body-length-browser": "^2.1.1",
"@smithy/util-body-length-node": "^2.2.2",
"@smithy/util-defaults-mode-browser": "^2.1.7",
"@smithy/util-defaults-mode-node": "^2.2.7",
"@smithy/util-endpoints": "^1.1.5",
"@smithy/util-middleware": "^2.1.4",
"@smithy/util-retry": "^2.1.4",
"@smithy/util-utf8": "^2.2.0",
"@smithy/util-waiter": "^2.1.4",
"@smithy/config-resolver": "^2.2.0",
"@smithy/core": "^1.4.0",
"@smithy/fetch-http-handler": "^2.5.0",
"@smithy/hash-node": "^2.2.0",
"@smithy/invalid-dependency": "^2.2.0",
"@smithy/middleware-content-length": "^2.2.0",
"@smithy/middleware-endpoint": "^2.5.0",
"@smithy/middleware-retry": "^2.2.0",
"@smithy/middleware-serde": "^2.3.0",
"@smithy/middleware-stack": "^2.2.0",
"@smithy/node-config-provider": "^2.3.0",
"@smithy/node-http-handler": "^2.5.0",
"@smithy/protocol-http": "^3.3.0",
"@smithy/smithy-client": "^2.5.0",
"@smithy/types": "^2.12.0",
"@smithy/url-parser": "^2.2.0",
"@smithy/util-base64": "^2.3.0",
"@smithy/util-body-length-browser": "^2.2.0",
"@smithy/util-body-length-node": "^2.3.0",
"@smithy/util-defaults-mode-browser": "^2.2.0",
"@smithy/util-defaults-mode-node": "^2.3.0",
"@smithy/util-endpoints": "^1.2.0",
"@smithy/util-middleware": "^2.2.0",
"@smithy/util-retry": "^2.2.0",
"@smithy/util-utf8": "^2.3.0",
"@smithy/util-waiter": "^2.2.0",
"tslib": "^2.6.2"
},
"devDependencies": {
"@smithy/service-client-documentation-generator": "^2.1.1",
"@smithy/service-client-documentation-generator": "^2.2.0",
"@tsconfig/node14": "1.0.3",
"@types/node": "^14.14.31",
"concurrently": "7.0.0",
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm-pca/src/ACMPCA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ export interface ACMPCA {
/**
* @see {@link ListCertificateAuthoritiesCommand}
*/
listCertificateAuthorities(): Promise<ListCertificateAuthoritiesCommandOutput>;
listCertificateAuthorities(
args: ListCertificateAuthoritiesCommandInput,
options?: __HttpHandlerOptions
Expand Down
54 changes: 27 additions & 27 deletions clients/client-acm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,36 +32,36 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.1.5",
"@smithy/core": "^1.3.8",
"@smithy/fetch-http-handler": "^2.4.5",
"@smithy/hash-node": "^2.1.4",
"@smithy/invalid-dependency": "^2.1.4",
"@smithy/middleware-content-length": "^2.1.4",
"@smithy/middleware-endpoint": "^2.4.6",
"@smithy/middleware-retry": "^2.1.7",
"@smithy/middleware-serde": "^2.2.1",
"@smithy/middleware-stack": "^2.1.4",
"@smithy/node-config-provider": "^2.2.5",
"@smithy/node-http-handler": "^2.4.3",
"@smithy/protocol-http": "^3.2.2",
"@smithy/smithy-client": "^2.4.5",
"@smithy/types": "^2.11.0",
"@smithy/url-parser": "^2.1.4",
"@smithy/util-base64": "^2.2.1",
"@smithy/util-body-length-browser": "^2.1.1",
"@smithy/util-body-length-node": "^2.2.2",
"@smithy/util-defaults-mode-browser": "^2.1.7",
"@smithy/util-defaults-mode-node": "^2.2.7",
"@smithy/util-endpoints": "^1.1.5",
"@smithy/util-middleware": "^2.1.4",
"@smithy/util-retry": "^2.1.4",
"@smithy/util-utf8": "^2.2.0",
"@smithy/util-waiter": "^2.1.4",
"@smithy/config-resolver": "^2.2.0",
"@smithy/core": "^1.4.0",
"@smithy/fetch-http-handler": "^2.5.0",
"@smithy/hash-node": "^2.2.0",
"@smithy/invalid-dependency": "^2.2.0",
"@smithy/middleware-content-length": "^2.2.0",
"@smithy/middleware-endpoint": "^2.5.0",
"@smithy/middleware-retry": "^2.2.0",
"@smithy/middleware-serde": "^2.3.0",
"@smithy/middleware-stack": "^2.2.0",
"@smithy/node-config-provider": "^2.3.0",
"@smithy/node-http-handler": "^2.5.0",
"@smithy/protocol-http": "^3.3.0",
"@smithy/smithy-client": "^2.5.0",
"@smithy/types": "^2.12.0",
"@smithy/url-parser": "^2.2.0",
"@smithy/util-base64": "^2.3.0",
"@smithy/util-body-length-browser": "^2.2.0",
"@smithy/util-body-length-node": "^2.3.0",
"@smithy/util-defaults-mode-browser": "^2.2.0",
"@smithy/util-defaults-mode-node": "^2.3.0",
"@smithy/util-endpoints": "^1.2.0",
"@smithy/util-middleware": "^2.2.0",
"@smithy/util-retry": "^2.2.0",
"@smithy/util-utf8": "^2.3.0",
"@smithy/util-waiter": "^2.2.0",
"tslib": "^2.6.2"
},
"devDependencies": {
"@smithy/service-client-documentation-generator": "^2.1.1",
"@smithy/service-client-documentation-generator": "^2.2.0",
"@tsconfig/node14": "1.0.3",
"@types/node": "^14.14.31",
"concurrently": "7.0.0",
Expand Down
2 changes: 2 additions & 0 deletions clients/client-acm/src/ACM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ export interface ACM {
/**
* @see {@link GetAccountConfigurationCommand}
*/
getAccountConfiguration(): Promise<GetAccountConfigurationCommandOutput>;
getAccountConfiguration(
args: GetAccountConfigurationCommandInput,
options?: __HttpHandlerOptions
Expand Down Expand Up @@ -217,6 +218,7 @@ export interface ACM {
/**
* @see {@link ListCertificatesCommand}
*/
listCertificates(): Promise<ListCertificatesCommandOutput>;
listCertificates(
args: ListCertificatesCommandInput,
options?: __HttpHandlerOptions
Expand Down
52 changes: 26 additions & 26 deletions clients/client-alexa-for-business/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,36 +32,36 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.1.5",
"@smithy/core": "^1.3.8",
"@smithy/fetch-http-handler": "^2.4.5",
"@smithy/hash-node": "^2.1.4",
"@smithy/invalid-dependency": "^2.1.4",
"@smithy/middleware-content-length": "^2.1.4",
"@smithy/middleware-endpoint": "^2.4.6",
"@smithy/middleware-retry": "^2.1.7",
"@smithy/middleware-serde": "^2.2.1",
"@smithy/middleware-stack": "^2.1.4",
"@smithy/node-config-provider": "^2.2.5",
"@smithy/node-http-handler": "^2.4.3",
"@smithy/protocol-http": "^3.2.2",
"@smithy/smithy-client": "^2.4.5",
"@smithy/types": "^2.11.0",
"@smithy/url-parser": "^2.1.4",
"@smithy/util-base64": "^2.2.1",
"@smithy/util-body-length-browser": "^2.1.1",
"@smithy/util-body-length-node": "^2.2.2",
"@smithy/util-defaults-mode-browser": "^2.1.7",
"@smithy/util-defaults-mode-node": "^2.2.7",
"@smithy/util-endpoints": "^1.1.5",
"@smithy/util-middleware": "^2.1.4",
"@smithy/util-retry": "^2.1.4",
"@smithy/util-utf8": "^2.2.0",
"@smithy/config-resolver": "^2.2.0",
"@smithy/core": "^1.4.0",
"@smithy/fetch-http-handler": "^2.5.0",
"@smithy/hash-node": "^2.2.0",
"@smithy/invalid-dependency": "^2.2.0",
"@smithy/middleware-content-length": "^2.2.0",
"@smithy/middleware-endpoint": "^2.5.0",
"@smithy/middleware-retry": "^2.2.0",
"@smithy/middleware-serde": "^2.3.0",
"@smithy/middleware-stack": "^2.2.0",
"@smithy/node-config-provider": "^2.3.0",
"@smithy/node-http-handler": "^2.5.0",
"@smithy/protocol-http": "^3.3.0",
"@smithy/smithy-client": "^2.5.0",
"@smithy/types": "^2.12.0",
"@smithy/url-parser": "^2.2.0",
"@smithy/util-base64": "^2.3.0",
"@smithy/util-body-length-browser": "^2.2.0",
"@smithy/util-body-length-node": "^2.3.0",
"@smithy/util-defaults-mode-browser": "^2.2.0",
"@smithy/util-defaults-mode-node": "^2.3.0",
"@smithy/util-endpoints": "^1.2.0",
"@smithy/util-middleware": "^2.2.0",
"@smithy/util-retry": "^2.2.0",
"@smithy/util-utf8": "^2.3.0",
"tslib": "^2.6.2",
"uuid": "^9.0.1"
},
"devDependencies": {
"@smithy/service-client-documentation-generator": "^2.1.1",
"@smithy/service-client-documentation-generator": "^2.2.0",
"@tsconfig/node14": "1.0.3",
"@types/node": "^14.14.31",
"@types/uuid": "^9.0.4",
Expand Down
Loading

0 comments on commit 56e6715

Please sign in to comment.