@aws-sdk/client-signer 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/Signer.js +0 -20
- package/dist-cjs/SignerClient.js +0 -25
- package/dist-cjs/commands/AddProfilePermissionCommand.js +0 -25
- package/dist-cjs/commands/CancelSigningProfileCommand.js +0 -28
- package/dist-cjs/commands/DescribeSigningJobCommand.js +0 -27
- package/dist-cjs/commands/GetSigningPlatformCommand.js +0 -25
- package/dist-cjs/commands/GetSigningProfileCommand.js +0 -25
- package/dist-cjs/commands/ListProfilePermissionsCommand.js +0 -25
- package/dist-cjs/commands/ListSigningJobsCommand.js +0 -31
- package/dist-cjs/commands/ListSigningPlatformsCommand.js +0 -31
- package/dist-cjs/commands/ListSigningProfilesCommand.js +0 -32
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutSigningProfileCommand.js +0 -27
- package/dist-cjs/commands/RemoveProfilePermissionCommand.js +0 -25
- package/dist-cjs/commands/RevokeSignatureCommand.js +0 -26
- package/dist-cjs/commands/RevokeSigningProfileCommand.js +0 -27
- package/dist-cjs/commands/StartSigningJobCommand.js +0 -52
- package/dist-cjs/commands/TagResourceCommand.js +0 -28
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/index.js +20 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -25
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -184
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListSigningJobsPaginator.js +0 -11
- package/dist-cjs/pagination/ListSigningPlatformsPaginator.js +0 -11
- package/dist-cjs/pagination/ListSigningProfilesPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-cjs/waiters/index.js +4 -0
- package/dist-cjs/waiters/waitForSuccessfulSigningJob.js +0 -10
- package/dist-es/Signer.js +0 -1
- package/dist-es/SignerClient.js +0 -1
- package/dist-es/commands/AddProfilePermissionCommand.js +0 -1
- package/dist-es/commands/CancelSigningProfileCommand.js +0 -1
- package/dist-es/commands/DescribeSigningJobCommand.js +0 -1
- package/dist-es/commands/GetSigningPlatformCommand.js +0 -1
- package/dist-es/commands/GetSigningProfileCommand.js +0 -1
- package/dist-es/commands/ListProfilePermissionsCommand.js +0 -1
- package/dist-es/commands/ListSigningJobsCommand.js +0 -1
- package/dist-es/commands/ListSigningPlatformsCommand.js +0 -1
- package/dist-es/commands/ListSigningProfilesCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutSigningProfileCommand.js +0 -1
- package/dist-es/commands/RemoveProfilePermissionCommand.js +0 -1
- package/dist-es/commands/RevokeSignatureCommand.js +0 -1
- package/dist-es/commands/RevokeSigningProfileCommand.js +0 -1
- package/dist-es/commands/StartSigningJobCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/index.js +17 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -25
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListSigningJobsPaginator.js +0 -1
- package/dist-es/pagination/ListSigningPlatformsPaginator.js +0 -1
- package/dist-es/pagination/ListSigningProfilesPaginator.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForSuccessfulSigningJob.js +0 -1
- package/dist-types/commands/index.d.ts +17 -0
- package/dist-types/index.d.ts +5 -24
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/Signer.d.ts +18 -130
- package/dist-types/ts3.4/SignerClient.d.ts +24 -105
- package/dist-types/ts3.4/commands/AddProfilePermissionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CancelSigningProfileCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeSigningJobCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetSigningPlatformCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSigningProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListProfilePermissionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListSigningJobsCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListSigningPlatformsCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListSigningProfilesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutSigningProfileCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/RemoveProfilePermissionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RevokeSignatureCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/RevokeSigningProfileCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartSigningJobCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/index.d.ts +5 -24
- package/dist-types/ts3.4/models/models_0.d.ts +279 -902
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForSuccessfulSigningJob.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +1 -0
- package/package.json +34 -31
- package/dist-cjs/Signer.js.map +0 -1
- package/dist-cjs/SignerClient.js.map +0 -1
- package/dist-cjs/commands/AddProfilePermissionCommand.js.map +0 -1
- package/dist-cjs/commands/CancelSigningProfileCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSigningJobCommand.js.map +0 -1
- package/dist-cjs/commands/GetSigningPlatformCommand.js.map +0 -1
- package/dist-cjs/commands/GetSigningProfileCommand.js.map +0 -1
- package/dist-cjs/commands/ListProfilePermissionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSigningJobsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSigningPlatformsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSigningProfilesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutSigningProfileCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveProfilePermissionCommand.js.map +0 -1
- package/dist-cjs/commands/RevokeSignatureCommand.js.map +0 -1
- package/dist-cjs/commands/RevokeSigningProfileCommand.js.map +0 -1
- package/dist-cjs/commands/StartSigningJobCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListSigningJobsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSigningPlatformsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSigningProfilesPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForSuccessfulSigningJob.js.map +0 -1
- package/dist-es/Signer.js.map +0 -1
- package/dist-es/SignerClient.js.map +0 -1
- package/dist-es/commands/AddProfilePermissionCommand.js.map +0 -1
- package/dist-es/commands/CancelSigningProfileCommand.js.map +0 -1
- package/dist-es/commands/DescribeSigningJobCommand.js.map +0 -1
- package/dist-es/commands/GetSigningPlatformCommand.js.map +0 -1
- package/dist-es/commands/GetSigningProfileCommand.js.map +0 -1
- package/dist-es/commands/ListProfilePermissionsCommand.js.map +0 -1
- package/dist-es/commands/ListSigningJobsCommand.js.map +0 -1
- package/dist-es/commands/ListSigningPlatformsCommand.js.map +0 -1
- package/dist-es/commands/ListSigningProfilesCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutSigningProfileCommand.js.map +0 -1
- package/dist-es/commands/RemoveProfilePermissionCommand.js.map +0 -1
- package/dist-es/commands/RevokeSignatureCommand.js.map +0 -1
- package/dist-es/commands/RevokeSigningProfileCommand.js.map +0 -1
- package/dist-es/commands/StartSigningJobCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListSigningJobsPaginator.js.map +0 -1
- package/dist-es/pagination/ListSigningPlatformsPaginator.js.map +0 -1
- package/dist-es/pagination/ListSigningProfilesPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForSuccessfulSigningJob.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Signer.ts +0 -703
- package/src/SignerClient.ts +0 -327
- package/src/commands/AddProfilePermissionCommand.ts +0 -95
- package/src/commands/CancelSigningProfileCommand.ts +0 -98
- package/src/commands/DescribeSigningJobCommand.ts +0 -97
- package/src/commands/GetSigningPlatformCommand.ts +0 -95
- package/src/commands/GetSigningProfileCommand.ts +0 -95
- package/src/commands/ListProfilePermissionsCommand.ts +0 -95
- package/src/commands/ListSigningJobsCommand.ts +0 -101
- package/src/commands/ListSigningPlatformsCommand.ts +0 -101
- package/src/commands/ListSigningProfilesCommand.ts +0 -102
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutSigningProfileCommand.ts +0 -97
- package/src/commands/RemoveProfilePermissionCommand.ts +0 -95
- package/src/commands/RevokeSignatureCommand.ts +0 -96
- package/src/commands/RevokeSigningProfileCommand.ts +0 -97
- package/src/commands/StartSigningJobCommand.ts +0 -122
- package/src/commands/TagResourceCommand.ts +0 -98
- package/src/commands/UntagResourceCommand.ts +0 -96
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -25
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1831
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListSigningJobsPaginator.ts +0 -59
- package/src/pagination/ListSigningPlatformsPaginator.ts +0 -59
- package/src/pagination/ListSigningProfilesPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -2978
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForSuccessfulSigningJob.ts +0 -58
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1ListTagsForResourceCommand,
|
|
17
|
-
serializeAws_restJson1ListTagsForResourceCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
|
|
20
|
-
|
|
21
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
22
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a list of the tags associated with a signing profile resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SignerClient, ListTagsForResourceCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
30
|
-
* // const { SignerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
31
|
-
* const client = new SignerClient(config);
|
|
32
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SignerClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
42
|
-
ListTagsForResourceCommandInput,
|
|
43
|
-
ListTagsForResourceCommandOutput,
|
|
44
|
-
SignerClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SignerClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SignerClient";
|
|
69
|
-
const commandName = "ListTagsForResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { PutSigningProfileRequest, PutSigningProfileResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1PutSigningProfileCommand,
|
|
17
|
-
serializeAws_restJson1PutSigningProfileCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
|
|
20
|
-
|
|
21
|
-
export interface PutSigningProfileCommandInput extends PutSigningProfileRequest {}
|
|
22
|
-
export interface PutSigningProfileCommandOutput extends PutSigningProfileResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a signing profile. A signing profile is a code signing template that can be used to
|
|
26
|
-
* carry out a pre-defined signing job. For more information, see <a href="http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html">http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html</a>
|
|
27
|
-
* </p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { SignerClient, PutSigningProfileCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
32
|
-
* // const { SignerClient, PutSigningProfileCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
33
|
-
* const client = new SignerClient(config);
|
|
34
|
-
* const command = new PutSigningProfileCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link PutSigningProfileCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link PutSigningProfileCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link SignerClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class PutSigningProfileCommand extends $Command<
|
|
44
|
-
PutSigningProfileCommandInput,
|
|
45
|
-
PutSigningProfileCommandOutput,
|
|
46
|
-
SignerClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: PutSigningProfileCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: SignerClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<PutSigningProfileCommandInput, PutSigningProfileCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "SignerClient";
|
|
71
|
-
const commandName = "PutSigningProfileCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: PutSigningProfileRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: PutSigningProfileResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: PutSigningProfileCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1PutSigningProfileCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutSigningProfileCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1PutSigningProfileCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { RemoveProfilePermissionRequest, RemoveProfilePermissionResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1RemoveProfilePermissionCommand,
|
|
17
|
-
serializeAws_restJson1RemoveProfilePermissionCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
|
|
20
|
-
|
|
21
|
-
export interface RemoveProfilePermissionCommandInput extends RemoveProfilePermissionRequest {}
|
|
22
|
-
export interface RemoveProfilePermissionCommandOutput extends RemoveProfilePermissionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Removes cross-account permissions from a signing profile.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SignerClient, RemoveProfilePermissionCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
30
|
-
* // const { SignerClient, RemoveProfilePermissionCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
31
|
-
* const client = new SignerClient(config);
|
|
32
|
-
* const command = new RemoveProfilePermissionCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link RemoveProfilePermissionCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link RemoveProfilePermissionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SignerClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class RemoveProfilePermissionCommand extends $Command<
|
|
42
|
-
RemoveProfilePermissionCommandInput,
|
|
43
|
-
RemoveProfilePermissionCommandOutput,
|
|
44
|
-
SignerClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: RemoveProfilePermissionCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SignerClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<RemoveProfilePermissionCommandInput, RemoveProfilePermissionCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SignerClient";
|
|
69
|
-
const commandName = "RemoveProfilePermissionCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: RemoveProfilePermissionRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: RemoveProfilePermissionResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: RemoveProfilePermissionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1RemoveProfilePermissionCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RemoveProfilePermissionCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1RemoveProfilePermissionCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { RevokeSignatureRequest } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1RevokeSignatureCommand,
|
|
17
|
-
serializeAws_restJson1RevokeSignatureCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
|
|
20
|
-
|
|
21
|
-
export interface RevokeSignatureCommandInput extends RevokeSignatureRequest {}
|
|
22
|
-
export interface RevokeSignatureCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Changes the state of a signing job to REVOKED. This indicates that the signature is no
|
|
26
|
-
* longer valid.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { SignerClient, RevokeSignatureCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
31
|
-
* // const { SignerClient, RevokeSignatureCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
32
|
-
* const client = new SignerClient(config);
|
|
33
|
-
* const command = new RevokeSignatureCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link RevokeSignatureCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link RevokeSignatureCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link SignerClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class RevokeSignatureCommand extends $Command<
|
|
43
|
-
RevokeSignatureCommandInput,
|
|
44
|
-
RevokeSignatureCommandOutput,
|
|
45
|
-
SignerClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: RevokeSignatureCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: SignerClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<RevokeSignatureCommandInput, RevokeSignatureCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "SignerClient";
|
|
70
|
-
const commandName = "RevokeSignatureCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: RevokeSignatureRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: RevokeSignatureCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1RevokeSignatureCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RevokeSignatureCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1RevokeSignatureCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { RevokeSigningProfileRequest } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1RevokeSigningProfileCommand,
|
|
17
|
-
serializeAws_restJson1RevokeSigningProfileCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
|
|
20
|
-
|
|
21
|
-
export interface RevokeSigningProfileCommandInput extends RevokeSigningProfileRequest {}
|
|
22
|
-
export interface RevokeSigningProfileCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Changes the state of a signing profile to REVOKED. This indicates that signatures
|
|
26
|
-
* generated using the signing profile after an effective start date are no longer
|
|
27
|
-
* valid.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { SignerClient, RevokeSigningProfileCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
32
|
-
* // const { SignerClient, RevokeSigningProfileCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
33
|
-
* const client = new SignerClient(config);
|
|
34
|
-
* const command = new RevokeSigningProfileCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link RevokeSigningProfileCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link RevokeSigningProfileCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link SignerClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class RevokeSigningProfileCommand extends $Command<
|
|
44
|
-
RevokeSigningProfileCommandInput,
|
|
45
|
-
RevokeSigningProfileCommandOutput,
|
|
46
|
-
SignerClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: RevokeSigningProfileCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: SignerClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<RevokeSigningProfileCommandInput, RevokeSigningProfileCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "SignerClient";
|
|
71
|
-
const commandName = "RevokeSigningProfileCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: RevokeSigningProfileRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: RevokeSigningProfileCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1RevokeSigningProfileCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RevokeSigningProfileCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1RevokeSigningProfileCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { StartSigningJobRequest, StartSigningJobResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1StartSigningJobCommand,
|
|
17
|
-
serializeAws_restJson1StartSigningJobCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
|
|
20
|
-
|
|
21
|
-
export interface StartSigningJobCommandInput extends StartSigningJobRequest {}
|
|
22
|
-
export interface StartSigningJobCommandOutput extends StartSigningJobResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Initiates a signing job to be performed on the code provided. Signing jobs are
|
|
26
|
-
* viewable by the <code>ListSigningJobs</code> operation for two years after they are
|
|
27
|
-
* performed. Note the following requirements: </p>
|
|
28
|
-
* <ul>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p> You must create an Amazon S3 source bucket. For more information, see <a href="http://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html">Create a Bucket</a> in the
|
|
31
|
-
* <i>Amazon S3 Getting Started Guide</i>. </p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>Your S3 source bucket must be version enabled.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>You must create an S3 destination bucket. Code signing uses your S3 destination
|
|
38
|
-
* bucket to write your signed code.</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>You specify the name of the source and destination buckets when calling the
|
|
42
|
-
* <code>StartSigningJob</code> operation.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>You must also specify a request token that identifies your request to
|
|
46
|
-
* code signing.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* </ul>
|
|
49
|
-
* <p>You can call the <a>DescribeSigningJob</a> and the <a>ListSigningJobs</a> actions after you call
|
|
50
|
-
* <code>StartSigningJob</code>.</p>
|
|
51
|
-
* <p>For a Java example that shows how to use this action, see <a href="http://docs.aws.amazon.com/acm/latest/userguide/">http://docs.aws.amazon.com/acm/latest/userguide/</a>
|
|
52
|
-
* </p>
|
|
53
|
-
* @example
|
|
54
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
55
|
-
* ```javascript
|
|
56
|
-
* import { SignerClient, StartSigningJobCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
57
|
-
* // const { SignerClient, StartSigningJobCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
58
|
-
* const client = new SignerClient(config);
|
|
59
|
-
* const command = new StartSigningJobCommand(input);
|
|
60
|
-
* const response = await client.send(command);
|
|
61
|
-
* ```
|
|
62
|
-
*
|
|
63
|
-
* @see {@link StartSigningJobCommandInput} for command's `input` shape.
|
|
64
|
-
* @see {@link StartSigningJobCommandOutput} for command's `response` shape.
|
|
65
|
-
* @see {@link SignerClientResolvedConfig | config} for command's `input` shape.
|
|
66
|
-
*
|
|
67
|
-
*/
|
|
68
|
-
export class StartSigningJobCommand extends $Command<
|
|
69
|
-
StartSigningJobCommandInput,
|
|
70
|
-
StartSigningJobCommandOutput,
|
|
71
|
-
SignerClientResolvedConfig
|
|
72
|
-
> {
|
|
73
|
-
// Start section: command_properties
|
|
74
|
-
// End section: command_properties
|
|
75
|
-
|
|
76
|
-
constructor(readonly input: StartSigningJobCommandInput) {
|
|
77
|
-
// Start section: command_constructor
|
|
78
|
-
super();
|
|
79
|
-
// End section: command_constructor
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
resolveMiddleware(
|
|
86
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
87
|
-
configuration: SignerClientResolvedConfig,
|
|
88
|
-
options?: __HttpHandlerOptions
|
|
89
|
-
): Handler<StartSigningJobCommandInput, StartSigningJobCommandOutput> {
|
|
90
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
91
|
-
|
|
92
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
93
|
-
|
|
94
|
-
const { logger } = configuration;
|
|
95
|
-
const clientName = "SignerClient";
|
|
96
|
-
const commandName = "StartSigningJobCommand";
|
|
97
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
98
|
-
logger,
|
|
99
|
-
clientName,
|
|
100
|
-
commandName,
|
|
101
|
-
inputFilterSensitiveLog: StartSigningJobRequest.filterSensitiveLog,
|
|
102
|
-
outputFilterSensitiveLog: StartSigningJobResponse.filterSensitiveLog,
|
|
103
|
-
};
|
|
104
|
-
const { requestHandler } = configuration;
|
|
105
|
-
return stack.resolve(
|
|
106
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
107
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
108
|
-
handlerExecutionContext
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
private serialize(input: StartSigningJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
113
|
-
return serializeAws_restJson1StartSigningJobCommand(input, context);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartSigningJobCommandOutput> {
|
|
117
|
-
return deserializeAws_restJson1StartSigningJobCommand(output, context);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// Start section: command_body_extra
|
|
121
|
-
// End section: command_body_extra
|
|
122
|
-
}
|