@aws-sdk/client-organizations 3.758.0 → 3.772.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 (2) hide show
  1. package/dist-cjs/index.js +36 -36
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AWSOrganizationsNotInUseException: () => AWSOrganizationsNotInUseException,
25
25
  AcceptHandshakeCommand: () => AcceptHandshakeCommand,
26
26
  AcceptHandshakeResponseFilterSensitiveLog: () => AcceptHandshakeResponseFilterSensitiveLog,
@@ -192,7 +192,7 @@ __export(src_exports, {
192
192
  paginateListTagsForResource: () => paginateListTagsForResource,
193
193
  paginateListTargetsForPolicy: () => paginateListTargetsForPolicy
194
194
  });
195
- module.exports = __toCommonJS(src_exports);
195
+ module.exports = __toCommonJS(index_exports);
196
196
 
197
197
  // src/OrganizationsClient.ts
198
198
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -319,9 +319,9 @@ var OrganizationsClient = class extends import_smithy_client.Client {
319
319
  this.middlewareStack.use(
320
320
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
321
321
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultOrganizationsHttpAuthSchemeParametersProvider,
322
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
322
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
323
323
  "aws.auth#sigv4": config.credentials
324
- })
324
+ }), "identityProviderConfigProvider")
325
325
  })
326
326
  );
327
327
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -3206,7 +3206,7 @@ var de_UnsupportedAPIEndpointExceptionRes = /* @__PURE__ */ __name(async (parsed
3206
3206
  }, "de_UnsupportedAPIEndpointExceptionRes");
3207
3207
  var de_AcceptHandshakeResponse = /* @__PURE__ */ __name((output, context) => {
3208
3208
  return (0, import_smithy_client.take)(output, {
3209
- Handshake: (_) => de_Handshake(_, context)
3209
+ Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake")
3210
3210
  });
3211
3211
  }, "de_AcceptHandshakeResponse");
3212
3212
  var de_Account = /* @__PURE__ */ __name((output, context) => {
@@ -3215,7 +3215,7 @@ var de_Account = /* @__PURE__ */ __name((output, context) => {
3215
3215
  Email: import_smithy_client.expectString,
3216
3216
  Id: import_smithy_client.expectString,
3217
3217
  JoinedMethod: import_smithy_client.expectString,
3218
- JoinedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3218
+ JoinedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "JoinedTimestamp"),
3219
3219
  Name: import_smithy_client.expectString,
3220
3220
  Status: import_smithy_client.expectString
3221
3221
  });
@@ -3228,23 +3228,23 @@ var de_Accounts = /* @__PURE__ */ __name((output, context) => {
3228
3228
  }, "de_Accounts");
3229
3229
  var de_CancelHandshakeResponse = /* @__PURE__ */ __name((output, context) => {
3230
3230
  return (0, import_smithy_client.take)(output, {
3231
- Handshake: (_) => de_Handshake(_, context)
3231
+ Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake")
3232
3232
  });
3233
3233
  }, "de_CancelHandshakeResponse");
3234
3234
  var de_CreateAccountResponse = /* @__PURE__ */ __name((output, context) => {
3235
3235
  return (0, import_smithy_client.take)(output, {
3236
- CreateAccountStatus: (_) => de_CreateAccountStatus(_, context)
3236
+ CreateAccountStatus: /* @__PURE__ */ __name((_) => de_CreateAccountStatus(_, context), "CreateAccountStatus")
3237
3237
  });
3238
3238
  }, "de_CreateAccountResponse");
3239
3239
  var de_CreateAccountStatus = /* @__PURE__ */ __name((output, context) => {
3240
3240
  return (0, import_smithy_client.take)(output, {
3241
3241
  AccountId: import_smithy_client.expectString,
3242
3242
  AccountName: import_smithy_client.expectString,
3243
- CompletedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3243
+ CompletedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletedTimestamp"),
3244
3244
  FailureReason: import_smithy_client.expectString,
3245
3245
  GovCloudAccountId: import_smithy_client.expectString,
3246
3246
  Id: import_smithy_client.expectString,
3247
- RequestedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3247
+ RequestedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RequestedTimestamp"),
3248
3248
  State: import_smithy_client.expectString
3249
3249
  });
3250
3250
  }, "de_CreateAccountStatus");
@@ -3256,22 +3256,22 @@ var de_CreateAccountStatuses = /* @__PURE__ */ __name((output, context) => {
3256
3256
  }, "de_CreateAccountStatuses");
3257
3257
  var de_CreateGovCloudAccountResponse = /* @__PURE__ */ __name((output, context) => {
3258
3258
  return (0, import_smithy_client.take)(output, {
3259
- CreateAccountStatus: (_) => de_CreateAccountStatus(_, context)
3259
+ CreateAccountStatus: /* @__PURE__ */ __name((_) => de_CreateAccountStatus(_, context), "CreateAccountStatus")
3260
3260
  });
3261
3261
  }, "de_CreateGovCloudAccountResponse");
3262
3262
  var de_DeclineHandshakeResponse = /* @__PURE__ */ __name((output, context) => {
3263
3263
  return (0, import_smithy_client.take)(output, {
3264
- Handshake: (_) => de_Handshake(_, context)
3264
+ Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake")
3265
3265
  });
3266
3266
  }, "de_DeclineHandshakeResponse");
3267
3267
  var de_DelegatedAdministrator = /* @__PURE__ */ __name((output, context) => {
3268
3268
  return (0, import_smithy_client.take)(output, {
3269
3269
  Arn: import_smithy_client.expectString,
3270
- DelegationEnabledDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3270
+ DelegationEnabledDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DelegationEnabledDate"),
3271
3271
  Email: import_smithy_client.expectString,
3272
3272
  Id: import_smithy_client.expectString,
3273
3273
  JoinedMethod: import_smithy_client.expectString,
3274
- JoinedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3274
+ JoinedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "JoinedTimestamp"),
3275
3275
  Name: import_smithy_client.expectString,
3276
3276
  Status: import_smithy_client.expectString
3277
3277
  });
@@ -3284,7 +3284,7 @@ var de_DelegatedAdministrators = /* @__PURE__ */ __name((output, context) => {
3284
3284
  }, "de_DelegatedAdministrators");
3285
3285
  var de_DelegatedService = /* @__PURE__ */ __name((output, context) => {
3286
3286
  return (0, import_smithy_client.take)(output, {
3287
- DelegationEnabledDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3287
+ DelegationEnabledDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DelegationEnabledDate"),
3288
3288
  ServicePrincipal: import_smithy_client.expectString
3289
3289
  });
3290
3290
  }, "de_DelegatedService");
@@ -3296,27 +3296,27 @@ var de_DelegatedServices = /* @__PURE__ */ __name((output, context) => {
3296
3296
  }, "de_DelegatedServices");
3297
3297
  var de_DescribeAccountResponse = /* @__PURE__ */ __name((output, context) => {
3298
3298
  return (0, import_smithy_client.take)(output, {
3299
- Account: (_) => de_Account(_, context)
3299
+ Account: /* @__PURE__ */ __name((_) => de_Account(_, context), "Account")
3300
3300
  });
3301
3301
  }, "de_DescribeAccountResponse");
3302
3302
  var de_DescribeCreateAccountStatusResponse = /* @__PURE__ */ __name((output, context) => {
3303
3303
  return (0, import_smithy_client.take)(output, {
3304
- CreateAccountStatus: (_) => de_CreateAccountStatus(_, context)
3304
+ CreateAccountStatus: /* @__PURE__ */ __name((_) => de_CreateAccountStatus(_, context), "CreateAccountStatus")
3305
3305
  });
3306
3306
  }, "de_DescribeCreateAccountStatusResponse");
3307
3307
  var de_DescribeEffectivePolicyResponse = /* @__PURE__ */ __name((output, context) => {
3308
3308
  return (0, import_smithy_client.take)(output, {
3309
- EffectivePolicy: (_) => de_EffectivePolicy(_, context)
3309
+ EffectivePolicy: /* @__PURE__ */ __name((_) => de_EffectivePolicy(_, context), "EffectivePolicy")
3310
3310
  });
3311
3311
  }, "de_DescribeEffectivePolicyResponse");
3312
3312
  var de_DescribeHandshakeResponse = /* @__PURE__ */ __name((output, context) => {
3313
3313
  return (0, import_smithy_client.take)(output, {
3314
- Handshake: (_) => de_Handshake(_, context)
3314
+ Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake")
3315
3315
  });
3316
3316
  }, "de_DescribeHandshakeResponse");
3317
3317
  var de_EffectivePolicy = /* @__PURE__ */ __name((output, context) => {
3318
3318
  return (0, import_smithy_client.take)(output, {
3319
- LastUpdatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3319
+ LastUpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTimestamp"),
3320
3320
  PolicyContent: import_smithy_client.expectString,
3321
3321
  PolicyType: import_smithy_client.expectString,
3322
3322
  TargetId: import_smithy_client.expectString
@@ -3324,12 +3324,12 @@ var de_EffectivePolicy = /* @__PURE__ */ __name((output, context) => {
3324
3324
  }, "de_EffectivePolicy");
3325
3325
  var de_EnableAllFeaturesResponse = /* @__PURE__ */ __name((output, context) => {
3326
3326
  return (0, import_smithy_client.take)(output, {
3327
- Handshake: (_) => de_Handshake(_, context)
3327
+ Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake")
3328
3328
  });
3329
3329
  }, "de_EnableAllFeaturesResponse");
3330
3330
  var de_EnabledServicePrincipal = /* @__PURE__ */ __name((output, context) => {
3331
3331
  return (0, import_smithy_client.take)(output, {
3332
- DateEnabled: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3332
+ DateEnabled: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DateEnabled"),
3333
3333
  ServicePrincipal: import_smithy_client.expectString
3334
3334
  });
3335
3335
  }, "de_EnabledServicePrincipal");
@@ -3343,17 +3343,17 @@ var de_Handshake = /* @__PURE__ */ __name((output, context) => {
3343
3343
  return (0, import_smithy_client.take)(output, {
3344
3344
  Action: import_smithy_client.expectString,
3345
3345
  Arn: import_smithy_client.expectString,
3346
- ExpirationTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3346
+ ExpirationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ExpirationTimestamp"),
3347
3347
  Id: import_smithy_client.expectString,
3348
3348
  Parties: import_smithy_client._json,
3349
- RequestedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3350
- Resources: (_) => de_HandshakeResources(_, context),
3349
+ RequestedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RequestedTimestamp"),
3350
+ Resources: /* @__PURE__ */ __name((_) => de_HandshakeResources(_, context), "Resources"),
3351
3351
  State: import_smithy_client.expectString
3352
3352
  });
3353
3353
  }, "de_Handshake");
3354
3354
  var de_HandshakeResource = /* @__PURE__ */ __name((output, context) => {
3355
3355
  return (0, import_smithy_client.take)(output, {
3356
- Resources: (_) => de_HandshakeResources(_, context),
3356
+ Resources: /* @__PURE__ */ __name((_) => de_HandshakeResources(_, context), "Resources"),
3357
3357
  Type: import_smithy_client.expectString,
3358
3358
  Value: import_smithy_client.expectString
3359
3359
  });
@@ -3372,54 +3372,54 @@ var de_Handshakes = /* @__PURE__ */ __name((output, context) => {
3372
3372
  }, "de_Handshakes");
3373
3373
  var de_InviteAccountToOrganizationResponse = /* @__PURE__ */ __name((output, context) => {
3374
3374
  return (0, import_smithy_client.take)(output, {
3375
- Handshake: (_) => de_Handshake(_, context)
3375
+ Handshake: /* @__PURE__ */ __name((_) => de_Handshake(_, context), "Handshake")
3376
3376
  });
3377
3377
  }, "de_InviteAccountToOrganizationResponse");
3378
3378
  var de_ListAccountsForParentResponse = /* @__PURE__ */ __name((output, context) => {
3379
3379
  return (0, import_smithy_client.take)(output, {
3380
- Accounts: (_) => de_Accounts(_, context),
3380
+ Accounts: /* @__PURE__ */ __name((_) => de_Accounts(_, context), "Accounts"),
3381
3381
  NextToken: import_smithy_client.expectString
3382
3382
  });
3383
3383
  }, "de_ListAccountsForParentResponse");
3384
3384
  var de_ListAccountsResponse = /* @__PURE__ */ __name((output, context) => {
3385
3385
  return (0, import_smithy_client.take)(output, {
3386
- Accounts: (_) => de_Accounts(_, context),
3386
+ Accounts: /* @__PURE__ */ __name((_) => de_Accounts(_, context), "Accounts"),
3387
3387
  NextToken: import_smithy_client.expectString
3388
3388
  });
3389
3389
  }, "de_ListAccountsResponse");
3390
3390
  var de_ListAWSServiceAccessForOrganizationResponse = /* @__PURE__ */ __name((output, context) => {
3391
3391
  return (0, import_smithy_client.take)(output, {
3392
- EnabledServicePrincipals: (_) => de_EnabledServicePrincipals(_, context),
3392
+ EnabledServicePrincipals: /* @__PURE__ */ __name((_) => de_EnabledServicePrincipals(_, context), "EnabledServicePrincipals"),
3393
3393
  NextToken: import_smithy_client.expectString
3394
3394
  });
3395
3395
  }, "de_ListAWSServiceAccessForOrganizationResponse");
3396
3396
  var de_ListCreateAccountStatusResponse = /* @__PURE__ */ __name((output, context) => {
3397
3397
  return (0, import_smithy_client.take)(output, {
3398
- CreateAccountStatuses: (_) => de_CreateAccountStatuses(_, context),
3398
+ CreateAccountStatuses: /* @__PURE__ */ __name((_) => de_CreateAccountStatuses(_, context), "CreateAccountStatuses"),
3399
3399
  NextToken: import_smithy_client.expectString
3400
3400
  });
3401
3401
  }, "de_ListCreateAccountStatusResponse");
3402
3402
  var de_ListDelegatedAdministratorsResponse = /* @__PURE__ */ __name((output, context) => {
3403
3403
  return (0, import_smithy_client.take)(output, {
3404
- DelegatedAdministrators: (_) => de_DelegatedAdministrators(_, context),
3404
+ DelegatedAdministrators: /* @__PURE__ */ __name((_) => de_DelegatedAdministrators(_, context), "DelegatedAdministrators"),
3405
3405
  NextToken: import_smithy_client.expectString
3406
3406
  });
3407
3407
  }, "de_ListDelegatedAdministratorsResponse");
3408
3408
  var de_ListDelegatedServicesForAccountResponse = /* @__PURE__ */ __name((output, context) => {
3409
3409
  return (0, import_smithy_client.take)(output, {
3410
- DelegatedServices: (_) => de_DelegatedServices(_, context),
3410
+ DelegatedServices: /* @__PURE__ */ __name((_) => de_DelegatedServices(_, context), "DelegatedServices"),
3411
3411
  NextToken: import_smithy_client.expectString
3412
3412
  });
3413
3413
  }, "de_ListDelegatedServicesForAccountResponse");
3414
3414
  var de_ListHandshakesForAccountResponse = /* @__PURE__ */ __name((output, context) => {
3415
3415
  return (0, import_smithy_client.take)(output, {
3416
- Handshakes: (_) => de_Handshakes(_, context),
3416
+ Handshakes: /* @__PURE__ */ __name((_) => de_Handshakes(_, context), "Handshakes"),
3417
3417
  NextToken: import_smithy_client.expectString
3418
3418
  });
3419
3419
  }, "de_ListHandshakesForAccountResponse");
3420
3420
  var de_ListHandshakesForOrganizationResponse = /* @__PURE__ */ __name((output, context) => {
3421
3421
  return (0, import_smithy_client.take)(output, {
3422
- Handshakes: (_) => de_Handshakes(_, context),
3422
+ Handshakes: /* @__PURE__ */ __name((_) => de_Handshakes(_, context), "Handshakes"),
3423
3423
  NextToken: import_smithy_client.expectString
3424
3424
  });
3425
3425
  }, "de_ListHandshakesForOrganizationResponse");
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.758.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-organizations",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",