@aws-sdk/client-cloudextensions 0.0.0-stage → 3.1180.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 +292 -2
- package/dist-cjs/index.js +1295 -0
- package/dist-es/CloudExtensions.js +49 -0
- package/dist-es/CloudExtensionsClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateProfileCommand.js +4 -0
- package/dist-es/commands/CreateProfileEntryCommand.js +4 -0
- package/dist-es/commands/DeleteProfileCommand.js +4 -0
- package/dist-es/commands/DeleteProfileEntryCommand.js +4 -0
- package/dist-es/commands/GetExtensionCommand.js +4 -0
- package/dist-es/commands/GetProfileCommand.js +4 -0
- package/dist-es/commands/GetProfileEntryCommand.js +4 -0
- package/dist-es/commands/ListExtensionVersionsCommand.js +4 -0
- package/dist-es/commands/ListExtensionsCommand.js +4 -0
- package/dist-es/commands/ListProfileEntriesCommand.js +4 -0
- package/dist-es/commands/ListProfilesCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateProfileCommand.js +4 -0
- package/dist-es/commands/UpdateProfileEntryCommand.js +4 -0
- package/dist-es/commands/index.js +16 -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 +10 -0
- package/dist-es/models/CloudExtensionsServiceException.js +9 -0
- package/dist-es/models/enums.js +21 -0
- package/dist-es/models/errors.js +118 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListExtensionVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListExtensionsPaginator.js +4 -0
- package/dist-es/pagination/ListProfileEntriesPaginator.js +4 -0
- package/dist-es/pagination/ListProfilesPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +44 -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 +686 -0
- package/dist-types/CloudExtensions.d.ts +158 -0
- package/dist-types/CloudExtensionsClient.d.ts +203 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +136 -0
- package/dist-types/commands/CreateProfileEntryCommand.d.ts +205 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +87 -0
- package/dist-types/commands/DeleteProfileEntryCommand.d.ts +88 -0
- package/dist-types/commands/GetExtensionCommand.d.ts +248 -0
- package/dist-types/commands/GetProfileCommand.d.ts +110 -0
- package/dist-types/commands/GetProfileEntryCommand.d.ts +166 -0
- package/dist-types/commands/ListExtensionVersionsCommand.d.ts +101 -0
- package/dist-types/commands/ListExtensionsCommand.d.ts +96 -0
- package/dist-types/commands/ListProfileEntriesCommand.d.ts +107 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +95 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/TagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +133 -0
- package/dist-types/commands/UpdateProfileEntryCommand.d.ts +198 -0
- package/dist-types/commands/index.d.ts +16 -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 +18 -0
- package/dist-types/models/CloudExtensionsServiceException.d.ts +15 -0
- package/dist-types/models/enums.d.ts +94 -0
- package/dist-types/models/errors.d.ts +154 -0
- package/dist-types/models/models_0.d.ts +1972 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListExtensionVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListExtensionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfileEntriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +58 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -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 +97 -0
- package/dist-types/ts3.4/CloudExtensions.d.ts +309 -0
- package/dist-types/ts3.4/CloudExtensionsClient.d.ts +191 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateProfileEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteProfileEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetExtensionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetProfileEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListExtensionVersionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListExtensionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListProfileEntriesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateProfileEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -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 +10 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/CloudExtensionsServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +27 -0
- package/dist-types/ts3.4/models/errors.d.ts +61 -0
- package/dist-types/ts3.4/models/models_0.d.ts +618 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListExtensionVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExtensionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfileEntriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -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 +97 -0
- package/package.json +67 -4
|
@@ -0,0 +1,1972 @@
|
|
|
1
|
+
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
+
import type { AccessModeType, CreateModeType, FormatType, UpdateStrategy } from "./enums";
|
|
3
|
+
/**
|
|
4
|
+
* Requests permission to call AWS service APIs.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface AwsServiceCapability {
|
|
8
|
+
/**
|
|
9
|
+
* A map of AWS service names to the list of API operations the extension is allowed to invoke.
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
services: Record<string, string[]> | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Requests permission to execute a host command.
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export interface ExecCapability {
|
|
19
|
+
/**
|
|
20
|
+
* The command to execute.
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
command: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Arguments passed to the command.
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
args?: string[] | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Maximum time in seconds the command is allowed to run before being terminated.
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
timeoutInSeconds?: number | undefined;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Requests access to the host filesystem. The extension can read from or write to specified paths.
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface FileSystemCapability {
|
|
40
|
+
/**
|
|
41
|
+
* A base directory path. If provided, grants access to this directory and its contents.
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
directory?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
paths?: string[] | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* The level of filesystem access requested.
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
accessMode: AccessModeType | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
createMode?: CreateModeType | undefined;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The definition for a requested capability. Exactly one member must be set, indicating the capability type.
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type CapabilityDefinition = CapabilityDefinition.AwsMember | CapabilityDefinition.ExecMember | CapabilityDefinition.FilesystemMember | CapabilityDefinition.$UnknownMember;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare namespace CapabilityDefinition {
|
|
70
|
+
/**
|
|
71
|
+
* Access to the host filesystem.
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
interface FilesystemMember {
|
|
75
|
+
filesystem: FileSystemCapability;
|
|
76
|
+
aws?: never;
|
|
77
|
+
exec?: never;
|
|
78
|
+
$unknown?: never;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Permission to call AWS service APIs.
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
interface AwsMember {
|
|
85
|
+
filesystem?: never;
|
|
86
|
+
aws: AwsServiceCapability;
|
|
87
|
+
exec?: never;
|
|
88
|
+
$unknown?: never;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Permission to execute a host command.
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
interface ExecMember {
|
|
95
|
+
filesystem?: never;
|
|
96
|
+
aws?: never;
|
|
97
|
+
exec: ExecCapability;
|
|
98
|
+
$unknown?: never;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
interface $UnknownMember {
|
|
104
|
+
filesystem?: never;
|
|
105
|
+
aws?: never;
|
|
106
|
+
exec?: never;
|
|
107
|
+
$unknown: [string, any];
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @deprecated unused in schema-serde mode.
|
|
111
|
+
*
|
|
112
|
+
*/
|
|
113
|
+
interface Visitor<T> {
|
|
114
|
+
filesystem: (value: FileSystemCapability) => T;
|
|
115
|
+
aws: (value: AwsServiceCapability) => T;
|
|
116
|
+
exec: (value: ExecCapability) => T;
|
|
117
|
+
_: (name: string, value: any) => T;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Specification for a boolean-typed setting.
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export interface BooleanSetting {
|
|
125
|
+
/**
|
|
126
|
+
* The default value used when the deployer does not provide one.
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
default?: boolean | undefined;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Specification for a floating-point-typed setting.
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export interface FloatSetting {
|
|
136
|
+
/**
|
|
137
|
+
* The default value used when the deployer does not provide one.
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
default?: number | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* The smallest allowed value, inclusive.
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
min?: number | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* The largest allowed value, inclusive. Must be at least min.
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
max?: number | undefined;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Declares a host capability that an extension requires. Capabilities must be explicitly approved by the deployer before the extension can use them.
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
export interface Capability {
|
|
157
|
+
/**
|
|
158
|
+
* A unique identifier for this capability within the extension's configuration.
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
id: string | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* A description of why the extension needs this capability and how it will be used.
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
purpose: string | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* Whether this capability is mandatory for the extension to function. Defaults to false.
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
required?: boolean | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* The type-specific details of the requested capability.
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
definition: CapabilityDefinition | undefined;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Specification for an integer-typed setting.
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export interface IntegerSetting {
|
|
183
|
+
/**
|
|
184
|
+
* The default value used when the deployer does not provide one.
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
default?: number | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* The smallest allowed value, inclusive.
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
min?: number | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* The largest allowed value, inclusive. Must be at least min.
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
max?: number | undefined;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Specification for a string-typed setting.
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
export interface StringSetting {
|
|
204
|
+
/**
|
|
205
|
+
* The default value used when the deployer does not provide one.
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
default?: string | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* A named format constraint that implies additional validation (e.g. 'arn' or 'filepath').
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
format?: FormatType | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* A regular expression the value must match.
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
pattern?: string | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* An explicit list of allowed values. The deployer must choose from this set.
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
enum?: string[] | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* The shortest length the value may have.
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
minLength?: number | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* The longest length the value may have. Must be greater than 0 and at least minLength.
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
maxLength?: number | undefined;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* A SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. Exactly one member must be set.
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
239
|
+
export type SecretKey = SecretKey.LiteralMember | SecretKey.ReferenceMember | SecretKey.$UnknownMember;
|
|
240
|
+
/**
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
export declare namespace SecretKey {
|
|
244
|
+
/**
|
|
245
|
+
* The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
interface LiteralMember {
|
|
249
|
+
literal: string;
|
|
250
|
+
reference?: never;
|
|
251
|
+
$unknown?: never;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* The ARN of a Secrets Manager secret holding the secret key.
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
interface ReferenceMember {
|
|
258
|
+
literal?: never;
|
|
259
|
+
reference: string;
|
|
260
|
+
$unknown?: never;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
interface $UnknownMember {
|
|
266
|
+
literal?: never;
|
|
267
|
+
reference?: never;
|
|
268
|
+
$unknown: [string, any];
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* @deprecated unused in schema-serde mode.
|
|
272
|
+
*
|
|
273
|
+
*/
|
|
274
|
+
interface Visitor<T> {
|
|
275
|
+
literal: (value: string) => T;
|
|
276
|
+
reference: (value: string) => T;
|
|
277
|
+
_: (name: string, value: any) => T;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* A SigV4 key clients use to interact with an extension interface.
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
export interface ExtensionKey {
|
|
285
|
+
/**
|
|
286
|
+
* The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
accessKeyId?: string | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
secretKey?: SecretKey | undefined;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Verifies clients against the Cloud Extensions Runtime's own AWS credentials. Works only when the credential source returns the same credentials to every process that reads it, such as an instance profile, an ECS task role, a Lambda function's environment, or static keys in a shared credentials file. Credentials minted separately for each reader, such as from an assumed-role, IAM Identity Center, or web identity profile, can't be verified.
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
export interface RuntimeCredentials {
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Controls how clients identify themselves when interacting with an extension.
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
306
|
+
export type Authentication = Authentication.ExtensionKeyMember | Authentication.NoneMember | Authentication.RuntimeCredentialsMember | Authentication.$UnknownMember;
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
export declare namespace Authentication {
|
|
311
|
+
/**
|
|
312
|
+
* Whether clients may interact with the extension interface without authenticating.
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
interface NoneMember {
|
|
316
|
+
none: boolean;
|
|
317
|
+
runtimeCredentials?: never;
|
|
318
|
+
extensionKey?: never;
|
|
319
|
+
$unknown?: never;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
interface RuntimeCredentialsMember {
|
|
326
|
+
none?: never;
|
|
327
|
+
runtimeCredentials: RuntimeCredentials;
|
|
328
|
+
extensionKey?: never;
|
|
329
|
+
$unknown?: never;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Clients sign requests with SigV4 using a key the service issues.
|
|
333
|
+
* @public
|
|
334
|
+
*/
|
|
335
|
+
interface ExtensionKeyMember {
|
|
336
|
+
none?: never;
|
|
337
|
+
runtimeCredentials?: never;
|
|
338
|
+
extensionKey: ExtensionKey;
|
|
339
|
+
$unknown?: never;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* @public
|
|
343
|
+
*/
|
|
344
|
+
interface $UnknownMember {
|
|
345
|
+
none?: never;
|
|
346
|
+
runtimeCredentials?: never;
|
|
347
|
+
extensionKey?: never;
|
|
348
|
+
$unknown: [string, any];
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* @deprecated unused in schema-serde mode.
|
|
352
|
+
*
|
|
353
|
+
*/
|
|
354
|
+
interface Visitor<T> {
|
|
355
|
+
none: (value: boolean) => T;
|
|
356
|
+
runtimeCredentials: (value: RuntimeCredentials) => T;
|
|
357
|
+
extensionKey: (value: ExtensionKey) => T;
|
|
358
|
+
_: (name: string, value: any) => T;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* A resource the request depends on is in a state that doesn't allow the request.
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
export interface DependencyStateConflict {
|
|
366
|
+
/**
|
|
367
|
+
* The dependency causing the conflict.
|
|
368
|
+
* @public
|
|
369
|
+
*/
|
|
370
|
+
dependency?: string | undefined;
|
|
371
|
+
/**
|
|
372
|
+
* An identifier for the conflicting dependency.
|
|
373
|
+
* @public
|
|
374
|
+
*/
|
|
375
|
+
identifier?: string | undefined;
|
|
376
|
+
/**
|
|
377
|
+
* The state of the dependency that conflicts with the request.
|
|
378
|
+
* @public
|
|
379
|
+
*/
|
|
380
|
+
state?: string | undefined;
|
|
381
|
+
/**
|
|
382
|
+
* The problem caused by the dependency's state.
|
|
383
|
+
* @public
|
|
384
|
+
*/
|
|
385
|
+
problem?: string | undefined;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* A field that must be unique has a value another resource already uses.
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
export interface DuplicateValueConflict {
|
|
392
|
+
/**
|
|
393
|
+
* The name of the field causing a conflict.
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
field: string | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* The value of the conflicting field.
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
value: string | undefined;
|
|
402
|
+
/**
|
|
403
|
+
* The identifier of the conflicting item.
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
conflictsWith?: string | undefined;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* The target resource's state doesn't allow the request.
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
412
|
+
export interface ResourceStateConflict {
|
|
413
|
+
/**
|
|
414
|
+
* The state of the resource that conflicts with the request.
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
state?: string | undefined;
|
|
418
|
+
/**
|
|
419
|
+
* The problem caused by the resource's state.
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
problem?: string | undefined;
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* What a request conflicts with. Exactly one member is set.
|
|
426
|
+
* @public
|
|
427
|
+
*/
|
|
428
|
+
export type Conflict = Conflict.DependencyStateMember | Conflict.DuplicateValueMember | Conflict.ResourceStateMember | Conflict.$UnknownMember;
|
|
429
|
+
/**
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
export declare namespace Conflict {
|
|
433
|
+
/**
|
|
434
|
+
* Another resource already has the value the request gives a field that must be unique, such as a profile's name.
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
interface DuplicateValueMember {
|
|
438
|
+
duplicateValue: DuplicateValueConflict;
|
|
439
|
+
resourceState?: never;
|
|
440
|
+
dependencyState?: never;
|
|
441
|
+
$unknown?: never;
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* The target resource's state doesn't allow the request.
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
interface ResourceStateMember {
|
|
448
|
+
duplicateValue?: never;
|
|
449
|
+
resourceState: ResourceStateConflict;
|
|
450
|
+
dependencyState?: never;
|
|
451
|
+
$unknown?: never;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* A resource the request depends on is in a state that doesn't allow the request, such as a draft revised after the caller read its draftRevision.
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
interface DependencyStateMember {
|
|
458
|
+
duplicateValue?: never;
|
|
459
|
+
resourceState?: never;
|
|
460
|
+
dependencyState: DependencyStateConflict;
|
|
461
|
+
$unknown?: never;
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* @public
|
|
465
|
+
*/
|
|
466
|
+
interface $UnknownMember {
|
|
467
|
+
duplicateValue?: never;
|
|
468
|
+
resourceState?: never;
|
|
469
|
+
dependencyState?: never;
|
|
470
|
+
$unknown: [string, any];
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* @deprecated unused in schema-serde mode.
|
|
474
|
+
*
|
|
475
|
+
*/
|
|
476
|
+
interface Visitor<T> {
|
|
477
|
+
duplicateValue: (value: DuplicateValueConflict) => T;
|
|
478
|
+
resourceState: (value: ResourceStateConflict) => T;
|
|
479
|
+
dependencyState: (value: DependencyStateConflict) => T;
|
|
480
|
+
_: (name: string, value: any) => T;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* Identifies the extension and optionally a specific version to retrieve.
|
|
485
|
+
* @public
|
|
486
|
+
*/
|
|
487
|
+
export interface GetExtensionInput {
|
|
488
|
+
/**
|
|
489
|
+
* The id of the extension, such as aws:secretsmanager.
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
492
|
+
identifier: string | undefined;
|
|
493
|
+
/**
|
|
494
|
+
* The version to retrieve. Omit it to retrieve the latest release.
|
|
495
|
+
* @public
|
|
496
|
+
*/
|
|
497
|
+
extensionVersion?: string | undefined;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Declares an HTTP interface that an extension serves to clients.
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
export interface Interface {
|
|
504
|
+
/**
|
|
505
|
+
* A unique identifier for this interface within the extension's configuration.
|
|
506
|
+
* @public
|
|
507
|
+
*/
|
|
508
|
+
id: string | undefined;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* A field whose value failed a constraint.
|
|
512
|
+
* @public
|
|
513
|
+
*/
|
|
514
|
+
export interface FieldConstraint {
|
|
515
|
+
/**
|
|
516
|
+
* The path of the field that failed validation, with nested members joined by dots, such as `versionPolicy.versionSelector`.
|
|
517
|
+
* @public
|
|
518
|
+
*/
|
|
519
|
+
field?: string | undefined;
|
|
520
|
+
/**
|
|
521
|
+
* The value the constraint evaluated: the field's value, or its length when the constraint is len.
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
value?: string | undefined;
|
|
525
|
+
/**
|
|
526
|
+
* The reason why the field's value is invalid.
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
constraint?: string | undefined;
|
|
530
|
+
/**
|
|
531
|
+
* Where each of the constraint's values came from, when any was read from another field. Each entry is the path of that field, or a \{label\} such as \{account.maxExtensionSize\} for a value the caller doesn't set.
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
534
|
+
constraintValuesFrom?: string[] | undefined;
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* A problem with the request that a single field constraint doesn't describe.
|
|
538
|
+
* @public
|
|
539
|
+
*/
|
|
540
|
+
export interface SemanticError {
|
|
541
|
+
/**
|
|
542
|
+
* An uppercase code naming the problem, such as `UNKNOWN_CAPABILITY` or `REQUIRES_EXACTLY_ONE_MEMBER`.
|
|
543
|
+
* @public
|
|
544
|
+
*/
|
|
545
|
+
problem: string | undefined;
|
|
546
|
+
/**
|
|
547
|
+
* The field or item the problem applies to, such as `approve` or `nextToken`.
|
|
548
|
+
* @public
|
|
549
|
+
*/
|
|
550
|
+
item?: string | undefined;
|
|
551
|
+
/**
|
|
552
|
+
* The value that caused the problem, when there is one.
|
|
553
|
+
* @public
|
|
554
|
+
*/
|
|
555
|
+
value?: string | undefined;
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* One reason a request failed validation. Exactly one member is set.
|
|
559
|
+
* @public
|
|
560
|
+
*/
|
|
561
|
+
export type ValidationError = ValidationError.FieldConstraintMember | ValidationError.SemanticErrorMember | ValidationError.$UnknownMember;
|
|
562
|
+
/**
|
|
563
|
+
* @public
|
|
564
|
+
*/
|
|
565
|
+
export declare namespace ValidationError {
|
|
566
|
+
/**
|
|
567
|
+
* A field's value failed a constraint, such as a length limit or a pattern.
|
|
568
|
+
* @public
|
|
569
|
+
*/
|
|
570
|
+
interface FieldConstraintMember {
|
|
571
|
+
fieldConstraint: FieldConstraint;
|
|
572
|
+
semanticError?: never;
|
|
573
|
+
$unknown?: never;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* The request has a problem that a single constraint doesn't describe, such as an approve entry that names no capability, or an expired nextToken.
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
interface SemanticErrorMember {
|
|
580
|
+
fieldConstraint?: never;
|
|
581
|
+
semanticError: SemanticError;
|
|
582
|
+
$unknown?: never;
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* @public
|
|
586
|
+
*/
|
|
587
|
+
interface $UnknownMember {
|
|
588
|
+
fieldConstraint?: never;
|
|
589
|
+
semanticError?: never;
|
|
590
|
+
$unknown: [string, any];
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* @deprecated unused in schema-serde mode.
|
|
594
|
+
*
|
|
595
|
+
*/
|
|
596
|
+
interface Visitor<T> {
|
|
597
|
+
fieldConstraint: (value: FieldConstraint) => T;
|
|
598
|
+
semanticError: (value: SemanticError) => T;
|
|
599
|
+
_: (name: string, value: any) => T;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* Pagination parameters.
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
export interface ListExtensionsInput {
|
|
607
|
+
/**
|
|
608
|
+
* The maximum number of extensions to return in one page.
|
|
609
|
+
* @public
|
|
610
|
+
*/
|
|
611
|
+
maxResults?: number | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* The token returned by a previous call, to retrieve the next page of results.
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
nextToken?: string | undefined;
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* A summary view of a released extension, returned in list operations.
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
export interface ExtensionSummary {
|
|
623
|
+
/**
|
|
624
|
+
* The extension's id, in the form namespace:name, such as aws:secretsmanager.
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
id: string | undefined;
|
|
628
|
+
/**
|
|
629
|
+
* The extension's display name.
|
|
630
|
+
* @public
|
|
631
|
+
*/
|
|
632
|
+
displayName: string | undefined;
|
|
633
|
+
/**
|
|
634
|
+
* The Amazon Resource Name (ARN) of the extension.
|
|
635
|
+
* @public
|
|
636
|
+
*/
|
|
637
|
+
arn: string | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* The semantic version of this release.
|
|
640
|
+
* @public
|
|
641
|
+
*/
|
|
642
|
+
version: string | undefined;
|
|
643
|
+
/**
|
|
644
|
+
* A short summary of what the extension does, suitable for a catalog listing.
|
|
645
|
+
* @public
|
|
646
|
+
*/
|
|
647
|
+
overview?: string | undefined;
|
|
648
|
+
/**
|
|
649
|
+
* A link to external documentation for this extension.
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
documentationLink?: string | undefined;
|
|
653
|
+
/**
|
|
654
|
+
* Author-provided notes describing what changed in this release.
|
|
655
|
+
* @public
|
|
656
|
+
*/
|
|
657
|
+
releaseNotes?: string | undefined;
|
|
658
|
+
/**
|
|
659
|
+
* The timestamp when this version was released.
|
|
660
|
+
* @public
|
|
661
|
+
*/
|
|
662
|
+
releasedAt: Date | undefined;
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* A page of extensions.
|
|
666
|
+
* @public
|
|
667
|
+
*/
|
|
668
|
+
export interface ListExtensionsOutput {
|
|
669
|
+
/**
|
|
670
|
+
* The latest version of each extension in this page of results.
|
|
671
|
+
* @public
|
|
672
|
+
*/
|
|
673
|
+
items: ExtensionSummary[] | undefined;
|
|
674
|
+
/**
|
|
675
|
+
* A token to retrieve the next page of results. Absent when there are no more results.
|
|
676
|
+
* @public
|
|
677
|
+
*/
|
|
678
|
+
nextToken?: string | undefined;
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* The extension whose versions to list, with an optional filter and pagination parameters.
|
|
682
|
+
* @public
|
|
683
|
+
*/
|
|
684
|
+
export interface ListExtensionVersionsInput {
|
|
685
|
+
/**
|
|
686
|
+
* The id of the extension whose versions to list.
|
|
687
|
+
* @public
|
|
688
|
+
*/
|
|
689
|
+
identifier: string | undefined;
|
|
690
|
+
/**
|
|
691
|
+
* Optional selector that limits the results to matching versions, such as `1.x.x`.
|
|
692
|
+
* @public
|
|
693
|
+
*/
|
|
694
|
+
versionSelector?: string | undefined;
|
|
695
|
+
/**
|
|
696
|
+
* The maximum number of versions to return in one page.
|
|
697
|
+
* @public
|
|
698
|
+
*/
|
|
699
|
+
maxResults?: number | undefined;
|
|
700
|
+
/**
|
|
701
|
+
* The token returned by a previous call, to retrieve the next page of results.
|
|
702
|
+
* @public
|
|
703
|
+
*/
|
|
704
|
+
nextToken?: string | undefined;
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* A page of extension versions.
|
|
708
|
+
* @public
|
|
709
|
+
*/
|
|
710
|
+
export interface ListExtensionVersionsOutput {
|
|
711
|
+
/**
|
|
712
|
+
* The versions in this page of results, newest first.
|
|
713
|
+
* @public
|
|
714
|
+
*/
|
|
715
|
+
items: ExtensionSummary[] | undefined;
|
|
716
|
+
/**
|
|
717
|
+
* A token to retrieve the next page of results. Absent when there are no more results.
|
|
718
|
+
* @public
|
|
719
|
+
*/
|
|
720
|
+
nextToken?: string | undefined;
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* @public
|
|
724
|
+
*/
|
|
725
|
+
export interface ListTagsForResourceInput {
|
|
726
|
+
/**
|
|
727
|
+
* The ARN of the profile or profile entry whose tags to list.
|
|
728
|
+
* @public
|
|
729
|
+
*/
|
|
730
|
+
resourceArn: string | undefined;
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* @public
|
|
734
|
+
*/
|
|
735
|
+
export interface ListTagsForResourceOutput {
|
|
736
|
+
/**
|
|
737
|
+
* The resource's tags.
|
|
738
|
+
* @public
|
|
739
|
+
*/
|
|
740
|
+
tags?: Record<string, string> | undefined;
|
|
741
|
+
}
|
|
742
|
+
/**
|
|
743
|
+
* Default options for the HTTP interfaces of the extensions in this profile.
|
|
744
|
+
* @public
|
|
745
|
+
*/
|
|
746
|
+
export interface HttpInterfaceDefaults {
|
|
747
|
+
/**
|
|
748
|
+
* The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.
|
|
749
|
+
* @public
|
|
750
|
+
*/
|
|
751
|
+
authentication?: Authentication | undefined;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* Default interface options, with one member per interface type. Each member applies to every interface of that type unless the profile entry sets the same option in that interface's options.
|
|
755
|
+
* @public
|
|
756
|
+
*/
|
|
757
|
+
export interface InterfaceDefaults {
|
|
758
|
+
/**
|
|
759
|
+
* Default options for HTTP interfaces.
|
|
760
|
+
* @public
|
|
761
|
+
*/
|
|
762
|
+
http?: HttpInterfaceDefaults | undefined;
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
765
|
+
* Default runtime settings for the profile entries in this profile.
|
|
766
|
+
* @public
|
|
767
|
+
*/
|
|
768
|
+
export interface ExtensionDefaults {
|
|
769
|
+
/**
|
|
770
|
+
* The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.
|
|
771
|
+
* @public
|
|
772
|
+
*/
|
|
773
|
+
executionRole?: string | undefined;
|
|
774
|
+
/**
|
|
775
|
+
* Default options for the interfaces of the extensions in this profile, by interface type.
|
|
776
|
+
* @public
|
|
777
|
+
*/
|
|
778
|
+
interfaceDefaults?: InterfaceDefaults | undefined;
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* The properties for the new profile.
|
|
782
|
+
* @public
|
|
783
|
+
*/
|
|
784
|
+
export interface CreateProfileInput {
|
|
785
|
+
/**
|
|
786
|
+
* A unique, case-sensitive identifier that you provide to ensure the request is processed at most once.
|
|
787
|
+
* @public
|
|
788
|
+
*/
|
|
789
|
+
clientToken?: string | undefined;
|
|
790
|
+
/**
|
|
791
|
+
* The name of the profile. Must be unique within the account.
|
|
792
|
+
* @public
|
|
793
|
+
*/
|
|
794
|
+
name: string | undefined;
|
|
795
|
+
/**
|
|
796
|
+
* A human-readable description of the profile's purpose or target environment.
|
|
797
|
+
* @public
|
|
798
|
+
*/
|
|
799
|
+
description?: string | undefined;
|
|
800
|
+
/**
|
|
801
|
+
* Default values used by the extensions in this profile. These can be overridden at the profile entry level.
|
|
802
|
+
* @public
|
|
803
|
+
*/
|
|
804
|
+
extensionDefaults?: ExtensionDefaults | undefined;
|
|
805
|
+
/**
|
|
806
|
+
* Tags to assign to the profile.
|
|
807
|
+
* @public
|
|
808
|
+
*/
|
|
809
|
+
tags?: Record<string, string> | undefined;
|
|
810
|
+
}
|
|
811
|
+
/**
|
|
812
|
+
* A profile represents a deployment target — the configuration context in which extensions run. Profiles own profile entries that bind specific extensions to the profile's execution environment.
|
|
813
|
+
* @public
|
|
814
|
+
*/
|
|
815
|
+
export interface CreateProfileOutput {
|
|
816
|
+
/**
|
|
817
|
+
* The service-generated id of the profile.
|
|
818
|
+
* @public
|
|
819
|
+
*/
|
|
820
|
+
id: string | undefined;
|
|
821
|
+
/**
|
|
822
|
+
* The name of the profile.
|
|
823
|
+
* @public
|
|
824
|
+
*/
|
|
825
|
+
name: string | undefined;
|
|
826
|
+
/**
|
|
827
|
+
* The Amazon Resource Name (ARN) of the profile.
|
|
828
|
+
* @public
|
|
829
|
+
*/
|
|
830
|
+
arn: string | undefined;
|
|
831
|
+
/**
|
|
832
|
+
* The number of entries in this profile.
|
|
833
|
+
* @public
|
|
834
|
+
*/
|
|
835
|
+
entryCount: number | undefined;
|
|
836
|
+
/**
|
|
837
|
+
* When the profile was created.
|
|
838
|
+
* @public
|
|
839
|
+
*/
|
|
840
|
+
createdAt: Date | undefined;
|
|
841
|
+
/**
|
|
842
|
+
* When the profile was last updated. Equal to createdAt until the first update.
|
|
843
|
+
* @public
|
|
844
|
+
*/
|
|
845
|
+
updatedAt: Date | undefined;
|
|
846
|
+
/**
|
|
847
|
+
* A human-readable description of this profile's purpose or target environment.
|
|
848
|
+
* @public
|
|
849
|
+
*/
|
|
850
|
+
description?: string | undefined;
|
|
851
|
+
/**
|
|
852
|
+
* Default values used by the extensions in this profile. These can be overridden at the profile entry level.
|
|
853
|
+
* @public
|
|
854
|
+
*/
|
|
855
|
+
extensionDefaults?: ExtensionDefaults | undefined;
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* Identifies the profile to delete.
|
|
859
|
+
* @public
|
|
860
|
+
*/
|
|
861
|
+
export interface DeleteProfileInput {
|
|
862
|
+
/**
|
|
863
|
+
* The identifier (id or name) of the profile to delete.
|
|
864
|
+
* @public
|
|
865
|
+
*/
|
|
866
|
+
identifier: string | undefined;
|
|
867
|
+
}
|
|
868
|
+
/**
|
|
869
|
+
* Identifies the profile to retrieve.
|
|
870
|
+
* @public
|
|
871
|
+
*/
|
|
872
|
+
export interface GetProfileInput {
|
|
873
|
+
/**
|
|
874
|
+
* The identifier (id or name) of the profile.
|
|
875
|
+
* @public
|
|
876
|
+
*/
|
|
877
|
+
identifier: string | undefined;
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* A profile represents a deployment target — the configuration context in which extensions run. Profiles own profile entries that bind specific extensions to the profile's execution environment.
|
|
881
|
+
* @public
|
|
882
|
+
*/
|
|
883
|
+
export interface GetProfileOutput {
|
|
884
|
+
/**
|
|
885
|
+
* The service-generated id of the profile.
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
id: string | undefined;
|
|
889
|
+
/**
|
|
890
|
+
* The name of the profile.
|
|
891
|
+
* @public
|
|
892
|
+
*/
|
|
893
|
+
name: string | undefined;
|
|
894
|
+
/**
|
|
895
|
+
* The Amazon Resource Name (ARN) of the profile.
|
|
896
|
+
* @public
|
|
897
|
+
*/
|
|
898
|
+
arn: string | undefined;
|
|
899
|
+
/**
|
|
900
|
+
* The number of entries in this profile.
|
|
901
|
+
* @public
|
|
902
|
+
*/
|
|
903
|
+
entryCount: number | undefined;
|
|
904
|
+
/**
|
|
905
|
+
* When the profile was created.
|
|
906
|
+
* @public
|
|
907
|
+
*/
|
|
908
|
+
createdAt: Date | undefined;
|
|
909
|
+
/**
|
|
910
|
+
* When the profile was last updated. Equal to createdAt until the first update.
|
|
911
|
+
* @public
|
|
912
|
+
*/
|
|
913
|
+
updatedAt: Date | undefined;
|
|
914
|
+
/**
|
|
915
|
+
* A human-readable description of this profile's purpose or target environment.
|
|
916
|
+
* @public
|
|
917
|
+
*/
|
|
918
|
+
description?: string | undefined;
|
|
919
|
+
/**
|
|
920
|
+
* Default values used by the extensions in this profile. These can be overridden at the profile entry level.
|
|
921
|
+
* @public
|
|
922
|
+
*/
|
|
923
|
+
extensionDefaults?: ExtensionDefaults | undefined;
|
|
924
|
+
}
|
|
925
|
+
/**
|
|
926
|
+
* Optional filters and pagination parameters.
|
|
927
|
+
* @public
|
|
928
|
+
*/
|
|
929
|
+
export interface ListProfilesInput {
|
|
930
|
+
/**
|
|
931
|
+
* Optional filter to match profiles by name.
|
|
932
|
+
* @public
|
|
933
|
+
*/
|
|
934
|
+
name?: string | undefined;
|
|
935
|
+
/**
|
|
936
|
+
* The maximum number of profiles to return in one page.
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
939
|
+
maxResults?: number | undefined;
|
|
940
|
+
/**
|
|
941
|
+
* The token returned by a previous call, to retrieve the next page of results.
|
|
942
|
+
* @public
|
|
943
|
+
*/
|
|
944
|
+
nextToken?: string | undefined;
|
|
945
|
+
}
|
|
946
|
+
/**
|
|
947
|
+
* A summary view of a profile, returned in list operations.
|
|
948
|
+
* @public
|
|
949
|
+
*/
|
|
950
|
+
export interface ProfileSummary {
|
|
951
|
+
/**
|
|
952
|
+
* The service-generated id of the profile.
|
|
953
|
+
* @public
|
|
954
|
+
*/
|
|
955
|
+
id: string | undefined;
|
|
956
|
+
/**
|
|
957
|
+
* The name of the profile.
|
|
958
|
+
* @public
|
|
959
|
+
*/
|
|
960
|
+
name: string | undefined;
|
|
961
|
+
/**
|
|
962
|
+
* The Amazon Resource Name (ARN) of the profile.
|
|
963
|
+
* @public
|
|
964
|
+
*/
|
|
965
|
+
arn: string | undefined;
|
|
966
|
+
/**
|
|
967
|
+
* The number of entries in this profile.
|
|
968
|
+
* @public
|
|
969
|
+
*/
|
|
970
|
+
entryCount: number | undefined;
|
|
971
|
+
/**
|
|
972
|
+
* When the profile was created.
|
|
973
|
+
* @public
|
|
974
|
+
*/
|
|
975
|
+
createdAt: Date | undefined;
|
|
976
|
+
/**
|
|
977
|
+
* When the profile was last updated. Equal to createdAt until the first update.
|
|
978
|
+
* @public
|
|
979
|
+
*/
|
|
980
|
+
updatedAt: Date | undefined;
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* A page of profiles.
|
|
984
|
+
* @public
|
|
985
|
+
*/
|
|
986
|
+
export interface ListProfilesOutput {
|
|
987
|
+
/**
|
|
988
|
+
* The profiles in this page of results.
|
|
989
|
+
* @public
|
|
990
|
+
*/
|
|
991
|
+
items: ProfileSummary[] | undefined;
|
|
992
|
+
/**
|
|
993
|
+
* A token to retrieve the next page of results. Absent when there are no more results.
|
|
994
|
+
* @public
|
|
995
|
+
*/
|
|
996
|
+
nextToken?: string | undefined;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* Options for an HTTP interface of an extension.
|
|
1000
|
+
* @public
|
|
1001
|
+
*/
|
|
1002
|
+
export interface HttpInterfaceOptions {
|
|
1003
|
+
/**
|
|
1004
|
+
* How clients authenticate when calling this interface. Overrides the authentication in the profile's interfaceDefaults.
|
|
1005
|
+
* @public
|
|
1006
|
+
*/
|
|
1007
|
+
authentication?: Authentication | undefined;
|
|
1008
|
+
/**
|
|
1009
|
+
* The path prefix under which this interface is served. Set by the service; a request that sets it is rejected.
|
|
1010
|
+
* @public
|
|
1011
|
+
*/
|
|
1012
|
+
basePath?: string | undefined;
|
|
1013
|
+
}
|
|
1014
|
+
/**
|
|
1015
|
+
* Options for one interface of an extension. Exactly one member must be set.
|
|
1016
|
+
* @public
|
|
1017
|
+
*/
|
|
1018
|
+
export type InterfaceOptions = InterfaceOptions.HttpMember | InterfaceOptions.$UnknownMember;
|
|
1019
|
+
/**
|
|
1020
|
+
* @public
|
|
1021
|
+
*/
|
|
1022
|
+
export declare namespace InterfaceOptions {
|
|
1023
|
+
/**
|
|
1024
|
+
* Options for an HTTP interface.
|
|
1025
|
+
* @public
|
|
1026
|
+
*/
|
|
1027
|
+
interface HttpMember {
|
|
1028
|
+
http: HttpInterfaceOptions;
|
|
1029
|
+
$unknown?: never;
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* @public
|
|
1033
|
+
*/
|
|
1034
|
+
interface $UnknownMember {
|
|
1035
|
+
http?: never;
|
|
1036
|
+
$unknown: [string, any];
|
|
1037
|
+
}
|
|
1038
|
+
/**
|
|
1039
|
+
* @deprecated unused in schema-serde mode.
|
|
1040
|
+
*
|
|
1041
|
+
*/
|
|
1042
|
+
interface Visitor<T> {
|
|
1043
|
+
http: (value: HttpInterfaceOptions) => T;
|
|
1044
|
+
_: (name: string, value: any) => T;
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
* Specifies how a profile entry selects which extension version to use.
|
|
1049
|
+
* @public
|
|
1050
|
+
*/
|
|
1051
|
+
export interface VersionPolicy {
|
|
1052
|
+
/**
|
|
1053
|
+
* The update strategy to use when a new extension version is available.
|
|
1054
|
+
* @public
|
|
1055
|
+
*/
|
|
1056
|
+
updateStrategy?: UpdateStrategy | undefined;
|
|
1057
|
+
/**
|
|
1058
|
+
* An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version
|
|
1059
|
+
* @public
|
|
1060
|
+
*/
|
|
1061
|
+
versionSelector?: string | undefined;
|
|
1062
|
+
}
|
|
1063
|
+
/**
|
|
1064
|
+
* The profile, extension, and configuration for the new entry.
|
|
1065
|
+
* @public
|
|
1066
|
+
*/
|
|
1067
|
+
export interface CreateProfileEntryInput {
|
|
1068
|
+
/**
|
|
1069
|
+
* The identifier (id or name) of the profile to bind the extension to.
|
|
1070
|
+
* @public
|
|
1071
|
+
*/
|
|
1072
|
+
profileIdentifier: string | undefined;
|
|
1073
|
+
/**
|
|
1074
|
+
* A unique, case-sensitive identifier that you provide to ensure the request is processed at most once.
|
|
1075
|
+
* @public
|
|
1076
|
+
*/
|
|
1077
|
+
clientToken?: string | undefined;
|
|
1078
|
+
/**
|
|
1079
|
+
* The id of the extension to bind, such as aws:secretsmanager.
|
|
1080
|
+
* @public
|
|
1081
|
+
*/
|
|
1082
|
+
extensionIdentifier: string | undefined;
|
|
1083
|
+
/**
|
|
1084
|
+
* The entry's name, unique within the profile. Defaults to the name in the extension's id.
|
|
1085
|
+
* @public
|
|
1086
|
+
*/
|
|
1087
|
+
name?: string | undefined;
|
|
1088
|
+
/**
|
|
1089
|
+
* A description of the entry's purpose.
|
|
1090
|
+
* @public
|
|
1091
|
+
*/
|
|
1092
|
+
description?: string | undefined;
|
|
1093
|
+
/**
|
|
1094
|
+
* Per-interface options, keyed by the id of an interface the extension declares.
|
|
1095
|
+
* @public
|
|
1096
|
+
*/
|
|
1097
|
+
interfaces?: Record<string, InterfaceOptions> | undefined;
|
|
1098
|
+
/**
|
|
1099
|
+
* The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.
|
|
1100
|
+
* @public
|
|
1101
|
+
*/
|
|
1102
|
+
executionRole?: string | undefined;
|
|
1103
|
+
/**
|
|
1104
|
+
* Controls which extension version this entry tracks and how it adopts new releases.
|
|
1105
|
+
* @public
|
|
1106
|
+
*/
|
|
1107
|
+
versionPolicy?: VersionPolicy | undefined;
|
|
1108
|
+
/**
|
|
1109
|
+
* The setting values to use for this extension, as free-form JSON. Keys are the extension's setting ids and the values are validated against the extension's settings definitions. A setting that is omitted or null takes its default, if it has one. A null inside an array is rejected.
|
|
1110
|
+
* @public
|
|
1111
|
+
*/
|
|
1112
|
+
settings?: __DocumentType | undefined;
|
|
1113
|
+
/**
|
|
1114
|
+
* A list of capability paths to approve. Each path must correspond to a capability instance declared by the extension.
|
|
1115
|
+
* @public
|
|
1116
|
+
*/
|
|
1117
|
+
approve?: string[] | undefined;
|
|
1118
|
+
/**
|
|
1119
|
+
* Tags to assign to the profile entry.
|
|
1120
|
+
* @public
|
|
1121
|
+
*/
|
|
1122
|
+
tags?: Record<string, string> | undefined;
|
|
1123
|
+
}
|
|
1124
|
+
/**
|
|
1125
|
+
* A profile entry binds an extension to a profile, defining which version to track and how the extension is configured for that deployment context. Each profile can have one entry per extension.
|
|
1126
|
+
* @public
|
|
1127
|
+
*/
|
|
1128
|
+
export interface CreateProfileEntryOutput {
|
|
1129
|
+
/**
|
|
1130
|
+
* The service-generated id of the profile entry.
|
|
1131
|
+
* @public
|
|
1132
|
+
*/
|
|
1133
|
+
id: string | undefined;
|
|
1134
|
+
/**
|
|
1135
|
+
* The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.
|
|
1136
|
+
* @public
|
|
1137
|
+
*/
|
|
1138
|
+
name: string | undefined;
|
|
1139
|
+
/**
|
|
1140
|
+
* The Amazon Resource Name (ARN) of the profile entry.
|
|
1141
|
+
* @public
|
|
1142
|
+
*/
|
|
1143
|
+
arn: string | undefined;
|
|
1144
|
+
/**
|
|
1145
|
+
* The id of the profile this entry belongs to.
|
|
1146
|
+
* @public
|
|
1147
|
+
*/
|
|
1148
|
+
profileId: string | undefined;
|
|
1149
|
+
/**
|
|
1150
|
+
* The name of the profile this entry belongs to.
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
profileName: string | undefined;
|
|
1154
|
+
/**
|
|
1155
|
+
* The id of the extension this entry references, such as aws:secretsmanager.
|
|
1156
|
+
* @public
|
|
1157
|
+
*/
|
|
1158
|
+
extensionId: string | undefined;
|
|
1159
|
+
/**
|
|
1160
|
+
* The display name of the extension this entry references.
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1163
|
+
extensionDisplayName: string | undefined;
|
|
1164
|
+
/**
|
|
1165
|
+
* Controls which extension version this entry tracks and how it adopts new releases.
|
|
1166
|
+
* @public
|
|
1167
|
+
*/
|
|
1168
|
+
versionPolicy?: VersionPolicy | undefined;
|
|
1169
|
+
/**
|
|
1170
|
+
* The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.
|
|
1171
|
+
* @public
|
|
1172
|
+
*/
|
|
1173
|
+
resolvedVersion?: string | undefined;
|
|
1174
|
+
/**
|
|
1175
|
+
* The extension's latest released version, whether or not the entry's version policy selects it.
|
|
1176
|
+
* @public
|
|
1177
|
+
*/
|
|
1178
|
+
latestVersion?: string | undefined;
|
|
1179
|
+
/**
|
|
1180
|
+
* When the profile entry was created.
|
|
1181
|
+
* @public
|
|
1182
|
+
*/
|
|
1183
|
+
createdAt: Date | undefined;
|
|
1184
|
+
/**
|
|
1185
|
+
* When the profile entry was last updated. Equal to createdAt until the first update.
|
|
1186
|
+
* @public
|
|
1187
|
+
*/
|
|
1188
|
+
updatedAt: Date | undefined;
|
|
1189
|
+
/**
|
|
1190
|
+
* The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.
|
|
1191
|
+
* @public
|
|
1192
|
+
*/
|
|
1193
|
+
executionRole?: string | undefined;
|
|
1194
|
+
/**
|
|
1195
|
+
* A description of the entry's purpose.
|
|
1196
|
+
* @public
|
|
1197
|
+
*/
|
|
1198
|
+
description?: string | undefined;
|
|
1199
|
+
/**
|
|
1200
|
+
* The setting values to use for this extension, including any applied default values. The settings will be validated against the extension's settings' definitions.
|
|
1201
|
+
* @public
|
|
1202
|
+
*/
|
|
1203
|
+
effectiveSettings?: __DocumentType | undefined;
|
|
1204
|
+
/**
|
|
1205
|
+
* A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.
|
|
1206
|
+
* @public
|
|
1207
|
+
*/
|
|
1208
|
+
approvedCapabilities?: Record<string, CapabilityDefinition> | undefined;
|
|
1209
|
+
/**
|
|
1210
|
+
* The profile's extension defaults. An option set in an entry's interfaces overrides the same option in the inherited interfaceDefaults.
|
|
1211
|
+
* @public
|
|
1212
|
+
*/
|
|
1213
|
+
inherited?: ExtensionDefaults | undefined;
|
|
1214
|
+
/**
|
|
1215
|
+
* Per-interface options for this entry, keyed by the id of an interface the extension declares.
|
|
1216
|
+
* @public
|
|
1217
|
+
*/
|
|
1218
|
+
interfaces?: Record<string, InterfaceOptions> | undefined;
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* Identifies the profile entry to delete.
|
|
1222
|
+
* @public
|
|
1223
|
+
*/
|
|
1224
|
+
export interface DeleteProfileEntryInput {
|
|
1225
|
+
/**
|
|
1226
|
+
* The identifier of the profile entry.
|
|
1227
|
+
* @public
|
|
1228
|
+
*/
|
|
1229
|
+
identifier: string | undefined;
|
|
1230
|
+
/**
|
|
1231
|
+
* The identifier of the owning profile.
|
|
1232
|
+
* @public
|
|
1233
|
+
*/
|
|
1234
|
+
profileIdentifier: string | undefined;
|
|
1235
|
+
}
|
|
1236
|
+
/**
|
|
1237
|
+
* Identifies the profile entry to retrieve.
|
|
1238
|
+
* @public
|
|
1239
|
+
*/
|
|
1240
|
+
export interface GetProfileEntryInput {
|
|
1241
|
+
/**
|
|
1242
|
+
* The identifier (id or name) of the profile entry.
|
|
1243
|
+
* @public
|
|
1244
|
+
*/
|
|
1245
|
+
identifier: string | undefined;
|
|
1246
|
+
/**
|
|
1247
|
+
* The identifier of the owning profile.
|
|
1248
|
+
* @public
|
|
1249
|
+
*/
|
|
1250
|
+
profileIdentifier: string | undefined;
|
|
1251
|
+
}
|
|
1252
|
+
/**
|
|
1253
|
+
* A profile entry binds an extension to a profile, defining which version to track and how the extension is configured for that deployment context. Each profile can have one entry per extension.
|
|
1254
|
+
* @public
|
|
1255
|
+
*/
|
|
1256
|
+
export interface GetProfileEntryOutput {
|
|
1257
|
+
/**
|
|
1258
|
+
* The service-generated id of the profile entry.
|
|
1259
|
+
* @public
|
|
1260
|
+
*/
|
|
1261
|
+
id: string | undefined;
|
|
1262
|
+
/**
|
|
1263
|
+
* The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.
|
|
1264
|
+
* @public
|
|
1265
|
+
*/
|
|
1266
|
+
name: string | undefined;
|
|
1267
|
+
/**
|
|
1268
|
+
* The Amazon Resource Name (ARN) of the profile entry.
|
|
1269
|
+
* @public
|
|
1270
|
+
*/
|
|
1271
|
+
arn: string | undefined;
|
|
1272
|
+
/**
|
|
1273
|
+
* The id of the profile this entry belongs to.
|
|
1274
|
+
* @public
|
|
1275
|
+
*/
|
|
1276
|
+
profileId: string | undefined;
|
|
1277
|
+
/**
|
|
1278
|
+
* The name of the profile this entry belongs to.
|
|
1279
|
+
* @public
|
|
1280
|
+
*/
|
|
1281
|
+
profileName: string | undefined;
|
|
1282
|
+
/**
|
|
1283
|
+
* The id of the extension this entry references, such as aws:secretsmanager.
|
|
1284
|
+
* @public
|
|
1285
|
+
*/
|
|
1286
|
+
extensionId: string | undefined;
|
|
1287
|
+
/**
|
|
1288
|
+
* The display name of the extension this entry references.
|
|
1289
|
+
* @public
|
|
1290
|
+
*/
|
|
1291
|
+
extensionDisplayName: string | undefined;
|
|
1292
|
+
/**
|
|
1293
|
+
* Controls which extension version this entry tracks and how it adopts new releases.
|
|
1294
|
+
* @public
|
|
1295
|
+
*/
|
|
1296
|
+
versionPolicy?: VersionPolicy | undefined;
|
|
1297
|
+
/**
|
|
1298
|
+
* The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.
|
|
1299
|
+
* @public
|
|
1300
|
+
*/
|
|
1301
|
+
resolvedVersion?: string | undefined;
|
|
1302
|
+
/**
|
|
1303
|
+
* The extension's latest released version, whether or not the entry's version policy selects it.
|
|
1304
|
+
* @public
|
|
1305
|
+
*/
|
|
1306
|
+
latestVersion?: string | undefined;
|
|
1307
|
+
/**
|
|
1308
|
+
* When the profile entry was created.
|
|
1309
|
+
* @public
|
|
1310
|
+
*/
|
|
1311
|
+
createdAt: Date | undefined;
|
|
1312
|
+
/**
|
|
1313
|
+
* When the profile entry was last updated. Equal to createdAt until the first update.
|
|
1314
|
+
* @public
|
|
1315
|
+
*/
|
|
1316
|
+
updatedAt: Date | undefined;
|
|
1317
|
+
/**
|
|
1318
|
+
* The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.
|
|
1319
|
+
* @public
|
|
1320
|
+
*/
|
|
1321
|
+
executionRole?: string | undefined;
|
|
1322
|
+
/**
|
|
1323
|
+
* A description of the entry's purpose.
|
|
1324
|
+
* @public
|
|
1325
|
+
*/
|
|
1326
|
+
description?: string | undefined;
|
|
1327
|
+
/**
|
|
1328
|
+
* The setting values to use for this extension, including any applied default values. The settings will be validated against the extension's settings' definitions.
|
|
1329
|
+
* @public
|
|
1330
|
+
*/
|
|
1331
|
+
effectiveSettings?: __DocumentType | undefined;
|
|
1332
|
+
/**
|
|
1333
|
+
* A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.
|
|
1334
|
+
* @public
|
|
1335
|
+
*/
|
|
1336
|
+
approvedCapabilities?: Record<string, CapabilityDefinition> | undefined;
|
|
1337
|
+
/**
|
|
1338
|
+
* The profile's extension defaults. An option set in an entry's interfaces overrides the same option in the inherited interfaceDefaults.
|
|
1339
|
+
* @public
|
|
1340
|
+
*/
|
|
1341
|
+
inherited?: ExtensionDefaults | undefined;
|
|
1342
|
+
/**
|
|
1343
|
+
* Per-interface options for this entry, keyed by the id of an interface the extension declares.
|
|
1344
|
+
* @public
|
|
1345
|
+
*/
|
|
1346
|
+
interfaces?: Record<string, InterfaceOptions> | undefined;
|
|
1347
|
+
}
|
|
1348
|
+
/**
|
|
1349
|
+
* The profile whose entries to list, with pagination parameters.
|
|
1350
|
+
* @public
|
|
1351
|
+
*/
|
|
1352
|
+
export interface ListProfileEntriesInput {
|
|
1353
|
+
/**
|
|
1354
|
+
* The identifier of the profile whose entries to list.
|
|
1355
|
+
* @public
|
|
1356
|
+
*/
|
|
1357
|
+
profileIdentifier: string | undefined;
|
|
1358
|
+
/**
|
|
1359
|
+
* The maximum number of profile entries to return in one page.
|
|
1360
|
+
* @public
|
|
1361
|
+
*/
|
|
1362
|
+
maxResults?: number | undefined;
|
|
1363
|
+
/**
|
|
1364
|
+
* The token returned by a previous call, to retrieve the next page of results.
|
|
1365
|
+
* @public
|
|
1366
|
+
*/
|
|
1367
|
+
nextToken?: string | undefined;
|
|
1368
|
+
}
|
|
1369
|
+
/**
|
|
1370
|
+
* A summary view of a profile entry.
|
|
1371
|
+
* @public
|
|
1372
|
+
*/
|
|
1373
|
+
export interface ProfileEntrySummary {
|
|
1374
|
+
/**
|
|
1375
|
+
* The service-generated id of the profile entry.
|
|
1376
|
+
* @public
|
|
1377
|
+
*/
|
|
1378
|
+
id: string | undefined;
|
|
1379
|
+
/**
|
|
1380
|
+
* The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.
|
|
1381
|
+
* @public
|
|
1382
|
+
*/
|
|
1383
|
+
name: string | undefined;
|
|
1384
|
+
/**
|
|
1385
|
+
* The Amazon Resource Name (ARN) of the profile entry.
|
|
1386
|
+
* @public
|
|
1387
|
+
*/
|
|
1388
|
+
arn: string | undefined;
|
|
1389
|
+
/**
|
|
1390
|
+
* The id of the profile this entry belongs to.
|
|
1391
|
+
* @public
|
|
1392
|
+
*/
|
|
1393
|
+
profileId: string | undefined;
|
|
1394
|
+
/**
|
|
1395
|
+
* The name of the profile this entry belongs to.
|
|
1396
|
+
* @public
|
|
1397
|
+
*/
|
|
1398
|
+
profileName: string | undefined;
|
|
1399
|
+
/**
|
|
1400
|
+
* The id of the extension this entry references, such as aws:secretsmanager.
|
|
1401
|
+
* @public
|
|
1402
|
+
*/
|
|
1403
|
+
extensionId: string | undefined;
|
|
1404
|
+
/**
|
|
1405
|
+
* The display name of the extension this entry references.
|
|
1406
|
+
* @public
|
|
1407
|
+
*/
|
|
1408
|
+
extensionDisplayName: string | undefined;
|
|
1409
|
+
/**
|
|
1410
|
+
* Controls which extension version this entry tracks and how it adopts new releases.
|
|
1411
|
+
* @public
|
|
1412
|
+
*/
|
|
1413
|
+
versionPolicy?: VersionPolicy | undefined;
|
|
1414
|
+
/**
|
|
1415
|
+
* The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.
|
|
1416
|
+
* @public
|
|
1417
|
+
*/
|
|
1418
|
+
resolvedVersion?: string | undefined;
|
|
1419
|
+
/**
|
|
1420
|
+
* The extension's latest released version, whether or not the entry's version policy selects it.
|
|
1421
|
+
* @public
|
|
1422
|
+
*/
|
|
1423
|
+
latestVersion?: string | undefined;
|
|
1424
|
+
/**
|
|
1425
|
+
* When the profile entry was created.
|
|
1426
|
+
* @public
|
|
1427
|
+
*/
|
|
1428
|
+
createdAt: Date | undefined;
|
|
1429
|
+
/**
|
|
1430
|
+
* When the profile entry was last updated. Equal to createdAt until the first update.
|
|
1431
|
+
* @public
|
|
1432
|
+
*/
|
|
1433
|
+
updatedAt: Date | undefined;
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* A page of profile entries.
|
|
1437
|
+
* @public
|
|
1438
|
+
*/
|
|
1439
|
+
export interface ListProfileEntriesOutput {
|
|
1440
|
+
/**
|
|
1441
|
+
* The profile entries in this page of results.
|
|
1442
|
+
* @public
|
|
1443
|
+
*/
|
|
1444
|
+
items: ProfileEntrySummary[] | undefined;
|
|
1445
|
+
/**
|
|
1446
|
+
* A token to retrieve the next page of results. Absent when there are no more results.
|
|
1447
|
+
* @public
|
|
1448
|
+
*/
|
|
1449
|
+
nextToken?: string | undefined;
|
|
1450
|
+
}
|
|
1451
|
+
/**
|
|
1452
|
+
* The identifier of the profile entry to update and the fields to change.
|
|
1453
|
+
* @public
|
|
1454
|
+
*/
|
|
1455
|
+
export interface UpdateProfileEntryInput {
|
|
1456
|
+
/**
|
|
1457
|
+
* The identifier of the profile entry
|
|
1458
|
+
* @public
|
|
1459
|
+
*/
|
|
1460
|
+
identifier: string | undefined;
|
|
1461
|
+
/**
|
|
1462
|
+
* The identifier of the owning profile.
|
|
1463
|
+
* @public
|
|
1464
|
+
*/
|
|
1465
|
+
profileIdentifier: string | undefined;
|
|
1466
|
+
/**
|
|
1467
|
+
* A new name for the entry, unique within the profile.
|
|
1468
|
+
* @public
|
|
1469
|
+
*/
|
|
1470
|
+
name?: string | undefined;
|
|
1471
|
+
/**
|
|
1472
|
+
* A new description of the entry's purpose. An empty string removes the description.
|
|
1473
|
+
* @public
|
|
1474
|
+
*/
|
|
1475
|
+
description?: string | undefined;
|
|
1476
|
+
/**
|
|
1477
|
+
* Per-interface options, keyed by the id of an interface the extension declares.
|
|
1478
|
+
* @public
|
|
1479
|
+
*/
|
|
1480
|
+
interfaces?: Record<string, InterfaceOptions> | undefined;
|
|
1481
|
+
/**
|
|
1482
|
+
* The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal. An empty string removes the entry's role, so the profile's default applies.
|
|
1483
|
+
* @public
|
|
1484
|
+
*/
|
|
1485
|
+
executionRole?: string | undefined;
|
|
1486
|
+
/**
|
|
1487
|
+
* Controls which extension version this entry tracks and how it adopts new releases.
|
|
1488
|
+
* @public
|
|
1489
|
+
*/
|
|
1490
|
+
versionPolicy?: VersionPolicy | undefined;
|
|
1491
|
+
/**
|
|
1492
|
+
* Changes to the entry's setting values, applied as a JSON merge patch (RFC 7396). An omitted setting is unchanged, null removes a setting so it takes its default if it has one, an object merges into a group's stored values, and any other value replaces the stored one. An array replaces the whole stored array, and a null inside an array is rejected. Keys are the extension's setting ids and the merged values are validated against the extension's settings definitions.
|
|
1493
|
+
* @public
|
|
1494
|
+
*/
|
|
1495
|
+
settings?: __DocumentType | undefined;
|
|
1496
|
+
/**
|
|
1497
|
+
* The complete list of capability paths to approve, replacing the entry's current approvals. A capability left out of the list is no longer approved. Omit approve to keep the current approvals.
|
|
1498
|
+
* @public
|
|
1499
|
+
*/
|
|
1500
|
+
approve?: string[] | undefined;
|
|
1501
|
+
}
|
|
1502
|
+
/**
|
|
1503
|
+
* A profile entry binds an extension to a profile, defining which version to track and how the extension is configured for that deployment context. Each profile can have one entry per extension.
|
|
1504
|
+
* @public
|
|
1505
|
+
*/
|
|
1506
|
+
export interface UpdateProfileEntryOutput {
|
|
1507
|
+
/**
|
|
1508
|
+
* The service-generated id of the profile entry.
|
|
1509
|
+
* @public
|
|
1510
|
+
*/
|
|
1511
|
+
id: string | undefined;
|
|
1512
|
+
/**
|
|
1513
|
+
* The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.
|
|
1514
|
+
* @public
|
|
1515
|
+
*/
|
|
1516
|
+
name: string | undefined;
|
|
1517
|
+
/**
|
|
1518
|
+
* The Amazon Resource Name (ARN) of the profile entry.
|
|
1519
|
+
* @public
|
|
1520
|
+
*/
|
|
1521
|
+
arn: string | undefined;
|
|
1522
|
+
/**
|
|
1523
|
+
* The id of the profile this entry belongs to.
|
|
1524
|
+
* @public
|
|
1525
|
+
*/
|
|
1526
|
+
profileId: string | undefined;
|
|
1527
|
+
/**
|
|
1528
|
+
* The name of the profile this entry belongs to.
|
|
1529
|
+
* @public
|
|
1530
|
+
*/
|
|
1531
|
+
profileName: string | undefined;
|
|
1532
|
+
/**
|
|
1533
|
+
* The id of the extension this entry references, such as aws:secretsmanager.
|
|
1534
|
+
* @public
|
|
1535
|
+
*/
|
|
1536
|
+
extensionId: string | undefined;
|
|
1537
|
+
/**
|
|
1538
|
+
* The display name of the extension this entry references.
|
|
1539
|
+
* @public
|
|
1540
|
+
*/
|
|
1541
|
+
extensionDisplayName: string | undefined;
|
|
1542
|
+
/**
|
|
1543
|
+
* Controls which extension version this entry tracks and how it adopts new releases.
|
|
1544
|
+
* @public
|
|
1545
|
+
*/
|
|
1546
|
+
versionPolicy?: VersionPolicy | undefined;
|
|
1547
|
+
/**
|
|
1548
|
+
* The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.
|
|
1549
|
+
* @public
|
|
1550
|
+
*/
|
|
1551
|
+
resolvedVersion?: string | undefined;
|
|
1552
|
+
/**
|
|
1553
|
+
* The extension's latest released version, whether or not the entry's version policy selects it.
|
|
1554
|
+
* @public
|
|
1555
|
+
*/
|
|
1556
|
+
latestVersion?: string | undefined;
|
|
1557
|
+
/**
|
|
1558
|
+
* When the profile entry was created.
|
|
1559
|
+
* @public
|
|
1560
|
+
*/
|
|
1561
|
+
createdAt: Date | undefined;
|
|
1562
|
+
/**
|
|
1563
|
+
* When the profile entry was last updated. Equal to createdAt until the first update.
|
|
1564
|
+
* @public
|
|
1565
|
+
*/
|
|
1566
|
+
updatedAt: Date | undefined;
|
|
1567
|
+
/**
|
|
1568
|
+
* The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.
|
|
1569
|
+
* @public
|
|
1570
|
+
*/
|
|
1571
|
+
executionRole?: string | undefined;
|
|
1572
|
+
/**
|
|
1573
|
+
* A description of the entry's purpose.
|
|
1574
|
+
* @public
|
|
1575
|
+
*/
|
|
1576
|
+
description?: string | undefined;
|
|
1577
|
+
/**
|
|
1578
|
+
* The setting values to use for this extension, including any applied default values. The settings will be validated against the extension's settings' definitions.
|
|
1579
|
+
* @public
|
|
1580
|
+
*/
|
|
1581
|
+
effectiveSettings?: __DocumentType | undefined;
|
|
1582
|
+
/**
|
|
1583
|
+
* A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.
|
|
1584
|
+
* @public
|
|
1585
|
+
*/
|
|
1586
|
+
approvedCapabilities?: Record<string, CapabilityDefinition> | undefined;
|
|
1587
|
+
/**
|
|
1588
|
+
* The profile's extension defaults. An option set in an entry's interfaces overrides the same option in the inherited interfaceDefaults.
|
|
1589
|
+
* @public
|
|
1590
|
+
*/
|
|
1591
|
+
inherited?: ExtensionDefaults | undefined;
|
|
1592
|
+
/**
|
|
1593
|
+
* Per-interface options for this entry, keyed by the id of an interface the extension declares.
|
|
1594
|
+
* @public
|
|
1595
|
+
*/
|
|
1596
|
+
interfaces?: Record<string, InterfaceOptions> | undefined;
|
|
1597
|
+
}
|
|
1598
|
+
/**
|
|
1599
|
+
* The identifier of the profile to update and the fields to change.
|
|
1600
|
+
* @public
|
|
1601
|
+
*/
|
|
1602
|
+
export interface UpdateProfileInput {
|
|
1603
|
+
/**
|
|
1604
|
+
* The identifier (id or name) of the profile to update.
|
|
1605
|
+
* @public
|
|
1606
|
+
*/
|
|
1607
|
+
identifier: string | undefined;
|
|
1608
|
+
/**
|
|
1609
|
+
* The new name of the profile. Must be unique within the account.
|
|
1610
|
+
* @public
|
|
1611
|
+
*/
|
|
1612
|
+
name?: string | undefined;
|
|
1613
|
+
/**
|
|
1614
|
+
* A human-readable description of the profile's purpose or target environment. An empty string removes the description.
|
|
1615
|
+
* @public
|
|
1616
|
+
*/
|
|
1617
|
+
description?: string | undefined;
|
|
1618
|
+
/**
|
|
1619
|
+
* Default values used by the extensions in this profile. These can be overridden at the profile entry level.
|
|
1620
|
+
* @public
|
|
1621
|
+
*/
|
|
1622
|
+
extensionDefaults?: ExtensionDefaults | undefined;
|
|
1623
|
+
}
|
|
1624
|
+
/**
|
|
1625
|
+
* A profile represents a deployment target — the configuration context in which extensions run. Profiles own profile entries that bind specific extensions to the profile's execution environment.
|
|
1626
|
+
* @public
|
|
1627
|
+
*/
|
|
1628
|
+
export interface UpdateProfileOutput {
|
|
1629
|
+
/**
|
|
1630
|
+
* The service-generated id of the profile.
|
|
1631
|
+
* @public
|
|
1632
|
+
*/
|
|
1633
|
+
id: string | undefined;
|
|
1634
|
+
/**
|
|
1635
|
+
* The name of the profile.
|
|
1636
|
+
* @public
|
|
1637
|
+
*/
|
|
1638
|
+
name: string | undefined;
|
|
1639
|
+
/**
|
|
1640
|
+
* The Amazon Resource Name (ARN) of the profile.
|
|
1641
|
+
* @public
|
|
1642
|
+
*/
|
|
1643
|
+
arn: string | undefined;
|
|
1644
|
+
/**
|
|
1645
|
+
* The number of entries in this profile.
|
|
1646
|
+
* @public
|
|
1647
|
+
*/
|
|
1648
|
+
entryCount: number | undefined;
|
|
1649
|
+
/**
|
|
1650
|
+
* When the profile was created.
|
|
1651
|
+
* @public
|
|
1652
|
+
*/
|
|
1653
|
+
createdAt: Date | undefined;
|
|
1654
|
+
/**
|
|
1655
|
+
* When the profile was last updated. Equal to createdAt until the first update.
|
|
1656
|
+
* @public
|
|
1657
|
+
*/
|
|
1658
|
+
updatedAt: Date | undefined;
|
|
1659
|
+
/**
|
|
1660
|
+
* A human-readable description of this profile's purpose or target environment.
|
|
1661
|
+
* @public
|
|
1662
|
+
*/
|
|
1663
|
+
description?: string | undefined;
|
|
1664
|
+
/**
|
|
1665
|
+
* Default values used by the extensions in this profile. These can be overridden at the profile entry level.
|
|
1666
|
+
* @public
|
|
1667
|
+
*/
|
|
1668
|
+
extensionDefaults?: ExtensionDefaults | undefined;
|
|
1669
|
+
}
|
|
1670
|
+
/**
|
|
1671
|
+
* @public
|
|
1672
|
+
*/
|
|
1673
|
+
export interface TagResourceInput {
|
|
1674
|
+
/**
|
|
1675
|
+
* The ARN of the profile or profile entry to tag.
|
|
1676
|
+
* @public
|
|
1677
|
+
*/
|
|
1678
|
+
resourceArn: string | undefined;
|
|
1679
|
+
/**
|
|
1680
|
+
* The tags to add or replace.
|
|
1681
|
+
* @public
|
|
1682
|
+
*/
|
|
1683
|
+
tags: Record<string, string> | undefined;
|
|
1684
|
+
}
|
|
1685
|
+
/**
|
|
1686
|
+
* @public
|
|
1687
|
+
*/
|
|
1688
|
+
export interface TagResourceOutput {
|
|
1689
|
+
}
|
|
1690
|
+
/**
|
|
1691
|
+
* @public
|
|
1692
|
+
*/
|
|
1693
|
+
export interface UntagResourceInput {
|
|
1694
|
+
/**
|
|
1695
|
+
* The ARN of the profile or profile entry to remove tags from.
|
|
1696
|
+
* @public
|
|
1697
|
+
*/
|
|
1698
|
+
resourceArn: string | undefined;
|
|
1699
|
+
/**
|
|
1700
|
+
* The keys of the tags to remove.
|
|
1701
|
+
* @public
|
|
1702
|
+
*/
|
|
1703
|
+
tagKeys: string[] | undefined;
|
|
1704
|
+
}
|
|
1705
|
+
/**
|
|
1706
|
+
* @public
|
|
1707
|
+
*/
|
|
1708
|
+
export interface UntagResourceOutput {
|
|
1709
|
+
}
|
|
1710
|
+
/**
|
|
1711
|
+
* Defines the data type and validation constraints for a setting value. Exactly one member must be set.
|
|
1712
|
+
* @public
|
|
1713
|
+
*/
|
|
1714
|
+
export type SettingDefinition = SettingDefinition.ArrayMember | SettingDefinition.BooleanMember | SettingDefinition.FloatMember | SettingDefinition.GroupMember | SettingDefinition.IntegerMember | SettingDefinition.StringMember | SettingDefinition.$UnknownMember;
|
|
1715
|
+
/**
|
|
1716
|
+
* @public
|
|
1717
|
+
*/
|
|
1718
|
+
export declare namespace SettingDefinition {
|
|
1719
|
+
/**
|
|
1720
|
+
* The setting's value is a string.
|
|
1721
|
+
* @public
|
|
1722
|
+
*/
|
|
1723
|
+
interface StringMember {
|
|
1724
|
+
string: StringSetting;
|
|
1725
|
+
integer?: never;
|
|
1726
|
+
float?: never;
|
|
1727
|
+
boolean?: never;
|
|
1728
|
+
array?: never;
|
|
1729
|
+
group?: never;
|
|
1730
|
+
$unknown?: never;
|
|
1731
|
+
}
|
|
1732
|
+
/**
|
|
1733
|
+
* The setting's value is a whole number.
|
|
1734
|
+
* @public
|
|
1735
|
+
*/
|
|
1736
|
+
interface IntegerMember {
|
|
1737
|
+
string?: never;
|
|
1738
|
+
integer: IntegerSetting;
|
|
1739
|
+
float?: never;
|
|
1740
|
+
boolean?: never;
|
|
1741
|
+
array?: never;
|
|
1742
|
+
group?: never;
|
|
1743
|
+
$unknown?: never;
|
|
1744
|
+
}
|
|
1745
|
+
/**
|
|
1746
|
+
* The setting's value is a number that may have a fractional part.
|
|
1747
|
+
* @public
|
|
1748
|
+
*/
|
|
1749
|
+
interface FloatMember {
|
|
1750
|
+
string?: never;
|
|
1751
|
+
integer?: never;
|
|
1752
|
+
float: FloatSetting;
|
|
1753
|
+
boolean?: never;
|
|
1754
|
+
array?: never;
|
|
1755
|
+
group?: never;
|
|
1756
|
+
$unknown?: never;
|
|
1757
|
+
}
|
|
1758
|
+
/**
|
|
1759
|
+
* The setting's value is true or false.
|
|
1760
|
+
* @public
|
|
1761
|
+
*/
|
|
1762
|
+
interface BooleanMember {
|
|
1763
|
+
string?: never;
|
|
1764
|
+
integer?: never;
|
|
1765
|
+
float?: never;
|
|
1766
|
+
boolean: BooleanSetting;
|
|
1767
|
+
array?: never;
|
|
1768
|
+
group?: never;
|
|
1769
|
+
$unknown?: never;
|
|
1770
|
+
}
|
|
1771
|
+
/**
|
|
1772
|
+
* The setting's value is a JSON array whose items share one definition.
|
|
1773
|
+
* @public
|
|
1774
|
+
*/
|
|
1775
|
+
interface ArrayMember {
|
|
1776
|
+
string?: never;
|
|
1777
|
+
integer?: never;
|
|
1778
|
+
float?: never;
|
|
1779
|
+
boolean?: never;
|
|
1780
|
+
array: ArraySetting;
|
|
1781
|
+
group?: never;
|
|
1782
|
+
$unknown?: never;
|
|
1783
|
+
}
|
|
1784
|
+
/**
|
|
1785
|
+
* The setting's value is a JSON object holding a nested set of settings.
|
|
1786
|
+
* @public
|
|
1787
|
+
*/
|
|
1788
|
+
interface GroupMember {
|
|
1789
|
+
string?: never;
|
|
1790
|
+
integer?: never;
|
|
1791
|
+
float?: never;
|
|
1792
|
+
boolean?: never;
|
|
1793
|
+
array?: never;
|
|
1794
|
+
group: GroupSetting;
|
|
1795
|
+
$unknown?: never;
|
|
1796
|
+
}
|
|
1797
|
+
/**
|
|
1798
|
+
* @public
|
|
1799
|
+
*/
|
|
1800
|
+
interface $UnknownMember {
|
|
1801
|
+
string?: never;
|
|
1802
|
+
integer?: never;
|
|
1803
|
+
float?: never;
|
|
1804
|
+
boolean?: never;
|
|
1805
|
+
array?: never;
|
|
1806
|
+
group?: never;
|
|
1807
|
+
$unknown: [string, any];
|
|
1808
|
+
}
|
|
1809
|
+
/**
|
|
1810
|
+
* @deprecated unused in schema-serde mode.
|
|
1811
|
+
*
|
|
1812
|
+
*/
|
|
1813
|
+
interface Visitor<T> {
|
|
1814
|
+
string: (value: StringSetting) => T;
|
|
1815
|
+
integer: (value: IntegerSetting) => T;
|
|
1816
|
+
float: (value: FloatSetting) => T;
|
|
1817
|
+
boolean: (value: BooleanSetting) => T;
|
|
1818
|
+
array: (value: ArraySetting) => T;
|
|
1819
|
+
group: (value: GroupSetting) => T;
|
|
1820
|
+
_: (name: string, value: any) => T;
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
/**
|
|
1824
|
+
* Specification for an array-typed setting. The element type is described in the itemDefinition.
|
|
1825
|
+
* @public
|
|
1826
|
+
*/
|
|
1827
|
+
export interface ArraySetting {
|
|
1828
|
+
/**
|
|
1829
|
+
* The fewest items the array may hold.
|
|
1830
|
+
* @public
|
|
1831
|
+
*/
|
|
1832
|
+
minLength?: number | undefined;
|
|
1833
|
+
/**
|
|
1834
|
+
* The most items the array may hold, between 1 and 100. Must be at least minLength.
|
|
1835
|
+
* @public
|
|
1836
|
+
*/
|
|
1837
|
+
maxLength?: number | undefined;
|
|
1838
|
+
/**
|
|
1839
|
+
* The definition for each element in the array.
|
|
1840
|
+
* @public
|
|
1841
|
+
*/
|
|
1842
|
+
itemDefinition: SettingDefinition | undefined;
|
|
1843
|
+
}
|
|
1844
|
+
/**
|
|
1845
|
+
* Defines a configurable setting that an extension exposes to deployers. Settings are part of an extension's declared configuration schema.
|
|
1846
|
+
* @public
|
|
1847
|
+
*/
|
|
1848
|
+
export interface Setting {
|
|
1849
|
+
/**
|
|
1850
|
+
* A unique identifier for this setting within the extension's configuration.
|
|
1851
|
+
* @public
|
|
1852
|
+
*/
|
|
1853
|
+
id: string | undefined;
|
|
1854
|
+
/**
|
|
1855
|
+
* A short, human-readable label for this setting, suitable for display in a UI.
|
|
1856
|
+
* @public
|
|
1857
|
+
*/
|
|
1858
|
+
displayName: string | undefined;
|
|
1859
|
+
/**
|
|
1860
|
+
* A description of what this setting controls and how it affects the extension's behavior.
|
|
1861
|
+
* @public
|
|
1862
|
+
*/
|
|
1863
|
+
description: string | undefined;
|
|
1864
|
+
/**
|
|
1865
|
+
* Whether the deployer must provide a value for this setting. Defaults to false.
|
|
1866
|
+
* @public
|
|
1867
|
+
*/
|
|
1868
|
+
required?: boolean | undefined;
|
|
1869
|
+
/**
|
|
1870
|
+
* A conditional expression referencing another setting's id. When specified, this setting is only active (visible and applicable) when the referenced condition is met.
|
|
1871
|
+
* @public
|
|
1872
|
+
*/
|
|
1873
|
+
activeWhen?: string | undefined;
|
|
1874
|
+
/**
|
|
1875
|
+
* The type and constraints for this setting's value.
|
|
1876
|
+
* @public
|
|
1877
|
+
*/
|
|
1878
|
+
definition: SettingDefinition | undefined;
|
|
1879
|
+
}
|
|
1880
|
+
/**
|
|
1881
|
+
* Specification for a group-typed setting. A group is a nested configuration block containing its own settings and optional capabilities, enabling hierarchical configuration.
|
|
1882
|
+
* @public
|
|
1883
|
+
*/
|
|
1884
|
+
export interface GroupSetting {
|
|
1885
|
+
/**
|
|
1886
|
+
* The settings within this group.
|
|
1887
|
+
* @public
|
|
1888
|
+
*/
|
|
1889
|
+
settings: Setting[] | undefined;
|
|
1890
|
+
/**
|
|
1891
|
+
* Optional capabilities scoped to this group.
|
|
1892
|
+
* @public
|
|
1893
|
+
*/
|
|
1894
|
+
capabilities?: Capability[] | undefined;
|
|
1895
|
+
}
|
|
1896
|
+
/**
|
|
1897
|
+
* The configuration schema declared by an extension, defining settings the deployer can customize and capabilities the extension requires from the host environment.
|
|
1898
|
+
* @public
|
|
1899
|
+
*/
|
|
1900
|
+
export interface ExtensionConfiguration {
|
|
1901
|
+
/**
|
|
1902
|
+
* The configurable settings exposed by this extension.
|
|
1903
|
+
* @public
|
|
1904
|
+
*/
|
|
1905
|
+
settings?: Setting[] | undefined;
|
|
1906
|
+
/**
|
|
1907
|
+
* The host capabilities this extension requires to function (filesystem access, AWS service calls, exec permissions).
|
|
1908
|
+
* @public
|
|
1909
|
+
*/
|
|
1910
|
+
capabilities?: Capability[] | undefined;
|
|
1911
|
+
/**
|
|
1912
|
+
* The interfaces this extension serves to clients.
|
|
1913
|
+
* @public
|
|
1914
|
+
*/
|
|
1915
|
+
interfaces?: Interface[] | undefined;
|
|
1916
|
+
}
|
|
1917
|
+
/**
|
|
1918
|
+
* A released, immutable extension package. Represents a versioned unit of compute that can be deployed to profiles via profile entries. Each extension version is a published snapshot of an extension draft.
|
|
1919
|
+
* @public
|
|
1920
|
+
*/
|
|
1921
|
+
export interface GetExtensionOutput {
|
|
1922
|
+
/**
|
|
1923
|
+
* The extension's id, in the form namespace:name, such as aws:secretsmanager.
|
|
1924
|
+
* @public
|
|
1925
|
+
*/
|
|
1926
|
+
id: string | undefined;
|
|
1927
|
+
/**
|
|
1928
|
+
* The extension's display name.
|
|
1929
|
+
* @public
|
|
1930
|
+
*/
|
|
1931
|
+
displayName: string | undefined;
|
|
1932
|
+
/**
|
|
1933
|
+
* The Amazon Resource Name (ARN) of the extension.
|
|
1934
|
+
* @public
|
|
1935
|
+
*/
|
|
1936
|
+
arn: string | undefined;
|
|
1937
|
+
/**
|
|
1938
|
+
* The semantic version of this release.
|
|
1939
|
+
* @public
|
|
1940
|
+
*/
|
|
1941
|
+
version: string | undefined;
|
|
1942
|
+
/**
|
|
1943
|
+
* A short summary of what the extension does, suitable for a catalog listing.
|
|
1944
|
+
* @public
|
|
1945
|
+
*/
|
|
1946
|
+
overview?: string | undefined;
|
|
1947
|
+
/**
|
|
1948
|
+
* A link to external documentation for this extension.
|
|
1949
|
+
* @public
|
|
1950
|
+
*/
|
|
1951
|
+
documentationLink?: string | undefined;
|
|
1952
|
+
/**
|
|
1953
|
+
* Author-provided notes describing what changed in this release.
|
|
1954
|
+
* @public
|
|
1955
|
+
*/
|
|
1956
|
+
releaseNotes?: string | undefined;
|
|
1957
|
+
/**
|
|
1958
|
+
* The timestamp when this version was released.
|
|
1959
|
+
* @public
|
|
1960
|
+
*/
|
|
1961
|
+
releasedAt: Date | undefined;
|
|
1962
|
+
/**
|
|
1963
|
+
* A full description of the extension's purpose and functionality.
|
|
1964
|
+
* @public
|
|
1965
|
+
*/
|
|
1966
|
+
description?: string | undefined;
|
|
1967
|
+
/**
|
|
1968
|
+
* The settings, capabilities and interfaces declared by this extension version.
|
|
1969
|
+
* @public
|
|
1970
|
+
*/
|
|
1971
|
+
configuration?: ExtensionConfiguration | undefined;
|
|
1972
|
+
}
|