@aws-sdk/client-artifact 3.934.0 → 3.935.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 +29 -36
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +28 -0
- package/dist-es/models/errors.js +117 -0
- package/dist-es/models/models_0.js +0 -145
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +84 -0
- package/dist-types/models/errors.d.ts +161 -0
- package/dist-types/models/models_0.d.ts +1 -244
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +38 -0
- package/dist-types/ts3.4/models/errors.d.ts +71 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -105
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,10 +117,6 @@ let ArtifactServiceException$1 = class ArtifactServiceException extends smithyCl
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const AcceptanceType = {
|
|
121
|
-
EXPLICIT: "EXPLICIT",
|
|
122
|
-
PASSTHROUGH: "PASSTHROUGH",
|
|
123
|
-
};
|
|
124
120
|
let AccessDeniedException$1 = class AccessDeniedException extends ArtifactServiceException$1 {
|
|
125
121
|
name = "AccessDeniedException";
|
|
126
122
|
$fault = "client";
|
|
@@ -133,10 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends ArtifactServic
|
|
|
133
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
134
130
|
}
|
|
135
131
|
};
|
|
136
|
-
const NotificationSubscriptionStatus = {
|
|
137
|
-
NOT_SUBSCRIBED: "NOT_SUBSCRIBED",
|
|
138
|
-
SUBSCRIBED: "SUBSCRIBED",
|
|
139
|
-
};
|
|
140
132
|
let ConflictException$1 = class ConflictException extends ArtifactServiceException$1 {
|
|
141
133
|
name = "ConflictException";
|
|
142
134
|
$fault = "client";
|
|
@@ -225,13 +217,6 @@ let ThrottlingException$1 = class ThrottlingException extends ArtifactServiceExc
|
|
|
225
217
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
226
218
|
}
|
|
227
219
|
};
|
|
228
|
-
const ValidationExceptionReason = {
|
|
229
|
-
CANNOT_PARSE: "cannotParse",
|
|
230
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
231
|
-
INVALID_TOKEN: "invalidToken",
|
|
232
|
-
OTHER: "other",
|
|
233
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
234
|
-
};
|
|
235
220
|
let ValidationException$1 = class ValidationException extends ArtifactServiceException$1 {
|
|
236
221
|
name = "ValidationException";
|
|
237
222
|
$fault = "client";
|
|
@@ -248,26 +233,6 @@ let ValidationException$1 = class ValidationException extends ArtifactServiceExc
|
|
|
248
233
|
this.fieldList = opts.fieldList;
|
|
249
234
|
}
|
|
250
235
|
};
|
|
251
|
-
const AgreementType = {
|
|
252
|
-
CUSTOM: "CUSTOM",
|
|
253
|
-
DEFAULT: "DEFAULT",
|
|
254
|
-
MODIFIED: "MODIFIED",
|
|
255
|
-
};
|
|
256
|
-
const CustomerAgreementState = {
|
|
257
|
-
ACTIVE: "ACTIVE",
|
|
258
|
-
AWS_TERMINATED: "AWS_TERMINATED",
|
|
259
|
-
CUSTOMER_TERMINATED: "CUSTOMER_TERMINATED",
|
|
260
|
-
};
|
|
261
|
-
const PublishedState = {
|
|
262
|
-
PUBLISHED: "PUBLISHED",
|
|
263
|
-
UNPUBLISHED: "UNPUBLISHED",
|
|
264
|
-
};
|
|
265
|
-
const UploadState = {
|
|
266
|
-
COMPLETE: "COMPLETE",
|
|
267
|
-
FAILED: "FAILED",
|
|
268
|
-
FAULT: "FAULT",
|
|
269
|
-
PROCESSING: "PROCESSING",
|
|
270
|
-
};
|
|
271
236
|
|
|
272
237
|
const _ADE = "AccessDeniedException";
|
|
273
238
|
const _AS = "AccountSettings";
|
|
@@ -794,6 +759,35 @@ const paginateListCustomerAgreements = core.createPaginator(ArtifactClient, List
|
|
|
794
759
|
|
|
795
760
|
const paginateListReports = core.createPaginator(ArtifactClient, ListReportsCommand, "nextToken", "nextToken", "maxResults");
|
|
796
761
|
|
|
762
|
+
const AcceptanceType = {
|
|
763
|
+
EXPLICIT: "EXPLICIT",
|
|
764
|
+
PASSTHROUGH: "PASSTHROUGH",
|
|
765
|
+
};
|
|
766
|
+
const NotificationSubscriptionStatus = {
|
|
767
|
+
NOT_SUBSCRIBED: "NOT_SUBSCRIBED",
|
|
768
|
+
SUBSCRIBED: "SUBSCRIBED",
|
|
769
|
+
};
|
|
770
|
+
const AgreementType = {
|
|
771
|
+
CUSTOM: "CUSTOM",
|
|
772
|
+
DEFAULT: "DEFAULT",
|
|
773
|
+
MODIFIED: "MODIFIED",
|
|
774
|
+
};
|
|
775
|
+
const CustomerAgreementState = {
|
|
776
|
+
ACTIVE: "ACTIVE",
|
|
777
|
+
AWS_TERMINATED: "AWS_TERMINATED",
|
|
778
|
+
CUSTOMER_TERMINATED: "CUSTOMER_TERMINATED",
|
|
779
|
+
};
|
|
780
|
+
const PublishedState = {
|
|
781
|
+
PUBLISHED: "PUBLISHED",
|
|
782
|
+
UNPUBLISHED: "UNPUBLISHED",
|
|
783
|
+
};
|
|
784
|
+
const UploadState = {
|
|
785
|
+
COMPLETE: "COMPLETE",
|
|
786
|
+
FAILED: "FAILED",
|
|
787
|
+
FAULT: "FAULT",
|
|
788
|
+
PROCESSING: "PROCESSING",
|
|
789
|
+
};
|
|
790
|
+
|
|
797
791
|
Object.defineProperty(exports, "$Command", {
|
|
798
792
|
enumerable: true,
|
|
799
793
|
get: function () { return smithyClient.Command; }
|
|
@@ -825,6 +819,5 @@ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
|
825
819
|
exports.ThrottlingException = ThrottlingException$1;
|
|
826
820
|
exports.UploadState = UploadState;
|
|
827
821
|
exports.ValidationException = ValidationException$1;
|
|
828
|
-
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
829
822
|
exports.paginateListCustomerAgreements = paginateListCustomerAgreements;
|
|
830
823
|
exports.paginateListReports = paginateListReports;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ArtifactClient";
|
|
|
2
2
|
export * from "./Artifact";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ArtifactServiceException } from "./models/ArtifactServiceException";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export const AcceptanceType = {
|
|
2
|
+
EXPLICIT: "EXPLICIT",
|
|
3
|
+
PASSTHROUGH: "PASSTHROUGH",
|
|
4
|
+
};
|
|
5
|
+
export const NotificationSubscriptionStatus = {
|
|
6
|
+
NOT_SUBSCRIBED: "NOT_SUBSCRIBED",
|
|
7
|
+
SUBSCRIBED: "SUBSCRIBED",
|
|
8
|
+
};
|
|
9
|
+
export const AgreementType = {
|
|
10
|
+
CUSTOM: "CUSTOM",
|
|
11
|
+
DEFAULT: "DEFAULT",
|
|
12
|
+
MODIFIED: "MODIFIED",
|
|
13
|
+
};
|
|
14
|
+
export const CustomerAgreementState = {
|
|
15
|
+
ACTIVE: "ACTIVE",
|
|
16
|
+
AWS_TERMINATED: "AWS_TERMINATED",
|
|
17
|
+
CUSTOMER_TERMINATED: "CUSTOMER_TERMINATED",
|
|
18
|
+
};
|
|
19
|
+
export const PublishedState = {
|
|
20
|
+
PUBLISHED: "PUBLISHED",
|
|
21
|
+
UNPUBLISHED: "UNPUBLISHED",
|
|
22
|
+
};
|
|
23
|
+
export const UploadState = {
|
|
24
|
+
COMPLETE: "COMPLETE",
|
|
25
|
+
FAILED: "FAILED",
|
|
26
|
+
FAULT: "FAULT",
|
|
27
|
+
PROCESSING: "PROCESSING",
|
|
28
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { ArtifactServiceException as __BaseException } from "./ArtifactServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
resourceId;
|
|
18
|
+
resourceType;
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "ConflictException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
26
|
+
this.resourceId = opts.resourceId;
|
|
27
|
+
this.resourceType = opts.resourceType;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServerException extends __BaseException {
|
|
31
|
+
name = "InternalServerException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
$retryable = {};
|
|
34
|
+
retryAfterSeconds;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "InternalServerException",
|
|
38
|
+
$fault: "server",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
name = "ResourceNotFoundException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
resourceId;
|
|
49
|
+
resourceType;
|
|
50
|
+
constructor(opts) {
|
|
51
|
+
super({
|
|
52
|
+
name: "ResourceNotFoundException",
|
|
53
|
+
$fault: "client",
|
|
54
|
+
...opts,
|
|
55
|
+
});
|
|
56
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
57
|
+
this.resourceId = opts.resourceId;
|
|
58
|
+
this.resourceType = opts.resourceType;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
62
|
+
name = "ServiceQuotaExceededException";
|
|
63
|
+
$fault = "client";
|
|
64
|
+
resourceId;
|
|
65
|
+
resourceType;
|
|
66
|
+
serviceCode;
|
|
67
|
+
quotaCode;
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "ServiceQuotaExceededException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
75
|
+
this.resourceId = opts.resourceId;
|
|
76
|
+
this.resourceType = opts.resourceType;
|
|
77
|
+
this.serviceCode = opts.serviceCode;
|
|
78
|
+
this.quotaCode = opts.quotaCode;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export class ThrottlingException extends __BaseException {
|
|
82
|
+
name = "ThrottlingException";
|
|
83
|
+
$fault = "client";
|
|
84
|
+
$retryable = {
|
|
85
|
+
throttling: true,
|
|
86
|
+
};
|
|
87
|
+
serviceCode;
|
|
88
|
+
quotaCode;
|
|
89
|
+
retryAfterSeconds;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ThrottlingException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
97
|
+
this.serviceCode = opts.serviceCode;
|
|
98
|
+
this.quotaCode = opts.quotaCode;
|
|
99
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export class ValidationException extends __BaseException {
|
|
103
|
+
name = "ValidationException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
reason;
|
|
106
|
+
fieldList;
|
|
107
|
+
constructor(opts) {
|
|
108
|
+
super({
|
|
109
|
+
name: "ValidationException",
|
|
110
|
+
$fault: "client",
|
|
111
|
+
...opts,
|
|
112
|
+
});
|
|
113
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
114
|
+
this.reason = opts.reason;
|
|
115
|
+
this.fieldList = opts.fieldList;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -1,112 +1,3 @@
|
|
|
1
|
-
import { ArtifactServiceException as __BaseException } from "./ArtifactServiceException";
|
|
2
|
-
export const AcceptanceType = {
|
|
3
|
-
EXPLICIT: "EXPLICIT",
|
|
4
|
-
PASSTHROUGH: "PASSTHROUGH",
|
|
5
|
-
};
|
|
6
|
-
export class AccessDeniedException extends __BaseException {
|
|
7
|
-
name = "AccessDeniedException";
|
|
8
|
-
$fault = "client";
|
|
9
|
-
constructor(opts) {
|
|
10
|
-
super({
|
|
11
|
-
name: "AccessDeniedException",
|
|
12
|
-
$fault: "client",
|
|
13
|
-
...opts,
|
|
14
|
-
});
|
|
15
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export const NotificationSubscriptionStatus = {
|
|
19
|
-
NOT_SUBSCRIBED: "NOT_SUBSCRIBED",
|
|
20
|
-
SUBSCRIBED: "SUBSCRIBED",
|
|
21
|
-
};
|
|
22
|
-
export class ConflictException extends __BaseException {
|
|
23
|
-
name = "ConflictException";
|
|
24
|
-
$fault = "client";
|
|
25
|
-
resourceId;
|
|
26
|
-
resourceType;
|
|
27
|
-
constructor(opts) {
|
|
28
|
-
super({
|
|
29
|
-
name: "ConflictException",
|
|
30
|
-
$fault: "client",
|
|
31
|
-
...opts,
|
|
32
|
-
});
|
|
33
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
34
|
-
this.resourceId = opts.resourceId;
|
|
35
|
-
this.resourceType = opts.resourceType;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class InternalServerException extends __BaseException {
|
|
39
|
-
name = "InternalServerException";
|
|
40
|
-
$fault = "server";
|
|
41
|
-
$retryable = {};
|
|
42
|
-
retryAfterSeconds;
|
|
43
|
-
constructor(opts) {
|
|
44
|
-
super({
|
|
45
|
-
name: "InternalServerException",
|
|
46
|
-
$fault: "server",
|
|
47
|
-
...opts,
|
|
48
|
-
});
|
|
49
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
50
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
54
|
-
name = "ResourceNotFoundException";
|
|
55
|
-
$fault = "client";
|
|
56
|
-
resourceId;
|
|
57
|
-
resourceType;
|
|
58
|
-
constructor(opts) {
|
|
59
|
-
super({
|
|
60
|
-
name: "ResourceNotFoundException",
|
|
61
|
-
$fault: "client",
|
|
62
|
-
...opts,
|
|
63
|
-
});
|
|
64
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
65
|
-
this.resourceId = opts.resourceId;
|
|
66
|
-
this.resourceType = opts.resourceType;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
70
|
-
name = "ServiceQuotaExceededException";
|
|
71
|
-
$fault = "client";
|
|
72
|
-
resourceId;
|
|
73
|
-
resourceType;
|
|
74
|
-
serviceCode;
|
|
75
|
-
quotaCode;
|
|
76
|
-
constructor(opts) {
|
|
77
|
-
super({
|
|
78
|
-
name: "ServiceQuotaExceededException",
|
|
79
|
-
$fault: "client",
|
|
80
|
-
...opts,
|
|
81
|
-
});
|
|
82
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
83
|
-
this.resourceId = opts.resourceId;
|
|
84
|
-
this.resourceType = opts.resourceType;
|
|
85
|
-
this.serviceCode = opts.serviceCode;
|
|
86
|
-
this.quotaCode = opts.quotaCode;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
export class ThrottlingException extends __BaseException {
|
|
90
|
-
name = "ThrottlingException";
|
|
91
|
-
$fault = "client";
|
|
92
|
-
$retryable = {
|
|
93
|
-
throttling: true,
|
|
94
|
-
};
|
|
95
|
-
serviceCode;
|
|
96
|
-
quotaCode;
|
|
97
|
-
retryAfterSeconds;
|
|
98
|
-
constructor(opts) {
|
|
99
|
-
super({
|
|
100
|
-
name: "ThrottlingException",
|
|
101
|
-
$fault: "client",
|
|
102
|
-
...opts,
|
|
103
|
-
});
|
|
104
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
105
|
-
this.serviceCode = opts.serviceCode;
|
|
106
|
-
this.quotaCode = opts.quotaCode;
|
|
107
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
1
|
export const ValidationExceptionReason = {
|
|
111
2
|
CANNOT_PARSE: "cannotParse",
|
|
112
3
|
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
@@ -114,39 +5,3 @@ export const ValidationExceptionReason = {
|
|
|
114
5
|
OTHER: "other",
|
|
115
6
|
UNKNOWN_OPERATION: "unknownOperation",
|
|
116
7
|
};
|
|
117
|
-
export class ValidationException extends __BaseException {
|
|
118
|
-
name = "ValidationException";
|
|
119
|
-
$fault = "client";
|
|
120
|
-
reason;
|
|
121
|
-
fieldList;
|
|
122
|
-
constructor(opts) {
|
|
123
|
-
super({
|
|
124
|
-
name: "ValidationException",
|
|
125
|
-
$fault: "client",
|
|
126
|
-
...opts,
|
|
127
|
-
});
|
|
128
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
129
|
-
this.reason = opts.reason;
|
|
130
|
-
this.fieldList = opts.fieldList;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
export const AgreementType = {
|
|
134
|
-
CUSTOM: "CUSTOM",
|
|
135
|
-
DEFAULT: "DEFAULT",
|
|
136
|
-
MODIFIED: "MODIFIED",
|
|
137
|
-
};
|
|
138
|
-
export const CustomerAgreementState = {
|
|
139
|
-
ACTIVE: "ACTIVE",
|
|
140
|
-
AWS_TERMINATED: "AWS_TERMINATED",
|
|
141
|
-
CUSTOMER_TERMINATED: "CUSTOMER_TERMINATED",
|
|
142
|
-
};
|
|
143
|
-
export const PublishedState = {
|
|
144
|
-
PUBLISHED: "PUBLISHED",
|
|
145
|
-
UNPUBLISHED: "UNPUBLISHED",
|
|
146
|
-
};
|
|
147
|
-
export const UploadState = {
|
|
148
|
-
COMPLETE: "COMPLETE",
|
|
149
|
-
FAILED: "FAILED",
|
|
150
|
-
FAULT: "FAULT",
|
|
151
|
-
PROCESSING: "PROCESSING",
|
|
152
|
-
};
|
|
@@ -93,7 +93,7 @@ const _v = "version";
|
|
|
93
93
|
const n0 = "com.amazonaws.artifact";
|
|
94
94
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
95
95
|
import { ArtifactServiceException as __ArtifactServiceException } from "../models/ArtifactServiceException";
|
|
96
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
96
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
97
97
|
export var AccessDeniedException = [
|
|
98
98
|
-3,
|
|
99
99
|
n0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { ArtifactExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { ArtifactServiceException } from "./models/ArtifactServiceException";
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AcceptanceType: {
|
|
6
|
+
/**
|
|
7
|
+
* Require explicit click-through acceptance of the
|
|
8
|
+
* Term associated with this Report.
|
|
9
|
+
*/
|
|
10
|
+
readonly EXPLICIT: "EXPLICIT";
|
|
11
|
+
/**
|
|
12
|
+
* Do not require explicit click-through acceptance
|
|
13
|
+
* of the Term associated with this Report
|
|
14
|
+
*/
|
|
15
|
+
readonly PASSTHROUGH: "PASSTHROUGH";
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type AcceptanceType = (typeof AcceptanceType)[keyof typeof AcceptanceType];
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
* @enum
|
|
24
|
+
*/
|
|
25
|
+
export declare const NotificationSubscriptionStatus: {
|
|
26
|
+
readonly NOT_SUBSCRIBED: "NOT_SUBSCRIBED";
|
|
27
|
+
readonly SUBSCRIBED: "SUBSCRIBED";
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export type NotificationSubscriptionStatus = (typeof NotificationSubscriptionStatus)[keyof typeof NotificationSubscriptionStatus];
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
* @enum
|
|
36
|
+
*/
|
|
37
|
+
export declare const AgreementType: {
|
|
38
|
+
readonly CUSTOM: "CUSTOM";
|
|
39
|
+
readonly DEFAULT: "DEFAULT";
|
|
40
|
+
readonly MODIFIED: "MODIFIED";
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export type AgreementType = (typeof AgreementType)[keyof typeof AgreementType];
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
* @enum
|
|
49
|
+
*/
|
|
50
|
+
export declare const CustomerAgreementState: {
|
|
51
|
+
readonly ACTIVE: "ACTIVE";
|
|
52
|
+
readonly AWS_TERMINATED: "AWS_TERMINATED";
|
|
53
|
+
readonly CUSTOMER_TERMINATED: "CUSTOMER_TERMINATED";
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export type CustomerAgreementState = (typeof CustomerAgreementState)[keyof typeof CustomerAgreementState];
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
* @enum
|
|
62
|
+
*/
|
|
63
|
+
export declare const PublishedState: {
|
|
64
|
+
readonly PUBLISHED: "PUBLISHED";
|
|
65
|
+
readonly UNPUBLISHED: "UNPUBLISHED";
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export type PublishedState = (typeof PublishedState)[keyof typeof PublishedState];
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
* @enum
|
|
74
|
+
*/
|
|
75
|
+
export declare const UploadState: {
|
|
76
|
+
readonly COMPLETE: "COMPLETE";
|
|
77
|
+
readonly FAILED: "FAILED";
|
|
78
|
+
readonly FAULT: "FAULT";
|
|
79
|
+
readonly PROCESSING: "PROCESSING";
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export type UploadState = (typeof UploadState)[keyof typeof UploadState];
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ArtifactServiceException as __BaseException } from "./ArtifactServiceException";
|
|
3
|
+
import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>Request to create/modify content would result in a conflict.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ConflictException extends __BaseException {
|
|
21
|
+
readonly name: "ConflictException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
/**
|
|
24
|
+
* <p>Identifier of the affected resource.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
resourceId: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>Type of the affected resource.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
resourceType: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* <p>An unknown server exception has occurred.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare class InternalServerException extends __BaseException {
|
|
43
|
+
readonly name: "InternalServerException";
|
|
44
|
+
readonly $fault: "server";
|
|
45
|
+
$retryable: {};
|
|
46
|
+
/**
|
|
47
|
+
* <p>Number of seconds in which the caller can retry the request.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
retryAfterSeconds?: number | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* <p>Request references a resource which does not exist.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
61
|
+
readonly name: "ResourceNotFoundException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
/**
|
|
64
|
+
* <p>Identifier of the affected resource.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
resourceId: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>Type of the affected resource.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
resourceType: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
83
|
+
readonly name: "ServiceQuotaExceededException";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
/**
|
|
86
|
+
* <p>Identifier of the affected resource.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
resourceId: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <p>Type of the affected resource.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
resourceType: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>Code for the affected service.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
serviceCode: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>Code for the affected quota.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
quotaCode: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* <p>Request was denied due to request throttling.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class ThrottlingException extends __BaseException {
|
|
115
|
+
readonly name: "ThrottlingException";
|
|
116
|
+
readonly $fault: "client";
|
|
117
|
+
$retryable: {
|
|
118
|
+
throttling: boolean;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* <p>Code for the affected service.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
serviceCode?: string | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* <p>Code for the affected quota.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
quotaCode?: string | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* <p>Number of seconds in which the caller can retry the request.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
retryAfterSeconds?: number | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* <p>Request fails to satisfy the constraints specified by an AWS service.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export declare class ValidationException extends __BaseException {
|
|
145
|
+
readonly name: "ValidationException";
|
|
146
|
+
readonly $fault: "client";
|
|
147
|
+
/**
|
|
148
|
+
* <p>Reason the request failed validation.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
reason: ValidationExceptionReason | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The field that caused the error, if applicable.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
161
|
+
}
|
|
@@ -1,49 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ArtifactServiceException as __BaseException } from "./ArtifactServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const AcceptanceType: {
|
|
8
|
-
/**
|
|
9
|
-
* Require explicit click-through acceptance of the
|
|
10
|
-
* Term associated with this Report.
|
|
11
|
-
*/
|
|
12
|
-
readonly EXPLICIT: "EXPLICIT";
|
|
13
|
-
/**
|
|
14
|
-
* Do not require explicit click-through acceptance
|
|
15
|
-
* of the Term associated with this Report
|
|
16
|
-
*/
|
|
17
|
-
readonly PASSTHROUGH: "PASSTHROUGH";
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @public
|
|
21
|
-
*/
|
|
22
|
-
export type AcceptanceType = (typeof AcceptanceType)[keyof typeof AcceptanceType];
|
|
23
|
-
/**
|
|
24
|
-
* <p>User does not have sufficient access to perform this action.</p>
|
|
25
|
-
* @public
|
|
26
|
-
*/
|
|
27
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
28
|
-
readonly name: "AccessDeniedException";
|
|
29
|
-
readonly $fault: "client";
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
33
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @public
|
|
37
|
-
* @enum
|
|
38
|
-
*/
|
|
39
|
-
export declare const NotificationSubscriptionStatus: {
|
|
40
|
-
readonly NOT_SUBSCRIBED: "NOT_SUBSCRIBED";
|
|
41
|
-
readonly SUBSCRIBED: "SUBSCRIBED";
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
export type NotificationSubscriptionStatus = (typeof NotificationSubscriptionStatus)[keyof typeof NotificationSubscriptionStatus];
|
|
1
|
+
import { AcceptanceType, AgreementType, CustomerAgreementState, NotificationSubscriptionStatus, PublishedState, UploadState } from "./enums";
|
|
47
2
|
/**
|
|
48
3
|
* <p>Account settings for the customer.</p>
|
|
49
4
|
* @public
|
|
@@ -55,28 +10,6 @@ export interface AccountSettings {
|
|
|
55
10
|
*/
|
|
56
11
|
notificationSubscriptionStatus?: NotificationSubscriptionStatus | undefined;
|
|
57
12
|
}
|
|
58
|
-
/**
|
|
59
|
-
* <p>Request to create/modify content would result in a conflict.</p>
|
|
60
|
-
* @public
|
|
61
|
-
*/
|
|
62
|
-
export declare class ConflictException extends __BaseException {
|
|
63
|
-
readonly name: "ConflictException";
|
|
64
|
-
readonly $fault: "client";
|
|
65
|
-
/**
|
|
66
|
-
* <p>Identifier of the affected resource.</p>
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
resourceId: string | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* <p>Type of the affected resource.</p>
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
resourceType: string | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
79
|
-
}
|
|
80
13
|
/**
|
|
81
14
|
* @public
|
|
82
15
|
*/
|
|
@@ -92,108 +25,6 @@ export interface GetAccountSettingsResponse {
|
|
|
92
25
|
*/
|
|
93
26
|
accountSettings?: AccountSettings | undefined;
|
|
94
27
|
}
|
|
95
|
-
/**
|
|
96
|
-
* <p>An unknown server exception has occurred.</p>
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
99
|
-
export declare class InternalServerException extends __BaseException {
|
|
100
|
-
readonly name: "InternalServerException";
|
|
101
|
-
readonly $fault: "server";
|
|
102
|
-
$retryable: {};
|
|
103
|
-
/**
|
|
104
|
-
* <p>Number of seconds in which the caller can retry the request.</p>
|
|
105
|
-
* @public
|
|
106
|
-
*/
|
|
107
|
-
retryAfterSeconds?: number | undefined;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* <p>Request references a resource which does not exist.</p>
|
|
115
|
-
* @public
|
|
116
|
-
*/
|
|
117
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
118
|
-
readonly name: "ResourceNotFoundException";
|
|
119
|
-
readonly $fault: "client";
|
|
120
|
-
/**
|
|
121
|
-
* <p>Identifier of the affected resource.</p>
|
|
122
|
-
* @public
|
|
123
|
-
*/
|
|
124
|
-
resourceId: string | undefined;
|
|
125
|
-
/**
|
|
126
|
-
* <p>Type of the affected resource.</p>
|
|
127
|
-
* @public
|
|
128
|
-
*/
|
|
129
|
-
resourceType: string | undefined;
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* <p>Request would cause a service quota to be exceeded.</p>
|
|
137
|
-
* @public
|
|
138
|
-
*/
|
|
139
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
140
|
-
readonly name: "ServiceQuotaExceededException";
|
|
141
|
-
readonly $fault: "client";
|
|
142
|
-
/**
|
|
143
|
-
* <p>Identifier of the affected resource.</p>
|
|
144
|
-
* @public
|
|
145
|
-
*/
|
|
146
|
-
resourceId: string | undefined;
|
|
147
|
-
/**
|
|
148
|
-
* <p>Type of the affected resource.</p>
|
|
149
|
-
* @public
|
|
150
|
-
*/
|
|
151
|
-
resourceType: string | undefined;
|
|
152
|
-
/**
|
|
153
|
-
* <p>Code for the affected service.</p>
|
|
154
|
-
* @public
|
|
155
|
-
*/
|
|
156
|
-
serviceCode: string | undefined;
|
|
157
|
-
/**
|
|
158
|
-
* <p>Code for the affected quota.</p>
|
|
159
|
-
* @public
|
|
160
|
-
*/
|
|
161
|
-
quotaCode: string | undefined;
|
|
162
|
-
/**
|
|
163
|
-
* @internal
|
|
164
|
-
*/
|
|
165
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* <p>Request was denied due to request throttling.</p>
|
|
169
|
-
* @public
|
|
170
|
-
*/
|
|
171
|
-
export declare class ThrottlingException extends __BaseException {
|
|
172
|
-
readonly name: "ThrottlingException";
|
|
173
|
-
readonly $fault: "client";
|
|
174
|
-
$retryable: {
|
|
175
|
-
throttling: boolean;
|
|
176
|
-
};
|
|
177
|
-
/**
|
|
178
|
-
* <p>Code for the affected service.</p>
|
|
179
|
-
* @public
|
|
180
|
-
*/
|
|
181
|
-
serviceCode?: string | undefined;
|
|
182
|
-
/**
|
|
183
|
-
* <p>Code for the affected quota.</p>
|
|
184
|
-
* @public
|
|
185
|
-
*/
|
|
186
|
-
quotaCode?: string | undefined;
|
|
187
|
-
/**
|
|
188
|
-
* <p>Number of seconds in which the caller can retry the request.</p>
|
|
189
|
-
* @public
|
|
190
|
-
*/
|
|
191
|
-
retryAfterSeconds?: number | undefined;
|
|
192
|
-
/**
|
|
193
|
-
* @internal
|
|
194
|
-
*/
|
|
195
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
196
|
-
}
|
|
197
28
|
/**
|
|
198
29
|
* <p>Validation exception message and name.</p>
|
|
199
30
|
* @public
|
|
@@ -225,28 +56,6 @@ export declare const ValidationExceptionReason: {
|
|
|
225
56
|
* @public
|
|
226
57
|
*/
|
|
227
58
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
228
|
-
/**
|
|
229
|
-
* <p>Request fails to satisfy the constraints specified by an AWS service.</p>
|
|
230
|
-
* @public
|
|
231
|
-
*/
|
|
232
|
-
export declare class ValidationException extends __BaseException {
|
|
233
|
-
readonly name: "ValidationException";
|
|
234
|
-
readonly $fault: "client";
|
|
235
|
-
/**
|
|
236
|
-
* <p>Reason the request failed validation.</p>
|
|
237
|
-
* @public
|
|
238
|
-
*/
|
|
239
|
-
reason: ValidationExceptionReason | undefined;
|
|
240
|
-
/**
|
|
241
|
-
* <p>The field that caused the error, if applicable.</p>
|
|
242
|
-
* @public
|
|
243
|
-
*/
|
|
244
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
245
|
-
/**
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
248
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
249
|
-
}
|
|
250
59
|
/**
|
|
251
60
|
* @public
|
|
252
61
|
*/
|
|
@@ -267,19 +76,6 @@ export interface PutAccountSettingsResponse {
|
|
|
267
76
|
*/
|
|
268
77
|
accountSettings?: AccountSettings | undefined;
|
|
269
78
|
}
|
|
270
|
-
/**
|
|
271
|
-
* @public
|
|
272
|
-
* @enum
|
|
273
|
-
*/
|
|
274
|
-
export declare const AgreementType: {
|
|
275
|
-
readonly CUSTOM: "CUSTOM";
|
|
276
|
-
readonly DEFAULT: "DEFAULT";
|
|
277
|
-
readonly MODIFIED: "MODIFIED";
|
|
278
|
-
};
|
|
279
|
-
/**
|
|
280
|
-
* @public
|
|
281
|
-
*/
|
|
282
|
-
export type AgreementType = (typeof AgreementType)[keyof typeof AgreementType];
|
|
283
79
|
/**
|
|
284
80
|
* @public
|
|
285
81
|
*/
|
|
@@ -295,19 +91,6 @@ export interface ListCustomerAgreementsRequest {
|
|
|
295
91
|
*/
|
|
296
92
|
nextToken?: string | undefined;
|
|
297
93
|
}
|
|
298
|
-
/**
|
|
299
|
-
* @public
|
|
300
|
-
* @enum
|
|
301
|
-
*/
|
|
302
|
-
export declare const CustomerAgreementState: {
|
|
303
|
-
readonly ACTIVE: "ACTIVE";
|
|
304
|
-
readonly AWS_TERMINATED: "AWS_TERMINATED";
|
|
305
|
-
readonly CUSTOMER_TERMINATED: "CUSTOMER_TERMINATED";
|
|
306
|
-
};
|
|
307
|
-
/**
|
|
308
|
-
* @public
|
|
309
|
-
*/
|
|
310
|
-
export type CustomerAgreementState = (typeof CustomerAgreementState)[keyof typeof CustomerAgreementState];
|
|
311
94
|
/**
|
|
312
95
|
* <p>Summary for customer-agreement resource.</p>
|
|
313
96
|
* @public
|
|
@@ -439,32 +222,6 @@ export interface GetReportMetadataRequest {
|
|
|
439
222
|
*/
|
|
440
223
|
reportVersion?: number | undefined;
|
|
441
224
|
}
|
|
442
|
-
/**
|
|
443
|
-
* @public
|
|
444
|
-
* @enum
|
|
445
|
-
*/
|
|
446
|
-
export declare const PublishedState: {
|
|
447
|
-
readonly PUBLISHED: "PUBLISHED";
|
|
448
|
-
readonly UNPUBLISHED: "UNPUBLISHED";
|
|
449
|
-
};
|
|
450
|
-
/**
|
|
451
|
-
* @public
|
|
452
|
-
*/
|
|
453
|
-
export type PublishedState = (typeof PublishedState)[keyof typeof PublishedState];
|
|
454
|
-
/**
|
|
455
|
-
* @public
|
|
456
|
-
* @enum
|
|
457
|
-
*/
|
|
458
|
-
export declare const UploadState: {
|
|
459
|
-
readonly COMPLETE: "COMPLETE";
|
|
460
|
-
readonly FAILED: "FAILED";
|
|
461
|
-
readonly FAULT: "FAULT";
|
|
462
|
-
readonly PROCESSING: "PROCESSING";
|
|
463
|
-
};
|
|
464
|
-
/**
|
|
465
|
-
* @public
|
|
466
|
-
*/
|
|
467
|
-
export type UploadState = (typeof UploadState)[keyof typeof UploadState];
|
|
468
225
|
/**
|
|
469
226
|
* <p>Full detail for report resource metadata.</p>
|
|
470
227
|
* @public
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { ArtifactExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { ArtifactServiceException } from "./models/ArtifactServiceException";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const AcceptanceType: {
|
|
2
|
+
readonly EXPLICIT: "EXPLICIT";
|
|
3
|
+
readonly PASSTHROUGH: "PASSTHROUGH";
|
|
4
|
+
};
|
|
5
|
+
export type AcceptanceType =
|
|
6
|
+
(typeof AcceptanceType)[keyof typeof AcceptanceType];
|
|
7
|
+
export declare const NotificationSubscriptionStatus: {
|
|
8
|
+
readonly NOT_SUBSCRIBED: "NOT_SUBSCRIBED";
|
|
9
|
+
readonly SUBSCRIBED: "SUBSCRIBED";
|
|
10
|
+
};
|
|
11
|
+
export type NotificationSubscriptionStatus =
|
|
12
|
+
(typeof NotificationSubscriptionStatus)[keyof typeof NotificationSubscriptionStatus];
|
|
13
|
+
export declare const AgreementType: {
|
|
14
|
+
readonly CUSTOM: "CUSTOM";
|
|
15
|
+
readonly DEFAULT: "DEFAULT";
|
|
16
|
+
readonly MODIFIED: "MODIFIED";
|
|
17
|
+
};
|
|
18
|
+
export type AgreementType = (typeof AgreementType)[keyof typeof AgreementType];
|
|
19
|
+
export declare const CustomerAgreementState: {
|
|
20
|
+
readonly ACTIVE: "ACTIVE";
|
|
21
|
+
readonly AWS_TERMINATED: "AWS_TERMINATED";
|
|
22
|
+
readonly CUSTOMER_TERMINATED: "CUSTOMER_TERMINATED";
|
|
23
|
+
};
|
|
24
|
+
export type CustomerAgreementState =
|
|
25
|
+
(typeof CustomerAgreementState)[keyof typeof CustomerAgreementState];
|
|
26
|
+
export declare const PublishedState: {
|
|
27
|
+
readonly PUBLISHED: "PUBLISHED";
|
|
28
|
+
readonly UNPUBLISHED: "UNPUBLISHED";
|
|
29
|
+
};
|
|
30
|
+
export type PublishedState =
|
|
31
|
+
(typeof PublishedState)[keyof typeof PublishedState];
|
|
32
|
+
export declare const UploadState: {
|
|
33
|
+
readonly COMPLETE: "COMPLETE";
|
|
34
|
+
readonly FAILED: "FAILED";
|
|
35
|
+
readonly FAULT: "FAULT";
|
|
36
|
+
readonly PROCESSING: "PROCESSING";
|
|
37
|
+
};
|
|
38
|
+
export type UploadState = (typeof UploadState)[keyof typeof UploadState];
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ArtifactServiceException as __BaseException } from "./ArtifactServiceException";
|
|
3
|
+
import {
|
|
4
|
+
ValidationExceptionField,
|
|
5
|
+
ValidationExceptionReason,
|
|
6
|
+
} from "./models_0";
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
constructor(
|
|
11
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
export declare class ConflictException extends __BaseException {
|
|
15
|
+
readonly name: "ConflictException";
|
|
16
|
+
readonly $fault: "client";
|
|
17
|
+
resourceId: string | undefined;
|
|
18
|
+
resourceType: string | undefined;
|
|
19
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServerException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
$retryable: {};
|
|
25
|
+
retryAfterSeconds?: number | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
31
|
+
readonly name: "ResourceNotFoundException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
resourceId: string | undefined;
|
|
34
|
+
resourceType: string | undefined;
|
|
35
|
+
constructor(
|
|
36
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
40
|
+
readonly name: "ServiceQuotaExceededException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
resourceId: string | undefined;
|
|
43
|
+
resourceType: string | undefined;
|
|
44
|
+
serviceCode: string | undefined;
|
|
45
|
+
quotaCode: string | undefined;
|
|
46
|
+
constructor(
|
|
47
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
export declare class ThrottlingException extends __BaseException {
|
|
51
|
+
readonly name: "ThrottlingException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
$retryable: {
|
|
54
|
+
throttling: boolean;
|
|
55
|
+
};
|
|
56
|
+
serviceCode?: string | undefined;
|
|
57
|
+
quotaCode?: string | undefined;
|
|
58
|
+
retryAfterSeconds?: number | undefined;
|
|
59
|
+
constructor(
|
|
60
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
export declare class ValidationException extends __BaseException {
|
|
64
|
+
readonly name: "ValidationException";
|
|
65
|
+
readonly $fault: "client";
|
|
66
|
+
reason: ValidationExceptionReason | undefined;
|
|
67
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
68
|
+
constructor(
|
|
69
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
@@ -1,80 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
-
readonly name: "AccessDeniedException";
|
|
11
|
-
readonly $fault: "client";
|
|
12
|
-
constructor(
|
|
13
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
export declare const NotificationSubscriptionStatus: {
|
|
17
|
-
readonly NOT_SUBSCRIBED: "NOT_SUBSCRIBED";
|
|
18
|
-
readonly SUBSCRIBED: "SUBSCRIBED";
|
|
19
|
-
};
|
|
20
|
-
export type NotificationSubscriptionStatus =
|
|
21
|
-
(typeof NotificationSubscriptionStatus)[keyof typeof NotificationSubscriptionStatus];
|
|
1
|
+
import {
|
|
2
|
+
AcceptanceType,
|
|
3
|
+
AgreementType,
|
|
4
|
+
CustomerAgreementState,
|
|
5
|
+
NotificationSubscriptionStatus,
|
|
6
|
+
PublishedState,
|
|
7
|
+
UploadState,
|
|
8
|
+
} from "./enums";
|
|
22
9
|
export interface AccountSettings {
|
|
23
10
|
notificationSubscriptionStatus?: NotificationSubscriptionStatus | undefined;
|
|
24
11
|
}
|
|
25
|
-
export declare class ConflictException extends __BaseException {
|
|
26
|
-
readonly name: "ConflictException";
|
|
27
|
-
readonly $fault: "client";
|
|
28
|
-
resourceId: string | undefined;
|
|
29
|
-
resourceType: string | undefined;
|
|
30
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
31
|
-
}
|
|
32
12
|
export interface GetAccountSettingsRequest {}
|
|
33
13
|
export interface GetAccountSettingsResponse {
|
|
34
14
|
accountSettings?: AccountSettings | undefined;
|
|
35
15
|
}
|
|
36
|
-
export declare class InternalServerException extends __BaseException {
|
|
37
|
-
readonly name: "InternalServerException";
|
|
38
|
-
readonly $fault: "server";
|
|
39
|
-
$retryable: {};
|
|
40
|
-
retryAfterSeconds?: number | undefined;
|
|
41
|
-
constructor(
|
|
42
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
46
|
-
readonly name: "ResourceNotFoundException";
|
|
47
|
-
readonly $fault: "client";
|
|
48
|
-
resourceId: string | undefined;
|
|
49
|
-
resourceType: string | undefined;
|
|
50
|
-
constructor(
|
|
51
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
52
|
-
);
|
|
53
|
-
}
|
|
54
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
55
|
-
readonly name: "ServiceQuotaExceededException";
|
|
56
|
-
readonly $fault: "client";
|
|
57
|
-
resourceId: string | undefined;
|
|
58
|
-
resourceType: string | undefined;
|
|
59
|
-
serviceCode: string | undefined;
|
|
60
|
-
quotaCode: string | undefined;
|
|
61
|
-
constructor(
|
|
62
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
export declare class ThrottlingException extends __BaseException {
|
|
66
|
-
readonly name: "ThrottlingException";
|
|
67
|
-
readonly $fault: "client";
|
|
68
|
-
$retryable: {
|
|
69
|
-
throttling: boolean;
|
|
70
|
-
};
|
|
71
|
-
serviceCode?: string | undefined;
|
|
72
|
-
quotaCode?: string | undefined;
|
|
73
|
-
retryAfterSeconds?: number | undefined;
|
|
74
|
-
constructor(
|
|
75
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
16
|
export interface ValidationExceptionField {
|
|
79
17
|
name: string | undefined;
|
|
80
18
|
message: string | undefined;
|
|
@@ -88,38 +26,16 @@ export declare const ValidationExceptionReason: {
|
|
|
88
26
|
};
|
|
89
27
|
export type ValidationExceptionReason =
|
|
90
28
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
91
|
-
export declare class ValidationException extends __BaseException {
|
|
92
|
-
readonly name: "ValidationException";
|
|
93
|
-
readonly $fault: "client";
|
|
94
|
-
reason: ValidationExceptionReason | undefined;
|
|
95
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
96
|
-
constructor(
|
|
97
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
98
|
-
);
|
|
99
|
-
}
|
|
100
29
|
export interface PutAccountSettingsRequest {
|
|
101
30
|
notificationSubscriptionStatus?: NotificationSubscriptionStatus | undefined;
|
|
102
31
|
}
|
|
103
32
|
export interface PutAccountSettingsResponse {
|
|
104
33
|
accountSettings?: AccountSettings | undefined;
|
|
105
34
|
}
|
|
106
|
-
export declare const AgreementType: {
|
|
107
|
-
readonly CUSTOM: "CUSTOM";
|
|
108
|
-
readonly DEFAULT: "DEFAULT";
|
|
109
|
-
readonly MODIFIED: "MODIFIED";
|
|
110
|
-
};
|
|
111
|
-
export type AgreementType = (typeof AgreementType)[keyof typeof AgreementType];
|
|
112
35
|
export interface ListCustomerAgreementsRequest {
|
|
113
36
|
maxResults?: number | undefined;
|
|
114
37
|
nextToken?: string | undefined;
|
|
115
38
|
}
|
|
116
|
-
export declare const CustomerAgreementState: {
|
|
117
|
-
readonly ACTIVE: "ACTIVE";
|
|
118
|
-
readonly AWS_TERMINATED: "AWS_TERMINATED";
|
|
119
|
-
readonly CUSTOMER_TERMINATED: "CUSTOMER_TERMINATED";
|
|
120
|
-
};
|
|
121
|
-
export type CustomerAgreementState =
|
|
122
|
-
(typeof CustomerAgreementState)[keyof typeof CustomerAgreementState];
|
|
123
39
|
export interface CustomerAgreementSummary {
|
|
124
40
|
name?: string | undefined;
|
|
125
41
|
arn?: string | undefined;
|
|
@@ -151,19 +67,6 @@ export interface GetReportMetadataRequest {
|
|
|
151
67
|
reportId: string | undefined;
|
|
152
68
|
reportVersion?: number | undefined;
|
|
153
69
|
}
|
|
154
|
-
export declare const PublishedState: {
|
|
155
|
-
readonly PUBLISHED: "PUBLISHED";
|
|
156
|
-
readonly UNPUBLISHED: "UNPUBLISHED";
|
|
157
|
-
};
|
|
158
|
-
export type PublishedState =
|
|
159
|
-
(typeof PublishedState)[keyof typeof PublishedState];
|
|
160
|
-
export declare const UploadState: {
|
|
161
|
-
readonly COMPLETE: "COMPLETE";
|
|
162
|
-
readonly FAILED: "FAILED";
|
|
163
|
-
readonly FAULT: "FAULT";
|
|
164
|
-
readonly PROCESSING: "PROCESSING";
|
|
165
|
-
};
|
|
166
|
-
export type UploadState = (typeof UploadState)[keyof typeof UploadState];
|
|
167
70
|
export interface ReportDetail {
|
|
168
71
|
id?: string | undefined;
|
|
169
72
|
name?: string | undefined;
|
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.935.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,38 +20,38 @@
|
|
|
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.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|