Skip to content

Commit 56e6715

Browse files
authoredMar 15, 2024··
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

0 commit comments

Comments
 (0)
Please sign in to comment.