Skip to content

Commit 56e6715

Browse files
authored
chore(clients): allow commands to be constructed without arg if optional (#5901)
1 parent 96fd7dc commit 56e6715

File tree

790 files changed

+13585
-10701
lines changed

Some content is hidden

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

790 files changed

+13585
-10701
lines changed

clients/client-accessanalyzer/package.json

+26-26
Original file line numberDiff line numberDiff line change
@@ -32,36 +32,36 @@
3232
"@aws-sdk/util-endpoints": "*",
3333
"@aws-sdk/util-user-agent-browser": "*",
3434
"@aws-sdk/util-user-agent-node": "*",
35-
"@smithy/config-resolver": "^2.1.5",
36-
"@smithy/core": "^1.3.8",
37-
"@smithy/fetch-http-handler": "^2.4.5",
38-
"@smithy/hash-node": "^2.1.4",
39-
"@smithy/invalid-dependency": "^2.1.4",
40-
"@smithy/middleware-content-length": "^2.1.4",
41-
"@smithy/middleware-endpoint": "^2.4.6",
42-
"@smithy/middleware-retry": "^2.1.7",
43-
"@smithy/middleware-serde": "^2.2.1",
44-
"@smithy/middleware-stack": "^2.1.4",
45-
"@smithy/node-config-provider": "^2.2.5",
46-
"@smithy/node-http-handler": "^2.4.3",
47-
"@smithy/protocol-http": "^3.2.2",
48-
"@smithy/smithy-client": "^2.4.5",
49-
"@smithy/types": "^2.11.0",
50-
"@smithy/url-parser": "^2.1.4",
51-
"@smithy/util-base64": "^2.2.1",
52-
"@smithy/util-body-length-browser": "^2.1.1",
53-
"@smithy/util-body-length-node": "^2.2.2",
54-
"@smithy/util-defaults-mode-browser": "^2.1.7",
55-
"@smithy/util-defaults-mode-node": "^2.2.7",
56-
"@smithy/util-endpoints": "^1.1.5",
57-
"@smithy/util-middleware": "^2.1.4",
58-
"@smithy/util-retry": "^2.1.4",
59-
"@smithy/util-utf8": "^2.2.0",
35+
"@smithy/config-resolver": "^2.2.0",
36+
"@smithy/core": "^1.4.0",
37+
"@smithy/fetch-http-handler": "^2.5.0",
38+
"@smithy/hash-node": "^2.2.0",
39+
"@smithy/invalid-dependency": "^2.2.0",
40+
"@smithy/middleware-content-length": "^2.2.0",
41+
"@smithy/middleware-endpoint": "^2.5.0",
42+
"@smithy/middleware-retry": "^2.2.0",
43+
"@smithy/middleware-serde": "^2.3.0",
44+
"@smithy/middleware-stack": "^2.2.0",
45+
"@smithy/node-config-provider": "^2.3.0",
46+
"@smithy/node-http-handler": "^2.5.0",
47+
"@smithy/protocol-http": "^3.3.0",
48+
"@smithy/smithy-client": "^2.5.0",
49+
"@smithy/types": "^2.12.0",
50+
"@smithy/url-parser": "^2.2.0",
51+
"@smithy/util-base64": "^2.3.0",
52+
"@smithy/util-body-length-browser": "^2.2.0",
53+
"@smithy/util-body-length-node": "^2.3.0",
54+
"@smithy/util-defaults-mode-browser": "^2.2.0",
55+
"@smithy/util-defaults-mode-node": "^2.3.0",
56+
"@smithy/util-endpoints": "^1.2.0",
57+
"@smithy/util-middleware": "^2.2.0",
58+
"@smithy/util-retry": "^2.2.0",
59+
"@smithy/util-utf8": "^2.3.0",
6060
"tslib": "^2.6.2",
6161
"uuid": "^9.0.1"
6262
},
6363
"devDependencies": {
64-
"@smithy/service-client-documentation-generator": "^2.1.1",
64+
"@smithy/service-client-documentation-generator": "^2.2.0",
6565
"@tsconfig/node14": "1.0.3",
6666
"@types/node": "^14.14.31",
6767
"@types/uuid": "^9.0.4",

clients/client-accessanalyzer/src/AccessAnalyzer.ts

+2
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ export interface AccessAnalyzer {
487487
/**
488488
* @see {@link ListAnalyzersCommand}
489489
*/
490+
listAnalyzers(): Promise<ListAnalyzersCommandOutput>;
490491
listAnalyzers(args: ListAnalyzersCommandInput, options?: __HttpHandlerOptions): Promise<ListAnalyzersCommandOutput>;
491492
listAnalyzers(args: ListAnalyzersCommandInput, cb: (err: any, data?: ListAnalyzersCommandOutput) => void): void;
492493
listAnalyzers(
@@ -540,6 +541,7 @@ export interface AccessAnalyzer {
540541
/**
541542
* @see {@link ListPolicyGenerationsCommand}
542543
*/
544+
listPolicyGenerations(): Promise<ListPolicyGenerationsCommandOutput>;
543545
listPolicyGenerations(
544546
args: ListPolicyGenerationsCommandInput,
545547
options?: __HttpHandlerOptions

clients/client-account/package.json

+26-26
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,35 @@
3232
"@aws-sdk/util-endpoints": "*",
3333
"@aws-sdk/util-user-agent-browser": "*",
3434
"@aws-sdk/util-user-agent-node": "*",
35-
"@smithy/config-resolver": "^2.1.5",
36-
"@smithy/core": "^1.3.8",
37-
"@smithy/fetch-http-handler": "^2.4.5",
38-
"@smithy/hash-node": "^2.1.4",
39-
"@smithy/invalid-dependency": "^2.1.4",
40-
"@smithy/middleware-content-length": "^2.1.4",
41-
"@smithy/middleware-endpoint": "^2.4.6",
42-
"@smithy/middleware-retry": "^2.1.7",
43-
"@smithy/middleware-serde": "^2.2.1",
44-
"@smithy/middleware-stack": "^2.1.4",
45-
"@smithy/node-config-provider": "^2.2.5",
46-
"@smithy/node-http-handler": "^2.4.3",
47-
"@smithy/protocol-http": "^3.2.2",
48-
"@smithy/smithy-client": "^2.4.5",
49-
"@smithy/types": "^2.11.0",
50-
"@smithy/url-parser": "^2.1.4",
51-
"@smithy/util-base64": "^2.2.1",
52-
"@smithy/util-body-length-browser": "^2.1.1",
53-
"@smithy/util-body-length-node": "^2.2.2",
54-
"@smithy/util-defaults-mode-browser": "^2.1.7",
55-
"@smithy/util-defaults-mode-node": "^2.2.7",
56-
"@smithy/util-endpoints": "^1.1.5",
57-
"@smithy/util-middleware": "^2.1.4",
58-
"@smithy/util-retry": "^2.1.4",
59-
"@smithy/util-utf8": "^2.2.0",
35+
"@smithy/config-resolver": "^2.2.0",
36+
"@smithy/core": "^1.4.0",
37+
"@smithy/fetch-http-handler": "^2.5.0",
38+
"@smithy/hash-node": "^2.2.0",
39+
"@smithy/invalid-dependency": "^2.2.0",
40+
"@smithy/middleware-content-length": "^2.2.0",
41+
"@smithy/middleware-endpoint": "^2.5.0",
42+
"@smithy/middleware-retry": "^2.2.0",
43+
"@smithy/middleware-serde": "^2.3.0",
44+
"@smithy/middleware-stack": "^2.2.0",
45+
"@smithy/node-config-provider": "^2.3.0",
46+
"@smithy/node-http-handler": "^2.5.0",
47+
"@smithy/protocol-http": "^3.3.0",
48+
"@smithy/smithy-client": "^2.5.0",
49+
"@smithy/types": "^2.12.0",
50+
"@smithy/url-parser": "^2.2.0",
51+
"@smithy/util-base64": "^2.3.0",
52+
"@smithy/util-body-length-browser": "^2.2.0",
53+
"@smithy/util-body-length-node": "^2.3.0",
54+
"@smithy/util-defaults-mode-browser": "^2.2.0",
55+
"@smithy/util-defaults-mode-node": "^2.3.0",
56+
"@smithy/util-endpoints": "^1.2.0",
57+
"@smithy/util-middleware": "^2.2.0",
58+
"@smithy/util-retry": "^2.2.0",
59+
"@smithy/util-utf8": "^2.3.0",
6060
"tslib": "^2.6.2"
6161
},
6262
"devDependencies": {
63-
"@smithy/service-client-documentation-generator": "^2.1.1",
63+
"@smithy/service-client-documentation-generator": "^2.2.0",
6464
"@tsconfig/node14": "1.0.3",
6565
"@types/node": "^14.14.31",
6666
"concurrently": "7.0.0",

clients/client-account/src/Account.ts

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ export interface Account {
117117
/**
118118
* @see {@link GetContactInformationCommand}
119119
*/
120+
getContactInformation(): Promise<GetContactInformationCommandOutput>;
120121
getContactInformation(
121122
args: GetContactInformationCommandInput,
122123
options?: __HttpHandlerOptions
@@ -151,6 +152,7 @@ export interface Account {
151152
/**
152153
* @see {@link ListRegionsCommand}
153154
*/
155+
listRegions(): Promise<ListRegionsCommandOutput>;
154156
listRegions(args: ListRegionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRegionsCommandOutput>;
155157
listRegions(args: ListRegionsCommandInput, cb: (err: any, data?: ListRegionsCommandOutput) => void): void;
156158
listRegions(

clients/client-acm-pca/package.json

+27-27
Original file line numberDiff line numberDiff line change
@@ -32,36 +32,36 @@
3232
"@aws-sdk/util-endpoints": "*",
3333
"@aws-sdk/util-user-agent-browser": "*",
3434
"@aws-sdk/util-user-agent-node": "*",
35-
"@smithy/config-resolver": "^2.1.5",
36-
"@smithy/core": "^1.3.8",
37-
"@smithy/fetch-http-handler": "^2.4.5",
38-
"@smithy/hash-node": "^2.1.4",
39-
"@smithy/invalid-dependency": "^2.1.4",
40-
"@smithy/middleware-content-length": "^2.1.4",
41-
"@smithy/middleware-endpoint": "^2.4.6",
42-
"@smithy/middleware-retry": "^2.1.7",
43-
"@smithy/middleware-serde": "^2.2.1",
44-
"@smithy/middleware-stack": "^2.1.4",
45-
"@smithy/node-config-provider": "^2.2.5",
46-
"@smithy/node-http-handler": "^2.4.3",
47-
"@smithy/protocol-http": "^3.2.2",
48-
"@smithy/smithy-client": "^2.4.5",
49-
"@smithy/types": "^2.11.0",
50-
"@smithy/url-parser": "^2.1.4",
51-
"@smithy/util-base64": "^2.2.1",
52-
"@smithy/util-body-length-browser": "^2.1.1",
53-
"@smithy/util-body-length-node": "^2.2.2",
54-
"@smithy/util-defaults-mode-browser": "^2.1.7",
55-
"@smithy/util-defaults-mode-node": "^2.2.7",
56-
"@smithy/util-endpoints": "^1.1.5",
57-
"@smithy/util-middleware": "^2.1.4",
58-
"@smithy/util-retry": "^2.1.4",
59-
"@smithy/util-utf8": "^2.2.0",
60-
"@smithy/util-waiter": "^2.1.4",
35+
"@smithy/config-resolver": "^2.2.0",
36+
"@smithy/core": "^1.4.0",
37+
"@smithy/fetch-http-handler": "^2.5.0",
38+
"@smithy/hash-node": "^2.2.0",
39+
"@smithy/invalid-dependency": "^2.2.0",
40+
"@smithy/middleware-content-length": "^2.2.0",
41+
"@smithy/middleware-endpoint": "^2.5.0",
42+
"@smithy/middleware-retry": "^2.2.0",
43+
"@smithy/middleware-serde": "^2.3.0",
44+
"@smithy/middleware-stack": "^2.2.0",
45+
"@smithy/node-config-provider": "^2.3.0",
46+
"@smithy/node-http-handler": "^2.5.0",
47+
"@smithy/protocol-http": "^3.3.0",
48+
"@smithy/smithy-client": "^2.5.0",
49+
"@smithy/types": "^2.12.0",
50+
"@smithy/url-parser": "^2.2.0",
51+
"@smithy/util-base64": "^2.3.0",
52+
"@smithy/util-body-length-browser": "^2.2.0",
53+
"@smithy/util-body-length-node": "^2.3.0",
54+
"@smithy/util-defaults-mode-browser": "^2.2.0",
55+
"@smithy/util-defaults-mode-node": "^2.3.0",
56+
"@smithy/util-endpoints": "^1.2.0",
57+
"@smithy/util-middleware": "^2.2.0",
58+
"@smithy/util-retry": "^2.2.0",
59+
"@smithy/util-utf8": "^2.3.0",
60+
"@smithy/util-waiter": "^2.2.0",
6161
"tslib": "^2.6.2"
6262
},
6363
"devDependencies": {
64-
"@smithy/service-client-documentation-generator": "^2.1.1",
64+
"@smithy/service-client-documentation-generator": "^2.2.0",
6565
"@tsconfig/node14": "1.0.3",
6666
"@types/node": "^14.14.31",
6767
"concurrently": "7.0.0",

clients/client-acm-pca/src/ACMPCA.ts

+1
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ export interface ACMPCA {
360360
/**
361361
* @see {@link ListCertificateAuthoritiesCommand}
362362
*/
363+
listCertificateAuthorities(): Promise<ListCertificateAuthoritiesCommandOutput>;
363364
listCertificateAuthorities(
364365
args: ListCertificateAuthoritiesCommandInput,
365366
options?: __HttpHandlerOptions

clients/client-acm/package.json

+27-27
Original file line numberDiff line numberDiff line change
@@ -32,36 +32,36 @@
3232
"@aws-sdk/util-endpoints": "*",
3333
"@aws-sdk/util-user-agent-browser": "*",
3434
"@aws-sdk/util-user-agent-node": "*",
35-
"@smithy/config-resolver": "^2.1.5",
36-
"@smithy/core": "^1.3.8",
37-
"@smithy/fetch-http-handler": "^2.4.5",
38-
"@smithy/hash-node": "^2.1.4",
39-
"@smithy/invalid-dependency": "^2.1.4",
40-
"@smithy/middleware-content-length": "^2.1.4",
41-
"@smithy/middleware-endpoint": "^2.4.6",
42-
"@smithy/middleware-retry": "^2.1.7",
43-
"@smithy/middleware-serde": "^2.2.1",
44-
"@smithy/middleware-stack": "^2.1.4",
45-
"@smithy/node-config-provider": "^2.2.5",
46-
"@smithy/node-http-handler": "^2.4.3",
47-
"@smithy/protocol-http": "^3.2.2",
48-
"@smithy/smithy-client": "^2.4.5",
49-
"@smithy/types": "^2.11.0",
50-
"@smithy/url-parser": "^2.1.4",
51-
"@smithy/util-base64": "^2.2.1",
52-
"@smithy/util-body-length-browser": "^2.1.1",
53-
"@smithy/util-body-length-node": "^2.2.2",
54-
"@smithy/util-defaults-mode-browser": "^2.1.7",
55-
"@smithy/util-defaults-mode-node": "^2.2.7",
56-
"@smithy/util-endpoints": "^1.1.5",
57-
"@smithy/util-middleware": "^2.1.4",
58-
"@smithy/util-retry": "^2.1.4",
59-
"@smithy/util-utf8": "^2.2.0",
60-
"@smithy/util-waiter": "^2.1.4",
35+
"@smithy/config-resolver": "^2.2.0",
36+
"@smithy/core": "^1.4.0",
37+
"@smithy/fetch-http-handler": "^2.5.0",
38+
"@smithy/hash-node": "^2.2.0",
39+
"@smithy/invalid-dependency": "^2.2.0",
40+
"@smithy/middleware-content-length": "^2.2.0",
41+
"@smithy/middleware-endpoint": "^2.5.0",
42+
"@smithy/middleware-retry": "^2.2.0",
43+
"@smithy/middleware-serde": "^2.3.0",
44+
"@smithy/middleware-stack": "^2.2.0",
45+
"@smithy/node-config-provider": "^2.3.0",
46+
"@smithy/node-http-handler": "^2.5.0",
47+
"@smithy/protocol-http": "^3.3.0",
48+
"@smithy/smithy-client": "^2.5.0",
49+
"@smithy/types": "^2.12.0",
50+
"@smithy/url-parser": "^2.2.0",
51+
"@smithy/util-base64": "^2.3.0",
52+
"@smithy/util-body-length-browser": "^2.2.0",
53+
"@smithy/util-body-length-node": "^2.3.0",
54+
"@smithy/util-defaults-mode-browser": "^2.2.0",
55+
"@smithy/util-defaults-mode-node": "^2.3.0",
56+
"@smithy/util-endpoints": "^1.2.0",
57+
"@smithy/util-middleware": "^2.2.0",
58+
"@smithy/util-retry": "^2.2.0",
59+
"@smithy/util-utf8": "^2.3.0",
60+
"@smithy/util-waiter": "^2.2.0",
6161
"tslib": "^2.6.2"
6262
},
6363
"devDependencies": {
64-
"@smithy/service-client-documentation-generator": "^2.1.1",
64+
"@smithy/service-client-documentation-generator": "^2.2.0",
6565
"@tsconfig/node14": "1.0.3",
6666
"@types/node": "^14.14.31",
6767
"concurrently": "7.0.0",

clients/client-acm/src/ACM.ts

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ export interface ACM {
169169
/**
170170
* @see {@link GetAccountConfigurationCommand}
171171
*/
172+
getAccountConfiguration(): Promise<GetAccountConfigurationCommandOutput>;
172173
getAccountConfiguration(
173174
args: GetAccountConfigurationCommandInput,
174175
options?: __HttpHandlerOptions
@@ -217,6 +218,7 @@ export interface ACM {
217218
/**
218219
* @see {@link ListCertificatesCommand}
219220
*/
221+
listCertificates(): Promise<ListCertificatesCommandOutput>;
220222
listCertificates(
221223
args: ListCertificatesCommandInput,
222224
options?: __HttpHandlerOptions

clients/client-alexa-for-business/package.json

+26-26
Original file line numberDiff line numberDiff line change
@@ -32,36 +32,36 @@
3232
"@aws-sdk/util-endpoints": "*",
3333
"@aws-sdk/util-user-agent-browser": "*",
3434
"@aws-sdk/util-user-agent-node": "*",
35-
"@smithy/config-resolver": "^2.1.5",
36-
"@smithy/core": "^1.3.8",
37-
"@smithy/fetch-http-handler": "^2.4.5",
38-
"@smithy/hash-node": "^2.1.4",
39-
"@smithy/invalid-dependency": "^2.1.4",
40-
"@smithy/middleware-content-length": "^2.1.4",
41-
"@smithy/middleware-endpoint": "^2.4.6",
42-
"@smithy/middleware-retry": "^2.1.7",
43-
"@smithy/middleware-serde": "^2.2.1",
44-
"@smithy/middleware-stack": "^2.1.4",
45-
"@smithy/node-config-provider": "^2.2.5",
46-
"@smithy/node-http-handler": "^2.4.3",
47-
"@smithy/protocol-http": "^3.2.2",
48-
"@smithy/smithy-client": "^2.4.5",
49-
"@smithy/types": "^2.11.0",
50-
"@smithy/url-parser": "^2.1.4",
51-
"@smithy/util-base64": "^2.2.1",
52-
"@smithy/util-body-length-browser": "^2.1.1",
53-
"@smithy/util-body-length-node": "^2.2.2",
54-
"@smithy/util-defaults-mode-browser": "^2.1.7",
55-
"@smithy/util-defaults-mode-node": "^2.2.7",
56-
"@smithy/util-endpoints": "^1.1.5",
57-
"@smithy/util-middleware": "^2.1.4",
58-
"@smithy/util-retry": "^2.1.4",
59-
"@smithy/util-utf8": "^2.2.0",
35+
"@smithy/config-resolver": "^2.2.0",
36+
"@smithy/core": "^1.4.0",
37+
"@smithy/fetch-http-handler": "^2.5.0",
38+
"@smithy/hash-node": "^2.2.0",
39+
"@smithy/invalid-dependency": "^2.2.0",
40+
"@smithy/middleware-content-length": "^2.2.0",
41+
"@smithy/middleware-endpoint": "^2.5.0",
42+
"@smithy/middleware-retry": "^2.2.0",
43+
"@smithy/middleware-serde": "^2.3.0",
44+
"@smithy/middleware-stack": "^2.2.0",
45+
"@smithy/node-config-provider": "^2.3.0",
46+
"@smithy/node-http-handler": "^2.5.0",
47+
"@smithy/protocol-http": "^3.3.0",
48+
"@smithy/smithy-client": "^2.5.0",
49+
"@smithy/types": "^2.12.0",
50+
"@smithy/url-parser": "^2.2.0",
51+
"@smithy/util-base64": "^2.3.0",
52+
"@smithy/util-body-length-browser": "^2.2.0",
53+
"@smithy/util-body-length-node": "^2.3.0",
54+
"@smithy/util-defaults-mode-browser": "^2.2.0",
55+
"@smithy/util-defaults-mode-node": "^2.3.0",
56+
"@smithy/util-endpoints": "^1.2.0",
57+
"@smithy/util-middleware": "^2.2.0",
58+
"@smithy/util-retry": "^2.2.0",
59+
"@smithy/util-utf8": "^2.3.0",
6060
"tslib": "^2.6.2",
6161
"uuid": "^9.0.1"
6262
},
6363
"devDependencies": {
64-
"@smithy/service-client-documentation-generator": "^2.1.1",
64+
"@smithy/service-client-documentation-generator": "^2.2.0",
6565
"@tsconfig/node14": "1.0.3",
6666
"@types/node": "^14.14.31",
6767
"@types/uuid": "^9.0.4",

0 commit comments

Comments
 (0)