@aws-sdk/client-supportauthz 3.1077.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/LICENSE +201 -0
- package/README.md +258 -0
- package/dist-cjs/index.js +984 -0
- package/dist-es/SupportAuthZ.js +37 -0
- package/dist-es/SupportAuthZClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/CreateSupportPermitCommand.js +16 -0
- package/dist-es/commands/DeleteSupportPermitCommand.js +16 -0
- package/dist-es/commands/GetActionCommand.js +16 -0
- package/dist-es/commands/GetSupportPermitCommand.js +16 -0
- package/dist-es/commands/ListActionsCommand.js +16 -0
- package/dist-es/commands/ListSupportPermitRequestsCommand.js +16 -0
- package/dist-es/commands/ListSupportPermitsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/RejectSupportPermitRequestCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +29 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/SupportAuthZServiceException.js +8 -0
- package/dist-es/models/enums.js +11 -0
- package/dist-es/models/errors.js +111 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListActionsPaginator.js +4 -0
- package/dist-es/pagination/ListSupportPermitRequestsPaginator.js +4 -0
- package/dist-es/pagination/ListSupportPermitsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +365 -0
- package/dist-types/SupportAuthZ.d.ts +110 -0
- package/dist-types/SupportAuthZClient.d.ts +197 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateSupportPermitCommand.d.ts +154 -0
- package/dist-types/commands/DeleteSupportPermitCommand.d.ts +119 -0
- package/dist-types/commands/GetActionCommand.d.ts +93 -0
- package/dist-types/commands/GetSupportPermitCommand.d.ts +122 -0
- package/dist-types/commands/ListActionsCommand.d.ts +97 -0
- package/dist-types/commands/ListSupportPermitRequestsCommand.d.ts +119 -0
- package/dist-types/commands/ListSupportPermitsCommand.d.ts +124 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
- package/dist-types/commands/RejectSupportPermitRequestCommand.d.ts +94 -0
- package/dist-types/commands/TagResourceCommand.d.ts +92 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +17 -0
- package/dist-types/models/SupportAuthZServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +48 -0
- package/dist-types/models/errors.d.ts +146 -0
- package/dist-types/models/models_0.d.ts +729 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSupportPermitRequestsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSupportPermitsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +58 -0
- package/dist-types/ts3.4/SupportAuthZ.d.ts +221 -0
- package/dist-types/ts3.4/SupportAuthZClient.d.ts +177 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateSupportPermitCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteSupportPermitCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetActionCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetSupportPermitCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListSupportPermitRequestsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListSupportPermitsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/RejectSupportPermitRequestCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +12 -0
- package/dist-types/ts3.4/models/SupportAuthZServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/errors.d.ts +65 -0
- package/dist-types/ts3.4/models/models_0.d.ts +232 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSupportPermitRequestsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSupportPermitsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +106 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +110 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +58 -0
- package/package.json +69 -0
|
@@ -0,0 +1,729 @@
|
|
|
1
|
+
import type { SupportPermitRequestStatus, SupportPermitStatus } from "./enums";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface Unit {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* <p>The set of actions authorized by a permit. Specify either all actions or a list of specific actions.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type ActionSet = ActionSet.ActionsMember | ActionSet.AllActionsMember | ActionSet.$UnknownMember;
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export declare namespace ActionSet {
|
|
16
|
+
/**
|
|
17
|
+
* <p>Authorizes all available support actions.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
interface AllActionsMember {
|
|
21
|
+
allActions: Unit;
|
|
22
|
+
actions?: never;
|
|
23
|
+
$unknown?: never;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* <p>A list of specific support actions to authorize. Maximum of 10 actions.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
interface ActionsMember {
|
|
30
|
+
allActions?: never;
|
|
31
|
+
actions: string[];
|
|
32
|
+
$unknown?: never;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
interface $UnknownMember {
|
|
38
|
+
allActions?: never;
|
|
39
|
+
actions?: never;
|
|
40
|
+
$unknown: [string, any];
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated unused in schema-serde mode.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
interface Visitor<T> {
|
|
47
|
+
allActions: (value: Unit) => T;
|
|
48
|
+
actions: (value: string[]) => T;
|
|
49
|
+
_: (name: string, value: any) => T;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* <p>A summary of a support action.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export interface ActionSummary {
|
|
57
|
+
/**
|
|
58
|
+
* <p>The name of the support action.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
action: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The AWS service associated with the support action.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
service: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>A description of what the support action does.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
description: string | undefined;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* <p>A time-window condition that constrains when a support permit is valid.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export type Condition = Condition.AllowAfterMember | Condition.AllowBeforeMember | Condition.$UnknownMember;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare namespace Condition {
|
|
82
|
+
/**
|
|
83
|
+
* <p>The earliest time at which the permit becomes valid.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
interface AllowAfterMember {
|
|
87
|
+
allowAfter: Date;
|
|
88
|
+
allowBefore?: never;
|
|
89
|
+
$unknown?: never;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* <p>The latest time at which the permit remains valid.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
interface AllowBeforeMember {
|
|
96
|
+
allowAfter?: never;
|
|
97
|
+
allowBefore: Date;
|
|
98
|
+
$unknown?: never;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
interface $UnknownMember {
|
|
104
|
+
allowAfter?: never;
|
|
105
|
+
allowBefore?: never;
|
|
106
|
+
$unknown: [string, any];
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @deprecated unused in schema-serde mode.
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
interface Visitor<T> {
|
|
113
|
+
allowAfter: (value: Date) => T;
|
|
114
|
+
allowBefore: (value: Date) => T;
|
|
115
|
+
_: (name: string, value: any) => T;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* <p>The set of resources authorized by a permit. Specify either all resources in the Region or a list of specific resources.</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export type ResourceSet = ResourceSet.AllResourcesInRegionMember | ResourceSet.ResourcesMember | ResourceSet.$UnknownMember;
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export declare namespace ResourceSet {
|
|
127
|
+
/**
|
|
128
|
+
* <p>Authorizes the support operator to act on all resources in the Region.</p>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
interface AllResourcesInRegionMember {
|
|
132
|
+
allResourcesInRegion: Unit;
|
|
133
|
+
resources?: never;
|
|
134
|
+
$unknown?: never;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* <p>A list of specific resource identifiers that the support operator is authorized to act upon. Maximum of 5 resources.</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
interface ResourcesMember {
|
|
141
|
+
allResourcesInRegion?: never;
|
|
142
|
+
resources: string[];
|
|
143
|
+
$unknown?: never;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
interface $UnknownMember {
|
|
149
|
+
allResourcesInRegion?: never;
|
|
150
|
+
resources?: never;
|
|
151
|
+
$unknown: [string, any];
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* @deprecated unused in schema-serde mode.
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
interface Visitor<T> {
|
|
158
|
+
allResourcesInRegion: (value: Unit) => T;
|
|
159
|
+
resources: (value: string[]) => T;
|
|
160
|
+
_: (name: string, value: any) => T;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* <p>The permit definition specifying the authorized actions, resources, and time-window conditions for a support operator.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export interface Permit {
|
|
168
|
+
/**
|
|
169
|
+
* <p>The set of actions that the support operator is authorized to perform.</p>
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
actions: ActionSet | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* <p>The set of resources that the support operator is authorized to act upon.</p>
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
resources: ResourceSet | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* <p>The time-window conditions that constrain when the permit is valid. Maximum of 2 conditions.</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
conditions?: Condition[] | undefined;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* <p>The signing key used to cryptographically sign a support permit.</p>
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
export type SigningKeyInfo = SigningKeyInfo.KmsKeyMember | SigningKeyInfo.$UnknownMember;
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export declare namespace SigningKeyInfo {
|
|
193
|
+
/**
|
|
194
|
+
* <p>The ARN of the AWS KMS key used to sign the permit. The key must have key spec ECC_NIST_P384 and key usage SIGN_VERIFY.</p>
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
interface KmsKeyMember {
|
|
198
|
+
kmsKey: string;
|
|
199
|
+
$unknown?: never;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
interface $UnknownMember {
|
|
205
|
+
kmsKey?: never;
|
|
206
|
+
$unknown: [string, any];
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* @deprecated unused in schema-serde mode.
|
|
210
|
+
*
|
|
211
|
+
*/
|
|
212
|
+
interface Visitor<T> {
|
|
213
|
+
kmsKey: (value: string) => T;
|
|
214
|
+
_: (name: string, value: any) => T;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export interface CreateSupportPermitInput {
|
|
221
|
+
/**
|
|
222
|
+
* <p>The permit definition specifying the actions, resources, and time-window conditions that the support operator is authorized to use.</p>
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
permit: Permit | undefined;
|
|
226
|
+
/**
|
|
227
|
+
* <p>A customer-chosen name for the support permit. Must be between 1 and 256 alphanumeric characters.</p>
|
|
228
|
+
* @public
|
|
229
|
+
*/
|
|
230
|
+
name: string | undefined;
|
|
231
|
+
/**
|
|
232
|
+
* <p>A human-readable description of why this permit is being created. Maximum length of 1024 characters.</p>
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
description?: string | undefined;
|
|
236
|
+
/**
|
|
237
|
+
* <p>The signing key information used to sign the permit. Must reference an AWS KMS key with key usage SIGN_VERIFY and key spec ECC_NIST_P384.</p>
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
signingKeyInfo: SigningKeyInfo | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* <p>The display identifier of the AWS Support case associated with this permit.</p>
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
supportCaseDisplayId?: string | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service returns the existing permit without creating a duplicate.</p>
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
clientToken?: string | undefined;
|
|
251
|
+
/**
|
|
252
|
+
* <p>The tags to associate with the support permit on creation.</p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
tags?: Record<string, string> | undefined;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
260
|
+
export interface CreateSupportPermitOutput {
|
|
261
|
+
/**
|
|
262
|
+
* <p>The name of the support permit.</p>
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
name: string | undefined;
|
|
266
|
+
/**
|
|
267
|
+
* <p>The Amazon Resource Name (ARN) of the support permit.</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
arn: string | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* <p>The description of the support permit.</p>
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
description?: string | undefined;
|
|
276
|
+
/**
|
|
277
|
+
* <p>The permit definition.</p>
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
permit: Permit | undefined;
|
|
281
|
+
/**
|
|
282
|
+
* <p>The current status of the support permit.</p>
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
status: SupportPermitStatus | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* <p>The signing key information for the permit.</p>
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
signingKeyInfo: SigningKeyInfo | undefined;
|
|
291
|
+
/**
|
|
292
|
+
* <p>The timestamp when the permit was created.</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
createdAt: Date | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* <p>The display identifier of the support case associated with the permit.</p>
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
supportCaseDisplayId?: string | undefined;
|
|
301
|
+
/**
|
|
302
|
+
* <p>The tags associated with the support permit.</p>
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
tags?: Record<string, string> | undefined;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* <p>Describes one specific validation failure for an input member.</p>
|
|
309
|
+
* @public
|
|
310
|
+
*/
|
|
311
|
+
export interface ValidationExceptionField {
|
|
312
|
+
/**
|
|
313
|
+
* <p>A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.</p>
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
path: string | undefined;
|
|
317
|
+
/**
|
|
318
|
+
* <p>A detailed description of the validation failure.</p>
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
message: string | undefined;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
export interface DeleteSupportPermitInput {
|
|
327
|
+
/**
|
|
328
|
+
* <p>The Amazon Resource Name (ARN) or name of the support permit to delete.</p>
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
supportPermitIdentifier: string | undefined;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
export interface DeleteSupportPermitOutput {
|
|
337
|
+
/**
|
|
338
|
+
* <p>The name of the deleted support permit.</p>
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
name: string | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* <p>The ARN of the deleted support permit.</p>
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
arn: string | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* <p>The description of the deleted support permit.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
description?: string | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* <p>The permit definition of the deleted permit.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
permit: Permit | undefined;
|
|
357
|
+
/**
|
|
358
|
+
* <p>The status of the support permit. Returns DELETING.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
status: SupportPermitStatus | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* <p>The signing key information for the deleted permit.</p>
|
|
364
|
+
* @public
|
|
365
|
+
*/
|
|
366
|
+
signingKeyInfo: SigningKeyInfo | undefined;
|
|
367
|
+
/**
|
|
368
|
+
* <p>The timestamp when the permit was originally created.</p>
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
createdAt: Date | undefined;
|
|
372
|
+
/**
|
|
373
|
+
* <p>The display identifier of the support case associated with the deleted permit.</p>
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
supportCaseDisplayId?: string | undefined;
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
export interface GetActionInput {
|
|
382
|
+
/**
|
|
383
|
+
* <p>The name of the support action to retrieve.</p>
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
action: string | undefined;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
export interface GetActionOutput {
|
|
392
|
+
/**
|
|
393
|
+
* <p>The name of the support action.</p>
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
action: string | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* <p>The AWS service associated with the support action.</p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
service: string | undefined;
|
|
402
|
+
/**
|
|
403
|
+
* <p>A description of what the support action does.</p>
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
description: string | undefined;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
export interface GetSupportPermitInput {
|
|
412
|
+
/**
|
|
413
|
+
* <p>The ARN or name of the support permit to retrieve.</p>
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
supportPermitIdentifier: string | undefined;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
export interface GetSupportPermitOutput {
|
|
422
|
+
/**
|
|
423
|
+
* <p>The name of the support permit.</p>
|
|
424
|
+
* @public
|
|
425
|
+
*/
|
|
426
|
+
name: string | undefined;
|
|
427
|
+
/**
|
|
428
|
+
* <p>The ARN of the support permit.</p>
|
|
429
|
+
* @public
|
|
430
|
+
*/
|
|
431
|
+
arn: string | undefined;
|
|
432
|
+
/**
|
|
433
|
+
* <p>The description of the support permit.</p>
|
|
434
|
+
* @public
|
|
435
|
+
*/
|
|
436
|
+
description?: string | undefined;
|
|
437
|
+
/**
|
|
438
|
+
* <p>The permit definition.</p>
|
|
439
|
+
* @public
|
|
440
|
+
*/
|
|
441
|
+
permit: Permit | undefined;
|
|
442
|
+
/**
|
|
443
|
+
* <p>The current status of the support permit.</p>
|
|
444
|
+
* @public
|
|
445
|
+
*/
|
|
446
|
+
status: SupportPermitStatus | undefined;
|
|
447
|
+
/**
|
|
448
|
+
* <p>The signing key information for the permit.</p>
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
signingKeyInfo: SigningKeyInfo | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* <p>The timestamp when the permit was created.</p>
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
createdAt: Date | undefined;
|
|
457
|
+
/**
|
|
458
|
+
* <p>The display identifier of the support case associated with the permit.</p>
|
|
459
|
+
* @public
|
|
460
|
+
*/
|
|
461
|
+
supportCaseDisplayId?: string | undefined;
|
|
462
|
+
/**
|
|
463
|
+
* <p>The tags associated with the support permit.</p>
|
|
464
|
+
* @public
|
|
465
|
+
*/
|
|
466
|
+
tags?: Record<string, string> | undefined;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
export interface ListActionsInput {
|
|
472
|
+
/**
|
|
473
|
+
* <p>The token for the next page of results.</p>
|
|
474
|
+
* @public
|
|
475
|
+
*/
|
|
476
|
+
nextToken?: string | undefined;
|
|
477
|
+
/**
|
|
478
|
+
* <p>The maximum number of results to return in a single call. Valid range is 1 to 100.</p>
|
|
479
|
+
* @public
|
|
480
|
+
*/
|
|
481
|
+
maxResults?: number | undefined;
|
|
482
|
+
/**
|
|
483
|
+
* <p>The name of the AWS service for which to list available support actions.</p>
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
service: string | undefined;
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* @public
|
|
490
|
+
*/
|
|
491
|
+
export interface ListActionsOutput {
|
|
492
|
+
/**
|
|
493
|
+
* <p>The list of support actions.</p>
|
|
494
|
+
* @public
|
|
495
|
+
*/
|
|
496
|
+
actionSummaries: ActionSummary[] | undefined;
|
|
497
|
+
/**
|
|
498
|
+
* <p>The token for the next page of results, or null if there are no more results.</p>
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
501
|
+
nextToken?: string | undefined;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
export interface ListSupportPermitRequestsInput {
|
|
507
|
+
/**
|
|
508
|
+
* <p>The token for the next page of results.</p>
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
nextToken?: string | undefined;
|
|
512
|
+
/**
|
|
513
|
+
* <p>The maximum number of results to return in a single call. Valid range is 1 to 100.</p>
|
|
514
|
+
* @public
|
|
515
|
+
*/
|
|
516
|
+
maxResults?: number | undefined;
|
|
517
|
+
/**
|
|
518
|
+
* <p>Filters the results by support case display identifier.</p>
|
|
519
|
+
* @public
|
|
520
|
+
*/
|
|
521
|
+
supportCaseDisplayId?: string | undefined;
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
* <p>A permit request from an AWS support operator.</p>
|
|
525
|
+
* @public
|
|
526
|
+
*/
|
|
527
|
+
export interface SupportPermitRequest {
|
|
528
|
+
/**
|
|
529
|
+
* <p>The ARN of the permit request.</p>
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
requestArn: string | undefined;
|
|
533
|
+
/**
|
|
534
|
+
* <p>The permit definition requested by the operator.</p>
|
|
535
|
+
* @public
|
|
536
|
+
*/
|
|
537
|
+
permit: Permit | undefined;
|
|
538
|
+
/**
|
|
539
|
+
* <p>The display identifier of the support case associated with the request.</p>
|
|
540
|
+
* @public
|
|
541
|
+
*/
|
|
542
|
+
supportCaseDisplayId: string | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* <p>The current status of the permit request.</p>
|
|
545
|
+
* @public
|
|
546
|
+
*/
|
|
547
|
+
status: SupportPermitRequestStatus | undefined;
|
|
548
|
+
/**
|
|
549
|
+
* <p>The timestamp when the request was created.</p>
|
|
550
|
+
* @public
|
|
551
|
+
*/
|
|
552
|
+
createdAt: Date | undefined;
|
|
553
|
+
/**
|
|
554
|
+
* <p>The timestamp when the request was last updated.</p>
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
557
|
+
updatedAt: Date | undefined;
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* @public
|
|
561
|
+
*/
|
|
562
|
+
export interface ListSupportPermitRequestsOutput {
|
|
563
|
+
/**
|
|
564
|
+
* <p>The list of permit requests.</p>
|
|
565
|
+
* @public
|
|
566
|
+
*/
|
|
567
|
+
supportPermitRequests: SupportPermitRequest[] | undefined;
|
|
568
|
+
/**
|
|
569
|
+
* <p>The token for the next page of results, or null if there are no more results.</p>
|
|
570
|
+
* @public
|
|
571
|
+
*/
|
|
572
|
+
nextToken?: string | undefined;
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
* @public
|
|
576
|
+
*/
|
|
577
|
+
export interface ListSupportPermitsInput {
|
|
578
|
+
/**
|
|
579
|
+
* <p>The token for the next page of results.</p>
|
|
580
|
+
* @public
|
|
581
|
+
*/
|
|
582
|
+
nextToken?: string | undefined;
|
|
583
|
+
/**
|
|
584
|
+
* <p>The maximum number of results to return in a single call. Valid range is 1 to 100.</p>
|
|
585
|
+
* @public
|
|
586
|
+
*/
|
|
587
|
+
maxResults?: number | undefined;
|
|
588
|
+
/**
|
|
589
|
+
* <p>Filters the results by support permit status. Valid values: ACTIVE, INACTIVE, DELETING.</p>
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
supportPermitStatuses?: SupportPermitStatus[] | undefined;
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* <p>A summary of a support permit.</p>
|
|
596
|
+
* @public
|
|
597
|
+
*/
|
|
598
|
+
export interface SupportPermitSummary {
|
|
599
|
+
/**
|
|
600
|
+
* <p>The name of the support permit.</p>
|
|
601
|
+
* @public
|
|
602
|
+
*/
|
|
603
|
+
name: string | undefined;
|
|
604
|
+
/**
|
|
605
|
+
* <p>The ARN of the support permit.</p>
|
|
606
|
+
* @public
|
|
607
|
+
*/
|
|
608
|
+
arn: string | undefined;
|
|
609
|
+
/**
|
|
610
|
+
* <p>The permit definition.</p>
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
permit: Permit | undefined;
|
|
614
|
+
/**
|
|
615
|
+
* <p>The current status of the support permit.</p>
|
|
616
|
+
* @public
|
|
617
|
+
*/
|
|
618
|
+
status: SupportPermitStatus | undefined;
|
|
619
|
+
/**
|
|
620
|
+
* <p>The signing key information for the permit.</p>
|
|
621
|
+
* @public
|
|
622
|
+
*/
|
|
623
|
+
signingKeyInfo: SigningKeyInfo | undefined;
|
|
624
|
+
/**
|
|
625
|
+
* <p>The timestamp when the permit was created.</p>
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
createdAt: Date | undefined;
|
|
629
|
+
/**
|
|
630
|
+
* <p>The display identifier of the support case associated with the permit.</p>
|
|
631
|
+
* @public
|
|
632
|
+
*/
|
|
633
|
+
supportCaseDisplayId?: string | undefined;
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* @public
|
|
637
|
+
*/
|
|
638
|
+
export interface ListSupportPermitsOutput {
|
|
639
|
+
/**
|
|
640
|
+
* <p>The list of support permits.</p>
|
|
641
|
+
* @public
|
|
642
|
+
*/
|
|
643
|
+
supportPermits: SupportPermitSummary[] | undefined;
|
|
644
|
+
/**
|
|
645
|
+
* <p>The token for the next page of results, or null if there are no more results.</p>
|
|
646
|
+
* @public
|
|
647
|
+
*/
|
|
648
|
+
nextToken?: string | undefined;
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* @public
|
|
652
|
+
*/
|
|
653
|
+
export interface ListTagsForResourceInput {
|
|
654
|
+
/**
|
|
655
|
+
* <p>The ARN of the resource to list tags for.</p>
|
|
656
|
+
* @public
|
|
657
|
+
*/
|
|
658
|
+
resourceArn: string | undefined;
|
|
659
|
+
}
|
|
660
|
+
/**
|
|
661
|
+
* @public
|
|
662
|
+
*/
|
|
663
|
+
export interface ListTagsForResourceOutput {
|
|
664
|
+
/**
|
|
665
|
+
* <p>The tags associated with the resource.</p>
|
|
666
|
+
* @public
|
|
667
|
+
*/
|
|
668
|
+
tags?: Record<string, string> | undefined;
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* @public
|
|
672
|
+
*/
|
|
673
|
+
export interface RejectSupportPermitRequestInput {
|
|
674
|
+
/**
|
|
675
|
+
* <p>The ARN of the permit request to reject.</p>
|
|
676
|
+
* @public
|
|
677
|
+
*/
|
|
678
|
+
requestArn: string | undefined;
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* @public
|
|
682
|
+
*/
|
|
683
|
+
export interface RejectSupportPermitRequestOutput {
|
|
684
|
+
/**
|
|
685
|
+
* <p>The ARN of the rejected permit request.</p>
|
|
686
|
+
* @public
|
|
687
|
+
*/
|
|
688
|
+
requestArn: string | undefined;
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* @public
|
|
692
|
+
*/
|
|
693
|
+
export interface TagResourceInput {
|
|
694
|
+
/**
|
|
695
|
+
* <p>The ARN of the resource to tag.</p>
|
|
696
|
+
* @public
|
|
697
|
+
*/
|
|
698
|
+
resourceArn: string | undefined;
|
|
699
|
+
/**
|
|
700
|
+
* <p>The tags to add to the resource. Maximum of 50 tags.</p>
|
|
701
|
+
* @public
|
|
702
|
+
*/
|
|
703
|
+
tags: Record<string, string> | undefined;
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* @public
|
|
707
|
+
*/
|
|
708
|
+
export interface TagResourceOutput {
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* @public
|
|
712
|
+
*/
|
|
713
|
+
export interface UntagResourceInput {
|
|
714
|
+
/**
|
|
715
|
+
* <p>The ARN of the resource to untag.</p>
|
|
716
|
+
* @public
|
|
717
|
+
*/
|
|
718
|
+
resourceArn: string | undefined;
|
|
719
|
+
/**
|
|
720
|
+
* <p>The tag keys to remove from the resource.</p>
|
|
721
|
+
* @public
|
|
722
|
+
*/
|
|
723
|
+
tagKeys: string[] | undefined;
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* @public
|
|
727
|
+
*/
|
|
728
|
+
export interface UntagResourceOutput {
|
|
729
|
+
}
|