@aws-sdk/client-signer 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/SignerServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +143 -2
- package/dist-cjs/protocols/Aws_restJson1.js +222 -725
- package/dist-es/index.js +1 -0
- package/dist-es/models/SignerServiceException.js +12 -0
- package/dist-es/models/models_0.js +132 -1
- package/dist-es/protocols/Aws_restJson1.js +417 -804
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/SignerServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +72 -41
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/SignerServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +52 -41
- package/package.json +26 -26
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Signer service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SignerServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SignerServiceException as __BaseException } from "./SignerServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
message?: string;
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
9
|
code?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
10
14
|
}
|
|
11
15
|
export interface AddProfilePermissionRequest {
|
|
12
16
|
/**
|
|
@@ -56,67 +60,88 @@ export declare namespace AddProfilePermissionResponse {
|
|
|
56
60
|
/**
|
|
57
61
|
* <p>The resource encountered a conflicting state.</p>
|
|
58
62
|
*/
|
|
59
|
-
export
|
|
60
|
-
name: "ConflictException";
|
|
61
|
-
$fault: "client";
|
|
62
|
-
message?: string;
|
|
63
|
+
export declare class ConflictException extends __BaseException {
|
|
64
|
+
readonly name: "ConflictException";
|
|
65
|
+
readonly $fault: "client";
|
|
63
66
|
code?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
64
71
|
}
|
|
65
72
|
/**
|
|
66
73
|
* <p>An internal error occurred.</p>
|
|
67
74
|
*/
|
|
68
|
-
export
|
|
69
|
-
name: "InternalServiceErrorException";
|
|
70
|
-
$fault: "server";
|
|
71
|
-
message?: string;
|
|
75
|
+
export declare class InternalServiceErrorException extends __BaseException {
|
|
76
|
+
readonly name: "InternalServiceErrorException";
|
|
77
|
+
readonly $fault: "server";
|
|
72
78
|
code?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
|
|
73
83
|
}
|
|
74
84
|
/**
|
|
75
85
|
* <p>A specified resource could not be found.</p>
|
|
76
86
|
*/
|
|
77
|
-
export
|
|
78
|
-
name: "ResourceNotFoundException";
|
|
79
|
-
$fault: "client";
|
|
80
|
-
message?: string;
|
|
87
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
88
|
+
readonly name: "ResourceNotFoundException";
|
|
89
|
+
readonly $fault: "client";
|
|
81
90
|
code?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
82
95
|
}
|
|
83
96
|
/**
|
|
84
97
|
* <p>The client is making a request that exceeds service limits.</p>
|
|
85
98
|
*/
|
|
86
|
-
export
|
|
87
|
-
name: "ServiceLimitExceededException";
|
|
88
|
-
$fault: "client";
|
|
89
|
-
message?: string;
|
|
99
|
+
export declare class ServiceLimitExceededException extends __BaseException {
|
|
100
|
+
readonly name: "ServiceLimitExceededException";
|
|
101
|
+
readonly $fault: "client";
|
|
90
102
|
code?: string;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
|
|
91
107
|
}
|
|
92
108
|
/**
|
|
93
109
|
* <p>The allowed number of job-signing requests has been exceeded.</p>
|
|
94
110
|
* <p>This error supersedes the error <code>ThrottlingException</code>.</p>
|
|
95
111
|
*/
|
|
96
|
-
export
|
|
97
|
-
name: "TooManyRequestsException";
|
|
98
|
-
$fault: "client";
|
|
99
|
-
message?: string;
|
|
112
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
113
|
+
readonly name: "TooManyRequestsException";
|
|
114
|
+
readonly $fault: "client";
|
|
100
115
|
code?: string;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
101
120
|
}
|
|
102
121
|
/**
|
|
103
122
|
* <p>You signing certificate could not be validated.</p>
|
|
104
123
|
*/
|
|
105
|
-
export
|
|
106
|
-
name: "ValidationException";
|
|
107
|
-
$fault: "client";
|
|
108
|
-
message?: string;
|
|
124
|
+
export declare class ValidationException extends __BaseException {
|
|
125
|
+
readonly name: "ValidationException";
|
|
126
|
+
readonly $fault: "client";
|
|
109
127
|
code?: string;
|
|
128
|
+
/**
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
131
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
110
132
|
}
|
|
111
133
|
/**
|
|
112
134
|
* <p>The request contains invalid parameters for the ARN or tags. This exception also
|
|
113
135
|
* occurs when you call a tagging API on a cancelled signing profile.</p>
|
|
114
136
|
*/
|
|
115
|
-
export
|
|
116
|
-
name: "BadRequestException";
|
|
117
|
-
$fault: "client";
|
|
118
|
-
message?: string;
|
|
137
|
+
export declare class BadRequestException extends __BaseException {
|
|
138
|
+
readonly name: "BadRequestException";
|
|
139
|
+
readonly $fault: "client";
|
|
119
140
|
code?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
120
145
|
}
|
|
121
146
|
export interface CancelSigningProfileRequest {
|
|
122
147
|
/**
|
|
@@ -1141,11 +1166,14 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
1141
1166
|
/**
|
|
1142
1167
|
* <p>The signing profile was not found.</p>
|
|
1143
1168
|
*/
|
|
1144
|
-
export
|
|
1145
|
-
name: "NotFoundException";
|
|
1146
|
-
$fault: "client";
|
|
1147
|
-
message?: string;
|
|
1169
|
+
export declare class NotFoundException extends __BaseException {
|
|
1170
|
+
readonly name: "NotFoundException";
|
|
1171
|
+
readonly $fault: "client";
|
|
1148
1172
|
code?: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* @internal
|
|
1175
|
+
*/
|
|
1176
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
1149
1177
|
}
|
|
1150
1178
|
export interface PutSigningProfileRequest {
|
|
1151
1179
|
/**
|
|
@@ -1343,11 +1371,14 @@ export declare namespace StartSigningJobResponse {
|
|
|
1343
1371
|
* <p>The request was denied due to request throttling.</p>
|
|
1344
1372
|
* <p>Instead of this error, <code>TooManyRequestsException</code> should be used.</p>
|
|
1345
1373
|
*/
|
|
1346
|
-
export
|
|
1347
|
-
name: "ThrottlingException";
|
|
1348
|
-
$fault: "client";
|
|
1349
|
-
message?: string;
|
|
1374
|
+
export declare class ThrottlingException extends __BaseException {
|
|
1375
|
+
readonly name: "ThrottlingException";
|
|
1376
|
+
readonly $fault: "client";
|
|
1350
1377
|
code?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* @internal
|
|
1380
|
+
*/
|
|
1381
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
1351
1382
|
}
|
|
1352
1383
|
export interface TagResourceRequest {
|
|
1353
1384
|
/**
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SignerServiceException as __BaseException } from "./SignerServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
message?: string;
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
7
|
code?: string;
|
|
8
|
+
|
|
9
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
8
10
|
}
|
|
9
11
|
export interface AddProfilePermissionRequest {
|
|
10
12
|
|
|
@@ -33,53 +35,60 @@ export declare namespace AddProfilePermissionResponse {
|
|
|
33
35
|
const filterSensitiveLog: (obj: AddProfilePermissionResponse) => any;
|
|
34
36
|
}
|
|
35
37
|
|
|
36
|
-
export
|
|
37
|
-
name: "ConflictException";
|
|
38
|
-
$fault: "client";
|
|
39
|
-
message?: string;
|
|
38
|
+
export declare class ConflictException extends __BaseException {
|
|
39
|
+
readonly name: "ConflictException";
|
|
40
|
+
readonly $fault: "client";
|
|
40
41
|
code?: string;
|
|
42
|
+
|
|
43
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
41
44
|
}
|
|
42
45
|
|
|
43
|
-
export
|
|
44
|
-
name: "InternalServiceErrorException";
|
|
45
|
-
$fault: "server";
|
|
46
|
-
message?: string;
|
|
46
|
+
export declare class InternalServiceErrorException extends __BaseException {
|
|
47
|
+
readonly name: "InternalServiceErrorException";
|
|
48
|
+
readonly $fault: "server";
|
|
47
49
|
code?: string;
|
|
50
|
+
|
|
51
|
+
constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
|
|
48
52
|
}
|
|
49
53
|
|
|
50
|
-
export
|
|
51
|
-
name: "ResourceNotFoundException";
|
|
52
|
-
$fault: "client";
|
|
53
|
-
message?: string;
|
|
54
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
55
|
+
readonly name: "ResourceNotFoundException";
|
|
56
|
+
readonly $fault: "client";
|
|
54
57
|
code?: string;
|
|
58
|
+
|
|
59
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
55
60
|
}
|
|
56
61
|
|
|
57
|
-
export
|
|
58
|
-
name: "ServiceLimitExceededException";
|
|
59
|
-
$fault: "client";
|
|
60
|
-
message?: string;
|
|
62
|
+
export declare class ServiceLimitExceededException extends __BaseException {
|
|
63
|
+
readonly name: "ServiceLimitExceededException";
|
|
64
|
+
readonly $fault: "client";
|
|
61
65
|
code?: string;
|
|
66
|
+
|
|
67
|
+
constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
|
|
62
68
|
}
|
|
63
69
|
|
|
64
|
-
export
|
|
65
|
-
name: "TooManyRequestsException";
|
|
66
|
-
$fault: "client";
|
|
67
|
-
message?: string;
|
|
70
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
71
|
+
readonly name: "TooManyRequestsException";
|
|
72
|
+
readonly $fault: "client";
|
|
68
73
|
code?: string;
|
|
74
|
+
|
|
75
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
69
76
|
}
|
|
70
77
|
|
|
71
|
-
export
|
|
72
|
-
name: "ValidationException";
|
|
73
|
-
$fault: "client";
|
|
74
|
-
message?: string;
|
|
78
|
+
export declare class ValidationException extends __BaseException {
|
|
79
|
+
readonly name: "ValidationException";
|
|
80
|
+
readonly $fault: "client";
|
|
75
81
|
code?: string;
|
|
82
|
+
|
|
83
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
76
84
|
}
|
|
77
85
|
|
|
78
|
-
export
|
|
79
|
-
name: "BadRequestException";
|
|
80
|
-
$fault: "client";
|
|
81
|
-
message?: string;
|
|
86
|
+
export declare class BadRequestException extends __BaseException {
|
|
87
|
+
readonly name: "BadRequestException";
|
|
88
|
+
readonly $fault: "client";
|
|
82
89
|
code?: string;
|
|
90
|
+
|
|
91
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
83
92
|
}
|
|
84
93
|
export interface CancelSigningProfileRequest {
|
|
85
94
|
|
|
@@ -641,11 +650,12 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
641
650
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
642
651
|
}
|
|
643
652
|
|
|
644
|
-
export
|
|
645
|
-
name: "NotFoundException";
|
|
646
|
-
$fault: "client";
|
|
647
|
-
message?: string;
|
|
653
|
+
export declare class NotFoundException extends __BaseException {
|
|
654
|
+
readonly name: "NotFoundException";
|
|
655
|
+
readonly $fault: "client";
|
|
648
656
|
code?: string;
|
|
657
|
+
|
|
658
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
649
659
|
}
|
|
650
660
|
export interface PutSigningProfileRequest {
|
|
651
661
|
|
|
@@ -756,11 +766,12 @@ export declare namespace StartSigningJobResponse {
|
|
|
756
766
|
const filterSensitiveLog: (obj: StartSigningJobResponse) => any;
|
|
757
767
|
}
|
|
758
768
|
|
|
759
|
-
export
|
|
760
|
-
name: "ThrottlingException";
|
|
761
|
-
$fault: "client";
|
|
762
|
-
message?: string;
|
|
769
|
+
export declare class ThrottlingException extends __BaseException {
|
|
770
|
+
readonly name: "ThrottlingException";
|
|
771
|
+
readonly $fault: "client";
|
|
763
772
|
code?: string;
|
|
773
|
+
|
|
774
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
764
775
|
}
|
|
765
776
|
export interface TagResourceRequest {
|
|
766
777
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-signer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Signer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,37 +18,37 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
|
-
"@aws-sdk/util-waiter": "3.
|
|
51
|
+
"@aws-sdk/util-waiter": "3.53.0",
|
|
52
52
|
"tslib": "^2.3.0",
|
|
53
53
|
"uuid": "^8.3.2"
|
|
54
54
|
},
|