@aws-sdk/client-serverlessapplicationrepository 3.975.0 → 3.980.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -879,6 +879,12 @@ class UpdateApplicationCommand extends smithyClient.Command
|
|
|
879
879
|
.build() {
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
+
const paginateListApplicationDependencies = core.createPaginator(ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand, "NextToken", "NextToken", "MaxItems");
|
|
883
|
+
|
|
884
|
+
const paginateListApplications = core.createPaginator(ServerlessApplicationRepositoryClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxItems");
|
|
885
|
+
|
|
886
|
+
const paginateListApplicationVersions = core.createPaginator(ServerlessApplicationRepositoryClient, ListApplicationVersionsCommand, "NextToken", "NextToken", "MaxItems");
|
|
887
|
+
|
|
882
888
|
const commands = {
|
|
883
889
|
CreateApplicationCommand,
|
|
884
890
|
CreateApplicationVersionCommand,
|
|
@@ -895,15 +901,14 @@ const commands = {
|
|
|
895
901
|
UnshareApplicationCommand,
|
|
896
902
|
UpdateApplicationCommand,
|
|
897
903
|
};
|
|
904
|
+
const paginators = {
|
|
905
|
+
paginateListApplicationDependencies,
|
|
906
|
+
paginateListApplications,
|
|
907
|
+
paginateListApplicationVersions,
|
|
908
|
+
};
|
|
898
909
|
class ServerlessApplicationRepository extends ServerlessApplicationRepositoryClient {
|
|
899
910
|
}
|
|
900
|
-
smithyClient.createAggregatedClient(commands, ServerlessApplicationRepository);
|
|
901
|
-
|
|
902
|
-
const paginateListApplicationDependencies = core.createPaginator(ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand, "NextToken", "NextToken", "MaxItems");
|
|
903
|
-
|
|
904
|
-
const paginateListApplications = core.createPaginator(ServerlessApplicationRepositoryClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxItems");
|
|
905
|
-
|
|
906
|
-
const paginateListApplicationVersions = core.createPaginator(ServerlessApplicationRepositoryClient, ListApplicationVersionsCommand, "NextToken", "NextToken", "MaxItems");
|
|
911
|
+
smithyClient.createAggregatedClient(commands, ServerlessApplicationRepository, { paginators });
|
|
907
912
|
|
|
908
913
|
const Capability = {
|
|
909
914
|
CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND",
|
|
@@ -13,6 +13,9 @@ import { ListApplicationVersionsCommand, } from "./commands/ListApplicationVersi
|
|
|
13
13
|
import { PutApplicationPolicyCommand, } from "./commands/PutApplicationPolicyCommand";
|
|
14
14
|
import { UnshareApplicationCommand, } from "./commands/UnshareApplicationCommand";
|
|
15
15
|
import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
|
|
16
|
+
import { paginateListApplicationDependencies } from "./pagination/ListApplicationDependenciesPaginator";
|
|
17
|
+
import { paginateListApplications } from "./pagination/ListApplicationsPaginator";
|
|
18
|
+
import { paginateListApplicationVersions } from "./pagination/ListApplicationVersionsPaginator";
|
|
16
19
|
import { ServerlessApplicationRepositoryClient } from "./ServerlessApplicationRepositoryClient";
|
|
17
20
|
const commands = {
|
|
18
21
|
CreateApplicationCommand,
|
|
@@ -30,6 +33,11 @@ const commands = {
|
|
|
30
33
|
UnshareApplicationCommand,
|
|
31
34
|
UpdateApplicationCommand,
|
|
32
35
|
};
|
|
36
|
+
const paginators = {
|
|
37
|
+
paginateListApplicationDependencies,
|
|
38
|
+
paginateListApplications,
|
|
39
|
+
paginateListApplicationVersions,
|
|
40
|
+
};
|
|
33
41
|
export class ServerlessApplicationRepository extends ServerlessApplicationRepositoryClient {
|
|
34
42
|
}
|
|
35
|
-
createAggregatedClient(commands, ServerlessApplicationRepository);
|
|
43
|
+
createAggregatedClient(commands, ServerlessApplicationRepository, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
3
3
|
import { CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput } from "./commands/CreateApplicationVersionCommand";
|
|
4
4
|
import { CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput } from "./commands/CreateCloudFormationChangeSetCommand";
|
|
@@ -100,6 +100,27 @@ export interface ServerlessApplicationRepository {
|
|
|
100
100
|
updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
|
|
101
101
|
updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
102
102
|
updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
103
|
+
/**
|
|
104
|
+
* @see {@link ListApplicationDependenciesCommand}
|
|
105
|
+
* @param args - command input.
|
|
106
|
+
* @param paginationConfig - optional pagination config.
|
|
107
|
+
* @returns AsyncIterable of {@link ListApplicationDependenciesCommandOutput}.
|
|
108
|
+
*/
|
|
109
|
+
paginateListApplicationDependencies(args: ListApplicationDependenciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationDependenciesCommandOutput>;
|
|
110
|
+
/**
|
|
111
|
+
* @see {@link ListApplicationsCommand}
|
|
112
|
+
* @param args - command input.
|
|
113
|
+
* @param paginationConfig - optional pagination config.
|
|
114
|
+
* @returns AsyncIterable of {@link ListApplicationsCommandOutput}.
|
|
115
|
+
*/
|
|
116
|
+
paginateListApplications(args?: ListApplicationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationsCommandOutput>;
|
|
117
|
+
/**
|
|
118
|
+
* @see {@link ListApplicationVersionsCommand}
|
|
119
|
+
* @param args - command input.
|
|
120
|
+
* @param paginationConfig - optional pagination config.
|
|
121
|
+
* @returns AsyncIterable of {@link ListApplicationVersionsCommandOutput}.
|
|
122
|
+
*/
|
|
123
|
+
paginateListApplicationVersions(args: ListApplicationVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationVersionsCommandOutput>;
|
|
103
124
|
}
|
|
104
125
|
/**
|
|
105
126
|
* <p>The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateApplicationCommandInput,
|
|
4
8
|
CreateApplicationCommandOutput,
|
|
@@ -240,6 +244,27 @@ export interface ServerlessApplicationRepository {
|
|
|
240
244
|
options: __HttpHandlerOptions,
|
|
241
245
|
cb: (err: any, data?: UpdateApplicationCommandOutput) => void
|
|
242
246
|
): void;
|
|
247
|
+
paginateListApplicationDependencies(
|
|
248
|
+
args: ListApplicationDependenciesCommandInput,
|
|
249
|
+
paginationConfig?: Pick<
|
|
250
|
+
PaginationConfiguration,
|
|
251
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
252
|
+
>
|
|
253
|
+
): Paginator<ListApplicationDependenciesCommandOutput>;
|
|
254
|
+
paginateListApplications(
|
|
255
|
+
args?: ListApplicationsCommandInput,
|
|
256
|
+
paginationConfig?: Pick<
|
|
257
|
+
PaginationConfiguration,
|
|
258
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
259
|
+
>
|
|
260
|
+
): Paginator<ListApplicationsCommandOutput>;
|
|
261
|
+
paginateListApplicationVersions(
|
|
262
|
+
args: ListApplicationVersionsCommandInput,
|
|
263
|
+
paginationConfig?: Pick<
|
|
264
|
+
PaginationConfiguration,
|
|
265
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
266
|
+
>
|
|
267
|
+
): Paginator<ListApplicationVersionsCommandOutput>;
|
|
243
268
|
}
|
|
244
269
|
export declare class ServerlessApplicationRepository
|
|
245
270
|
extends ServerlessApplicationRepositoryClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-serverlessapplicationrepository",
|
|
3
3
|
"description": "AWS SDK for JavaScript Serverlessapplicationrepository Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-serverlessapplicationrepository",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|