@aws-sdk/client-datazone 3.592.0 → 3.598.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.
Files changed (67) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +451 -66
  3. package/dist-es/DataZone.js +14 -0
  4. package/dist-es/commands/AssociateEnvironmentRoleCommand.js +24 -0
  5. package/dist-es/commands/CreateEnvironmentActionCommand.js +24 -0
  6. package/dist-es/commands/DeleteEnvironmentActionCommand.js +24 -0
  7. package/dist-es/commands/DisassociateEnvironmentRoleCommand.js +24 -0
  8. package/dist-es/commands/GetEnvironmentActionCommand.js +24 -0
  9. package/dist-es/commands/ListEnvironmentActionsCommand.js +24 -0
  10. package/dist-es/commands/ListProjectsCommand.js +1 -1
  11. package/dist-es/commands/ListSubscriptionRequestsCommand.js +1 -1
  12. package/dist-es/commands/ListSubscriptionsCommand.js +1 -1
  13. package/dist-es/commands/UpdateEnvironmentActionCommand.js +24 -0
  14. package/dist-es/commands/index.js +7 -0
  15. package/dist-es/models/models_0.js +30 -53
  16. package/dist-es/models/models_1.js +53 -0
  17. package/dist-es/pagination/ListEnvironmentActionsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +1 -0
  19. package/dist-es/protocols/Aws_restJson1.js +206 -0
  20. package/dist-types/DataZone.d.ts +49 -0
  21. package/dist-types/DataZoneClient.d.ts +9 -2
  22. package/dist-types/commands/AssociateEnvironmentRoleCommand.d.ts +81 -0
  23. package/dist-types/commands/CreateEnvironmentActionCommand.d.ts +99 -0
  24. package/dist-types/commands/CreateEnvironmentCommand.d.ts +4 -1
  25. package/dist-types/commands/DeleteDataSourceCommand.d.ts +24 -0
  26. package/dist-types/commands/DeleteEnvironmentActionCommand.d.ts +82 -0
  27. package/dist-types/commands/DisassociateEnvironmentRoleCommand.d.ts +81 -0
  28. package/dist-types/commands/GetDataSourceCommand.d.ts +22 -0
  29. package/dist-types/commands/GetEnvironmentActionCommand.d.ts +89 -0
  30. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  31. package/dist-types/commands/ListEnvironmentActionsCommand.d.ts +92 -0
  32. package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListProjectMembershipsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListSubscriptionGrantsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListSubscriptionRequestsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListSubscriptionsCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateDataSourceCommand.d.ts +24 -0
  39. package/dist-types/commands/UpdateEnvironmentActionCommand.d.ts +99 -0
  40. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +1 -1
  41. package/dist-types/commands/index.d.ts +7 -0
  42. package/dist-types/models/models_0.d.ts +516 -766
  43. package/dist-types/models/models_1.d.ts +808 -2
  44. package/dist-types/pagination/ListEnvironmentActionsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  47. package/dist-types/ts3.4/DataZone.d.ts +119 -0
  48. package/dist-types/ts3.4/DataZoneClient.d.ts +42 -0
  49. package/dist-types/ts3.4/commands/AssociateEnvironmentRoleCommand.d.ts +40 -0
  50. package/dist-types/ts3.4/commands/CreateEnvironmentActionCommand.d.ts +40 -0
  51. package/dist-types/ts3.4/commands/DeleteEnvironmentActionCommand.d.ts +36 -0
  52. package/dist-types/ts3.4/commands/DisassociateEnvironmentRoleCommand.d.ts +40 -0
  53. package/dist-types/ts3.4/commands/GetEnvironmentActionCommand.d.ts +40 -0
  54. package/dist-types/ts3.4/commands/ListEnvironmentActionsCommand.d.ts +40 -0
  55. package/dist-types/ts3.4/commands/ListProjectMembershipsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ListSubscriptionGrantsCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ListSubscriptionRequestsCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/UpdateEnvironmentActionCommand.d.ts +40 -0
  61. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +147 -187
  63. package/dist-types/ts3.4/models/models_1.d.ts +204 -2
  64. package/dist-types/ts3.4/pagination/ListEnvironmentActionsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  66. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  67. package/package.json +37 -37
@@ -163,6 +163,27 @@ export interface AcceptSubscriptionRequestOutput {
163
163
  reviewerId?: string;
164
164
  decisionComment?: string;
165
165
  }
166
+ export interface AwsConsoleLinkParameters {
167
+ uri?: string;
168
+ }
169
+ export type ActionParameters =
170
+ | ActionParameters.AwsConsoleLinkMember
171
+ | ActionParameters.$UnknownMember;
172
+ export declare namespace ActionParameters {
173
+ interface AwsConsoleLinkMember {
174
+ awsConsoleLink: AwsConsoleLinkParameters;
175
+ $unknown?: never;
176
+ }
177
+ interface $UnknownMember {
178
+ awsConsoleLink?: never;
179
+ $unknown: [string, any];
180
+ }
181
+ interface Visitor<T> {
182
+ awsConsoleLink: (value: AwsConsoleLinkParameters) => T;
183
+ _: (name: string, value: any) => T;
184
+ }
185
+ const visit: <T>(value: ActionParameters, visitor: Visitor<T>) => T;
186
+ }
166
187
  export declare const ListingStatus: {
167
188
  readonly ACTIVE: "ACTIVE";
168
189
  readonly CREATING: "CREATING";
@@ -432,6 +453,12 @@ export interface AssetTypeItem {
432
453
  updatedAt?: Date;
433
454
  updatedBy?: string;
434
455
  }
456
+ export interface AssociateEnvironmentRoleInput {
457
+ domainIdentifier: string | undefined;
458
+ environmentIdentifier: string | undefined;
459
+ environmentRoleArn: string | undefined;
460
+ }
461
+ export interface AssociateEnvironmentRoleOutput {}
435
462
  export declare const AuthType: {
436
463
  readonly DISABLED: "DISABLED";
437
464
  readonly IAM_IDC: "IAM_IDC";
@@ -830,6 +857,9 @@ export interface CreateEnvironmentInput {
830
857
  environmentProfileIdentifier: string | undefined;
831
858
  userParameters?: EnvironmentParameter[];
832
859
  glossaryTerms?: string[];
860
+ environmentAccountIdentifier?: string;
861
+ environmentAccountRegion?: string;
862
+ environmentBlueprintIdentifier?: string;
833
863
  }
834
864
  export interface DeploymentProperties {
835
865
  startTimeoutMinutes?: number;
@@ -920,7 +950,7 @@ export interface CreateEnvironmentOutput {
920
950
  updatedAt?: Date;
921
951
  name: string | undefined;
922
952
  description?: string;
923
- environmentProfileId: string | undefined;
953
+ environmentProfileId?: string;
924
954
  awsAccountId?: string;
925
955
  awsAccountRegion?: string;
926
956
  provider: string | undefined;
@@ -934,6 +964,21 @@ export interface CreateEnvironmentOutput {
934
964
  deploymentProperties?: DeploymentProperties;
935
965
  environmentBlueprintId?: string;
936
966
  }
967
+ export interface CreateEnvironmentActionInput {
968
+ domainIdentifier: string | undefined;
969
+ environmentIdentifier: string | undefined;
970
+ name: string | undefined;
971
+ parameters: ActionParameters | undefined;
972
+ description?: string;
973
+ }
974
+ export interface CreateEnvironmentActionOutput {
975
+ domainId: string | undefined;
976
+ environmentId: string | undefined;
977
+ id: string | undefined;
978
+ name: string | undefined;
979
+ parameters: ActionParameters | undefined;
980
+ description?: string;
981
+ }
937
982
  export interface CreateEnvironmentProfileInput {
938
983
  domainIdentifier: string | undefined;
939
984
  name: string | undefined;
@@ -1430,6 +1475,57 @@ export interface DeleteDataSourceInput {
1430
1475
  domainIdentifier: string | undefined;
1431
1476
  identifier: string | undefined;
1432
1477
  clientToken?: string;
1478
+ retainPermissionsOnRevokeFailure?: boolean;
1479
+ }
1480
+ export declare const SelfGrantStatus: {
1481
+ readonly GRANTED: "GRANTED";
1482
+ readonly GRANT_FAILED: "GRANT_FAILED";
1483
+ readonly GRANT_IN_PROGRESS: "GRANT_IN_PROGRESS";
1484
+ readonly GRANT_PENDING: "GRANT_PENDING";
1485
+ readonly REVOKE_FAILED: "REVOKE_FAILED";
1486
+ readonly REVOKE_IN_PROGRESS: "REVOKE_IN_PROGRESS";
1487
+ readonly REVOKE_PENDING: "REVOKE_PENDING";
1488
+ };
1489
+ export type SelfGrantStatus =
1490
+ (typeof SelfGrantStatus)[keyof typeof SelfGrantStatus];
1491
+ export interface SelfGrantStatusDetail {
1492
+ databaseName: string | undefined;
1493
+ schemaName?: string;
1494
+ status: SelfGrantStatus | undefined;
1495
+ failureCause?: string;
1496
+ }
1497
+ export interface GlueSelfGrantStatusOutput {
1498
+ selfGrantStatusDetails: SelfGrantStatusDetail[] | undefined;
1499
+ }
1500
+ export interface RedshiftSelfGrantStatusOutput {
1501
+ selfGrantStatusDetails: SelfGrantStatusDetail[] | undefined;
1502
+ }
1503
+ export type SelfGrantStatusOutput =
1504
+ | SelfGrantStatusOutput.GlueSelfGrantStatusMember
1505
+ | SelfGrantStatusOutput.RedshiftSelfGrantStatusMember
1506
+ | SelfGrantStatusOutput.$UnknownMember;
1507
+ export declare namespace SelfGrantStatusOutput {
1508
+ interface GlueSelfGrantStatusMember {
1509
+ glueSelfGrantStatus: GlueSelfGrantStatusOutput;
1510
+ redshiftSelfGrantStatus?: never;
1511
+ $unknown?: never;
1512
+ }
1513
+ interface RedshiftSelfGrantStatusMember {
1514
+ glueSelfGrantStatus?: never;
1515
+ redshiftSelfGrantStatus: RedshiftSelfGrantStatusOutput;
1516
+ $unknown?: never;
1517
+ }
1518
+ interface $UnknownMember {
1519
+ glueSelfGrantStatus?: never;
1520
+ redshiftSelfGrantStatus?: never;
1521
+ $unknown: [string, any];
1522
+ }
1523
+ interface Visitor<T> {
1524
+ glueSelfGrantStatus: (value: GlueSelfGrantStatusOutput) => T;
1525
+ redshiftSelfGrantStatus: (value: RedshiftSelfGrantStatusOutput) => T;
1526
+ _: (name: string, value: any) => T;
1527
+ }
1528
+ const visit: <T>(value: SelfGrantStatusOutput, visitor: Visitor<T>) => T;
1433
1529
  }
1434
1530
  export interface DeleteDataSourceOutput {
1435
1531
  id: string | undefined;
@@ -1451,6 +1547,8 @@ export interface DeleteDataSourceOutput {
1451
1547
  errorMessage?: DataSourceErrorMessage;
1452
1548
  createdAt?: Date;
1453
1549
  updatedAt?: Date;
1550
+ selfGrantStatus?: SelfGrantStatusOutput;
1551
+ retainPermissionsOnRevokeFailure?: boolean;
1454
1552
  }
1455
1553
  export interface GetDataSourceInput {
1456
1554
  domainIdentifier: string | undefined;
@@ -1478,6 +1576,7 @@ export interface GetDataSourceOutput {
1478
1576
  errorMessage?: DataSourceErrorMessage;
1479
1577
  createdAt?: Date;
1480
1578
  updatedAt?: Date;
1579
+ selfGrantStatus?: SelfGrantStatusOutput;
1481
1580
  }
1482
1581
  export interface ListDataSourcesInput {
1483
1582
  domainIdentifier: string | undefined;
@@ -1520,6 +1619,7 @@ export interface UpdateDataSourceInput {
1520
1619
  schedule?: ScheduleConfiguration;
1521
1620
  configuration?: DataSourceConfigurationInput;
1522
1621
  recommendation?: RecommendationConfiguration;
1622
+ retainPermissionsOnRevokeFailure?: boolean;
1523
1623
  }
1524
1624
  export interface UpdateDataSourceOutput {
1525
1625
  id: string | undefined;
@@ -1542,6 +1642,8 @@ export interface UpdateDataSourceOutput {
1542
1642
  errorMessage?: DataSourceErrorMessage;
1543
1643
  createdAt?: Date;
1544
1644
  updatedAt?: Date;
1645
+ selfGrantStatus?: SelfGrantStatusOutput;
1646
+ retainPermissionsOnRevokeFailure?: boolean;
1545
1647
  }
1546
1648
  export declare const DataSourceRunType: {
1547
1649
  readonly PRIORITIZED: "PRIORITIZED";
@@ -1635,6 +1737,11 @@ export interface DeleteEnvironmentInput {
1635
1737
  domainIdentifier: string | undefined;
1636
1738
  identifier: string | undefined;
1637
1739
  }
1740
+ export interface DeleteEnvironmentActionInput {
1741
+ domainIdentifier: string | undefined;
1742
+ environmentIdentifier: string | undefined;
1743
+ identifier: string | undefined;
1744
+ }
1638
1745
  export interface DeleteEnvironmentProfileInput {
1639
1746
  domainIdentifier: string | undefined;
1640
1747
  identifier: string | undefined;
@@ -1691,6 +1798,12 @@ export interface DeleteTimeSeriesDataPointsInput {
1691
1798
  clientToken?: string;
1692
1799
  }
1693
1800
  export interface DeleteTimeSeriesDataPointsOutput {}
1801
+ export interface DisassociateEnvironmentRoleInput {
1802
+ domainIdentifier: string | undefined;
1803
+ environmentIdentifier: string | undefined;
1804
+ environmentRoleArn: string | undefined;
1805
+ }
1806
+ export interface DisassociateEnvironmentRoleOutput {}
1694
1807
  export interface DeleteDomainInput {
1695
1808
  identifier: string | undefined;
1696
1809
  clientToken?: string;
@@ -1849,7 +1962,7 @@ export interface GetEnvironmentOutput {
1849
1962
  updatedAt?: Date;
1850
1963
  name: string | undefined;
1851
1964
  description?: string;
1852
- environmentProfileId: string | undefined;
1965
+ environmentProfileId?: string;
1853
1966
  awsAccountId?: string;
1854
1967
  awsAccountRegion?: string;
1855
1968
  provider: string | undefined;
@@ -1863,6 +1976,19 @@ export interface GetEnvironmentOutput {
1863
1976
  deploymentProperties?: DeploymentProperties;
1864
1977
  environmentBlueprintId?: string;
1865
1978
  }
1979
+ export interface GetEnvironmentActionInput {
1980
+ domainIdentifier: string | undefined;
1981
+ environmentIdentifier: string | undefined;
1982
+ identifier: string | undefined;
1983
+ }
1984
+ export interface GetEnvironmentActionOutput {
1985
+ domainId: string | undefined;
1986
+ environmentId: string | undefined;
1987
+ id: string | undefined;
1988
+ name: string | undefined;
1989
+ parameters: ActionParameters | undefined;
1990
+ description?: string;
1991
+ }
1866
1992
  export interface GetEnvironmentBlueprintInput {
1867
1993
  domainIdentifier: string | undefined;
1868
1994
  identifier: string | undefined;
@@ -2139,6 +2265,24 @@ export interface ListDataSourceRunActivitiesOutput {
2139
2265
  items: DataSourceRunActivity[] | undefined;
2140
2266
  nextToken?: string;
2141
2267
  }
2268
+ export interface ListEnvironmentActionsInput {
2269
+ domainIdentifier: string | undefined;
2270
+ environmentIdentifier: string | undefined;
2271
+ nextToken?: string;
2272
+ maxResults?: number;
2273
+ }
2274
+ export interface EnvironmentActionSummary {
2275
+ domainId: string | undefined;
2276
+ environmentId: string | undefined;
2277
+ id: string | undefined;
2278
+ name: string | undefined;
2279
+ parameters: ActionParameters | undefined;
2280
+ description?: string;
2281
+ }
2282
+ export interface ListEnvironmentActionsOutput {
2283
+ items?: EnvironmentActionSummary[];
2284
+ nextToken?: string;
2285
+ }
2142
2286
  export interface ListEnvironmentBlueprintsInput {
2143
2287
  domainIdentifier: string | undefined;
2144
2288
  maxResults?: number;
@@ -2208,7 +2352,7 @@ export interface EnvironmentSummary {
2208
2352
  updatedAt?: Date;
2209
2353
  name: string | undefined;
2210
2354
  description?: string;
2211
- environmentProfileId: string | undefined;
2355
+ environmentProfileId?: string;
2212
2356
  awsAccountId?: string;
2213
2357
  awsAccountRegion?: string;
2214
2358
  provider: string | undefined;
@@ -2331,169 +2475,6 @@ export declare const SortOrder: {
2331
2475
  readonly DESCENDING: "DESCENDING";
2332
2476
  };
2333
2477
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
2334
- export interface ListProjectMembershipsInput {
2335
- domainIdentifier: string | undefined;
2336
- projectIdentifier: string | undefined;
2337
- sortBy?: SortFieldProject;
2338
- sortOrder?: SortOrder;
2339
- nextToken?: string;
2340
- maxResults?: number;
2341
- }
2342
- export interface GroupDetails {
2343
- groupId: string | undefined;
2344
- }
2345
- export interface UserDetails {
2346
- userId: string | undefined;
2347
- }
2348
- export type MemberDetails =
2349
- | MemberDetails.GroupMember
2350
- | MemberDetails.UserMember
2351
- | MemberDetails.$UnknownMember;
2352
- export declare namespace MemberDetails {
2353
- interface UserMember {
2354
- user: UserDetails;
2355
- group?: never;
2356
- $unknown?: never;
2357
- }
2358
- interface GroupMember {
2359
- user?: never;
2360
- group: GroupDetails;
2361
- $unknown?: never;
2362
- }
2363
- interface $UnknownMember {
2364
- user?: never;
2365
- group?: never;
2366
- $unknown: [string, any];
2367
- }
2368
- interface Visitor<T> {
2369
- user: (value: UserDetails) => T;
2370
- group: (value: GroupDetails) => T;
2371
- _: (name: string, value: any) => T;
2372
- }
2373
- const visit: <T>(value: MemberDetails, visitor: Visitor<T>) => T;
2374
- }
2375
- export interface ProjectMember {
2376
- memberDetails: MemberDetails | undefined;
2377
- designation: UserDesignation | undefined;
2378
- }
2379
- export interface ListProjectMembershipsOutput {
2380
- members: ProjectMember[] | undefined;
2381
- nextToken?: string;
2382
- }
2383
- export interface ListProjectsInput {
2384
- domainIdentifier: string | undefined;
2385
- userIdentifier?: string;
2386
- groupIdentifier?: string;
2387
- name?: string;
2388
- nextToken?: string;
2389
- maxResults?: number;
2390
- }
2391
- export interface ProjectSummary {
2392
- domainId: string | undefined;
2393
- id: string | undefined;
2394
- name: string | undefined;
2395
- description?: string;
2396
- projectStatus?: ProjectStatus;
2397
- failureReasons?: ProjectDeletionError[];
2398
- createdBy: string | undefined;
2399
- createdAt?: Date;
2400
- updatedAt?: Date;
2401
- }
2402
- export interface ListProjectsOutput {
2403
- items?: ProjectSummary[];
2404
- nextToken?: string;
2405
- }
2406
- export declare const SortKey: {
2407
- readonly CREATED_AT: "CREATED_AT";
2408
- readonly UPDATED_AT: "UPDATED_AT";
2409
- };
2410
- export type SortKey = (typeof SortKey)[keyof typeof SortKey];
2411
- export interface ListSubscriptionGrantsInput {
2412
- domainIdentifier: string | undefined;
2413
- environmentId?: string;
2414
- subscriptionTargetId?: string;
2415
- subscribedListingId?: string;
2416
- subscriptionId?: string;
2417
- sortBy?: SortKey;
2418
- sortOrder?: SortOrder;
2419
- maxResults?: number;
2420
- nextToken?: string;
2421
- }
2422
- export interface SubscriptionGrantSummary {
2423
- id: string | undefined;
2424
- createdBy: string | undefined;
2425
- updatedBy?: string;
2426
- domainId: string | undefined;
2427
- createdAt: Date | undefined;
2428
- updatedAt: Date | undefined;
2429
- subscriptionTargetId: string | undefined;
2430
- grantedEntity: GrantedEntity | undefined;
2431
- status: SubscriptionGrantOverallStatus | undefined;
2432
- assets?: SubscribedAsset[];
2433
- subscriptionId?: string;
2434
- }
2435
- export interface ListSubscriptionGrantsOutput {
2436
- items: SubscriptionGrantSummary[] | undefined;
2437
- nextToken?: string;
2438
- }
2439
- export interface ListSubscriptionRequestsInput {
2440
- domainIdentifier: string | undefined;
2441
- status?: SubscriptionRequestStatus;
2442
- subscribedListingId?: string;
2443
- owningProjectId?: string;
2444
- approverProjectId?: string;
2445
- sortBy?: SortKey;
2446
- sortOrder?: SortOrder;
2447
- maxResults?: number;
2448
- nextToken?: string;
2449
- }
2450
- export interface SubscriptionRequestSummary {
2451
- id: string | undefined;
2452
- createdBy: string | undefined;
2453
- updatedBy?: string;
2454
- domainId: string | undefined;
2455
- status: SubscriptionRequestStatus | undefined;
2456
- createdAt: Date | undefined;
2457
- updatedAt: Date | undefined;
2458
- requestReason: string | undefined;
2459
- subscribedPrincipals: SubscribedPrincipal[] | undefined;
2460
- subscribedListings: SubscribedListing[] | undefined;
2461
- reviewerId?: string;
2462
- decisionComment?: string;
2463
- }
2464
- export interface ListSubscriptionRequestsOutput {
2465
- items: SubscriptionRequestSummary[] | undefined;
2466
- nextToken?: string;
2467
- }
2468
- export interface ListSubscriptionsInput {
2469
- domainIdentifier: string | undefined;
2470
- subscriptionRequestIdentifier?: string;
2471
- status?: SubscriptionStatus;
2472
- subscribedListingId?: string;
2473
- owningProjectId?: string;
2474
- approverProjectId?: string;
2475
- sortBy?: SortKey;
2476
- sortOrder?: SortOrder;
2477
- maxResults?: number;
2478
- nextToken?: string;
2479
- }
2480
- export interface SubscriptionSummary {
2481
- id: string | undefined;
2482
- createdBy: string | undefined;
2483
- updatedBy?: string;
2484
- domainId: string | undefined;
2485
- status: SubscriptionStatus | undefined;
2486
- createdAt: Date | undefined;
2487
- updatedAt: Date | undefined;
2488
- subscribedPrincipal: SubscribedPrincipal | undefined;
2489
- subscribedListing: SubscribedListing | undefined;
2490
- subscriptionRequestId?: string;
2491
- retainPermissions?: boolean;
2492
- }
2493
- export interface ListSubscriptionsOutput {
2494
- items: SubscriptionSummary[] | undefined;
2495
- nextToken?: string;
2496
- }
2497
2478
  export declare const AcceptChoiceFilterSensitiveLog: (obj: AcceptChoice) => any;
2498
2479
  export declare const AcceptPredictionsInputFilterSensitiveLog: (
2499
2480
  obj: AcceptPredictionsInput
@@ -2751,24 +2732,3 @@ export declare const NotificationOutputFilterSensitiveLog: (
2751
2732
  export declare const ListNotificationsOutputFilterSensitiveLog: (
2752
2733
  obj: ListNotificationsOutput
2753
2734
  ) => any;
2754
- export declare const ListProjectsInputFilterSensitiveLog: (
2755
- obj: ListProjectsInput
2756
- ) => any;
2757
- export declare const ProjectSummaryFilterSensitiveLog: (
2758
- obj: ProjectSummary
2759
- ) => any;
2760
- export declare const ListProjectsOutputFilterSensitiveLog: (
2761
- obj: ListProjectsOutput
2762
- ) => any;
2763
- export declare const SubscriptionRequestSummaryFilterSensitiveLog: (
2764
- obj: SubscriptionRequestSummary
2765
- ) => any;
2766
- export declare const ListSubscriptionRequestsOutputFilterSensitiveLog: (
2767
- obj: ListSubscriptionRequestsOutput
2768
- ) => any;
2769
- export declare const SubscriptionSummaryFilterSensitiveLog: (
2770
- obj: SubscriptionSummary
2771
- ) => any;
2772
- export declare const ListSubscriptionsOutputFilterSensitiveLog: (
2773
- obj: ListSubscriptionsOutput
2774
- ) => any;
@@ -1,4 +1,5 @@
1
1
  import {
2
+ ActionParameters,
2
3
  AssetItem,
3
4
  AssetListingItem,
4
5
  AssetTypeItem,
@@ -21,7 +22,7 @@ import {
21
22
  ProjectStatus,
22
23
  ProvisioningProperties,
23
24
  Resource,
24
- SortKey,
25
+ SortFieldProject,
25
26
  SortOrder,
26
27
  SubscribedAsset,
27
28
  SubscribedListing,
@@ -35,10 +36,174 @@ import {
35
36
  TimeSeriesDataPointFormOutput,
36
37
  TimeSeriesDataPointSummaryFormOutput,
37
38
  TimeSeriesEntityType,
39
+ UserDesignation,
38
40
  UserProfileDetails,
39
41
  UserProfileStatus,
40
42
  UserProfileType,
41
43
  } from "./models_0";
44
+ export interface ListProjectMembershipsInput {
45
+ domainIdentifier: string | undefined;
46
+ projectIdentifier: string | undefined;
47
+ sortBy?: SortFieldProject;
48
+ sortOrder?: SortOrder;
49
+ nextToken?: string;
50
+ maxResults?: number;
51
+ }
52
+ export interface GroupDetails {
53
+ groupId: string | undefined;
54
+ }
55
+ export interface UserDetails {
56
+ userId: string | undefined;
57
+ }
58
+ export type MemberDetails =
59
+ | MemberDetails.GroupMember
60
+ | MemberDetails.UserMember
61
+ | MemberDetails.$UnknownMember;
62
+ export declare namespace MemberDetails {
63
+ interface UserMember {
64
+ user: UserDetails;
65
+ group?: never;
66
+ $unknown?: never;
67
+ }
68
+ interface GroupMember {
69
+ user?: never;
70
+ group: GroupDetails;
71
+ $unknown?: never;
72
+ }
73
+ interface $UnknownMember {
74
+ user?: never;
75
+ group?: never;
76
+ $unknown: [string, any];
77
+ }
78
+ interface Visitor<T> {
79
+ user: (value: UserDetails) => T;
80
+ group: (value: GroupDetails) => T;
81
+ _: (name: string, value: any) => T;
82
+ }
83
+ const visit: <T>(value: MemberDetails, visitor: Visitor<T>) => T;
84
+ }
85
+ export interface ProjectMember {
86
+ memberDetails: MemberDetails | undefined;
87
+ designation: UserDesignation | undefined;
88
+ }
89
+ export interface ListProjectMembershipsOutput {
90
+ members: ProjectMember[] | undefined;
91
+ nextToken?: string;
92
+ }
93
+ export interface ListProjectsInput {
94
+ domainIdentifier: string | undefined;
95
+ userIdentifier?: string;
96
+ groupIdentifier?: string;
97
+ name?: string;
98
+ nextToken?: string;
99
+ maxResults?: number;
100
+ }
101
+ export interface ProjectSummary {
102
+ domainId: string | undefined;
103
+ id: string | undefined;
104
+ name: string | undefined;
105
+ description?: string;
106
+ projectStatus?: ProjectStatus;
107
+ failureReasons?: ProjectDeletionError[];
108
+ createdBy: string | undefined;
109
+ createdAt?: Date;
110
+ updatedAt?: Date;
111
+ }
112
+ export interface ListProjectsOutput {
113
+ items?: ProjectSummary[];
114
+ nextToken?: string;
115
+ }
116
+ export declare const SortKey: {
117
+ readonly CREATED_AT: "CREATED_AT";
118
+ readonly UPDATED_AT: "UPDATED_AT";
119
+ };
120
+ export type SortKey = (typeof SortKey)[keyof typeof SortKey];
121
+ export interface ListSubscriptionGrantsInput {
122
+ domainIdentifier: string | undefined;
123
+ environmentId?: string;
124
+ subscriptionTargetId?: string;
125
+ subscribedListingId?: string;
126
+ subscriptionId?: string;
127
+ sortBy?: SortKey;
128
+ sortOrder?: SortOrder;
129
+ maxResults?: number;
130
+ nextToken?: string;
131
+ }
132
+ export interface SubscriptionGrantSummary {
133
+ id: string | undefined;
134
+ createdBy: string | undefined;
135
+ updatedBy?: string;
136
+ domainId: string | undefined;
137
+ createdAt: Date | undefined;
138
+ updatedAt: Date | undefined;
139
+ subscriptionTargetId: string | undefined;
140
+ grantedEntity: GrantedEntity | undefined;
141
+ status: SubscriptionGrantOverallStatus | undefined;
142
+ assets?: SubscribedAsset[];
143
+ subscriptionId?: string;
144
+ }
145
+ export interface ListSubscriptionGrantsOutput {
146
+ items: SubscriptionGrantSummary[] | undefined;
147
+ nextToken?: string;
148
+ }
149
+ export interface ListSubscriptionRequestsInput {
150
+ domainIdentifier: string | undefined;
151
+ status?: SubscriptionRequestStatus;
152
+ subscribedListingId?: string;
153
+ owningProjectId?: string;
154
+ approverProjectId?: string;
155
+ sortBy?: SortKey;
156
+ sortOrder?: SortOrder;
157
+ maxResults?: number;
158
+ nextToken?: string;
159
+ }
160
+ export interface SubscriptionRequestSummary {
161
+ id: string | undefined;
162
+ createdBy: string | undefined;
163
+ updatedBy?: string;
164
+ domainId: string | undefined;
165
+ status: SubscriptionRequestStatus | undefined;
166
+ createdAt: Date | undefined;
167
+ updatedAt: Date | undefined;
168
+ requestReason: string | undefined;
169
+ subscribedPrincipals: SubscribedPrincipal[] | undefined;
170
+ subscribedListings: SubscribedListing[] | undefined;
171
+ reviewerId?: string;
172
+ decisionComment?: string;
173
+ }
174
+ export interface ListSubscriptionRequestsOutput {
175
+ items: SubscriptionRequestSummary[] | undefined;
176
+ nextToken?: string;
177
+ }
178
+ export interface ListSubscriptionsInput {
179
+ domainIdentifier: string | undefined;
180
+ subscriptionRequestIdentifier?: string;
181
+ status?: SubscriptionStatus;
182
+ subscribedListingId?: string;
183
+ owningProjectId?: string;
184
+ approverProjectId?: string;
185
+ sortBy?: SortKey;
186
+ sortOrder?: SortOrder;
187
+ maxResults?: number;
188
+ nextToken?: string;
189
+ }
190
+ export interface SubscriptionSummary {
191
+ id: string | undefined;
192
+ createdBy: string | undefined;
193
+ updatedBy?: string;
194
+ domainId: string | undefined;
195
+ status: SubscriptionStatus | undefined;
196
+ createdAt: Date | undefined;
197
+ updatedAt: Date | undefined;
198
+ subscribedPrincipal: SubscribedPrincipal | undefined;
199
+ subscribedListing: SubscribedListing | undefined;
200
+ subscriptionRequestId?: string;
201
+ retainPermissions?: boolean;
202
+ }
203
+ export interface ListSubscriptionsOutput {
204
+ items: SubscriptionSummary[] | undefined;
205
+ nextToken?: string;
206
+ }
42
207
  export interface ListSubscriptionTargetsInput {
43
208
  domainIdentifier: string | undefined;
44
209
  environmentIdentifier: string | undefined;
@@ -503,7 +668,7 @@ export interface UpdateEnvironmentOutput {
503
668
  updatedAt?: Date;
504
669
  name: string | undefined;
505
670
  description?: string;
506
- environmentProfileId: string | undefined;
671
+ environmentProfileId?: string;
507
672
  awsAccountId?: string;
508
673
  awsAccountRegion?: string;
509
674
  provider: string | undefined;
@@ -517,6 +682,22 @@ export interface UpdateEnvironmentOutput {
517
682
  deploymentProperties?: DeploymentProperties;
518
683
  environmentBlueprintId?: string;
519
684
  }
685
+ export interface UpdateEnvironmentActionInput {
686
+ domainIdentifier: string | undefined;
687
+ environmentIdentifier: string | undefined;
688
+ identifier: string | undefined;
689
+ parameters?: ActionParameters;
690
+ name?: string;
691
+ description?: string;
692
+ }
693
+ export interface UpdateEnvironmentActionOutput {
694
+ domainId: string | undefined;
695
+ environmentId: string | undefined;
696
+ id: string | undefined;
697
+ name: string | undefined;
698
+ parameters: ActionParameters | undefined;
699
+ description?: string;
700
+ }
520
701
  export interface UpdateEnvironmentProfileInput {
521
702
  domainIdentifier: string | undefined;
522
703
  identifier: string | undefined;
@@ -722,6 +903,27 @@ export interface SearchTypesInput {
722
903
  sort?: SearchSort;
723
904
  managed: boolean | undefined;
724
905
  }
906
+ export declare const ListProjectsInputFilterSensitiveLog: (
907
+ obj: ListProjectsInput
908
+ ) => any;
909
+ export declare const ProjectSummaryFilterSensitiveLog: (
910
+ obj: ProjectSummary
911
+ ) => any;
912
+ export declare const ListProjectsOutputFilterSensitiveLog: (
913
+ obj: ListProjectsOutput
914
+ ) => any;
915
+ export declare const SubscriptionRequestSummaryFilterSensitiveLog: (
916
+ obj: SubscriptionRequestSummary
917
+ ) => any;
918
+ export declare const ListSubscriptionRequestsOutputFilterSensitiveLog: (
919
+ obj: ListSubscriptionRequestsOutput
920
+ ) => any;
921
+ export declare const SubscriptionSummaryFilterSensitiveLog: (
922
+ obj: SubscriptionSummary
923
+ ) => any;
924
+ export declare const ListSubscriptionsOutputFilterSensitiveLog: (
925
+ obj: ListSubscriptionsOutput
926
+ ) => any;
725
927
  export declare const SubscriptionTargetSummaryFilterSensitiveLog: (
726
928
  obj: SubscriptionTargetSummary
727
929
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListEnvironmentActionsCommandInput,
4
+ ListEnvironmentActionsCommandOutput,
5
+ } from "../commands/ListEnvironmentActionsCommand";
6
+ import { DataZonePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListEnvironmentActions: (
8
+ config: DataZonePaginationConfiguration,
9
+ input: ListEnvironmentActionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListEnvironmentActionsCommandOutput>;