@aws-sdk/client-artifact 3.936.0 → 3.940.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 +8 -0
- package/dist-es/models/enums.js +7 -0
- package/dist-es/models/models_0.js +1 -7
- package/dist-types/models/enums.d.ts +15 -0
- package/dist-types/models/errors.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +0 -15
- package/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +0 -9
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -767,6 +767,13 @@ const NotificationSubscriptionStatus = {
|
|
|
767
767
|
NOT_SUBSCRIBED: "NOT_SUBSCRIBED",
|
|
768
768
|
SUBSCRIBED: "SUBSCRIBED",
|
|
769
769
|
};
|
|
770
|
+
const ValidationExceptionReason = {
|
|
771
|
+
CANNOT_PARSE: "cannotParse",
|
|
772
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
773
|
+
INVALID_TOKEN: "invalidToken",
|
|
774
|
+
OTHER: "other",
|
|
775
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
776
|
+
};
|
|
770
777
|
const AgreementType = {
|
|
771
778
|
CUSTOM: "CUSTOM",
|
|
772
779
|
DEFAULT: "DEFAULT",
|
|
@@ -819,5 +826,6 @@ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
|
819
826
|
exports.ThrottlingException = ThrottlingException$1;
|
|
820
827
|
exports.UploadState = UploadState;
|
|
821
828
|
exports.ValidationException = ValidationException$1;
|
|
829
|
+
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
822
830
|
exports.paginateListCustomerAgreements = paginateListCustomerAgreements;
|
|
823
831
|
exports.paginateListReports = paginateListReports;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -6,6 +6,13 @@ export const NotificationSubscriptionStatus = {
|
|
|
6
6
|
NOT_SUBSCRIBED: "NOT_SUBSCRIBED",
|
|
7
7
|
SUBSCRIBED: "SUBSCRIBED",
|
|
8
8
|
};
|
|
9
|
+
export const ValidationExceptionReason = {
|
|
10
|
+
CANNOT_PARSE: "cannotParse",
|
|
11
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
12
|
+
INVALID_TOKEN: "invalidToken",
|
|
13
|
+
OTHER: "other",
|
|
14
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
15
|
+
};
|
|
9
16
|
export const AgreementType = {
|
|
10
17
|
CUSTOM: "CUSTOM",
|
|
11
18
|
DEFAULT: "DEFAULT",
|
|
@@ -30,6 +30,21 @@ export declare const NotificationSubscriptionStatus: {
|
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
32
|
export type NotificationSubscriptionStatus = (typeof NotificationSubscriptionStatus)[keyof typeof NotificationSubscriptionStatus];
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
* @enum
|
|
36
|
+
*/
|
|
37
|
+
export declare const ValidationExceptionReason: {
|
|
38
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
39
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
40
|
+
readonly INVALID_TOKEN: "invalidToken";
|
|
41
|
+
readonly OTHER: "other";
|
|
42
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
33
48
|
/**
|
|
34
49
|
* @public
|
|
35
50
|
* @enum
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ArtifactServiceException as __BaseException } from "./ArtifactServiceException";
|
|
3
|
-
import {
|
|
3
|
+
import { ValidationExceptionReason } from "./enums";
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
4
5
|
/**
|
|
5
6
|
* <p>User does not have sufficient access to perform this action.</p>
|
|
6
7
|
* @public
|
|
@@ -41,21 +41,6 @@ export interface ValidationExceptionField {
|
|
|
41
41
|
*/
|
|
42
42
|
message: string | undefined;
|
|
43
43
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @public
|
|
46
|
-
* @enum
|
|
47
|
-
*/
|
|
48
|
-
export declare const ValidationExceptionReason: {
|
|
49
|
-
readonly CANNOT_PARSE: "cannotParse";
|
|
50
|
-
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
51
|
-
readonly INVALID_TOKEN: "invalidToken";
|
|
52
|
-
readonly OTHER: "other";
|
|
53
|
-
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* @public
|
|
57
|
-
*/
|
|
58
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
59
44
|
/**
|
|
60
45
|
* @public
|
|
61
46
|
*/
|
|
@@ -10,6 +10,15 @@ export declare const NotificationSubscriptionStatus: {
|
|
|
10
10
|
};
|
|
11
11
|
export type NotificationSubscriptionStatus =
|
|
12
12
|
(typeof NotificationSubscriptionStatus)[keyof typeof NotificationSubscriptionStatus];
|
|
13
|
+
export declare const ValidationExceptionReason: {
|
|
14
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
15
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
16
|
+
readonly INVALID_TOKEN: "invalidToken";
|
|
17
|
+
readonly OTHER: "other";
|
|
18
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
19
|
+
};
|
|
20
|
+
export type ValidationExceptionReason =
|
|
21
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
13
22
|
export declare const AgreementType: {
|
|
14
23
|
readonly CUSTOM: "CUSTOM";
|
|
15
24
|
readonly DEFAULT: "DEFAULT";
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ArtifactServiceException as __BaseException } from "./ArtifactServiceException";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
ValidationExceptionReason,
|
|
6
|
-
} from "./models_0";
|
|
3
|
+
import { ValidationExceptionReason } from "./enums";
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
7
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
6
|
readonly name: "AccessDeniedException";
|
|
9
7
|
readonly $fault: "client";
|
|
@@ -17,15 +17,6 @@ export interface ValidationExceptionField {
|
|
|
17
17
|
name: string | undefined;
|
|
18
18
|
message: string | undefined;
|
|
19
19
|
}
|
|
20
|
-
export declare const ValidationExceptionReason: {
|
|
21
|
-
readonly CANNOT_PARSE: "cannotParse";
|
|
22
|
-
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
23
|
-
readonly INVALID_TOKEN: "invalidToken";
|
|
24
|
-
readonly OTHER: "other";
|
|
25
|
-
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
26
|
-
};
|
|
27
|
-
export type ValidationExceptionReason =
|
|
28
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
29
20
|
export interface PutAccountSettingsRequest {
|
|
30
21
|
notificationSubscriptionStatus?: NotificationSubscriptionStatus | undefined;
|
|
31
22
|
}
|
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.940.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-artifact",
|
|
@@ -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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.940.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.940.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.940.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
30
|
"@aws-sdk/types": "3.936.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.940.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|