@aws-sdk/client-datazone 3.930.0 → 3.932.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +120 -47
- package/dist-es/models/models_0.js +10 -25
- package/dist-es/models/models_1.js +19 -0
- package/dist-es/schemas/schemas_0.js +109 -40
- package/dist-types/commands/AcceptSubscriptionRequestCommand.d.ts +36 -0
- package/dist-types/commands/CancelSubscriptionCommand.d.ts +23 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +2 -1
- package/dist-types/commands/CreateSubscriptionGrantCommand.d.ts +6 -0
- package/dist-types/commands/CreateSubscriptionRequestCommand.d.ts +50 -0
- package/dist-types/commands/DeleteSubscriptionGrantCommand.d.ts +6 -0
- package/dist-types/commands/GetSubscriptionCommand.d.ts +23 -0
- package/dist-types/commands/GetSubscriptionGrantCommand.d.ts +6 -0
- package/dist-types/commands/GetSubscriptionRequestDetailsCommand.d.ts +23 -0
- package/dist-types/commands/ListSubscriptionGrantsCommand.d.ts +10 -1
- package/dist-types/commands/ListSubscriptionRequestsCommand.d.ts +26 -1
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +26 -2
- package/dist-types/commands/RejectSubscriptionRequestCommand.d.ts +23 -0
- package/dist-types/commands/RevokeSubscriptionCommand.d.ts +23 -0
- package/dist-types/commands/UpdateSubscriptionGrantStatusCommand.d.ts +6 -0
- package/dist-types/commands/UpdateSubscriptionRequestCommand.d.ts +23 -0
- package/dist-types/models/models_0.d.ts +224 -234
- package/dist-types/models/models_1.d.ts +320 -379
- package/dist-types/models/models_2.d.ts +325 -3
- package/dist-types/schemas/schemas_0.d.ts +9 -1
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListSubscriptionGrantsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListSubscriptionRequestsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +96 -87
- package/dist-types/ts3.4/models/models_1.d.ts +121 -106
- package/dist-types/ts3.4/models/models_2.d.ts +76 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -1
- package/package.json +5 -5
|
@@ -81,11 +81,36 @@ export declare class ValidationException extends __BaseException {
|
|
|
81
81
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
82
82
|
);
|
|
83
83
|
}
|
|
84
|
+
export declare const S3Permission: {
|
|
85
|
+
readonly READ: "READ";
|
|
86
|
+
readonly WRITE: "WRITE";
|
|
87
|
+
};
|
|
88
|
+
export type S3Permission = (typeof S3Permission)[keyof typeof S3Permission];
|
|
89
|
+
export type Permissions = Permissions.S3Member | Permissions.$UnknownMember;
|
|
90
|
+
export declare namespace Permissions {
|
|
91
|
+
interface S3Member {
|
|
92
|
+
s3: S3Permission[];
|
|
93
|
+
$unknown?: never;
|
|
94
|
+
}
|
|
95
|
+
interface $UnknownMember {
|
|
96
|
+
s3?: never;
|
|
97
|
+
$unknown: [string, any];
|
|
98
|
+
}
|
|
99
|
+
interface Visitor<T> {
|
|
100
|
+
s3: (value: S3Permission[]) => T;
|
|
101
|
+
_: (name: string, value: any) => T;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
export interface AssetPermission {
|
|
105
|
+
assetId: string | undefined;
|
|
106
|
+
permissions: Permissions | undefined;
|
|
107
|
+
}
|
|
84
108
|
export interface AcceptSubscriptionRequestInput {
|
|
85
109
|
domainIdentifier: string | undefined;
|
|
86
110
|
identifier: string | undefined;
|
|
87
111
|
decisionComment?: string | undefined;
|
|
88
112
|
assetScopes?: AcceptedAssetScope[] | undefined;
|
|
113
|
+
assetPermissions?: AssetPermission[] | undefined;
|
|
89
114
|
}
|
|
90
115
|
export interface FormOutput {
|
|
91
116
|
formName: string | undefined;
|
|
@@ -117,6 +142,7 @@ export interface SubscribedAssetListing {
|
|
|
117
142
|
forms?: string | undefined;
|
|
118
143
|
glossaryTerms?: DetailedGlossaryTerm[] | undefined;
|
|
119
144
|
assetScope?: AssetScope | undefined;
|
|
145
|
+
permissions?: Permissions | undefined;
|
|
120
146
|
}
|
|
121
147
|
export interface AssetInDataProductListingItem {
|
|
122
148
|
entityId?: string | undefined;
|
|
@@ -166,24 +192,87 @@ export interface SubscribedListing {
|
|
|
166
192
|
ownerProjectId: string | undefined;
|
|
167
193
|
ownerProjectName?: string | undefined;
|
|
168
194
|
}
|
|
195
|
+
export interface SubscribedGroup {
|
|
196
|
+
id?: string | undefined;
|
|
197
|
+
name?: string | undefined;
|
|
198
|
+
}
|
|
169
199
|
export interface SubscribedProject {
|
|
170
200
|
id?: string | undefined;
|
|
171
201
|
name?: string | undefined;
|
|
172
202
|
}
|
|
203
|
+
export interface IamUserProfileDetails {
|
|
204
|
+
arn?: string | undefined;
|
|
205
|
+
principalId?: string | undefined;
|
|
206
|
+
}
|
|
207
|
+
export interface SsoUserProfileDetails {
|
|
208
|
+
username?: string | undefined;
|
|
209
|
+
firstName?: string | undefined;
|
|
210
|
+
lastName?: string | undefined;
|
|
211
|
+
}
|
|
212
|
+
export type UserProfileDetails =
|
|
213
|
+
| UserProfileDetails.IamMember
|
|
214
|
+
| UserProfileDetails.SsoMember
|
|
215
|
+
| UserProfileDetails.$UnknownMember;
|
|
216
|
+
export declare namespace UserProfileDetails {
|
|
217
|
+
interface IamMember {
|
|
218
|
+
iam: IamUserProfileDetails;
|
|
219
|
+
sso?: never;
|
|
220
|
+
$unknown?: never;
|
|
221
|
+
}
|
|
222
|
+
interface SsoMember {
|
|
223
|
+
iam?: never;
|
|
224
|
+
sso: SsoUserProfileDetails;
|
|
225
|
+
$unknown?: never;
|
|
226
|
+
}
|
|
227
|
+
interface $UnknownMember {
|
|
228
|
+
iam?: never;
|
|
229
|
+
sso?: never;
|
|
230
|
+
$unknown: [string, any];
|
|
231
|
+
}
|
|
232
|
+
interface Visitor<T> {
|
|
233
|
+
iam: (value: IamUserProfileDetails) => T;
|
|
234
|
+
sso: (value: SsoUserProfileDetails) => T;
|
|
235
|
+
_: (name: string, value: any) => T;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
export interface SubscribedUser {
|
|
239
|
+
id?: string | undefined;
|
|
240
|
+
details?: UserProfileDetails | undefined;
|
|
241
|
+
}
|
|
173
242
|
export type SubscribedPrincipal =
|
|
243
|
+
| SubscribedPrincipal.GroupMember
|
|
174
244
|
| SubscribedPrincipal.ProjectMember
|
|
245
|
+
| SubscribedPrincipal.UserMember
|
|
175
246
|
| SubscribedPrincipal.$UnknownMember;
|
|
176
247
|
export declare namespace SubscribedPrincipal {
|
|
177
248
|
interface ProjectMember {
|
|
178
249
|
project: SubscribedProject;
|
|
250
|
+
user?: never;
|
|
251
|
+
group?: never;
|
|
252
|
+
$unknown?: never;
|
|
253
|
+
}
|
|
254
|
+
interface UserMember {
|
|
255
|
+
project?: never;
|
|
256
|
+
user: SubscribedUser;
|
|
257
|
+
group?: never;
|
|
258
|
+
$unknown?: never;
|
|
259
|
+
}
|
|
260
|
+
interface GroupMember {
|
|
261
|
+
project?: never;
|
|
262
|
+
user?: never;
|
|
263
|
+
group: SubscribedGroup;
|
|
179
264
|
$unknown?: never;
|
|
180
265
|
}
|
|
181
266
|
interface $UnknownMember {
|
|
182
267
|
project?: never;
|
|
268
|
+
user?: never;
|
|
269
|
+
group?: never;
|
|
183
270
|
$unknown: [string, any];
|
|
184
271
|
}
|
|
185
272
|
interface Visitor<T> {
|
|
186
273
|
project: (value: SubscribedProject) => T;
|
|
274
|
+
user: (value: SubscribedUser) => T;
|
|
275
|
+
group: (value: SubscribedGroup) => T;
|
|
187
276
|
_: (name: string, value: any) => T;
|
|
188
277
|
}
|
|
189
278
|
}
|
|
@@ -203,6 +292,13 @@ export interface AcceptSubscriptionRequestOutput {
|
|
|
203
292
|
existingSubscriptionId?: string | undefined;
|
|
204
293
|
metadataForms?: FormOutput[] | undefined;
|
|
205
294
|
}
|
|
295
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
296
|
+
readonly name: "ServiceQuotaExceededException";
|
|
297
|
+
readonly $fault: "client";
|
|
298
|
+
constructor(
|
|
299
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
300
|
+
);
|
|
301
|
+
}
|
|
206
302
|
export interface AccountInfo {
|
|
207
303
|
awsAccountId: string | undefined;
|
|
208
304
|
supportedRegions: string[] | undefined;
|
|
@@ -317,13 +413,6 @@ export interface AddEntityOwnerInput {
|
|
|
317
413
|
clientToken?: string | undefined;
|
|
318
414
|
}
|
|
319
415
|
export interface AddEntityOwnerOutput {}
|
|
320
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
321
|
-
readonly name: "ServiceQuotaExceededException";
|
|
322
|
-
readonly $fault: "client";
|
|
323
|
-
constructor(
|
|
324
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
325
|
-
);
|
|
326
|
-
}
|
|
327
416
|
export interface AddToProjectMemberPoolPolicyGrantDetail {
|
|
328
417
|
includeChildDomainUnits?: boolean | undefined;
|
|
329
418
|
}
|
|
@@ -3362,83 +3451,3 @@ export declare const OverallDeploymentStatus: {
|
|
|
3362
3451
|
};
|
|
3363
3452
|
export type OverallDeploymentStatus =
|
|
3364
3453
|
(typeof OverallDeploymentStatus)[keyof typeof OverallDeploymentStatus];
|
|
3365
|
-
export interface EnvironmentDeploymentDetails {
|
|
3366
|
-
overallDeploymentStatus?: OverallDeploymentStatus | undefined;
|
|
3367
|
-
environmentFailureReasons?: Record<string, EnvironmentError[]> | undefined;
|
|
3368
|
-
}
|
|
3369
|
-
export interface ProjectDeletionError {
|
|
3370
|
-
code?: string | undefined;
|
|
3371
|
-
message?: string | undefined;
|
|
3372
|
-
}
|
|
3373
|
-
export declare const ProjectStatus: {
|
|
3374
|
-
readonly ACTIVE: "ACTIVE";
|
|
3375
|
-
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
3376
|
-
readonly DELETING: "DELETING";
|
|
3377
|
-
readonly MOVING: "MOVING";
|
|
3378
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
3379
|
-
readonly UPDATING: "UPDATING";
|
|
3380
|
-
};
|
|
3381
|
-
export type ProjectStatus = (typeof ProjectStatus)[keyof typeof ProjectStatus];
|
|
3382
|
-
export declare const ResourceTagSource: {
|
|
3383
|
-
readonly PROJECT: "PROJECT";
|
|
3384
|
-
readonly PROJECT_PROFILE: "PROJECT_PROFILE";
|
|
3385
|
-
};
|
|
3386
|
-
export type ResourceTagSource =
|
|
3387
|
-
(typeof ResourceTagSource)[keyof typeof ResourceTagSource];
|
|
3388
|
-
export interface ResourceTag {
|
|
3389
|
-
key: string | undefined;
|
|
3390
|
-
value: string | undefined;
|
|
3391
|
-
source: ResourceTagSource | undefined;
|
|
3392
|
-
}
|
|
3393
|
-
export interface CreateProjectOutput {
|
|
3394
|
-
domainId: string | undefined;
|
|
3395
|
-
id: string | undefined;
|
|
3396
|
-
name: string | undefined;
|
|
3397
|
-
description?: string | undefined;
|
|
3398
|
-
projectStatus?: ProjectStatus | undefined;
|
|
3399
|
-
failureReasons?: ProjectDeletionError[] | undefined;
|
|
3400
|
-
createdBy: string | undefined;
|
|
3401
|
-
createdAt?: Date | undefined;
|
|
3402
|
-
lastUpdatedAt?: Date | undefined;
|
|
3403
|
-
resourceTags?: ResourceTag[] | undefined;
|
|
3404
|
-
glossaryTerms?: string[] | undefined;
|
|
3405
|
-
domainUnitId?: string | undefined;
|
|
3406
|
-
projectProfileId?: string | undefined;
|
|
3407
|
-
userParameters?: EnvironmentConfigurationUserParameter[] | undefined;
|
|
3408
|
-
environmentDeploymentDetails?: EnvironmentDeploymentDetails | undefined;
|
|
3409
|
-
}
|
|
3410
|
-
export declare const UserDesignation: {
|
|
3411
|
-
readonly PROJECT_CATALOG_CONSUMER: "PROJECT_CATALOG_CONSUMER";
|
|
3412
|
-
readonly PROJECT_CATALOG_STEWARD: "PROJECT_CATALOG_STEWARD";
|
|
3413
|
-
readonly PROJECT_CATALOG_VIEWER: "PROJECT_CATALOG_VIEWER";
|
|
3414
|
-
readonly PROJECT_CONTRIBUTOR: "PROJECT_CONTRIBUTOR";
|
|
3415
|
-
readonly PROJECT_OWNER: "PROJECT_OWNER";
|
|
3416
|
-
};
|
|
3417
|
-
export type UserDesignation =
|
|
3418
|
-
(typeof UserDesignation)[keyof typeof UserDesignation];
|
|
3419
|
-
export type Member =
|
|
3420
|
-
| Member.GroupIdentifierMember
|
|
3421
|
-
| Member.UserIdentifierMember
|
|
3422
|
-
| Member.$UnknownMember;
|
|
3423
|
-
export declare namespace Member {
|
|
3424
|
-
interface UserIdentifierMember {
|
|
3425
|
-
userIdentifier: string;
|
|
3426
|
-
groupIdentifier?: never;
|
|
3427
|
-
$unknown?: never;
|
|
3428
|
-
}
|
|
3429
|
-
interface GroupIdentifierMember {
|
|
3430
|
-
userIdentifier?: never;
|
|
3431
|
-
groupIdentifier: string;
|
|
3432
|
-
$unknown?: never;
|
|
3433
|
-
}
|
|
3434
|
-
interface $UnknownMember {
|
|
3435
|
-
userIdentifier?: never;
|
|
3436
|
-
groupIdentifier?: never;
|
|
3437
|
-
$unknown: [string, any];
|
|
3438
|
-
}
|
|
3439
|
-
interface Visitor<T> {
|
|
3440
|
-
userIdentifier: (value: string) => T;
|
|
3441
|
-
groupIdentifier: (value: string) => T;
|
|
3442
|
-
_: (name: string, value: any) => T;
|
|
3443
|
-
}
|
|
3444
|
-
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AcceptedAssetScope,
|
|
2
3
|
AccountInfo,
|
|
3
4
|
AccountPoolSummary,
|
|
4
5
|
AccountSource,
|
|
5
6
|
ActionParameters,
|
|
6
7
|
AssetFilterSummary,
|
|
7
8
|
AssetListing,
|
|
9
|
+
AssetPermission,
|
|
8
10
|
AssetRevision,
|
|
9
11
|
AssetScope,
|
|
10
12
|
AssetTargetNameMap,
|
|
@@ -33,7 +35,7 @@ import {
|
|
|
33
35
|
DomainVersion,
|
|
34
36
|
EnableSetting,
|
|
35
37
|
EnvironmentConfigurationUserParameter,
|
|
36
|
-
|
|
38
|
+
EnvironmentError,
|
|
37
39
|
EnvironmentStatus,
|
|
38
40
|
FilterStatus,
|
|
39
41
|
FormInput,
|
|
@@ -47,18 +49,16 @@ import {
|
|
|
47
49
|
ListingStatus,
|
|
48
50
|
ManagedPolicyType,
|
|
49
51
|
MatchRationaleItem,
|
|
50
|
-
Member,
|
|
51
52
|
Model,
|
|
53
|
+
OverallDeploymentStatus,
|
|
54
|
+
Permissions,
|
|
52
55
|
PhysicalEndpoint,
|
|
53
56
|
PolicyGrantDetail,
|
|
54
57
|
PolicyGrantPrincipal,
|
|
55
|
-
ProjectDeletionError,
|
|
56
|
-
ProjectStatus,
|
|
57
58
|
ProvisioningProperties,
|
|
58
59
|
RecommendationConfiguration,
|
|
59
60
|
ResolutionStrategy,
|
|
60
61
|
Resource,
|
|
61
|
-
ResourceTag,
|
|
62
62
|
RuleScopeSelectionMode,
|
|
63
63
|
ScheduleConfiguration,
|
|
64
64
|
SingleSignOn,
|
|
@@ -68,8 +68,88 @@ import {
|
|
|
68
68
|
SubscriptionStatus,
|
|
69
69
|
TargetEntityType,
|
|
70
70
|
TermRelations,
|
|
71
|
-
|
|
71
|
+
UserProfileDetails,
|
|
72
72
|
} from "./models_0";
|
|
73
|
+
export interface EnvironmentDeploymentDetails {
|
|
74
|
+
overallDeploymentStatus?: OverallDeploymentStatus | undefined;
|
|
75
|
+
environmentFailureReasons?: Record<string, EnvironmentError[]> | undefined;
|
|
76
|
+
}
|
|
77
|
+
export interface ProjectDeletionError {
|
|
78
|
+
code?: string | undefined;
|
|
79
|
+
message?: string | undefined;
|
|
80
|
+
}
|
|
81
|
+
export declare const ProjectStatus: {
|
|
82
|
+
readonly ACTIVE: "ACTIVE";
|
|
83
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
84
|
+
readonly DELETING: "DELETING";
|
|
85
|
+
readonly MOVING: "MOVING";
|
|
86
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
87
|
+
readonly UPDATING: "UPDATING";
|
|
88
|
+
};
|
|
89
|
+
export type ProjectStatus = (typeof ProjectStatus)[keyof typeof ProjectStatus];
|
|
90
|
+
export declare const ResourceTagSource: {
|
|
91
|
+
readonly PROJECT: "PROJECT";
|
|
92
|
+
readonly PROJECT_PROFILE: "PROJECT_PROFILE";
|
|
93
|
+
};
|
|
94
|
+
export type ResourceTagSource =
|
|
95
|
+
(typeof ResourceTagSource)[keyof typeof ResourceTagSource];
|
|
96
|
+
export interface ResourceTag {
|
|
97
|
+
key: string | undefined;
|
|
98
|
+
value: string | undefined;
|
|
99
|
+
source: ResourceTagSource | undefined;
|
|
100
|
+
}
|
|
101
|
+
export interface CreateProjectOutput {
|
|
102
|
+
domainId: string | undefined;
|
|
103
|
+
id: string | undefined;
|
|
104
|
+
name: string | undefined;
|
|
105
|
+
description?: string | undefined;
|
|
106
|
+
projectStatus?: ProjectStatus | undefined;
|
|
107
|
+
failureReasons?: ProjectDeletionError[] | undefined;
|
|
108
|
+
createdBy: string | undefined;
|
|
109
|
+
createdAt?: Date | undefined;
|
|
110
|
+
lastUpdatedAt?: Date | undefined;
|
|
111
|
+
resourceTags?: ResourceTag[] | undefined;
|
|
112
|
+
glossaryTerms?: string[] | undefined;
|
|
113
|
+
domainUnitId?: string | undefined;
|
|
114
|
+
projectProfileId?: string | undefined;
|
|
115
|
+
userParameters?: EnvironmentConfigurationUserParameter[] | undefined;
|
|
116
|
+
environmentDeploymentDetails?: EnvironmentDeploymentDetails | undefined;
|
|
117
|
+
}
|
|
118
|
+
export declare const UserDesignation: {
|
|
119
|
+
readonly PROJECT_CATALOG_CONSUMER: "PROJECT_CATALOG_CONSUMER";
|
|
120
|
+
readonly PROJECT_CATALOG_STEWARD: "PROJECT_CATALOG_STEWARD";
|
|
121
|
+
readonly PROJECT_CATALOG_VIEWER: "PROJECT_CATALOG_VIEWER";
|
|
122
|
+
readonly PROJECT_CONTRIBUTOR: "PROJECT_CONTRIBUTOR";
|
|
123
|
+
readonly PROJECT_OWNER: "PROJECT_OWNER";
|
|
124
|
+
};
|
|
125
|
+
export type UserDesignation =
|
|
126
|
+
(typeof UserDesignation)[keyof typeof UserDesignation];
|
|
127
|
+
export type Member =
|
|
128
|
+
| Member.GroupIdentifierMember
|
|
129
|
+
| Member.UserIdentifierMember
|
|
130
|
+
| Member.$UnknownMember;
|
|
131
|
+
export declare namespace Member {
|
|
132
|
+
interface UserIdentifierMember {
|
|
133
|
+
userIdentifier: string;
|
|
134
|
+
groupIdentifier?: never;
|
|
135
|
+
$unknown?: never;
|
|
136
|
+
}
|
|
137
|
+
interface GroupIdentifierMember {
|
|
138
|
+
userIdentifier?: never;
|
|
139
|
+
groupIdentifier: string;
|
|
140
|
+
$unknown?: never;
|
|
141
|
+
}
|
|
142
|
+
interface $UnknownMember {
|
|
143
|
+
userIdentifier?: never;
|
|
144
|
+
groupIdentifier?: never;
|
|
145
|
+
$unknown: [string, any];
|
|
146
|
+
}
|
|
147
|
+
interface Visitor<T> {
|
|
148
|
+
userIdentifier: (value: string) => T;
|
|
149
|
+
groupIdentifier: (value: string) => T;
|
|
150
|
+
_: (name: string, value: any) => T;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
73
153
|
export interface CreateProjectMembershipInput {
|
|
74
154
|
domainIdentifier: string | undefined;
|
|
75
155
|
projectIdentifier: string | undefined;
|
|
@@ -313,6 +393,7 @@ export interface SubscribedAsset {
|
|
|
313
393
|
grantedTimestamp?: Date | undefined;
|
|
314
394
|
failureTimestamp?: Date | undefined;
|
|
315
395
|
assetScope?: AssetScope | undefined;
|
|
396
|
+
permissions?: Permissions | undefined;
|
|
316
397
|
}
|
|
317
398
|
export interface ListingRevision {
|
|
318
399
|
id: string | undefined;
|
|
@@ -353,6 +434,7 @@ export interface CreateSubscriptionGrantOutput {
|
|
|
353
434
|
domainId: string | undefined;
|
|
354
435
|
createdAt: Date | undefined;
|
|
355
436
|
updatedAt: Date | undefined;
|
|
437
|
+
environmentId?: string | undefined;
|
|
356
438
|
subscriptionTargetId: string | undefined;
|
|
357
439
|
grantedEntity: GrantedEntity | undefined;
|
|
358
440
|
status: SubscriptionGrantOverallStatus | undefined;
|
|
@@ -362,23 +444,49 @@ export interface CreateSubscriptionGrantOutput {
|
|
|
362
444
|
export interface SubscribedListingInput {
|
|
363
445
|
identifier: string | undefined;
|
|
364
446
|
}
|
|
447
|
+
export interface SubscribedGroupInput {
|
|
448
|
+
identifier?: string | undefined;
|
|
449
|
+
}
|
|
365
450
|
export interface SubscribedProjectInput {
|
|
366
451
|
identifier?: string | undefined;
|
|
367
452
|
}
|
|
453
|
+
export interface SubscribedUserInput {
|
|
454
|
+
identifier?: string | undefined;
|
|
455
|
+
}
|
|
368
456
|
export type SubscribedPrincipalInput =
|
|
457
|
+
| SubscribedPrincipalInput.GroupMember
|
|
369
458
|
| SubscribedPrincipalInput.ProjectMember
|
|
459
|
+
| SubscribedPrincipalInput.UserMember
|
|
370
460
|
| SubscribedPrincipalInput.$UnknownMember;
|
|
371
461
|
export declare namespace SubscribedPrincipalInput {
|
|
372
462
|
interface ProjectMember {
|
|
373
463
|
project: SubscribedProjectInput;
|
|
464
|
+
user?: never;
|
|
465
|
+
group?: never;
|
|
466
|
+
$unknown?: never;
|
|
467
|
+
}
|
|
468
|
+
interface UserMember {
|
|
469
|
+
project?: never;
|
|
470
|
+
user: SubscribedUserInput;
|
|
471
|
+
group?: never;
|
|
472
|
+
$unknown?: never;
|
|
473
|
+
}
|
|
474
|
+
interface GroupMember {
|
|
475
|
+
project?: never;
|
|
476
|
+
user?: never;
|
|
477
|
+
group: SubscribedGroupInput;
|
|
374
478
|
$unknown?: never;
|
|
375
479
|
}
|
|
376
480
|
interface $UnknownMember {
|
|
377
481
|
project?: never;
|
|
482
|
+
user?: never;
|
|
483
|
+
group?: never;
|
|
378
484
|
$unknown: [string, any];
|
|
379
485
|
}
|
|
380
486
|
interface Visitor<T> {
|
|
381
487
|
project: (value: SubscribedProjectInput) => T;
|
|
488
|
+
user: (value: SubscribedUserInput) => T;
|
|
489
|
+
group: (value: SubscribedGroupInput) => T;
|
|
382
490
|
_: (name: string, value: any) => T;
|
|
383
491
|
}
|
|
384
492
|
}
|
|
@@ -389,6 +497,8 @@ export interface CreateSubscriptionRequestInput {
|
|
|
389
497
|
requestReason: string | undefined;
|
|
390
498
|
clientToken?: string | undefined;
|
|
391
499
|
metadataForms?: FormInput[] | undefined;
|
|
500
|
+
assetPermissions?: AssetPermission[] | undefined;
|
|
501
|
+
assetScopes?: AcceptedAssetScope[] | undefined;
|
|
392
502
|
}
|
|
393
503
|
export interface CreateSubscriptionRequestOutput {
|
|
394
504
|
id: string | undefined;
|
|
@@ -451,41 +561,6 @@ export interface CreateUserProfileInput {
|
|
|
451
561
|
userType?: UserType | undefined;
|
|
452
562
|
clientToken?: string | undefined;
|
|
453
563
|
}
|
|
454
|
-
export interface IamUserProfileDetails {
|
|
455
|
-
arn?: string | undefined;
|
|
456
|
-
principalId?: string | undefined;
|
|
457
|
-
}
|
|
458
|
-
export interface SsoUserProfileDetails {
|
|
459
|
-
username?: string | undefined;
|
|
460
|
-
firstName?: string | undefined;
|
|
461
|
-
lastName?: string | undefined;
|
|
462
|
-
}
|
|
463
|
-
export type UserProfileDetails =
|
|
464
|
-
| UserProfileDetails.IamMember
|
|
465
|
-
| UserProfileDetails.SsoMember
|
|
466
|
-
| UserProfileDetails.$UnknownMember;
|
|
467
|
-
export declare namespace UserProfileDetails {
|
|
468
|
-
interface IamMember {
|
|
469
|
-
iam: IamUserProfileDetails;
|
|
470
|
-
sso?: never;
|
|
471
|
-
$unknown?: never;
|
|
472
|
-
}
|
|
473
|
-
interface SsoMember {
|
|
474
|
-
iam?: never;
|
|
475
|
-
sso: SsoUserProfileDetails;
|
|
476
|
-
$unknown?: never;
|
|
477
|
-
}
|
|
478
|
-
interface $UnknownMember {
|
|
479
|
-
iam?: never;
|
|
480
|
-
sso?: never;
|
|
481
|
-
$unknown: [string, any];
|
|
482
|
-
}
|
|
483
|
-
interface Visitor<T> {
|
|
484
|
-
iam: (value: IamUserProfileDetails) => T;
|
|
485
|
-
sso: (value: SsoUserProfileDetails) => T;
|
|
486
|
-
_: (name: string, value: any) => T;
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
564
|
export declare const UserProfileStatus: {
|
|
490
565
|
readonly ACTIVATED: "ACTIVATED";
|
|
491
566
|
readonly ASSIGNED: "ASSIGNED";
|
|
@@ -962,6 +1037,7 @@ export interface DeleteSubscriptionGrantOutput {
|
|
|
962
1037
|
domainId: string | undefined;
|
|
963
1038
|
createdAt: Date | undefined;
|
|
964
1039
|
updatedAt: Date | undefined;
|
|
1040
|
+
environmentId?: string | undefined;
|
|
965
1041
|
subscriptionTargetId: string | undefined;
|
|
966
1042
|
grantedEntity: GrantedEntity | undefined;
|
|
967
1043
|
status: SubscriptionGrantOverallStatus | undefined;
|
|
@@ -1558,6 +1634,7 @@ export interface GetSubscriptionGrantOutput {
|
|
|
1558
1634
|
domainId: string | undefined;
|
|
1559
1635
|
createdAt: Date | undefined;
|
|
1560
1636
|
updatedAt: Date | undefined;
|
|
1637
|
+
environmentId?: string | undefined;
|
|
1561
1638
|
subscriptionTargetId: string | undefined;
|
|
1562
1639
|
grantedEntity: GrantedEntity | undefined;
|
|
1563
1640
|
status: SubscriptionGrantOverallStatus | undefined;
|
|
@@ -2320,6 +2397,8 @@ export interface ListSubscriptionGrantsInput {
|
|
|
2320
2397
|
subscribedListingId?: string | undefined;
|
|
2321
2398
|
subscriptionId?: string | undefined;
|
|
2322
2399
|
owningProjectId?: string | undefined;
|
|
2400
|
+
owningUserId?: string | undefined;
|
|
2401
|
+
owningGroupId?: string | undefined;
|
|
2323
2402
|
sortBy?: SortKey | undefined;
|
|
2324
2403
|
sortOrder?: SortOrder | undefined;
|
|
2325
2404
|
maxResults?: number | undefined;
|
|
@@ -2332,74 +2411,10 @@ export interface SubscriptionGrantSummary {
|
|
|
2332
2411
|
domainId: string | undefined;
|
|
2333
2412
|
createdAt: Date | undefined;
|
|
2334
2413
|
updatedAt: Date | undefined;
|
|
2414
|
+
environmentId?: string | undefined;
|
|
2335
2415
|
subscriptionTargetId: string | undefined;
|
|
2336
2416
|
grantedEntity: GrantedEntity | undefined;
|
|
2337
2417
|
status: SubscriptionGrantOverallStatus | undefined;
|
|
2338
2418
|
assets?: SubscribedAsset[] | undefined;
|
|
2339
2419
|
subscriptionId?: string | undefined;
|
|
2340
2420
|
}
|
|
2341
|
-
export interface ListSubscriptionGrantsOutput {
|
|
2342
|
-
items: SubscriptionGrantSummary[] | undefined;
|
|
2343
|
-
nextToken?: string | undefined;
|
|
2344
|
-
}
|
|
2345
|
-
export interface ListSubscriptionRequestsInput {
|
|
2346
|
-
domainIdentifier: string | undefined;
|
|
2347
|
-
status?: SubscriptionRequestStatus | undefined;
|
|
2348
|
-
subscribedListingId?: string | undefined;
|
|
2349
|
-
owningProjectId?: string | undefined;
|
|
2350
|
-
approverProjectId?: string | undefined;
|
|
2351
|
-
sortBy?: SortKey | undefined;
|
|
2352
|
-
sortOrder?: SortOrder | undefined;
|
|
2353
|
-
maxResults?: number | undefined;
|
|
2354
|
-
nextToken?: string | undefined;
|
|
2355
|
-
}
|
|
2356
|
-
export interface MetadataFormSummary {
|
|
2357
|
-
formName?: string | undefined;
|
|
2358
|
-
typeName: string | undefined;
|
|
2359
|
-
typeRevision: string | undefined;
|
|
2360
|
-
}
|
|
2361
|
-
export interface SubscriptionRequestSummary {
|
|
2362
|
-
id: string | undefined;
|
|
2363
|
-
createdBy: string | undefined;
|
|
2364
|
-
updatedBy?: string | undefined;
|
|
2365
|
-
domainId: string | undefined;
|
|
2366
|
-
status: SubscriptionRequestStatus | undefined;
|
|
2367
|
-
createdAt: Date | undefined;
|
|
2368
|
-
updatedAt: Date | undefined;
|
|
2369
|
-
requestReason: string | undefined;
|
|
2370
|
-
subscribedPrincipals: SubscribedPrincipal[] | undefined;
|
|
2371
|
-
subscribedListings: SubscribedListing[] | undefined;
|
|
2372
|
-
reviewerId?: string | undefined;
|
|
2373
|
-
decisionComment?: string | undefined;
|
|
2374
|
-
existingSubscriptionId?: string | undefined;
|
|
2375
|
-
metadataFormsSummary?: MetadataFormSummary[] | undefined;
|
|
2376
|
-
}
|
|
2377
|
-
export interface ListSubscriptionRequestsOutput {
|
|
2378
|
-
items: SubscriptionRequestSummary[] | undefined;
|
|
2379
|
-
nextToken?: string | undefined;
|
|
2380
|
-
}
|
|
2381
|
-
export interface ListSubscriptionsInput {
|
|
2382
|
-
domainIdentifier: string | undefined;
|
|
2383
|
-
subscriptionRequestIdentifier?: string | undefined;
|
|
2384
|
-
status?: SubscriptionStatus | undefined;
|
|
2385
|
-
subscribedListingId?: string | undefined;
|
|
2386
|
-
owningProjectId?: string | undefined;
|
|
2387
|
-
approverProjectId?: string | undefined;
|
|
2388
|
-
sortBy?: SortKey | undefined;
|
|
2389
|
-
sortOrder?: SortOrder | undefined;
|
|
2390
|
-
maxResults?: number | undefined;
|
|
2391
|
-
nextToken?: string | undefined;
|
|
2392
|
-
}
|
|
2393
|
-
export interface SubscriptionSummary {
|
|
2394
|
-
id: string | undefined;
|
|
2395
|
-
createdBy: string | undefined;
|
|
2396
|
-
updatedBy?: string | undefined;
|
|
2397
|
-
domainId: string | undefined;
|
|
2398
|
-
status: SubscriptionStatus | undefined;
|
|
2399
|
-
createdAt: Date | undefined;
|
|
2400
|
-
updatedAt: Date | undefined;
|
|
2401
|
-
subscribedPrincipal: SubscribedPrincipal | undefined;
|
|
2402
|
-
subscribedListing: SubscribedListing | undefined;
|
|
2403
|
-
subscriptionRequestId?: string | undefined;
|
|
2404
|
-
retainPermissions?: boolean | undefined;
|
|
2405
|
-
}
|