@aws-sdk/client-artifact 3.893.0 → 3.895.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/package.json CHANGED
@@ -1,10 +1,10 @@
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.893.0",
4
+ "version": "3.895.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-artifact",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
10
  "build:types": "tsc -p tsconfig.types.json",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.893.0",
24
- "@aws-sdk/credential-provider-node": "3.893.0",
23
+ "@aws-sdk/core": "3.894.0",
24
+ "@aws-sdk/credential-provider-node": "3.895.0",
25
25
  "@aws-sdk/middleware-host-header": "3.893.0",
26
26
  "@aws-sdk/middleware-logger": "3.893.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.893.0",
28
- "@aws-sdk/middleware-user-agent": "3.893.0",
28
+ "@aws-sdk/middleware-user-agent": "3.895.0",
29
29
  "@aws-sdk/region-config-resolver": "3.893.0",
30
30
  "@aws-sdk/types": "3.893.0",
31
- "@aws-sdk/util-endpoints": "3.893.0",
31
+ "@aws-sdk/util-endpoints": "3.895.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.893.0",
33
- "@aws-sdk/util-user-agent-node": "3.893.0",
33
+ "@aws-sdk/util-user-agent-node": "3.895.0",
34
34
  "@smithy/config-resolver": "^4.2.2",
35
35
  "@smithy/core": "^3.11.1",
36
36
  "@smithy/fetch-http-handler": "^5.2.1",
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Artifact = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const ArtifactClient_1 = require("./ArtifactClient");
6
- const GetAccountSettingsCommand_1 = require("./commands/GetAccountSettingsCommand");
7
- const GetReportCommand_1 = require("./commands/GetReportCommand");
8
- const GetReportMetadataCommand_1 = require("./commands/GetReportMetadataCommand");
9
- const GetTermForReportCommand_1 = require("./commands/GetTermForReportCommand");
10
- const ListCustomerAgreementsCommand_1 = require("./commands/ListCustomerAgreementsCommand");
11
- const ListReportsCommand_1 = require("./commands/ListReportsCommand");
12
- const PutAccountSettingsCommand_1 = require("./commands/PutAccountSettingsCommand");
13
- const commands = {
14
- GetAccountSettingsCommand: GetAccountSettingsCommand_1.GetAccountSettingsCommand,
15
- GetReportCommand: GetReportCommand_1.GetReportCommand,
16
- GetReportMetadataCommand: GetReportMetadataCommand_1.GetReportMetadataCommand,
17
- GetTermForReportCommand: GetTermForReportCommand_1.GetTermForReportCommand,
18
- ListCustomerAgreementsCommand: ListCustomerAgreementsCommand_1.ListCustomerAgreementsCommand,
19
- ListReportsCommand: ListReportsCommand_1.ListReportsCommand,
20
- PutAccountSettingsCommand: PutAccountSettingsCommand_1.PutAccountSettingsCommand,
21
- };
22
- class Artifact extends ArtifactClient_1.ArtifactClient {
23
- }
24
- exports.Artifact = Artifact;
25
- (0, smithy_client_1.createAggregatedClient)(commands, Artifact);
@@ -1,52 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ArtifactClient = exports.__Client = void 0;
4
- const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
- const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
- const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
- const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
8
- const config_resolver_1 = require("@smithy/config-resolver");
9
- const core_1 = require("@smithy/core");
10
- const middleware_content_length_1 = require("@smithy/middleware-content-length");
11
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
12
- const middleware_retry_1 = require("@smithy/middleware-retry");
13
- const smithy_client_1 = require("@smithy/smithy-client");
14
- Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
- const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
16
- const EndpointParameters_1 = require("./endpoint/EndpointParameters");
17
- const runtimeConfig_1 = require("./runtimeConfig");
18
- const runtimeExtensions_1 = require("./runtimeExtensions");
19
- class ArtifactClient extends smithy_client_1.Client {
20
- config;
21
- constructor(...[configuration]) {
22
- const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
23
- super(_config_0);
24
- this.initConfig = _config_0;
25
- const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
26
- const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
27
- const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
28
- const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
29
- const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
30
- const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
31
- const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
32
- const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
33
- this.config = _config_8;
34
- this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
35
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
36
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
37
- this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
38
- this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
39
- this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
40
- this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
41
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultArtifactHttpAuthSchemeParametersProvider,
42
- identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
43
- "aws.auth#sigv4": config.credentials,
44
- }),
45
- }));
46
- this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
47
- }
48
- destroy() {
49
- super.destroy();
50
- }
51
- }
52
- exports.ArtifactClient = ArtifactClient;
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
4
- const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
5
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
6
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
7
- let _credentials = runtimeConfig.credentials;
8
- return {
9
- setHttpAuthScheme(httpAuthScheme) {
10
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
11
- if (index === -1) {
12
- _httpAuthSchemes.push(httpAuthScheme);
13
- }
14
- else {
15
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
16
- }
17
- },
18
- httpAuthSchemes() {
19
- return _httpAuthSchemes;
20
- },
21
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
22
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
23
- },
24
- httpAuthSchemeProvider() {
25
- return _httpAuthSchemeProvider;
26
- },
27
- setCredentials(credentials) {
28
- _credentials = credentials;
29
- },
30
- credentials() {
31
- return _credentials;
32
- },
33
- };
34
- };
35
- exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
36
- const resolveHttpAuthRuntimeConfig = (config) => {
37
- return {
38
- httpAuthSchemes: config.httpAuthSchemes(),
39
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
40
- credentials: config.credentials(),
41
- };
42
- };
43
- exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetAccountSettingsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetAccountSettingsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("Artifact", "GetAccountSettings", {})
20
- .n("ArtifactClient", "GetAccountSettingsCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_GetAccountSettingsCommand)
23
- .de(Aws_restJson1_1.de_GetAccountSettingsCommand)
24
- .build() {
25
- }
26
- exports.GetAccountSettingsCommand = GetAccountSettingsCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetReportCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetReportCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("Artifact", "GetReport", {})
20
- .n("ArtifactClient", "GetReportCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_GetReportCommand)
23
- .de(Aws_restJson1_1.de_GetReportCommand)
24
- .build() {
25
- }
26
- exports.GetReportCommand = GetReportCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetReportMetadataCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetReportMetadataCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("Artifact", "GetReportMetadata", {})
20
- .n("ArtifactClient", "GetReportMetadataCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_GetReportMetadataCommand)
23
- .de(Aws_restJson1_1.de_GetReportMetadataCommand)
24
- .build() {
25
- }
26
- exports.GetReportMetadataCommand = GetReportMetadataCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetTermForReportCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetTermForReportCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("Artifact", "GetTermForReport", {})
20
- .n("ArtifactClient", "GetTermForReportCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_GetTermForReportCommand)
23
- .de(Aws_restJson1_1.de_GetTermForReportCommand)
24
- .build() {
25
- }
26
- exports.GetTermForReportCommand = GetTermForReportCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListCustomerAgreementsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListCustomerAgreementsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("Artifact", "ListCustomerAgreements", {})
20
- .n("ArtifactClient", "ListCustomerAgreementsCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListCustomerAgreementsCommand)
23
- .de(Aws_restJson1_1.de_ListCustomerAgreementsCommand)
24
- .build() {
25
- }
26
- exports.ListCustomerAgreementsCommand = ListCustomerAgreementsCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListReportsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListReportsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("Artifact", "ListReports", {})
20
- .n("ArtifactClient", "ListReportsCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListReportsCommand)
23
- .de(Aws_restJson1_1.de_ListReportsCommand)
24
- .build() {
25
- }
26
- exports.ListReportsCommand = ListReportsCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutAccountSettingsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class PutAccountSettingsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("Artifact", "PutAccountSettings", {})
20
- .n("ArtifactClient", "PutAccountSettingsCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_PutAccountSettingsCommand)
23
- .de(Aws_restJson1_1.de_PutAccountSettingsCommand)
24
- .build() {
25
- }
26
- exports.PutAccountSettingsCommand = PutAccountSettingsCommand;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./GetAccountSettingsCommand"), exports);
5
- tslib_1.__exportStar(require("./GetReportCommand"), exports);
6
- tslib_1.__exportStar(require("./GetReportMetadataCommand"), exports);
7
- tslib_1.__exportStar(require("./GetTermForReportCommand"), exports);
8
- tslib_1.__exportStar(require("./ListCustomerAgreementsCommand"), exports);
9
- tslib_1.__exportStar(require("./ListReportsCommand"), exports);
10
- tslib_1.__exportStar(require("./PutAccountSettingsCommand"), exports);
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return Object.assign(options, {
6
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
7
- useFipsEndpoint: options.useFipsEndpoint ?? false,
8
- defaultSigningName: "artifact",
9
- });
10
- };
11
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
12
- exports.commonParams = {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ArtifactServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ArtifactServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ArtifactServiceException.prototype);
10
- }
11
- }
12
- exports.ArtifactServiceException = ArtifactServiceException;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
@@ -1,162 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UploadState = exports.PublishedState = exports.CustomerAgreementState = exports.AgreementType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.NotificationSubscriptionStatus = exports.AccessDeniedException = exports.AcceptanceType = void 0;
4
- const ArtifactServiceException_1 = require("./ArtifactServiceException");
5
- exports.AcceptanceType = {
6
- EXPLICIT: "EXPLICIT",
7
- PASSTHROUGH: "PASSTHROUGH",
8
- };
9
- class AccessDeniedException extends ArtifactServiceException_1.ArtifactServiceException {
10
- name = "AccessDeniedException";
11
- $fault = "client";
12
- constructor(opts) {
13
- super({
14
- name: "AccessDeniedException",
15
- $fault: "client",
16
- ...opts,
17
- });
18
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
19
- }
20
- }
21
- exports.AccessDeniedException = AccessDeniedException;
22
- exports.NotificationSubscriptionStatus = {
23
- NOT_SUBSCRIBED: "NOT_SUBSCRIBED",
24
- SUBSCRIBED: "SUBSCRIBED",
25
- };
26
- class ConflictException extends ArtifactServiceException_1.ArtifactServiceException {
27
- name = "ConflictException";
28
- $fault = "client";
29
- resourceId;
30
- resourceType;
31
- constructor(opts) {
32
- super({
33
- name: "ConflictException",
34
- $fault: "client",
35
- ...opts,
36
- });
37
- Object.setPrototypeOf(this, ConflictException.prototype);
38
- this.resourceId = opts.resourceId;
39
- this.resourceType = opts.resourceType;
40
- }
41
- }
42
- exports.ConflictException = ConflictException;
43
- class InternalServerException extends ArtifactServiceException_1.ArtifactServiceException {
44
- name = "InternalServerException";
45
- $fault = "server";
46
- $retryable = {};
47
- retryAfterSeconds;
48
- constructor(opts) {
49
- super({
50
- name: "InternalServerException",
51
- $fault: "server",
52
- ...opts,
53
- });
54
- Object.setPrototypeOf(this, InternalServerException.prototype);
55
- this.retryAfterSeconds = opts.retryAfterSeconds;
56
- }
57
- }
58
- exports.InternalServerException = InternalServerException;
59
- class ResourceNotFoundException extends ArtifactServiceException_1.ArtifactServiceException {
60
- name = "ResourceNotFoundException";
61
- $fault = "client";
62
- resourceId;
63
- resourceType;
64
- constructor(opts) {
65
- super({
66
- name: "ResourceNotFoundException",
67
- $fault: "client",
68
- ...opts,
69
- });
70
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
71
- this.resourceId = opts.resourceId;
72
- this.resourceType = opts.resourceType;
73
- }
74
- }
75
- exports.ResourceNotFoundException = ResourceNotFoundException;
76
- class ServiceQuotaExceededException extends ArtifactServiceException_1.ArtifactServiceException {
77
- name = "ServiceQuotaExceededException";
78
- $fault = "client";
79
- resourceId;
80
- resourceType;
81
- serviceCode;
82
- quotaCode;
83
- constructor(opts) {
84
- super({
85
- name: "ServiceQuotaExceededException",
86
- $fault: "client",
87
- ...opts,
88
- });
89
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
90
- this.resourceId = opts.resourceId;
91
- this.resourceType = opts.resourceType;
92
- this.serviceCode = opts.serviceCode;
93
- this.quotaCode = opts.quotaCode;
94
- }
95
- }
96
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
97
- class ThrottlingException extends ArtifactServiceException_1.ArtifactServiceException {
98
- name = "ThrottlingException";
99
- $fault = "client";
100
- $retryable = {
101
- throttling: true,
102
- };
103
- serviceCode;
104
- quotaCode;
105
- retryAfterSeconds;
106
- constructor(opts) {
107
- super({
108
- name: "ThrottlingException",
109
- $fault: "client",
110
- ...opts,
111
- });
112
- Object.setPrototypeOf(this, ThrottlingException.prototype);
113
- this.serviceCode = opts.serviceCode;
114
- this.quotaCode = opts.quotaCode;
115
- this.retryAfterSeconds = opts.retryAfterSeconds;
116
- }
117
- }
118
- exports.ThrottlingException = ThrottlingException;
119
- exports.ValidationExceptionReason = {
120
- CANNOT_PARSE: "cannotParse",
121
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
122
- INVALID_TOKEN: "invalidToken",
123
- OTHER: "other",
124
- UNKNOWN_OPERATION: "unknownOperation",
125
- };
126
- class ValidationException extends ArtifactServiceException_1.ArtifactServiceException {
127
- name = "ValidationException";
128
- $fault = "client";
129
- reason;
130
- fieldList;
131
- constructor(opts) {
132
- super({
133
- name: "ValidationException",
134
- $fault: "client",
135
- ...opts,
136
- });
137
- Object.setPrototypeOf(this, ValidationException.prototype);
138
- this.reason = opts.reason;
139
- this.fieldList = opts.fieldList;
140
- }
141
- }
142
- exports.ValidationException = ValidationException;
143
- exports.AgreementType = {
144
- CUSTOM: "CUSTOM",
145
- DEFAULT: "DEFAULT",
146
- MODIFIED: "MODIFIED",
147
- };
148
- exports.CustomerAgreementState = {
149
- ACTIVE: "ACTIVE",
150
- AWS_TERMINATED: "AWS_TERMINATED",
151
- CUSTOMER_TERMINATED: "CUSTOMER_TERMINATED",
152
- };
153
- exports.PublishedState = {
154
- PUBLISHED: "PUBLISHED",
155
- UNPUBLISHED: "UNPUBLISHED",
156
- };
157
- exports.UploadState = {
158
- COMPLETE: "COMPLETE",
159
- FAILED: "FAILED",
160
- FAULT: "FAULT",
161
- PROCESSING: "PROCESSING",
162
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListCustomerAgreements = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ArtifactClient_1 = require("../ArtifactClient");
6
- const ListCustomerAgreementsCommand_1 = require("../commands/ListCustomerAgreementsCommand");
7
- exports.paginateListCustomerAgreements = (0, core_1.createPaginator)(ArtifactClient_1.ArtifactClient, ListCustomerAgreementsCommand_1.ListCustomerAgreementsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListReports = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ArtifactClient_1 = require("../ArtifactClient");
6
- const ListReportsCommand_1 = require("../commands/ListReportsCommand");
7
- exports.paginateListReports = (0, core_1.createPaginator)(ArtifactClient_1.ArtifactClient, ListReportsCommand_1.ListReportsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListCustomerAgreementsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListReportsPaginator"), exports);