@aws-sdk/client-signer 3.299.0 → 3.301.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-types/commands/AddProfilePermissionCommand.d.ts +8 -0
- package/dist-types/commands/CancelSigningProfileCommand.d.ts +3 -0
- package/dist-types/commands/DescribeSigningJobCommand.d.ts +3 -0
- package/dist-types/commands/GetSigningPlatformCommand.d.ts +3 -0
- package/dist-types/commands/GetSigningProfileCommand.d.ts +4 -0
- package/dist-types/commands/ListProfilePermissionsCommand.d.ts +4 -0
- package/dist-types/commands/ListSigningJobsCommand.d.ts +11 -0
- package/dist-types/commands/ListSigningPlatformsCommand.d.ts +7 -0
- package/dist-types/commands/ListSigningProfilesCommand.d.ts +9 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutSigningProfileCommand.d.ts +24 -0
- package/dist-types/commands/RemoveProfilePermissionCommand.d.ts +5 -0
- package/dist-types/commands/RevokeSignatureCommand.d.ts +5 -0
- package/dist-types/commands/RevokeSigningProfileCommand.d.ts +6 -0
- package/dist-types/commands/StartSigningJobCommand.d.ts +18 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -26,6 +26,14 @@ export interface AddProfilePermissionCommandOutput extends AddProfilePermissionR
|
|
|
26
26
|
* import { SignerClient, AddProfilePermissionCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
27
27
|
* // const { SignerClient, AddProfilePermissionCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
28
28
|
* const client = new SignerClient(config);
|
|
29
|
+
* const input = { // AddProfilePermissionRequest
|
|
30
|
+
* profileName: "STRING_VALUE", // required
|
|
31
|
+
* profileVersion: "STRING_VALUE",
|
|
32
|
+
* action: "STRING_VALUE", // required
|
|
33
|
+
* principal: "STRING_VALUE", // required
|
|
34
|
+
* revisionId: "STRING_VALUE",
|
|
35
|
+
* statementId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
29
37
|
* const command = new AddProfilePermissionCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface CancelSigningProfileCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { SignerClient, CancelSigningProfileCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
30
30
|
* // const { SignerClient, CancelSigningProfileCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
31
31
|
* const client = new SignerClient(config);
|
|
32
|
+
* const input = { // CancelSigningProfileRequest
|
|
33
|
+
* profileName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new CancelSigningProfileCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DescribeSigningJobCommandOutput extends DescribeSigningJobRespo
|
|
|
28
28
|
* import { SignerClient, DescribeSigningJobCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
29
29
|
* // const { SignerClient, DescribeSigningJobCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
30
30
|
* const client = new SignerClient(config);
|
|
31
|
+
* const input = { // DescribeSigningJobRequest
|
|
32
|
+
* jobId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DescribeSigningJobCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetSigningPlatformCommandOutput extends GetSigningPlatformRespo
|
|
|
26
26
|
* import { SignerClient, GetSigningPlatformCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
27
27
|
* // const { SignerClient, GetSigningPlatformCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
28
28
|
* const client = new SignerClient(config);
|
|
29
|
+
* const input = { // GetSigningPlatformRequest
|
|
30
|
+
* platformId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetSigningPlatformCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetSigningProfileCommandOutput extends GetSigningProfileRespons
|
|
|
26
26
|
* import { SignerClient, GetSigningProfileCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
27
27
|
* // const { SignerClient, GetSigningProfileCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
28
28
|
* const client = new SignerClient(config);
|
|
29
|
+
* const input = { // GetSigningProfileRequest
|
|
30
|
+
* profileName: "STRING_VALUE", // required
|
|
31
|
+
* profileOwner: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetSigningProfileCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListProfilePermissionsCommandOutput extends ListProfilePermissi
|
|
|
26
26
|
* import { SignerClient, ListProfilePermissionsCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
27
27
|
* // const { SignerClient, ListProfilePermissionsCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
28
28
|
* const client = new SignerClient(config);
|
|
29
|
+
* const input = { // ListProfilePermissionsRequest
|
|
30
|
+
* profileName: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListProfilePermissionsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -32,6 +32,17 @@ export interface ListSigningJobsCommandOutput extends ListSigningJobsResponse, _
|
|
|
32
32
|
* import { SignerClient, ListSigningJobsCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
33
33
|
* // const { SignerClient, ListSigningJobsCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
34
34
|
* const client = new SignerClient(config);
|
|
35
|
+
* const input = { // ListSigningJobsRequest
|
|
36
|
+
* status: "STRING_VALUE",
|
|
37
|
+
* platformId: "STRING_VALUE",
|
|
38
|
+
* requestedBy: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* isRevoked: true || false,
|
|
42
|
+
* signatureExpiresBefore: new Date("TIMESTAMP"),
|
|
43
|
+
* signatureExpiresAfter: new Date("TIMESTAMP"),
|
|
44
|
+
* jobInvoker: "STRING_VALUE",
|
|
45
|
+
* };
|
|
35
46
|
* const command = new ListSigningJobsCommand(input);
|
|
36
47
|
* const response = await client.send(command);
|
|
37
48
|
* ```
|
|
@@ -32,6 +32,13 @@ export interface ListSigningPlatformsCommandOutput extends ListSigningPlatformsR
|
|
|
32
32
|
* import { SignerClient, ListSigningPlatformsCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
33
33
|
* // const { SignerClient, ListSigningPlatformsCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
34
34
|
* const client = new SignerClient(config);
|
|
35
|
+
* const input = { // ListSigningPlatformsRequest
|
|
36
|
+
* category: "STRING_VALUE",
|
|
37
|
+
* partner: "STRING_VALUE",
|
|
38
|
+
* target: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
35
42
|
* const command = new ListSigningPlatformsCommand(input);
|
|
36
43
|
* const response = await client.send(command);
|
|
37
44
|
* ```
|
|
@@ -33,6 +33,15 @@ export interface ListSigningProfilesCommandOutput extends ListSigningProfilesRes
|
|
|
33
33
|
* import { SignerClient, ListSigningProfilesCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
34
34
|
* // const { SignerClient, ListSigningProfilesCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
35
35
|
* const client = new SignerClient(config);
|
|
36
|
+
* const input = { // ListSigningProfilesRequest
|
|
37
|
+
* includeCanceled: true || false,
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* platformId: "STRING_VALUE",
|
|
41
|
+
* statuses: [ // Statuses
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
36
45
|
* const command = new ListSigningProfilesCommand(input);
|
|
37
46
|
* const response = await client.send(command);
|
|
38
47
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { SignerClient, ListTagsForResourceCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
27
27
|
* // const { SignerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
28
28
|
* const client = new SignerClient(config);
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,30 @@ export interface PutSigningProfileCommandOutput extends PutSigningProfileRespons
|
|
|
28
28
|
* import { SignerClient, PutSigningProfileCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
29
29
|
* // const { SignerClient, PutSigningProfileCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
30
30
|
* const client = new SignerClient(config);
|
|
31
|
+
* const input = { // PutSigningProfileRequest
|
|
32
|
+
* profileName: "STRING_VALUE", // required
|
|
33
|
+
* signingMaterial: { // SigningMaterial
|
|
34
|
+
* certificateArn: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* signatureValidityPeriod: { // SignatureValidityPeriod
|
|
37
|
+
* value: Number("int"),
|
|
38
|
+
* type: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* platformId: "STRING_VALUE", // required
|
|
41
|
+
* overrides: { // SigningPlatformOverrides
|
|
42
|
+
* signingConfiguration: { // SigningConfigurationOverrides
|
|
43
|
+
* encryptionAlgorithm: "STRING_VALUE",
|
|
44
|
+
* hashAlgorithm: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* signingImageFormat: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* signingParameters: { // SigningParameters
|
|
49
|
+
* "<keys>": "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* tags: { // TagMap
|
|
52
|
+
* "<keys>": "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* };
|
|
31
55
|
* const command = new PutSigningProfileCommand(input);
|
|
32
56
|
* const response = await client.send(command);
|
|
33
57
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface RemoveProfilePermissionCommandOutput extends RemoveProfilePermi
|
|
|
26
26
|
* import { SignerClient, RemoveProfilePermissionCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
27
27
|
* // const { SignerClient, RemoveProfilePermissionCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
28
28
|
* const client = new SignerClient(config);
|
|
29
|
+
* const input = { // RemoveProfilePermissionRequest
|
|
30
|
+
* profileName: "STRING_VALUE", // required
|
|
31
|
+
* revisionId: "STRING_VALUE", // required
|
|
32
|
+
* statementId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new RemoveProfilePermissionCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface RevokeSignatureCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { SignerClient, RevokeSignatureCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
28
28
|
* // const { SignerClient, RevokeSignatureCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
29
29
|
* const client = new SignerClient(config);
|
|
30
|
+
* const input = { // RevokeSignatureRequest
|
|
31
|
+
* jobId: "STRING_VALUE", // required
|
|
32
|
+
* jobOwner: "STRING_VALUE",
|
|
33
|
+
* reason: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new RevokeSignatureCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface RevokeSigningProfileCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { SignerClient, RevokeSigningProfileCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
29
29
|
* // const { SignerClient, RevokeSigningProfileCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
30
30
|
* const client = new SignerClient(config);
|
|
31
|
+
* const input = { // RevokeSigningProfileRequest
|
|
32
|
+
* profileName: "STRING_VALUE", // required
|
|
33
|
+
* profileVersion: "STRING_VALUE", // required
|
|
34
|
+
* reason: "STRING_VALUE", // required
|
|
35
|
+
* effectiveTime: new Date("TIMESTAMP"), // required
|
|
36
|
+
* };
|
|
31
37
|
* const command = new RevokeSigningProfileCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -53,6 +53,24 @@ export interface StartSigningJobCommandOutput extends StartSigningJobResponse, _
|
|
|
53
53
|
* import { SignerClient, StartSigningJobCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
54
54
|
* // const { SignerClient, StartSigningJobCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
55
55
|
* const client = new SignerClient(config);
|
|
56
|
+
* const input = { // StartSigningJobRequest
|
|
57
|
+
* source: { // Source
|
|
58
|
+
* s3: { // S3Source
|
|
59
|
+
* bucketName: "STRING_VALUE", // required
|
|
60
|
+
* key: "STRING_VALUE", // required
|
|
61
|
+
* version: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* destination: { // Destination
|
|
65
|
+
* s3: { // S3Destination
|
|
66
|
+
* bucketName: "STRING_VALUE",
|
|
67
|
+
* prefix: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* profileName: "STRING_VALUE", // required
|
|
71
|
+
* clientRequestToken: "STRING_VALUE", // required
|
|
72
|
+
* profileOwner: "STRING_VALUE",
|
|
73
|
+
* };
|
|
56
74
|
* const command = new StartSigningJobCommand(input);
|
|
57
75
|
* const response = await client.send(command);
|
|
58
76
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
29
29
|
* import { SignerClient, TagResourceCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
30
30
|
* // const { SignerClient, TagResourceCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
31
31
|
* const client = new SignerClient(config);
|
|
32
|
+
* const input = { // TagResourceRequest
|
|
33
|
+
* resourceArn: "STRING_VALUE", // required
|
|
34
|
+
* tags: { // TagMap // required
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
32
38
|
* const command = new TagResourceCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
27
27
|
* import { SignerClient, UntagResourceCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
28
28
|
* // const { SignerClient, UntagResourceCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
29
29
|
* const client = new SignerClient(config);
|
|
30
|
+
* const input = { // UntagResourceRequest
|
|
31
|
+
* resourceArn: "STRING_VALUE", // required
|
|
32
|
+
* tagKeys: [ // TagKeyList // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
30
36
|
* const command = new UntagResourceCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
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.301.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"@aws-sdk/util-waiter": "3.296.0",
|
|
57
57
|
"tslib": "^2.5.0",
|