@aws-sdk/client-artifact 3.975.0 → 3.978.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 +12 -7
- package/dist-es/Artifact.js +9 -1
- package/dist-types/Artifact.d.ts +22 -1
- package/dist-types/ts3.4/Artifact.d.ts +26 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -609,6 +609,12 @@ class PutAccountSettingsCommand extends smithyClient.Command
|
|
|
609
609
|
.build() {
|
|
610
610
|
}
|
|
611
611
|
|
|
612
|
+
const paginateListCustomerAgreements = core.createPaginator(ArtifactClient, ListCustomerAgreementsCommand, "nextToken", "nextToken", "maxResults");
|
|
613
|
+
|
|
614
|
+
const paginateListReports = core.createPaginator(ArtifactClient, ListReportsCommand, "nextToken", "nextToken", "maxResults");
|
|
615
|
+
|
|
616
|
+
const paginateListReportVersions = core.createPaginator(ArtifactClient, ListReportVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
617
|
+
|
|
612
618
|
const commands = {
|
|
613
619
|
GetAccountSettingsCommand,
|
|
614
620
|
GetReportCommand,
|
|
@@ -619,15 +625,14 @@ const commands = {
|
|
|
619
625
|
ListReportVersionsCommand,
|
|
620
626
|
PutAccountSettingsCommand,
|
|
621
627
|
};
|
|
628
|
+
const paginators = {
|
|
629
|
+
paginateListCustomerAgreements,
|
|
630
|
+
paginateListReports,
|
|
631
|
+
paginateListReportVersions,
|
|
632
|
+
};
|
|
622
633
|
class Artifact extends ArtifactClient {
|
|
623
634
|
}
|
|
624
|
-
smithyClient.createAggregatedClient(commands, Artifact);
|
|
625
|
-
|
|
626
|
-
const paginateListCustomerAgreements = core.createPaginator(ArtifactClient, ListCustomerAgreementsCommand, "nextToken", "nextToken", "maxResults");
|
|
627
|
-
|
|
628
|
-
const paginateListReports = core.createPaginator(ArtifactClient, ListReportsCommand, "nextToken", "nextToken", "maxResults");
|
|
629
|
-
|
|
630
|
-
const paginateListReportVersions = core.createPaginator(ArtifactClient, ListReportVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
635
|
+
smithyClient.createAggregatedClient(commands, Artifact, { paginators });
|
|
631
636
|
|
|
632
637
|
const AcceptanceType = {
|
|
633
638
|
EXPLICIT: "EXPLICIT",
|
package/dist-es/Artifact.js
CHANGED
|
@@ -8,6 +8,9 @@ import { ListCustomerAgreementsCommand, } from "./commands/ListCustomerAgreement
|
|
|
8
8
|
import { ListReportsCommand } from "./commands/ListReportsCommand";
|
|
9
9
|
import { ListReportVersionsCommand, } from "./commands/ListReportVersionsCommand";
|
|
10
10
|
import { PutAccountSettingsCommand, } from "./commands/PutAccountSettingsCommand";
|
|
11
|
+
import { paginateListCustomerAgreements } from "./pagination/ListCustomerAgreementsPaginator";
|
|
12
|
+
import { paginateListReports } from "./pagination/ListReportsPaginator";
|
|
13
|
+
import { paginateListReportVersions } from "./pagination/ListReportVersionsPaginator";
|
|
11
14
|
const commands = {
|
|
12
15
|
GetAccountSettingsCommand,
|
|
13
16
|
GetReportCommand,
|
|
@@ -18,6 +21,11 @@ const commands = {
|
|
|
18
21
|
ListReportVersionsCommand,
|
|
19
22
|
PutAccountSettingsCommand,
|
|
20
23
|
};
|
|
24
|
+
const paginators = {
|
|
25
|
+
paginateListCustomerAgreements,
|
|
26
|
+
paginateListReports,
|
|
27
|
+
paginateListReportVersions,
|
|
28
|
+
};
|
|
21
29
|
export class Artifact extends ArtifactClient {
|
|
22
30
|
}
|
|
23
|
-
createAggregatedClient(commands, Artifact);
|
|
31
|
+
createAggregatedClient(commands, Artifact, { paginators });
|
package/dist-types/Artifact.d.ts
CHANGED
|
@@ -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 { ArtifactClient } from "./ArtifactClient";
|
|
3
3
|
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
|
|
4
4
|
import { GetReportCommandInput, GetReportCommandOutput } from "./commands/GetReportCommand";
|
|
@@ -61,6 +61,27 @@ export interface Artifact {
|
|
|
61
61
|
putAccountSettings(args: PutAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<PutAccountSettingsCommandOutput>;
|
|
62
62
|
putAccountSettings(args: PutAccountSettingsCommandInput, cb: (err: any, data?: PutAccountSettingsCommandOutput) => void): void;
|
|
63
63
|
putAccountSettings(args: PutAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccountSettingsCommandOutput) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* @see {@link ListCustomerAgreementsCommand}
|
|
66
|
+
* @param args - command input.
|
|
67
|
+
* @param paginationConfig - optional pagination config.
|
|
68
|
+
* @returns AsyncIterable of {@link ListCustomerAgreementsCommandOutput}.
|
|
69
|
+
*/
|
|
70
|
+
paginateListCustomerAgreements(args?: ListCustomerAgreementsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCustomerAgreementsCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link ListReportsCommand}
|
|
73
|
+
* @param args - command input.
|
|
74
|
+
* @param paginationConfig - optional pagination config.
|
|
75
|
+
* @returns AsyncIterable of {@link ListReportsCommandOutput}.
|
|
76
|
+
*/
|
|
77
|
+
paginateListReports(args?: ListReportsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListReportsCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @see {@link ListReportVersionsCommand}
|
|
80
|
+
* @param args - command input.
|
|
81
|
+
* @param paginationConfig - optional pagination config.
|
|
82
|
+
* @returns AsyncIterable of {@link ListReportVersionsCommandOutput}.
|
|
83
|
+
*/
|
|
84
|
+
paginateListReportVersions(args: ListReportVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListReportVersionsCommandOutput>;
|
|
64
85
|
}
|
|
65
86
|
/**
|
|
66
87
|
* <p>This reference provides descriptions of the low-level AWS Artifact Service API.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { ArtifactClient } from "./ArtifactClient";
|
|
3
7
|
import {
|
|
4
8
|
GetAccountSettingsCommandInput,
|
|
@@ -141,5 +145,26 @@ export interface Artifact {
|
|
|
141
145
|
options: __HttpHandlerOptions,
|
|
142
146
|
cb: (err: any, data?: PutAccountSettingsCommandOutput) => void
|
|
143
147
|
): void;
|
|
148
|
+
paginateListCustomerAgreements(
|
|
149
|
+
args?: ListCustomerAgreementsCommandInput,
|
|
150
|
+
paginationConfig?: Pick<
|
|
151
|
+
PaginationConfiguration,
|
|
152
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
153
|
+
>
|
|
154
|
+
): Paginator<ListCustomerAgreementsCommandOutput>;
|
|
155
|
+
paginateListReports(
|
|
156
|
+
args?: ListReportsCommandInput,
|
|
157
|
+
paginationConfig?: Pick<
|
|
158
|
+
PaginationConfiguration,
|
|
159
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
160
|
+
>
|
|
161
|
+
): Paginator<ListReportsCommandOutput>;
|
|
162
|
+
paginateListReportVersions(
|
|
163
|
+
args: ListReportVersionsCommandInput,
|
|
164
|
+
paginationConfig?: Pick<
|
|
165
|
+
PaginationConfiguration,
|
|
166
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
167
|
+
>
|
|
168
|
+
): Paginator<ListReportVersionsCommandOutput>;
|
|
144
169
|
}
|
|
145
170
|
export declare class Artifact extends ArtifactClient implements Artifact {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-artifact",
|
|
3
3
|
"description": "AWS SDK for JavaScript Artifact Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.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-artifact",
|
|
@@ -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.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
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",
|