@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
package/src/SignerClient.ts
DELETED
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import {
|
|
53
|
-
AddProfilePermissionCommandInput,
|
|
54
|
-
AddProfilePermissionCommandOutput,
|
|
55
|
-
} from "./commands/AddProfilePermissionCommand";
|
|
56
|
-
import {
|
|
57
|
-
CancelSigningProfileCommandInput,
|
|
58
|
-
CancelSigningProfileCommandOutput,
|
|
59
|
-
} from "./commands/CancelSigningProfileCommand";
|
|
60
|
-
import { DescribeSigningJobCommandInput, DescribeSigningJobCommandOutput } from "./commands/DescribeSigningJobCommand";
|
|
61
|
-
import { GetSigningPlatformCommandInput, GetSigningPlatformCommandOutput } from "./commands/GetSigningPlatformCommand";
|
|
62
|
-
import { GetSigningProfileCommandInput, GetSigningProfileCommandOutput } from "./commands/GetSigningProfileCommand";
|
|
63
|
-
import {
|
|
64
|
-
ListProfilePermissionsCommandInput,
|
|
65
|
-
ListProfilePermissionsCommandOutput,
|
|
66
|
-
} from "./commands/ListProfilePermissionsCommand";
|
|
67
|
-
import { ListSigningJobsCommandInput, ListSigningJobsCommandOutput } from "./commands/ListSigningJobsCommand";
|
|
68
|
-
import {
|
|
69
|
-
ListSigningPlatformsCommandInput,
|
|
70
|
-
ListSigningPlatformsCommandOutput,
|
|
71
|
-
} from "./commands/ListSigningPlatformsCommand";
|
|
72
|
-
import {
|
|
73
|
-
ListSigningProfilesCommandInput,
|
|
74
|
-
ListSigningProfilesCommandOutput,
|
|
75
|
-
} from "./commands/ListSigningProfilesCommand";
|
|
76
|
-
import {
|
|
77
|
-
ListTagsForResourceCommandInput,
|
|
78
|
-
ListTagsForResourceCommandOutput,
|
|
79
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
80
|
-
import { PutSigningProfileCommandInput, PutSigningProfileCommandOutput } from "./commands/PutSigningProfileCommand";
|
|
81
|
-
import {
|
|
82
|
-
RemoveProfilePermissionCommandInput,
|
|
83
|
-
RemoveProfilePermissionCommandOutput,
|
|
84
|
-
} from "./commands/RemoveProfilePermissionCommand";
|
|
85
|
-
import { RevokeSignatureCommandInput, RevokeSignatureCommandOutput } from "./commands/RevokeSignatureCommand";
|
|
86
|
-
import {
|
|
87
|
-
RevokeSigningProfileCommandInput,
|
|
88
|
-
RevokeSigningProfileCommandOutput,
|
|
89
|
-
} from "./commands/RevokeSigningProfileCommand";
|
|
90
|
-
import { StartSigningJobCommandInput, StartSigningJobCommandOutput } from "./commands/StartSigningJobCommand";
|
|
91
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
92
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
93
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
94
|
-
|
|
95
|
-
export type ServiceInputTypes =
|
|
96
|
-
| AddProfilePermissionCommandInput
|
|
97
|
-
| CancelSigningProfileCommandInput
|
|
98
|
-
| DescribeSigningJobCommandInput
|
|
99
|
-
| GetSigningPlatformCommandInput
|
|
100
|
-
| GetSigningProfileCommandInput
|
|
101
|
-
| ListProfilePermissionsCommandInput
|
|
102
|
-
| ListSigningJobsCommandInput
|
|
103
|
-
| ListSigningPlatformsCommandInput
|
|
104
|
-
| ListSigningProfilesCommandInput
|
|
105
|
-
| ListTagsForResourceCommandInput
|
|
106
|
-
| PutSigningProfileCommandInput
|
|
107
|
-
| RemoveProfilePermissionCommandInput
|
|
108
|
-
| RevokeSignatureCommandInput
|
|
109
|
-
| RevokeSigningProfileCommandInput
|
|
110
|
-
| StartSigningJobCommandInput
|
|
111
|
-
| TagResourceCommandInput
|
|
112
|
-
| UntagResourceCommandInput;
|
|
113
|
-
|
|
114
|
-
export type ServiceOutputTypes =
|
|
115
|
-
| AddProfilePermissionCommandOutput
|
|
116
|
-
| CancelSigningProfileCommandOutput
|
|
117
|
-
| DescribeSigningJobCommandOutput
|
|
118
|
-
| GetSigningPlatformCommandOutput
|
|
119
|
-
| GetSigningProfileCommandOutput
|
|
120
|
-
| ListProfilePermissionsCommandOutput
|
|
121
|
-
| ListSigningJobsCommandOutput
|
|
122
|
-
| ListSigningPlatformsCommandOutput
|
|
123
|
-
| ListSigningProfilesCommandOutput
|
|
124
|
-
| ListTagsForResourceCommandOutput
|
|
125
|
-
| PutSigningProfileCommandOutput
|
|
126
|
-
| RemoveProfilePermissionCommandOutput
|
|
127
|
-
| RevokeSignatureCommandOutput
|
|
128
|
-
| RevokeSigningProfileCommandOutput
|
|
129
|
-
| StartSigningJobCommandOutput
|
|
130
|
-
| TagResourceCommandOutput
|
|
131
|
-
| UntagResourceCommandOutput;
|
|
132
|
-
|
|
133
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
134
|
-
/**
|
|
135
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
136
|
-
*/
|
|
137
|
-
requestHandler?: __HttpHandler;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
141
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
142
|
-
* @internal
|
|
143
|
-
*/
|
|
144
|
-
sha256?: __HashConstructor;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
|
-
urlParser?: __UrlParser;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* A function that can calculate the length of a request body.
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
156
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* A function that converts a stream into an array of bytes.
|
|
160
|
-
* @internal
|
|
161
|
-
*/
|
|
162
|
-
streamCollector?: __StreamCollector;
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
|
-
base64Decoder?: __Decoder;
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
172
|
-
* @internal
|
|
173
|
-
*/
|
|
174
|
-
base64Encoder?: __Encoder;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
178
|
-
* @internal
|
|
179
|
-
*/
|
|
180
|
-
utf8Decoder?: __Decoder;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
186
|
-
utf8Encoder?: __Encoder;
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* The runtime environment.
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
192
|
-
runtime?: string;
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
196
|
-
* trait of an operation.
|
|
197
|
-
*/
|
|
198
|
-
disableHostPrefix?: boolean;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
202
|
-
*/
|
|
203
|
-
maxAttempts?: number | __Provider<number>;
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Specifies which retry algorithm to use.
|
|
207
|
-
*/
|
|
208
|
-
retryMode?: string | __Provider<string>;
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Optional logger for logging debug/info/warn/error.
|
|
212
|
-
*/
|
|
213
|
-
logger?: __Logger;
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* Unique service identifier.
|
|
217
|
-
* @internal
|
|
218
|
-
*/
|
|
219
|
-
serviceId?: string;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* The AWS region to which this client will send requests
|
|
223
|
-
*/
|
|
224
|
-
region?: string | __Provider<string>;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Default credentials provider; Not available in browser runtime.
|
|
228
|
-
* @internal
|
|
229
|
-
*/
|
|
230
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
234
|
-
* @internal
|
|
235
|
-
*/
|
|
236
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
type SignerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
246
|
-
ClientDefaults &
|
|
247
|
-
RegionInputConfig &
|
|
248
|
-
EndpointsInputConfig &
|
|
249
|
-
RetryInputConfig &
|
|
250
|
-
HostHeaderInputConfig &
|
|
251
|
-
AwsAuthInputConfig &
|
|
252
|
-
UserAgentInputConfig;
|
|
253
|
-
/**
|
|
254
|
-
* The configuration interface of SignerClient class constructor that set the region, credentials and other options.
|
|
255
|
-
*/
|
|
256
|
-
export interface SignerClientConfig extends SignerClientConfigType {}
|
|
257
|
-
|
|
258
|
-
type SignerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
259
|
-
Required<ClientDefaults> &
|
|
260
|
-
RegionResolvedConfig &
|
|
261
|
-
EndpointsResolvedConfig &
|
|
262
|
-
RetryResolvedConfig &
|
|
263
|
-
HostHeaderResolvedConfig &
|
|
264
|
-
AwsAuthResolvedConfig &
|
|
265
|
-
UserAgentResolvedConfig;
|
|
266
|
-
/**
|
|
267
|
-
* The resolved configuration interface of SignerClient class. This is resolved and normalized from the {@link SignerClientConfig | constructor configuration interface}.
|
|
268
|
-
*/
|
|
269
|
-
export interface SignerClientResolvedConfig extends SignerClientResolvedConfigType {}
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* <p>AWS Signer is a fully managed code signing service to help you ensure the trust and
|
|
273
|
-
* integrity of your code. </p>
|
|
274
|
-
* <p>AWS Signer supports the following applications:</p>
|
|
275
|
-
*
|
|
276
|
-
* <p>With <i>code signing for AWS Lambda</i>, you can sign AWS Lambda
|
|
277
|
-
* deployment packages. Integrated support is provided for Amazon S3, Amazon CloudWatch,
|
|
278
|
-
* and AWS CloudTrail. In order to sign code, you create a signing profile and then use
|
|
279
|
-
* Signer to sign Lambda zip files in S3. </p>
|
|
280
|
-
*
|
|
281
|
-
* <p>With <i>code signing for IoT</i>, you can sign code for any IoT device that is
|
|
282
|
-
* supported by AWS. IoT code signing is available for <a href="http://docs.aws.amazon.com/freertos/latest/userguide/">Amazon FreeRTOS</a> and <a href="http://docs.aws.amazon.com/iot/latest/developerguide/">AWS IoT Device Management</a>, and is
|
|
283
|
-
* integrated with <a href="http://docs.aws.amazon.com/acm/latest/userguide/">AWS Certificate Manager (ACM)</a>. In order to sign
|
|
284
|
-
* code, you import a third-party code signing certificate using ACM, and use that to
|
|
285
|
-
* sign updates in Amazon FreeRTOS and AWS IoT Device Management. </p>
|
|
286
|
-
* <p>For more information about AWS Signer, see the <a href="http://docs.aws.amazon.com/signer/latest/developerguide/Welcome.html">AWS Signer Developer Guide</a>.</p>
|
|
287
|
-
*
|
|
288
|
-
* <p></p>
|
|
289
|
-
*/
|
|
290
|
-
export class SignerClient extends __Client<
|
|
291
|
-
__HttpHandlerOptions,
|
|
292
|
-
ServiceInputTypes,
|
|
293
|
-
ServiceOutputTypes,
|
|
294
|
-
SignerClientResolvedConfig
|
|
295
|
-
> {
|
|
296
|
-
/**
|
|
297
|
-
* The resolved configuration of SignerClient class. This is resolved and normalized from the {@link SignerClientConfig | constructor configuration interface}.
|
|
298
|
-
*/
|
|
299
|
-
readonly config: SignerClientResolvedConfig;
|
|
300
|
-
|
|
301
|
-
constructor(configuration: SignerClientConfig) {
|
|
302
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
303
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
304
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
305
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
306
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
307
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
308
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
309
|
-
super(_config_6);
|
|
310
|
-
this.config = _config_6;
|
|
311
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
312
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
313
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
314
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
315
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
316
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
321
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
322
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
323
|
-
*/
|
|
324
|
-
destroy(): void {
|
|
325
|
-
super.destroy();
|
|
326
|
-
}
|
|
327
|
-
}
|
|
@@ -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 { AddProfilePermissionRequest, AddProfilePermissionResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1AddProfilePermissionCommand,
|
|
17
|
-
serializeAws_restJson1AddProfilePermissionCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
|
|
20
|
-
|
|
21
|
-
export interface AddProfilePermissionCommandInput extends AddProfilePermissionRequest {}
|
|
22
|
-
export interface AddProfilePermissionCommandOutput extends AddProfilePermissionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Adds cross-account permissions to 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, AddProfilePermissionCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
30
|
-
* // const { SignerClient, AddProfilePermissionCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
31
|
-
* const client = new SignerClient(config);
|
|
32
|
-
* const command = new AddProfilePermissionCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link AddProfilePermissionCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link AddProfilePermissionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SignerClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class AddProfilePermissionCommand extends $Command<
|
|
42
|
-
AddProfilePermissionCommandInput,
|
|
43
|
-
AddProfilePermissionCommandOutput,
|
|
44
|
-
SignerClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: AddProfilePermissionCommandInput) {
|
|
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<AddProfilePermissionCommandInput, AddProfilePermissionCommandOutput> {
|
|
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 = "AddProfilePermissionCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: AddProfilePermissionRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: AddProfilePermissionResponse.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: AddProfilePermissionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1AddProfilePermissionCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddProfilePermissionCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1AddProfilePermissionCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,98 +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 { CancelSigningProfileRequest } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1CancelSigningProfileCommand,
|
|
17
|
-
serializeAws_restJson1CancelSigningProfileCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
|
|
20
|
-
|
|
21
|
-
export interface CancelSigningProfileCommandInput extends CancelSigningProfileRequest {}
|
|
22
|
-
export interface CancelSigningProfileCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Changes the state of an <code>ACTIVE</code> signing profile to <code>CANCELED</code>.
|
|
26
|
-
* A canceled profile is still viewable with the <code>ListSigningProfiles</code>
|
|
27
|
-
* operation, but it cannot perform new signing jobs, and is deleted two years after
|
|
28
|
-
* cancelation.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { SignerClient, CancelSigningProfileCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
33
|
-
* // const { SignerClient, CancelSigningProfileCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
34
|
-
* const client = new SignerClient(config);
|
|
35
|
-
* const command = new CancelSigningProfileCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link CancelSigningProfileCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link CancelSigningProfileCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link SignerClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class CancelSigningProfileCommand extends $Command<
|
|
45
|
-
CancelSigningProfileCommandInput,
|
|
46
|
-
CancelSigningProfileCommandOutput,
|
|
47
|
-
SignerClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: CancelSigningProfileCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: SignerClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<CancelSigningProfileCommandInput, CancelSigningProfileCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "SignerClient";
|
|
72
|
-
const commandName = "CancelSigningProfileCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: CancelSigningProfileRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: CancelSigningProfileCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_restJson1CancelSigningProfileCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelSigningProfileCommandOutput> {
|
|
93
|
-
return deserializeAws_restJson1CancelSigningProfileCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -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 { DescribeSigningJobRequest, DescribeSigningJobResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1DescribeSigningJobCommand,
|
|
17
|
-
serializeAws_restJson1DescribeSigningJobCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SignerClientResolvedConfig } from "../SignerClient";
|
|
20
|
-
|
|
21
|
-
export interface DescribeSigningJobCommandInput extends DescribeSigningJobRequest {}
|
|
22
|
-
export interface DescribeSigningJobCommandOutput extends DescribeSigningJobResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns information about a specific code signing job. You specify the job by using
|
|
26
|
-
* the <code>jobId</code> value that is returned by the <a>StartSigningJob</a>
|
|
27
|
-
* operation. </p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { SignerClient, DescribeSigningJobCommand } from "@aws-sdk/client-signer"; // ES Modules import
|
|
32
|
-
* // const { SignerClient, DescribeSigningJobCommand } = require("@aws-sdk/client-signer"); // CommonJS import
|
|
33
|
-
* const client = new SignerClient(config);
|
|
34
|
-
* const command = new DescribeSigningJobCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DescribeSigningJobCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DescribeSigningJobCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link SignerClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DescribeSigningJobCommand extends $Command<
|
|
44
|
-
DescribeSigningJobCommandInput,
|
|
45
|
-
DescribeSigningJobCommandOutput,
|
|
46
|
-
SignerClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DescribeSigningJobCommandInput) {
|
|
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<DescribeSigningJobCommandInput, DescribeSigningJobCommandOutput> {
|
|
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 = "DescribeSigningJobCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DescribeSigningJobRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DescribeSigningJobResponse.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: DescribeSigningJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1DescribeSigningJobCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeSigningJobCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1DescribeSigningJobCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|