@aws-sdk/client-deadline 3.1148.0 → 3.1150.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 (34) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +67 -7
  3. package/dist-es/Deadline.js +4 -0
  4. package/dist-es/commands/ListMembershipsCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/DeadlineServiceException.js +1 -0
  7. package/dist-es/models/enums.js +6 -0
  8. package/dist-es/models/errors.js +7 -0
  9. package/dist-es/pagination/ListMembershipsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/schemas/schemas_0.js +39 -6
  12. package/dist-types/Deadline.d.ts +14 -0
  13. package/dist-types/DeadlineClient.d.ts +3 -2
  14. package/dist-types/commands/ListMembershipsCommand.d.ts +161 -0
  15. package/dist-types/commands/index.d.ts +1 -0
  16. package/dist-types/models/DeadlineServiceException.d.ts +1 -0
  17. package/dist-types/models/enums.d.ts +14 -0
  18. package/dist-types/models/errors.d.ts +7 -0
  19. package/dist-types/models/models_1.d.ts +129 -2
  20. package/dist-types/pagination/ListMembershipsPaginator.d.ts +7 -0
  21. package/dist-types/pagination/index.d.ts +1 -0
  22. package/dist-types/schemas/schemas_0.d.ts +4 -0
  23. package/dist-types/ts3.4/Deadline.d.ts +24 -0
  24. package/dist-types/ts3.4/DeadlineClient.d.ts +6 -0
  25. package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +38 -0
  26. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  27. package/dist-types/ts3.4/models/DeadlineServiceException.d.ts +1 -0
  28. package/dist-types/ts3.4/models/enums.d.ts +8 -0
  29. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  30. package/dist-types/ts3.4/models/models_1.d.ts +66 -0
  31. package/dist-types/ts3.4/pagination/ListMembershipsPaginator.d.ts +11 -0
  32. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  34. package/package.json +4 -4
@@ -0,0 +1,161 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListMembershipsRequest, ListMembershipsResponse } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListMembershipsCommand}.
11
+ */
12
+ export interface ListMembershipsCommandInput extends ListMembershipsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListMembershipsCommand}.
18
+ */
19
+ export interface ListMembershipsCommandOutput extends ListMembershipsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListMembershipsCommand_base: {
22
+ new (input: ListMembershipsCommandInput): import("@smithy/core/client").CommandImpl<ListMembershipsCommandInput, ListMembershipsCommandOutput, import("..").DeadlineClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListMembershipsCommandInput): import("@smithy/core/client").CommandImpl<ListMembershipsCommandInput, ListMembershipsCommandOutput, import("..").DeadlineClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the Deadline Cloud resource memberships associated with a specified IAM Identity Center principal, optionally filtered by the requested resource types.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { DeadlineClient, ListMembershipsCommand } from "@aws-sdk/client-deadline"; // ES Modules import
32
+ * // const { DeadlineClient, ListMembershipsCommand } = require("@aws-sdk/client-deadline"); // CommonJS import
33
+ * // import type { DeadlineClientConfig } from "@aws-sdk/client-deadline";
34
+ * const config = {}; // type is DeadlineClientConfig
35
+ * const client = new DeadlineClient(config);
36
+ * const input = { // ListMembershipsRequest
37
+ * nextToken: "STRING_VALUE",
38
+ * maxResults: Number("int"),
39
+ * principalId: "STRING_VALUE", // required
40
+ * identityStoreId: "STRING_VALUE",
41
+ * identityCenterRegion: "STRING_VALUE",
42
+ * resourceTypes: [ // MembershipResourceTypes
43
+ * "FARM" || "QUEUE" || "FLEET" || "JOB",
44
+ * ],
45
+ * };
46
+ * const command = new ListMembershipsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListMembershipsResponse
49
+ * // memberships: [ // MembershipSummaries // required
50
+ * // { // MembershipSummary Union: only one key present
51
+ * // farm: { // FarmMember
52
+ * // farmId: "STRING_VALUE", // required
53
+ * // principalId: "STRING_VALUE", // required
54
+ * // principalType: "USER" || "GROUP", // required
55
+ * // identityStoreId: "STRING_VALUE", // required
56
+ * // membershipLevel: "VIEWER" || "CONTRIBUTOR" || "OWNER" || "MANAGER", // required
57
+ * // },
58
+ * // queue: { // QueueMember
59
+ * // farmId: "STRING_VALUE", // required
60
+ * // queueId: "STRING_VALUE", // required
61
+ * // principalId: "STRING_VALUE", // required
62
+ * // principalType: "USER" || "GROUP", // required
63
+ * // identityStoreId: "STRING_VALUE", // required
64
+ * // membershipLevel: "VIEWER" || "CONTRIBUTOR" || "OWNER" || "MANAGER", // required
65
+ * // },
66
+ * // fleet: { // FleetMember
67
+ * // farmId: "STRING_VALUE", // required
68
+ * // fleetId: "STRING_VALUE", // required
69
+ * // principalId: "STRING_VALUE", // required
70
+ * // principalType: "USER" || "GROUP", // required
71
+ * // identityStoreId: "STRING_VALUE", // required
72
+ * // membershipLevel: "VIEWER" || "CONTRIBUTOR" || "OWNER" || "MANAGER", // required
73
+ * // },
74
+ * // job: { // JobMember
75
+ * // farmId: "STRING_VALUE", // required
76
+ * // queueId: "STRING_VALUE", // required
77
+ * // jobId: "STRING_VALUE", // required
78
+ * // principalId: "STRING_VALUE", // required
79
+ * // principalType: "USER" || "GROUP", // required
80
+ * // identityStoreId: "STRING_VALUE", // required
81
+ * // membershipLevel: "VIEWER" || "CONTRIBUTOR" || "OWNER" || "MANAGER", // required
82
+ * // },
83
+ * // },
84
+ * // ],
85
+ * // nextToken: "STRING_VALUE",
86
+ * // };
87
+ *
88
+ * ```
89
+ *
90
+ * @param ListMembershipsCommandInput - {@link ListMembershipsCommandInput}
91
+ * @returns {@link ListMembershipsCommandOutput}
92
+ * @see {@link ListMembershipsCommandInput} for command's `input` shape.
93
+ * @see {@link ListMembershipsCommandOutput} for command's `response` shape.
94
+ * @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
95
+ *
96
+ * @throws {@link AccessDeniedException} (client fault)
97
+ * <p>You don't have permission to perform the action.</p>
98
+ *
99
+ * @throws {@link InternalServerErrorException} (server fault)
100
+ * <p>Deadline Cloud can't process your request right now. Try again later.</p>
101
+ *
102
+ * @throws {@link ResourceNotFoundException} (client fault)
103
+ * <p>The requested resource can't be found.</p>
104
+ *
105
+ * @throws {@link ThrottlingException} (client fault)
106
+ * <p>Your request exceeded a request rate quota.</p>
107
+ *
108
+ * @throws {@link ValidationException} (client fault)
109
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.</p>
110
+ *
111
+ * @throws {@link DeadlineServiceException}
112
+ * <p>Base exception class for all service exceptions from Deadline service.</p>
113
+ *
114
+ *
115
+ * @example List memberships using a cross-region identity store
116
+ * ```javascript
117
+ * //
118
+ * const input = {
119
+ * identityCenterRegion: "us-east-1",
120
+ * identityStoreId: "d-1234567890",
121
+ * principalId: "12345678-1234-1234-1234-123456789abc",
122
+ * resourceTypes: [
123
+ * "QUEUE",
124
+ * "JOB"
125
+ * ]
126
+ * };
127
+ * const command = new ListMembershipsCommand(input);
128
+ * const response = await client.send(command);
129
+ * /* response is
130
+ * { /* metadata only *\/ }
131
+ * *\/
132
+ * ```
133
+ *
134
+ * @example List a Monitor user's memberships of every resource type
135
+ * ```javascript
136
+ * //
137
+ * const input = {
138
+ * principalId: "12345678-1234-1234-1234-123456789abc"
139
+ * };
140
+ * const command = new ListMembershipsCommand(input);
141
+ * const response = await client.send(command);
142
+ * /* response is
143
+ * { /* metadata only *\/ }
144
+ * *\/
145
+ * ```
146
+ *
147
+ * @public
148
+ */
149
+ export declare class ListMembershipsCommand extends ListMembershipsCommand_base {
150
+ /** @internal type navigation helper, not in runtime. */
151
+ protected static __types: {
152
+ api: {
153
+ input: ListMembershipsRequest;
154
+ output: ListMembershipsResponse;
155
+ };
156
+ sdk: {
157
+ input: ListMembershipsCommandInput;
158
+ output: ListMembershipsCommandOutput;
159
+ };
160
+ };
161
+ }
@@ -80,6 +80,7 @@ export * from "./ListJobParameterDefinitionsCommand";
80
80
  export * from "./ListJobsCommand";
81
81
  export * from "./ListLicenseEndpointsCommand";
82
82
  export * from "./ListLimitsCommand";
83
+ export * from "./ListMembershipsCommand";
83
84
  export * from "./ListMeteredProductsCommand";
84
85
  export * from "./ListMonitorsCommand";
85
86
  export * from "./ListQueueEnvironmentsCommand";
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Deadline service.
8
8
  */
9
9
  export declare class DeadlineServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -867,6 +867,20 @@ export declare const LicenseEndpointStatus: {
867
867
  * @public
868
868
  */
869
869
  export type LicenseEndpointStatus = (typeof LicenseEndpointStatus)[keyof typeof LicenseEndpointStatus];
870
+ /**
871
+ * @public
872
+ * @enum
873
+ */
874
+ export declare const MembershipResourceType: {
875
+ readonly FARM: "FARM";
876
+ readonly FLEET: "FLEET";
877
+ readonly JOB: "JOB";
878
+ readonly QUEUE: "QUEUE";
879
+ };
880
+ /**
881
+ * @public
882
+ */
883
+ export type MembershipResourceType = (typeof MembershipResourceType)[keyof typeof MembershipResourceType];
870
884
  /**
871
885
  * @public
872
886
  * @enum
@@ -7,6 +7,7 @@ import type { ValidationExceptionField } from "./models_0";
7
7
  * @public
8
8
  */
9
9
  export declare class AccessDeniedException extends __BaseException {
10
+ static readonly shapeId: string;
10
11
  readonly name: "AccessDeniedException";
11
12
  readonly $fault: "client";
12
13
  /**
@@ -24,6 +25,7 @@ export declare class AccessDeniedException extends __BaseException {
24
25
  * @public
25
26
  */
26
27
  export declare class InternalServerErrorException extends __BaseException {
28
+ static readonly shapeId: string;
27
29
  readonly name: "InternalServerErrorException";
28
30
  readonly $fault: "server";
29
31
  $retryable: {};
@@ -42,6 +44,7 @@ export declare class InternalServerErrorException extends __BaseException {
42
44
  * @public
43
45
  */
44
46
  export declare class ResourceNotFoundException extends __BaseException {
47
+ static readonly shapeId: string;
45
48
  readonly name: "ResourceNotFoundException";
46
49
  readonly $fault: "client";
47
50
  /**
@@ -69,6 +72,7 @@ export declare class ResourceNotFoundException extends __BaseException {
69
72
  * @public
70
73
  */
71
74
  export declare class ServiceQuotaExceededException extends __BaseException {
75
+ static readonly shapeId: string;
72
76
  readonly name: "ServiceQuotaExceededException";
73
77
  readonly $fault: "client";
74
78
  /**
@@ -111,6 +115,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
111
115
  * @public
112
116
  */
113
117
  export declare class ThrottlingException extends __BaseException {
118
+ static readonly shapeId: string;
114
119
  readonly name: "ThrottlingException";
115
120
  readonly $fault: "client";
116
121
  $retryable: {
@@ -146,6 +151,7 @@ export declare class ThrottlingException extends __BaseException {
146
151
  * @public
147
152
  */
148
153
  export declare class ValidationException extends __BaseException {
154
+ static readonly shapeId: string;
149
155
  readonly name: "ValidationException";
150
156
  readonly $fault: "client";
151
157
  /**
@@ -173,6 +179,7 @@ export declare class ValidationException extends __BaseException {
173
179
  * @public
174
180
  */
175
181
  export declare class ConflictException extends __BaseException {
182
+ static readonly shapeId: string;
176
183
  readonly name: "ConflictException";
177
184
  readonly $fault: "client";
178
185
  /**
@@ -1,5 +1,5 @@
1
- import type { ComparisonOperator, DeadlinePrincipalType, DefaultQueueBudgetAction, DependencyConsumerResolutionStatus, EnvironmentTemplateType, JobLifecycleStatus, JobTargetTaskRunStatus, LicenseEndpointStatus, LogicalOperator, MembershipLevel, Period, QueueBlockedReason, QueueFleetAssociationStatus, QueueLimitAssociationStatus, QueueStatus, SearchTermMatchingType, SessionLifecycleTargetStatus, SessionsStatisticsAggregationStatus, SortOrder, StepLifecycleStatus, StepTargetTaskRunStatus, StorageProfileOperatingSystemFamily, TaskRunStatus, TaskTargetRunStatus, UpdateJobLifecycleStatus, UpdateQueueFleetAssociationStatus, UpdateQueueLimitAssociationStatus, UsageGroupByField, UsageStatistic, UsageType, WorkerStatus } from "./enums";
2
- import type { DateTimeFilterExpression, DependencyCounts, FileSystemLocation, HostPropertiesResponse, JobAttachmentSettings, JobParameter, JobRunAsUser, ParameterSpace, SchedulingConfiguration, StorageProfileSummary, TaskParameterValue } from "./models_0";
1
+ import type { ComparisonOperator, DeadlinePrincipalType, DefaultQueueBudgetAction, DependencyConsumerResolutionStatus, EnvironmentTemplateType, JobLifecycleStatus, JobTargetTaskRunStatus, LicenseEndpointStatus, LogicalOperator, MembershipLevel, MembershipResourceType, Period, QueueBlockedReason, QueueFleetAssociationStatus, QueueLimitAssociationStatus, QueueStatus, SearchTermMatchingType, SessionLifecycleTargetStatus, SessionsStatisticsAggregationStatus, SortOrder, StepLifecycleStatus, StepTargetTaskRunStatus, StorageProfileOperatingSystemFamily, TaskRunStatus, TaskTargetRunStatus, UpdateJobLifecycleStatus, UpdateQueueFleetAssociationStatus, UpdateQueueLimitAssociationStatus, UsageGroupByField, UsageStatistic, UsageType, WorkerStatus } from "./enums";
2
+ import type { DateTimeFilterExpression, DependencyCounts, FarmMember, FileSystemLocation, FleetMember, HostPropertiesResponse, JobAttachmentSettings, JobMember, JobParameter, JobRunAsUser, ParameterSpace, SchedulingConfiguration, StorageProfileSummary, TaskParameterValue } from "./models_0";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1629,6 +1629,133 @@ export interface ListAvailableMeteredProductsResponse {
1629
1629
  */
1630
1630
  nextToken?: string | undefined;
1631
1631
  }
1632
+ /**
1633
+ * Shared pagination fields for List operation inputs (nextToken + maxResults).
1634
+ * @public
1635
+ */
1636
+ export interface ListMembershipsRequest {
1637
+ /**
1638
+ * <p>The token for the next set of results, or <code>null</code> to start from the beginning.</p>
1639
+ * @public
1640
+ */
1641
+ nextToken?: string | undefined;
1642
+ /**
1643
+ * <p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p>
1644
+ * @public
1645
+ */
1646
+ maxResults?: number | undefined;
1647
+ /**
1648
+ * <p>The ID of the IAM Identity Center principal whose Deadline Cloud resource memberships you want to list.</p>
1649
+ * @public
1650
+ */
1651
+ principalId: string | undefined;
1652
+ /**
1653
+ * <p>The identity store ID that contains the principal. This parameter is required for callers that do not use a monitor session.</p>
1654
+ * @public
1655
+ */
1656
+ identityStoreId?: string | undefined;
1657
+ /**
1658
+ * <p>The Region of the IAM Identity Center instance. If not provided, the service defaults to the Amazon Web Services Region in which you make the request.</p>
1659
+ * @public
1660
+ */
1661
+ identityCenterRegion?: string | undefined;
1662
+ /**
1663
+ * <p>The resource types to include when listing the principal's memberships. If not specified, memberships for all supported resource types are returned.</p>
1664
+ * @public
1665
+ */
1666
+ resourceTypes?: MembershipResourceType[] | undefined;
1667
+ }
1668
+ /**
1669
+ * <p>A membership record for a principal on a single Deadline Cloud resource. The summary identifies the resource that the principal is a member of and the principal's membership level for that resource.</p>
1670
+ * @public
1671
+ */
1672
+ export type MembershipSummary = MembershipSummary._FarmMember | MembershipSummary._FleetMember | MembershipSummary._JobMember | MembershipSummary._QueueMember | MembershipSummary.$UnknownMember;
1673
+ /**
1674
+ * @public
1675
+ */
1676
+ export declare namespace MembershipSummary {
1677
+ /**
1678
+ * <p>A membership on a farm.</p>
1679
+ * @public
1680
+ */
1681
+ interface _FarmMember {
1682
+ farm: FarmMember;
1683
+ queue?: never;
1684
+ fleet?: never;
1685
+ job?: never;
1686
+ $unknown?: never;
1687
+ }
1688
+ /**
1689
+ * <p>A membership on a queue.</p>
1690
+ * @public
1691
+ */
1692
+ interface _QueueMember {
1693
+ farm?: never;
1694
+ queue: QueueMember;
1695
+ fleet?: never;
1696
+ job?: never;
1697
+ $unknown?: never;
1698
+ }
1699
+ /**
1700
+ * <p>A membership on a fleet.</p>
1701
+ * @public
1702
+ */
1703
+ interface _FleetMember {
1704
+ farm?: never;
1705
+ queue?: never;
1706
+ fleet: FleetMember;
1707
+ job?: never;
1708
+ $unknown?: never;
1709
+ }
1710
+ /**
1711
+ * <p>A membership on a job.</p>
1712
+ * @public
1713
+ */
1714
+ interface _JobMember {
1715
+ farm?: never;
1716
+ queue?: never;
1717
+ fleet?: never;
1718
+ job: JobMember;
1719
+ $unknown?: never;
1720
+ }
1721
+ /**
1722
+ * @public
1723
+ */
1724
+ interface $UnknownMember {
1725
+ farm?: never;
1726
+ queue?: never;
1727
+ fleet?: never;
1728
+ job?: never;
1729
+ $unknown: [string, any];
1730
+ }
1731
+ /**
1732
+ * @deprecated unused in schema-serde mode.
1733
+ *
1734
+ */
1735
+ interface Visitor<T> {
1736
+ farm: (value: FarmMember) => T;
1737
+ queue: (value: QueueMember) => T;
1738
+ fleet: (value: FleetMember) => T;
1739
+ job: (value: JobMember) => T;
1740
+ _: (name: string, value: any) => T;
1741
+ }
1742
+ }
1743
+ /**
1744
+ * Shared pagination field for List operation outputs (nextToken).
1745
+ * @public
1746
+ */
1747
+ export interface ListMembershipsResponse {
1748
+ /**
1749
+ * <p>The memberships associated with the specified principal.</p>
1750
+ * @public
1751
+ */
1752
+ memberships: MembershipSummary[] | undefined;
1753
+ /**
1754
+ * <p>If Deadline Cloud returns <code>nextToken</code>, then there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then <code>nextToken</code> is set to <code>null</code>. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 <code>ValidationException</code> error.</p>
1755
+ * @public
1756
+ */
1757
+ nextToken?: string | undefined;
1758
+ }
1632
1759
  /**
1633
1760
  * Shared pagination fields for List operation inputs (nextToken + maxResults).
1634
1761
  * @public
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListMembershipsCommandInput, ListMembershipsCommandOutput } from "../commands/ListMembershipsCommand";
3
+ import type { DeadlinePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListMemberships: (config: DeadlinePaginationConfiguration, input: ListMembershipsCommandInput, ...rest: any[]) => Paginator<ListMembershipsCommandOutput>;
@@ -11,6 +11,7 @@ export * from "./ListJobParameterDefinitionsPaginator";
11
11
  export * from "./ListJobsPaginator";
12
12
  export * from "./ListLicenseEndpointsPaginator";
13
13
  export * from "./ListLimitsPaginator";
14
+ export * from "./ListMembershipsPaginator";
14
15
  export * from "./ListMeteredProductsPaginator";
15
16
  export * from "./ListMonitorsPaginator";
16
17
  export * from "./ListQueueEnvironmentsPaginator";
@@ -259,6 +259,8 @@ export declare var ListLicenseEndpointsRequest$: StaticStructureSchema;
259
259
  export declare var ListLicenseEndpointsResponse$: StaticStructureSchema;
260
260
  export declare var ListLimitsRequest$: StaticStructureSchema;
261
261
  export declare var ListLimitsResponse$: StaticStructureSchema;
262
+ export declare var ListMembershipsRequest$: StaticStructureSchema;
263
+ export declare var ListMembershipsResponse$: StaticStructureSchema;
262
264
  export declare var ListMeteredProductsRequest$: StaticStructureSchema;
263
265
  export declare var ListMeteredProductsResponse$: StaticStructureSchema;
264
266
  export declare var ListMonitorsRequest$: StaticStructureSchema;
@@ -423,6 +425,7 @@ export declare var GetJobEntityError$: StaticUnionSchema;
423
425
  export declare var JobEntity$: StaticUnionSchema;
424
426
  export declare var JobEntityIdentifiersUnion$: StaticUnionSchema;
425
427
  export declare var JobParameter$: StaticUnionSchema;
428
+ export declare var MembershipSummary$: StaticUnionSchema;
426
429
  export declare var SchedulingConfiguration$: StaticUnionSchema;
427
430
  export declare var SchedulingMaxPriorityOverride$: StaticUnionSchema;
428
431
  export declare var SchedulingMinPriorityOverride$: StaticUnionSchema;
@@ -515,6 +518,7 @@ export declare var ListJobParameterDefinitions$: StaticOperationSchema;
515
518
  export declare var ListJobs$: StaticOperationSchema;
516
519
  export declare var ListLicenseEndpoints$: StaticOperationSchema;
517
520
  export declare var ListLimits$: StaticOperationSchema;
521
+ export declare var ListMemberships$: StaticOperationSchema;
518
522
  export declare var ListMeteredProducts$: StaticOperationSchema;
519
523
  export declare var ListMonitors$: StaticOperationSchema;
520
524
  export declare var ListQueueEnvironments$: StaticOperationSchema;
@@ -253,6 +253,10 @@ import {
253
253
  ListLicenseEndpointsCommandOutput,
254
254
  } from "./commands/ListLicenseEndpointsCommand";
255
255
  import { ListLimitsCommandInput, ListLimitsCommandOutput } from "./commands/ListLimitsCommand";
256
+ import {
257
+ ListMembershipsCommandInput,
258
+ ListMembershipsCommandOutput,
259
+ } from "./commands/ListMembershipsCommand";
256
260
  import {
257
261
  ListMeteredProductsCommandInput,
258
262
  ListMeteredProductsCommandOutput,
@@ -1429,6 +1433,19 @@ export interface Deadline {
1429
1433
  options: DeadlineRequestOptions,
1430
1434
  cb: (err: any, data?: ListLimitsCommandOutput) => void,
1431
1435
  ): void;
1436
+ listMemberships(
1437
+ args: ListMembershipsCommandInput,
1438
+ options?: DeadlineRequestOptions,
1439
+ ): Promise<ListMembershipsCommandOutput>;
1440
+ listMemberships(
1441
+ args: ListMembershipsCommandInput,
1442
+ cb: (err: any, data?: ListMembershipsCommandOutput) => void,
1443
+ ): void;
1444
+ listMemberships(
1445
+ args: ListMembershipsCommandInput,
1446
+ options: DeadlineRequestOptions,
1447
+ cb: (err: any, data?: ListMembershipsCommandOutput) => void,
1448
+ ): void;
1432
1449
  listMeteredProducts(
1433
1450
  args: ListMeteredProductsCommandInput,
1434
1451
  options?: DeadlineRequestOptions,
@@ -2086,6 +2103,13 @@ export interface Deadline {
2086
2103
  Exclude<keyof PaginationConfiguration, "client">
2087
2104
  >,
2088
2105
  ): Paginator<ListLimitsCommandOutput>;
2106
+ paginateListMemberships(
2107
+ args: ListMembershipsCommandInput,
2108
+ paginationConfig?: Pick<
2109
+ PaginationConfiguration,
2110
+ Exclude<keyof PaginationConfiguration, "client">
2111
+ >,
2112
+ ): Paginator<ListMembershipsCommandOutput>;
2089
2113
  paginateListMeteredProducts(
2090
2114
  args: ListMeteredProductsCommandInput,
2091
2115
  paginationConfig?: Pick<
@@ -280,6 +280,10 @@ import {
280
280
  ListLicenseEndpointsCommandOutput,
281
281
  } from "./commands/ListLicenseEndpointsCommand";
282
282
  import { ListLimitsCommandInput, ListLimitsCommandOutput } from "./commands/ListLimitsCommand";
283
+ import {
284
+ ListMembershipsCommandInput,
285
+ ListMembershipsCommandOutput,
286
+ } from "./commands/ListMembershipsCommand";
283
287
  import {
284
288
  ListMeteredProductsCommandInput,
285
289
  ListMeteredProductsCommandOutput,
@@ -498,6 +502,7 @@ export type ServiceInputTypes =
498
502
  | ListJobsCommandInput
499
503
  | ListLicenseEndpointsCommandInput
500
504
  | ListLimitsCommandInput
505
+ | ListMembershipsCommandInput
501
506
  | ListMeteredProductsCommandInput
502
507
  | ListMonitorsCommandInput
503
508
  | ListQueueEnvironmentsCommandInput
@@ -625,6 +630,7 @@ export type ServiceOutputTypes =
625
630
  | ListJobsCommandOutput
626
631
  | ListLicenseEndpointsCommandOutput
627
632
  | ListLimitsCommandOutput
633
+ | ListMembershipsCommandOutput
628
634
  | ListMeteredProductsCommandOutput
629
635
  | ListMonitorsCommandOutput
630
636
  | ListQueueEnvironmentsCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ListMembershipsRequest, ListMembershipsResponse } from "../models/models_1";
3
+ export { __MetadataBearer };
4
+ export interface ListMembershipsCommandInput extends ListMembershipsRequest {}
5
+ export interface ListMembershipsCommandOutput extends ListMembershipsResponse, __MetadataBearer {}
6
+ declare const ListMembershipsCommand_base: {
7
+ new (
8
+ input: ListMembershipsCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ ListMembershipsCommandInput,
11
+ ListMembershipsCommandOutput,
12
+ import("..").DeadlineClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: ListMembershipsCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ ListMembershipsCommandInput,
20
+ ListMembershipsCommandOutput,
21
+ import("..").DeadlineClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class ListMembershipsCommand extends ListMembershipsCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: ListMembershipsRequest;
31
+ output: ListMembershipsResponse;
32
+ };
33
+ sdk: {
34
+ input: ListMembershipsCommandInput;
35
+ output: ListMembershipsCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -80,6 +80,7 @@ export * from "./ListJobParameterDefinitionsCommand";
80
80
  export * from "./ListJobsCommand";
81
81
  export * from "./ListLicenseEndpointsCommand";
82
82
  export * from "./ListLimitsCommand";
83
+ export * from "./ListMembershipsCommand";
83
84
  export * from "./ListMeteredProductsCommand";
84
85
  export * from "./ListMonitorsCommand";
85
86
  export * from "./ListQueueEnvironmentsCommand";
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class DeadlineServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -456,6 +456,14 @@ export declare const LicenseEndpointStatus: {
456
456
  };
457
457
  export type LicenseEndpointStatus =
458
458
  (typeof LicenseEndpointStatus)[keyof typeof LicenseEndpointStatus];
459
+ export declare const MembershipResourceType: {
460
+ readonly FARM: "FARM";
461
+ readonly FLEET: "FLEET";
462
+ readonly JOB: "JOB";
463
+ readonly QUEUE: "QUEUE";
464
+ };
465
+ export type MembershipResourceType =
466
+ (typeof MembershipResourceType)[keyof typeof MembershipResourceType];
459
467
  export declare const SearchTermMatchingType: {
460
468
  readonly CONTAINS: "CONTAINS";
461
469
  readonly FUZZY_MATCH: "FUZZY_MATCH";
@@ -7,12 +7,14 @@ import {
7
7
  } from "./enums";
8
8
  import { ValidationExceptionField } from "./models_0";
9
9
  export declare class AccessDeniedException extends __BaseException {
10
+ static readonly shapeId: string;
10
11
  readonly name: "AccessDeniedException";
11
12
  readonly $fault: "client";
12
13
  context?: Record<string, string> | undefined;
13
14
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
15
  }
15
16
  export declare class InternalServerErrorException extends __BaseException {
17
+ static readonly shapeId: string;
16
18
  readonly name: "InternalServerErrorException";
17
19
  readonly $fault: "server";
18
20
  $retryable: {};
@@ -20,6 +22,7 @@ export declare class InternalServerErrorException extends __BaseException {
20
22
  constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
21
23
  }
22
24
  export declare class ResourceNotFoundException extends __BaseException {
25
+ static readonly shapeId: string;
23
26
  readonly name: "ResourceNotFoundException";
24
27
  readonly $fault: "client";
25
28
  resourceId: string | undefined;
@@ -28,6 +31,7 @@ export declare class ResourceNotFoundException extends __BaseException {
28
31
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
29
32
  }
30
33
  export declare class ServiceQuotaExceededException extends __BaseException {
34
+ static readonly shapeId: string;
31
35
  readonly name: "ServiceQuotaExceededException";
32
36
  readonly $fault: "client";
33
37
  reason: ServiceQuotaExceededExceptionReason | undefined;
@@ -39,6 +43,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
39
43
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
40
44
  }
41
45
  export declare class ThrottlingException extends __BaseException {
46
+ static readonly shapeId: string;
42
47
  readonly name: "ThrottlingException";
43
48
  readonly $fault: "client";
44
49
  $retryable: {
@@ -51,6 +56,7 @@ export declare class ThrottlingException extends __BaseException {
51
56
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
52
57
  }
53
58
  export declare class ValidationException extends __BaseException {
59
+ static readonly shapeId: string;
54
60
  readonly name: "ValidationException";
55
61
  readonly $fault: "client";
56
62
  reason: ValidationExceptionReason | undefined;
@@ -59,6 +65,7 @@ export declare class ValidationException extends __BaseException {
59
65
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
60
66
  }
61
67
  export declare class ConflictException extends __BaseException {
68
+ static readonly shapeId: string;
62
69
  readonly name: "ConflictException";
63
70
  readonly $fault: "client";
64
71
  reason: ConflictExceptionReason | undefined;