@aws-sdk/client-organizations 3.975.0 → 3.980.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 +57 -37
- package/dist-es/Organizations.js +39 -1
- package/dist-types/Organizations.d.ts +127 -1
- package/dist-types/ts3.4/Organizations.d.ts +131 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -3141,6 +3141,42 @@ class UpdateResponsibilityTransferCommand extends smithyClient.Command
|
|
|
3141
3141
|
.build() {
|
|
3142
3142
|
}
|
|
3143
3143
|
|
|
3144
|
+
const paginateListAccountsForParent = core.createPaginator(OrganizationsClient, ListAccountsForParentCommand, "NextToken", "NextToken", "MaxResults");
|
|
3145
|
+
|
|
3146
|
+
const paginateListAccounts = core.createPaginator(OrganizationsClient, ListAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3147
|
+
|
|
3148
|
+
const paginateListAccountsWithInvalidEffectivePolicy = core.createPaginator(OrganizationsClient, ListAccountsWithInvalidEffectivePolicyCommand, "NextToken", "NextToken", "MaxResults");
|
|
3149
|
+
|
|
3150
|
+
const paginateListAWSServiceAccessForOrganization = core.createPaginator(OrganizationsClient, ListAWSServiceAccessForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
3151
|
+
|
|
3152
|
+
const paginateListChildren = core.createPaginator(OrganizationsClient, ListChildrenCommand, "NextToken", "NextToken", "MaxResults");
|
|
3153
|
+
|
|
3154
|
+
const paginateListCreateAccountStatus = core.createPaginator(OrganizationsClient, ListCreateAccountStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
3155
|
+
|
|
3156
|
+
const paginateListDelegatedAdministrators = core.createPaginator(OrganizationsClient, ListDelegatedAdministratorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3157
|
+
|
|
3158
|
+
const paginateListDelegatedServicesForAccount = core.createPaginator(OrganizationsClient, ListDelegatedServicesForAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
3159
|
+
|
|
3160
|
+
const paginateListEffectivePolicyValidationErrors = core.createPaginator(OrganizationsClient, ListEffectivePolicyValidationErrorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3161
|
+
|
|
3162
|
+
const paginateListHandshakesForAccount = core.createPaginator(OrganizationsClient, ListHandshakesForAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
3163
|
+
|
|
3164
|
+
const paginateListHandshakesForOrganization = core.createPaginator(OrganizationsClient, ListHandshakesForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
3165
|
+
|
|
3166
|
+
const paginateListOrganizationalUnitsForParent = core.createPaginator(OrganizationsClient, ListOrganizationalUnitsForParentCommand, "NextToken", "NextToken", "MaxResults");
|
|
3167
|
+
|
|
3168
|
+
const paginateListParents = core.createPaginator(OrganizationsClient, ListParentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3169
|
+
|
|
3170
|
+
const paginateListPoliciesForTarget = core.createPaginator(OrganizationsClient, ListPoliciesForTargetCommand, "NextToken", "NextToken", "MaxResults");
|
|
3171
|
+
|
|
3172
|
+
const paginateListPolicies = core.createPaginator(OrganizationsClient, ListPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
3173
|
+
|
|
3174
|
+
const paginateListRoots = core.createPaginator(OrganizationsClient, ListRootsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3175
|
+
|
|
3176
|
+
const paginateListTagsForResource = core.createPaginator(OrganizationsClient, ListTagsForResourceCommand, "NextToken", "NextToken", "");
|
|
3177
|
+
|
|
3178
|
+
const paginateListTargetsForPolicy = core.createPaginator(OrganizationsClient, ListTargetsForPolicyCommand, "NextToken", "NextToken", "MaxResults");
|
|
3179
|
+
|
|
3144
3180
|
const commands = {
|
|
3145
3181
|
AcceptHandshakeCommand,
|
|
3146
3182
|
AttachPolicyCommand,
|
|
@@ -3206,45 +3242,29 @@ const commands = {
|
|
|
3206
3242
|
UpdatePolicyCommand,
|
|
3207
3243
|
UpdateResponsibilityTransferCommand,
|
|
3208
3244
|
};
|
|
3245
|
+
const paginators = {
|
|
3246
|
+
paginateListAccounts,
|
|
3247
|
+
paginateListAccountsForParent,
|
|
3248
|
+
paginateListAccountsWithInvalidEffectivePolicy,
|
|
3249
|
+
paginateListAWSServiceAccessForOrganization,
|
|
3250
|
+
paginateListChildren,
|
|
3251
|
+
paginateListCreateAccountStatus,
|
|
3252
|
+
paginateListDelegatedAdministrators,
|
|
3253
|
+
paginateListDelegatedServicesForAccount,
|
|
3254
|
+
paginateListEffectivePolicyValidationErrors,
|
|
3255
|
+
paginateListHandshakesForAccount,
|
|
3256
|
+
paginateListHandshakesForOrganization,
|
|
3257
|
+
paginateListOrganizationalUnitsForParent,
|
|
3258
|
+
paginateListParents,
|
|
3259
|
+
paginateListPolicies,
|
|
3260
|
+
paginateListPoliciesForTarget,
|
|
3261
|
+
paginateListRoots,
|
|
3262
|
+
paginateListTagsForResource,
|
|
3263
|
+
paginateListTargetsForPolicy,
|
|
3264
|
+
};
|
|
3209
3265
|
class Organizations extends OrganizationsClient {
|
|
3210
3266
|
}
|
|
3211
|
-
smithyClient.createAggregatedClient(commands, Organizations);
|
|
3212
|
-
|
|
3213
|
-
const paginateListAccounts = core.createPaginator(OrganizationsClient, ListAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3214
|
-
|
|
3215
|
-
const paginateListAccountsForParent = core.createPaginator(OrganizationsClient, ListAccountsForParentCommand, "NextToken", "NextToken", "MaxResults");
|
|
3216
|
-
|
|
3217
|
-
const paginateListAccountsWithInvalidEffectivePolicy = core.createPaginator(OrganizationsClient, ListAccountsWithInvalidEffectivePolicyCommand, "NextToken", "NextToken", "MaxResults");
|
|
3218
|
-
|
|
3219
|
-
const paginateListAWSServiceAccessForOrganization = core.createPaginator(OrganizationsClient, ListAWSServiceAccessForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
3220
|
-
|
|
3221
|
-
const paginateListChildren = core.createPaginator(OrganizationsClient, ListChildrenCommand, "NextToken", "NextToken", "MaxResults");
|
|
3222
|
-
|
|
3223
|
-
const paginateListCreateAccountStatus = core.createPaginator(OrganizationsClient, ListCreateAccountStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
3224
|
-
|
|
3225
|
-
const paginateListDelegatedAdministrators = core.createPaginator(OrganizationsClient, ListDelegatedAdministratorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3226
|
-
|
|
3227
|
-
const paginateListDelegatedServicesForAccount = core.createPaginator(OrganizationsClient, ListDelegatedServicesForAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
3228
|
-
|
|
3229
|
-
const paginateListEffectivePolicyValidationErrors = core.createPaginator(OrganizationsClient, ListEffectivePolicyValidationErrorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3230
|
-
|
|
3231
|
-
const paginateListHandshakesForAccount = core.createPaginator(OrganizationsClient, ListHandshakesForAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
3232
|
-
|
|
3233
|
-
const paginateListHandshakesForOrganization = core.createPaginator(OrganizationsClient, ListHandshakesForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
3234
|
-
|
|
3235
|
-
const paginateListOrganizationalUnitsForParent = core.createPaginator(OrganizationsClient, ListOrganizationalUnitsForParentCommand, "NextToken", "NextToken", "MaxResults");
|
|
3236
|
-
|
|
3237
|
-
const paginateListParents = core.createPaginator(OrganizationsClient, ListParentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3238
|
-
|
|
3239
|
-
const paginateListPolicies = core.createPaginator(OrganizationsClient, ListPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
3240
|
-
|
|
3241
|
-
const paginateListPoliciesForTarget = core.createPaginator(OrganizationsClient, ListPoliciesForTargetCommand, "NextToken", "NextToken", "MaxResults");
|
|
3242
|
-
|
|
3243
|
-
const paginateListRoots = core.createPaginator(OrganizationsClient, ListRootsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3244
|
-
|
|
3245
|
-
const paginateListTagsForResource = core.createPaginator(OrganizationsClient, ListTagsForResourceCommand, "NextToken", "NextToken", "");
|
|
3246
|
-
|
|
3247
|
-
const paginateListTargetsForPolicy = core.createPaginator(OrganizationsClient, ListTargetsForPolicyCommand, "NextToken", "NextToken", "MaxResults");
|
|
3267
|
+
smithyClient.createAggregatedClient(commands, Organizations, { paginators });
|
|
3248
3268
|
|
|
3249
3269
|
const ActionType = {
|
|
3250
3270
|
ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE: "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
|
package/dist-es/Organizations.js
CHANGED
|
@@ -63,6 +63,24 @@ import { UpdateOrganizationalUnitCommand, } from "./commands/UpdateOrganizationa
|
|
|
63
63
|
import { UpdatePolicyCommand, } from "./commands/UpdatePolicyCommand";
|
|
64
64
|
import { UpdateResponsibilityTransferCommand, } from "./commands/UpdateResponsibilityTransferCommand";
|
|
65
65
|
import { OrganizationsClient } from "./OrganizationsClient";
|
|
66
|
+
import { paginateListAccountsForParent } from "./pagination/ListAccountsForParentPaginator";
|
|
67
|
+
import { paginateListAccounts } from "./pagination/ListAccountsPaginator";
|
|
68
|
+
import { paginateListAccountsWithInvalidEffectivePolicy, } from "./pagination/ListAccountsWithInvalidEffectivePolicyPaginator";
|
|
69
|
+
import { paginateListAWSServiceAccessForOrganization } from "./pagination/ListAWSServiceAccessForOrganizationPaginator";
|
|
70
|
+
import { paginateListChildren } from "./pagination/ListChildrenPaginator";
|
|
71
|
+
import { paginateListCreateAccountStatus } from "./pagination/ListCreateAccountStatusPaginator";
|
|
72
|
+
import { paginateListDelegatedAdministrators } from "./pagination/ListDelegatedAdministratorsPaginator";
|
|
73
|
+
import { paginateListDelegatedServicesForAccount } from "./pagination/ListDelegatedServicesForAccountPaginator";
|
|
74
|
+
import { paginateListEffectivePolicyValidationErrors } from "./pagination/ListEffectivePolicyValidationErrorsPaginator";
|
|
75
|
+
import { paginateListHandshakesForAccount } from "./pagination/ListHandshakesForAccountPaginator";
|
|
76
|
+
import { paginateListHandshakesForOrganization } from "./pagination/ListHandshakesForOrganizationPaginator";
|
|
77
|
+
import { paginateListOrganizationalUnitsForParent } from "./pagination/ListOrganizationalUnitsForParentPaginator";
|
|
78
|
+
import { paginateListParents } from "./pagination/ListParentsPaginator";
|
|
79
|
+
import { paginateListPoliciesForTarget } from "./pagination/ListPoliciesForTargetPaginator";
|
|
80
|
+
import { paginateListPolicies } from "./pagination/ListPoliciesPaginator";
|
|
81
|
+
import { paginateListRoots } from "./pagination/ListRootsPaginator";
|
|
82
|
+
import { paginateListTagsForResource } from "./pagination/ListTagsForResourcePaginator";
|
|
83
|
+
import { paginateListTargetsForPolicy } from "./pagination/ListTargetsForPolicyPaginator";
|
|
66
84
|
const commands = {
|
|
67
85
|
AcceptHandshakeCommand,
|
|
68
86
|
AttachPolicyCommand,
|
|
@@ -128,6 +146,26 @@ const commands = {
|
|
|
128
146
|
UpdatePolicyCommand,
|
|
129
147
|
UpdateResponsibilityTransferCommand,
|
|
130
148
|
};
|
|
149
|
+
const paginators = {
|
|
150
|
+
paginateListAccounts,
|
|
151
|
+
paginateListAccountsForParent,
|
|
152
|
+
paginateListAccountsWithInvalidEffectivePolicy,
|
|
153
|
+
paginateListAWSServiceAccessForOrganization,
|
|
154
|
+
paginateListChildren,
|
|
155
|
+
paginateListCreateAccountStatus,
|
|
156
|
+
paginateListDelegatedAdministrators,
|
|
157
|
+
paginateListDelegatedServicesForAccount,
|
|
158
|
+
paginateListEffectivePolicyValidationErrors,
|
|
159
|
+
paginateListHandshakesForAccount,
|
|
160
|
+
paginateListHandshakesForOrganization,
|
|
161
|
+
paginateListOrganizationalUnitsForParent,
|
|
162
|
+
paginateListParents,
|
|
163
|
+
paginateListPolicies,
|
|
164
|
+
paginateListPoliciesForTarget,
|
|
165
|
+
paginateListRoots,
|
|
166
|
+
paginateListTagsForResource,
|
|
167
|
+
paginateListTargetsForPolicy,
|
|
168
|
+
};
|
|
131
169
|
export class Organizations extends OrganizationsClient {
|
|
132
170
|
}
|
|
133
|
-
createAggregatedClient(commands, Organizations);
|
|
171
|
+
createAggregatedClient(commands, Organizations, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AcceptHandshakeCommandInput, AcceptHandshakeCommandOutput } from "./commands/AcceptHandshakeCommand";
|
|
3
3
|
import { AttachPolicyCommandInput, AttachPolicyCommandOutput } from "./commands/AttachPolicyCommand";
|
|
4
4
|
import { CancelHandshakeCommandInput, CancelHandshakeCommandOutput } from "./commands/CancelHandshakeCommand";
|
|
@@ -456,6 +456,132 @@ export interface Organizations {
|
|
|
456
456
|
updateResponsibilityTransfer(args: UpdateResponsibilityTransferCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResponsibilityTransferCommandOutput>;
|
|
457
457
|
updateResponsibilityTransfer(args: UpdateResponsibilityTransferCommandInput, cb: (err: any, data?: UpdateResponsibilityTransferCommandOutput) => void): void;
|
|
458
458
|
updateResponsibilityTransfer(args: UpdateResponsibilityTransferCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResponsibilityTransferCommandOutput) => void): void;
|
|
459
|
+
/**
|
|
460
|
+
* @see {@link ListAccountsCommand}
|
|
461
|
+
* @param args - command input.
|
|
462
|
+
* @param paginationConfig - optional pagination config.
|
|
463
|
+
* @returns AsyncIterable of {@link ListAccountsCommandOutput}.
|
|
464
|
+
*/
|
|
465
|
+
paginateListAccounts(args?: ListAccountsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccountsCommandOutput>;
|
|
466
|
+
/**
|
|
467
|
+
* @see {@link ListAccountsForParentCommand}
|
|
468
|
+
* @param args - command input.
|
|
469
|
+
* @param paginationConfig - optional pagination config.
|
|
470
|
+
* @returns AsyncIterable of {@link ListAccountsForParentCommandOutput}.
|
|
471
|
+
*/
|
|
472
|
+
paginateListAccountsForParent(args: ListAccountsForParentCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccountsForParentCommandOutput>;
|
|
473
|
+
/**
|
|
474
|
+
* @see {@link ListAccountsWithInvalidEffectivePolicyCommand}
|
|
475
|
+
* @param args - command input.
|
|
476
|
+
* @param paginationConfig - optional pagination config.
|
|
477
|
+
* @returns AsyncIterable of {@link ListAccountsWithInvalidEffectivePolicyCommandOutput}.
|
|
478
|
+
*/
|
|
479
|
+
paginateListAccountsWithInvalidEffectivePolicy(args: ListAccountsWithInvalidEffectivePolicyCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccountsWithInvalidEffectivePolicyCommandOutput>;
|
|
480
|
+
/**
|
|
481
|
+
* @see {@link ListAWSServiceAccessForOrganizationCommand}
|
|
482
|
+
* @param args - command input.
|
|
483
|
+
* @param paginationConfig - optional pagination config.
|
|
484
|
+
* @returns AsyncIterable of {@link ListAWSServiceAccessForOrganizationCommandOutput}.
|
|
485
|
+
*/
|
|
486
|
+
paginateListAWSServiceAccessForOrganization(args?: ListAWSServiceAccessForOrganizationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAWSServiceAccessForOrganizationCommandOutput>;
|
|
487
|
+
/**
|
|
488
|
+
* @see {@link ListChildrenCommand}
|
|
489
|
+
* @param args - command input.
|
|
490
|
+
* @param paginationConfig - optional pagination config.
|
|
491
|
+
* @returns AsyncIterable of {@link ListChildrenCommandOutput}.
|
|
492
|
+
*/
|
|
493
|
+
paginateListChildren(args: ListChildrenCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListChildrenCommandOutput>;
|
|
494
|
+
/**
|
|
495
|
+
* @see {@link ListCreateAccountStatusCommand}
|
|
496
|
+
* @param args - command input.
|
|
497
|
+
* @param paginationConfig - optional pagination config.
|
|
498
|
+
* @returns AsyncIterable of {@link ListCreateAccountStatusCommandOutput}.
|
|
499
|
+
*/
|
|
500
|
+
paginateListCreateAccountStatus(args?: ListCreateAccountStatusCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCreateAccountStatusCommandOutput>;
|
|
501
|
+
/**
|
|
502
|
+
* @see {@link ListDelegatedAdministratorsCommand}
|
|
503
|
+
* @param args - command input.
|
|
504
|
+
* @param paginationConfig - optional pagination config.
|
|
505
|
+
* @returns AsyncIterable of {@link ListDelegatedAdministratorsCommandOutput}.
|
|
506
|
+
*/
|
|
507
|
+
paginateListDelegatedAdministrators(args?: ListDelegatedAdministratorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDelegatedAdministratorsCommandOutput>;
|
|
508
|
+
/**
|
|
509
|
+
* @see {@link ListDelegatedServicesForAccountCommand}
|
|
510
|
+
* @param args - command input.
|
|
511
|
+
* @param paginationConfig - optional pagination config.
|
|
512
|
+
* @returns AsyncIterable of {@link ListDelegatedServicesForAccountCommandOutput}.
|
|
513
|
+
*/
|
|
514
|
+
paginateListDelegatedServicesForAccount(args: ListDelegatedServicesForAccountCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDelegatedServicesForAccountCommandOutput>;
|
|
515
|
+
/**
|
|
516
|
+
* @see {@link ListEffectivePolicyValidationErrorsCommand}
|
|
517
|
+
* @param args - command input.
|
|
518
|
+
* @param paginationConfig - optional pagination config.
|
|
519
|
+
* @returns AsyncIterable of {@link ListEffectivePolicyValidationErrorsCommandOutput}.
|
|
520
|
+
*/
|
|
521
|
+
paginateListEffectivePolicyValidationErrors(args: ListEffectivePolicyValidationErrorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEffectivePolicyValidationErrorsCommandOutput>;
|
|
522
|
+
/**
|
|
523
|
+
* @see {@link ListHandshakesForAccountCommand}
|
|
524
|
+
* @param args - command input.
|
|
525
|
+
* @param paginationConfig - optional pagination config.
|
|
526
|
+
* @returns AsyncIterable of {@link ListHandshakesForAccountCommandOutput}.
|
|
527
|
+
*/
|
|
528
|
+
paginateListHandshakesForAccount(args?: ListHandshakesForAccountCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHandshakesForAccountCommandOutput>;
|
|
529
|
+
/**
|
|
530
|
+
* @see {@link ListHandshakesForOrganizationCommand}
|
|
531
|
+
* @param args - command input.
|
|
532
|
+
* @param paginationConfig - optional pagination config.
|
|
533
|
+
* @returns AsyncIterable of {@link ListHandshakesForOrganizationCommandOutput}.
|
|
534
|
+
*/
|
|
535
|
+
paginateListHandshakesForOrganization(args?: ListHandshakesForOrganizationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHandshakesForOrganizationCommandOutput>;
|
|
536
|
+
/**
|
|
537
|
+
* @see {@link ListOrganizationalUnitsForParentCommand}
|
|
538
|
+
* @param args - command input.
|
|
539
|
+
* @param paginationConfig - optional pagination config.
|
|
540
|
+
* @returns AsyncIterable of {@link ListOrganizationalUnitsForParentCommandOutput}.
|
|
541
|
+
*/
|
|
542
|
+
paginateListOrganizationalUnitsForParent(args: ListOrganizationalUnitsForParentCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListOrganizationalUnitsForParentCommandOutput>;
|
|
543
|
+
/**
|
|
544
|
+
* @see {@link ListParentsCommand}
|
|
545
|
+
* @param args - command input.
|
|
546
|
+
* @param paginationConfig - optional pagination config.
|
|
547
|
+
* @returns AsyncIterable of {@link ListParentsCommandOutput}.
|
|
548
|
+
*/
|
|
549
|
+
paginateListParents(args: ListParentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListParentsCommandOutput>;
|
|
550
|
+
/**
|
|
551
|
+
* @see {@link ListPoliciesCommand}
|
|
552
|
+
* @param args - command input.
|
|
553
|
+
* @param paginationConfig - optional pagination config.
|
|
554
|
+
* @returns AsyncIterable of {@link ListPoliciesCommandOutput}.
|
|
555
|
+
*/
|
|
556
|
+
paginateListPolicies(args: ListPoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPoliciesCommandOutput>;
|
|
557
|
+
/**
|
|
558
|
+
* @see {@link ListPoliciesForTargetCommand}
|
|
559
|
+
* @param args - command input.
|
|
560
|
+
* @param paginationConfig - optional pagination config.
|
|
561
|
+
* @returns AsyncIterable of {@link ListPoliciesForTargetCommandOutput}.
|
|
562
|
+
*/
|
|
563
|
+
paginateListPoliciesForTarget(args: ListPoliciesForTargetCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPoliciesForTargetCommandOutput>;
|
|
564
|
+
/**
|
|
565
|
+
* @see {@link ListRootsCommand}
|
|
566
|
+
* @param args - command input.
|
|
567
|
+
* @param paginationConfig - optional pagination config.
|
|
568
|
+
* @returns AsyncIterable of {@link ListRootsCommandOutput}.
|
|
569
|
+
*/
|
|
570
|
+
paginateListRoots(args?: ListRootsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRootsCommandOutput>;
|
|
571
|
+
/**
|
|
572
|
+
* @see {@link ListTagsForResourceCommand}
|
|
573
|
+
* @param args - command input.
|
|
574
|
+
* @param paginationConfig - optional pagination config.
|
|
575
|
+
* @returns AsyncIterable of {@link ListTagsForResourceCommandOutput}.
|
|
576
|
+
*/
|
|
577
|
+
paginateListTagsForResource(args: ListTagsForResourceCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTagsForResourceCommandOutput>;
|
|
578
|
+
/**
|
|
579
|
+
* @see {@link ListTargetsForPolicyCommand}
|
|
580
|
+
* @param args - command input.
|
|
581
|
+
* @param paginationConfig - optional pagination config.
|
|
582
|
+
* @returns AsyncIterable of {@link ListTargetsForPolicyCommandOutput}.
|
|
583
|
+
*/
|
|
584
|
+
paginateListTargetsForPolicy(args: ListTargetsForPolicyCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTargetsForPolicyCommandOutput>;
|
|
459
585
|
}
|
|
460
586
|
/**
|
|
461
587
|
* <p>Organizations is a web service that enables you to consolidate your multiple
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
AcceptHandshakeCommandInput,
|
|
4
8
|
AcceptHandshakeCommandOutput,
|
|
@@ -1122,6 +1126,132 @@ export interface Organizations {
|
|
|
1122
1126
|
options: __HttpHandlerOptions,
|
|
1123
1127
|
cb: (err: any, data?: UpdateResponsibilityTransferCommandOutput) => void
|
|
1124
1128
|
): void;
|
|
1129
|
+
paginateListAccounts(
|
|
1130
|
+
args?: ListAccountsCommandInput,
|
|
1131
|
+
paginationConfig?: Pick<
|
|
1132
|
+
PaginationConfiguration,
|
|
1133
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1134
|
+
>
|
|
1135
|
+
): Paginator<ListAccountsCommandOutput>;
|
|
1136
|
+
paginateListAccountsForParent(
|
|
1137
|
+
args: ListAccountsForParentCommandInput,
|
|
1138
|
+
paginationConfig?: Pick<
|
|
1139
|
+
PaginationConfiguration,
|
|
1140
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1141
|
+
>
|
|
1142
|
+
): Paginator<ListAccountsForParentCommandOutput>;
|
|
1143
|
+
paginateListAccountsWithInvalidEffectivePolicy(
|
|
1144
|
+
args: ListAccountsWithInvalidEffectivePolicyCommandInput,
|
|
1145
|
+
paginationConfig?: Pick<
|
|
1146
|
+
PaginationConfiguration,
|
|
1147
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1148
|
+
>
|
|
1149
|
+
): Paginator<ListAccountsWithInvalidEffectivePolicyCommandOutput>;
|
|
1150
|
+
paginateListAWSServiceAccessForOrganization(
|
|
1151
|
+
args?: ListAWSServiceAccessForOrganizationCommandInput,
|
|
1152
|
+
paginationConfig?: Pick<
|
|
1153
|
+
PaginationConfiguration,
|
|
1154
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1155
|
+
>
|
|
1156
|
+
): Paginator<ListAWSServiceAccessForOrganizationCommandOutput>;
|
|
1157
|
+
paginateListChildren(
|
|
1158
|
+
args: ListChildrenCommandInput,
|
|
1159
|
+
paginationConfig?: Pick<
|
|
1160
|
+
PaginationConfiguration,
|
|
1161
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1162
|
+
>
|
|
1163
|
+
): Paginator<ListChildrenCommandOutput>;
|
|
1164
|
+
paginateListCreateAccountStatus(
|
|
1165
|
+
args?: ListCreateAccountStatusCommandInput,
|
|
1166
|
+
paginationConfig?: Pick<
|
|
1167
|
+
PaginationConfiguration,
|
|
1168
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1169
|
+
>
|
|
1170
|
+
): Paginator<ListCreateAccountStatusCommandOutput>;
|
|
1171
|
+
paginateListDelegatedAdministrators(
|
|
1172
|
+
args?: ListDelegatedAdministratorsCommandInput,
|
|
1173
|
+
paginationConfig?: Pick<
|
|
1174
|
+
PaginationConfiguration,
|
|
1175
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1176
|
+
>
|
|
1177
|
+
): Paginator<ListDelegatedAdministratorsCommandOutput>;
|
|
1178
|
+
paginateListDelegatedServicesForAccount(
|
|
1179
|
+
args: ListDelegatedServicesForAccountCommandInput,
|
|
1180
|
+
paginationConfig?: Pick<
|
|
1181
|
+
PaginationConfiguration,
|
|
1182
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1183
|
+
>
|
|
1184
|
+
): Paginator<ListDelegatedServicesForAccountCommandOutput>;
|
|
1185
|
+
paginateListEffectivePolicyValidationErrors(
|
|
1186
|
+
args: ListEffectivePolicyValidationErrorsCommandInput,
|
|
1187
|
+
paginationConfig?: Pick<
|
|
1188
|
+
PaginationConfiguration,
|
|
1189
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1190
|
+
>
|
|
1191
|
+
): Paginator<ListEffectivePolicyValidationErrorsCommandOutput>;
|
|
1192
|
+
paginateListHandshakesForAccount(
|
|
1193
|
+
args?: ListHandshakesForAccountCommandInput,
|
|
1194
|
+
paginationConfig?: Pick<
|
|
1195
|
+
PaginationConfiguration,
|
|
1196
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1197
|
+
>
|
|
1198
|
+
): Paginator<ListHandshakesForAccountCommandOutput>;
|
|
1199
|
+
paginateListHandshakesForOrganization(
|
|
1200
|
+
args?: ListHandshakesForOrganizationCommandInput,
|
|
1201
|
+
paginationConfig?: Pick<
|
|
1202
|
+
PaginationConfiguration,
|
|
1203
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1204
|
+
>
|
|
1205
|
+
): Paginator<ListHandshakesForOrganizationCommandOutput>;
|
|
1206
|
+
paginateListOrganizationalUnitsForParent(
|
|
1207
|
+
args: ListOrganizationalUnitsForParentCommandInput,
|
|
1208
|
+
paginationConfig?: Pick<
|
|
1209
|
+
PaginationConfiguration,
|
|
1210
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1211
|
+
>
|
|
1212
|
+
): Paginator<ListOrganizationalUnitsForParentCommandOutput>;
|
|
1213
|
+
paginateListParents(
|
|
1214
|
+
args: ListParentsCommandInput,
|
|
1215
|
+
paginationConfig?: Pick<
|
|
1216
|
+
PaginationConfiguration,
|
|
1217
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1218
|
+
>
|
|
1219
|
+
): Paginator<ListParentsCommandOutput>;
|
|
1220
|
+
paginateListPolicies(
|
|
1221
|
+
args: ListPoliciesCommandInput,
|
|
1222
|
+
paginationConfig?: Pick<
|
|
1223
|
+
PaginationConfiguration,
|
|
1224
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1225
|
+
>
|
|
1226
|
+
): Paginator<ListPoliciesCommandOutput>;
|
|
1227
|
+
paginateListPoliciesForTarget(
|
|
1228
|
+
args: ListPoliciesForTargetCommandInput,
|
|
1229
|
+
paginationConfig?: Pick<
|
|
1230
|
+
PaginationConfiguration,
|
|
1231
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1232
|
+
>
|
|
1233
|
+
): Paginator<ListPoliciesForTargetCommandOutput>;
|
|
1234
|
+
paginateListRoots(
|
|
1235
|
+
args?: ListRootsCommandInput,
|
|
1236
|
+
paginationConfig?: Pick<
|
|
1237
|
+
PaginationConfiguration,
|
|
1238
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1239
|
+
>
|
|
1240
|
+
): Paginator<ListRootsCommandOutput>;
|
|
1241
|
+
paginateListTagsForResource(
|
|
1242
|
+
args: ListTagsForResourceCommandInput,
|
|
1243
|
+
paginationConfig?: Pick<
|
|
1244
|
+
PaginationConfiguration,
|
|
1245
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1246
|
+
>
|
|
1247
|
+
): Paginator<ListTagsForResourceCommandOutput>;
|
|
1248
|
+
paginateListTargetsForPolicy(
|
|
1249
|
+
args: ListTargetsForPolicyCommandInput,
|
|
1250
|
+
paginationConfig?: Pick<
|
|
1251
|
+
PaginationConfiguration,
|
|
1252
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1253
|
+
>
|
|
1254
|
+
): Paginator<ListTargetsForPolicyCommandOutput>;
|
|
1125
1255
|
}
|
|
1126
1256
|
export declare class Organizations
|
|
1127
1257
|
extends OrganizationsClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-organizations",
|
|
3
3
|
"description": "AWS SDK for JavaScript Organizations Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-organizations",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|