@jjrawlins/cdk-iam-policy-builder-helper 0.0.77 → 0.0.79

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 (173) hide show
  1. package/.jsii +6 -6
  2. package/{cdk-iam-policy-builder-helper → cdkiampolicybuilderhelper}/go.mod +2 -2
  3. package/{cdk-iam-policy-builder-helper → cdkiampolicybuilderhelper}/jsii/jsii.go +2 -2
  4. package/cdkiampolicybuilderhelper/version +1 -0
  5. package/lib/constructs/Actions.d.ts +31 -0
  6. package/lib/constructs/Actions.js +32 -1
  7. package/lib/constructs/ManagedPolicies.d.ts +4 -0
  8. package/lib/constructs/ManagedPolicies.js +5 -1
  9. package/methods_list.txt +31 -0
  10. package/node_modules/@aws-sdk/client-iam/README.md +8 -0
  11. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +243 -73
  12. package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +2 -0
  13. package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateDelegationRequestCommand.js +22 -0
  14. package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +1 -0
  15. package/node_modules/@aws-sdk/client-iam/dist-es/models/models_0.js +4 -26
  16. package/node_modules/@aws-sdk/client-iam/dist-es/models/models_1.js +26 -0
  17. package/node_modules/@aws-sdk/client-iam/dist-es/protocols/Aws_query.js +195 -49
  18. package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +7 -0
  19. package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +3 -2
  20. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateDelegationRequestCommand.d.ts +114 -0
  21. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
  22. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -2
  23. package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +1 -0
  24. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +116 -295
  25. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +296 -1
  26. package/node_modules/@aws-sdk/client-iam/dist-types/protocols/Aws_query.d.ts +9 -0
  27. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +17 -0
  28. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +6 -0
  29. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateDelegationRequestCommand.d.ts +51 -0
  30. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +4 -2
  32. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +1 -0
  33. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +30 -44
  34. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +45 -1
  35. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
  36. package/node_modules/@aws-sdk/client-iam/package.json +5 -5
  37. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  38. package/node_modules/@aws-sdk/core/dist-cjs/index.js +9 -5
  39. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +9 -5
  40. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -4
  41. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +126 -0
  42. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +8 -1
  43. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +1 -1
  44. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -1
  45. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -1
  46. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +1 -1
  47. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -1
  48. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +1 -1
  49. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  50. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
  51. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +27 -0
  52. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +1 -1
  53. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -1
  54. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +1 -1
  55. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  56. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -1
  57. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +1 -1
  58. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
  59. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +17 -0
  60. package/node_modules/@aws-sdk/core/package.json +1 -1
  61. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  62. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  63. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  64. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  65. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  66. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  67. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  68. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  69. package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  70. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  71. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  72. package/node_modules/@smithy/abort-controller/package.json +2 -2
  73. package/node_modules/@smithy/config-resolver/package.json +5 -5
  74. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -1
  75. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +4 -1
  76. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +3 -3
  77. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
  78. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +1 -1
  79. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  80. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +1 -1
  81. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
  82. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  83. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  84. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  85. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  86. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  87. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
  88. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +1 -1
  89. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +1 -1
  90. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
  91. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +1 -1
  92. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +1 -1
  93. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  94. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  95. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +1 -1
  96. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +3 -3
  97. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -1
  98. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +1 -1
  99. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  100. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +1 -1
  101. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +1 -1
  102. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  103. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  104. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  105. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  106. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
  107. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +1 -1
  108. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +1 -1
  109. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +1 -1
  110. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +1 -1
  111. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +1 -1
  112. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +1 -1
  113. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  114. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +1 -1
  115. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +1 -1
  116. package/node_modules/@smithy/core/package.json +7 -7
  117. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  118. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  119. package/node_modules/@smithy/hash-node/package.json +2 -2
  120. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  121. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  122. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  123. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  124. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  125. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  126. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  127. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  128. package/node_modules/@smithy/property-provider/package.json +2 -2
  129. package/node_modules/@smithy/protocol-http/package.json +2 -2
  130. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  131. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  132. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  133. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +2 -3
  134. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +10 -6
  135. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  136. package/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +1 -1
  137. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +1 -2
  138. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +1 -0
  139. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +3 -3
  140. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +2 -2
  141. package/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +12 -0
  142. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
  143. package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +1 -0
  144. package/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +21 -0
  145. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
  146. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +1 -0
  147. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +21 -0
  148. package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
  149. package/node_modules/@smithy/signature-v4/package.json +4 -4
  150. package/node_modules/@smithy/smithy-client/package.json +7 -7
  151. package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +12 -12
  152. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +5 -5
  153. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +15 -15
  154. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +12 -12
  155. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +5 -5
  156. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +15 -15
  157. package/node_modules/@smithy/types/package.json +1 -1
  158. package/node_modules/@smithy/url-parser/package.json +3 -3
  159. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  160. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  161. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  162. package/node_modules/@smithy/util-middleware/package.json +2 -2
  163. package/node_modules/@smithy/util-retry/package.json +3 -3
  164. package/node_modules/@smithy/util-stream/package.json +4 -4
  165. package/node_modules/@smithy/util-waiter/package.json +3 -3
  166. package/package.json +12 -14
  167. package/cdk-iam-policy-builder-helper/version +0 -1
  168. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -17
  169. package/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -13
  170. package/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -7
  171. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -7
  172. /package/{cdk-iam-policy-builder-helper → cdkiampolicybuilderhelper}/LICENSE +0 -0
  173. /package/{cdk-iam-policy-builder-helper → cdkiampolicybuilderhelper}/README.md +0 -0
@@ -285,6 +285,10 @@ class PasswordPolicyViolationException extends IAMServiceException {
285
285
  Object.setPrototypeOf(this, PasswordPolicyViolationException.prototype);
286
286
  }
287
287
  }
288
+ const PolicyParameterTypeEnum = {
289
+ STRING: "string",
290
+ STRING_LIST: "stringList",
291
+ };
288
292
  class OpenIdIdpCommunicationErrorException extends IAMServiceException {
289
293
  name = "OpenIdIdpCommunicationErrorException";
290
294
  $fault = "client";
@@ -559,32 +563,6 @@ const GlobalEndpointTokenVersion = {
559
563
  v1Token: "v1Token",
560
564
  v2Token: "v2Token",
561
565
  };
562
- class PolicyEvaluationException extends IAMServiceException {
563
- name = "PolicyEvaluationException";
564
- $fault = "server";
565
- constructor(opts) {
566
- super({
567
- name: "PolicyEvaluationException",
568
- $fault: "server",
569
- ...opts,
570
- });
571
- Object.setPrototypeOf(this, PolicyEvaluationException.prototype);
572
- }
573
- }
574
- const ContextKeyTypeEnum = {
575
- BINARY: "binary",
576
- BINARY_LIST: "binaryList",
577
- BOOLEAN: "boolean",
578
- BOOLEAN_LIST: "booleanList",
579
- DATE: "date",
580
- DATE_LIST: "dateList",
581
- IP: "ip",
582
- IP_LIST: "ipList",
583
- NUMERIC: "numeric",
584
- NUMERIC_LIST: "numericList",
585
- STRING: "string",
586
- STRING_LIST: "stringList",
587
- };
588
566
  const AccessKeyFilterSensitiveLog = (obj) => ({
589
567
  ...obj,
590
568
  ...(obj.SecretAccessKey && { SecretAccessKey: smithyClient.SENSITIVE_STRING }),
@@ -639,6 +617,32 @@ const ResetServiceSpecificCredentialResponseFilterSensitiveLog = (obj) => ({
639
617
  }),
640
618
  });
641
619
 
620
+ class PolicyEvaluationException extends IAMServiceException {
621
+ name = "PolicyEvaluationException";
622
+ $fault = "server";
623
+ constructor(opts) {
624
+ super({
625
+ name: "PolicyEvaluationException",
626
+ $fault: "server",
627
+ ...opts,
628
+ });
629
+ Object.setPrototypeOf(this, PolicyEvaluationException.prototype);
630
+ }
631
+ }
632
+ const ContextKeyTypeEnum = {
633
+ BINARY: "binary",
634
+ BINARY_LIST: "binaryList",
635
+ BOOLEAN: "boolean",
636
+ BOOLEAN_LIST: "booleanList",
637
+ DATE: "date",
638
+ DATE_LIST: "dateList",
639
+ IP: "ip",
640
+ IP_LIST: "ipList",
641
+ NUMERIC: "numeric",
642
+ NUMERIC_LIST: "numericList",
643
+ STRING: "string",
644
+ STRING_LIST: "stringList",
645
+ };
642
646
  const PolicyEvaluationDecisionType = {
643
647
  ALLOWED: "allowed",
644
648
  EXPLICIT_DENY: "explicitDeny",
@@ -828,6 +832,16 @@ const se_CreateAccountAliasCommand = async (input, context) => {
828
832
  });
829
833
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
830
834
  };
835
+ const se_CreateDelegationRequestCommand = async (input, context) => {
836
+ const headers = SHARED_HEADERS;
837
+ let body;
838
+ body = buildFormUrlencodedString({
839
+ ...se_CreateDelegationRequestRequest(input),
840
+ [_A]: _CDR,
841
+ [_V]: _,
842
+ });
843
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
844
+ };
831
845
  const se_CreateGroupCommand = async (input, context) => {
832
846
  const headers = SHARED_HEADERS;
833
847
  let body;
@@ -2461,6 +2475,19 @@ const de_CreateAccountAliasCommand = async (output, context) => {
2461
2475
  };
2462
2476
  return response;
2463
2477
  };
2478
+ const de_CreateDelegationRequestCommand = async (output, context) => {
2479
+ if (output.statusCode >= 300) {
2480
+ return de_CommandError(output, context);
2481
+ }
2482
+ const data = await core$1.parseXmlBody(output.body, context);
2483
+ let contents = {};
2484
+ contents = de_CreateDelegationRequestResponse(data.CreateDelegationRequestResult);
2485
+ const response = {
2486
+ $metadata: deserializeMetadata(output),
2487
+ ...contents,
2488
+ };
2489
+ return response;
2490
+ };
2464
2491
  const de_CreateGroupCommand = async (output, context) => {
2465
2492
  if (output.statusCode >= 300) {
2466
2493
  return de_CommandError(output, context);
@@ -4848,10 +4875,45 @@ const se_CreateAccountAliasRequest = (input, context) => {
4848
4875
  }
4849
4876
  return entries;
4850
4877
  };
4851
- const se_CreateGroupRequest = (input, context) => {
4878
+ const se_CreateDelegationRequestRequest = (input, context) => {
4852
4879
  const entries = {};
4880
+ if (input[_OAI] != null) {
4881
+ entries[_OAI] = input[_OAI];
4882
+ }
4883
+ if (input[_D] != null) {
4884
+ entries[_D] = input[_D];
4885
+ }
4853
4886
  if (input[_P] != null) {
4854
- entries[_P] = input[_P];
4887
+ const memberEntries = se_DelegationPermission(input[_P]);
4888
+ Object.entries(memberEntries).forEach(([key, value]) => {
4889
+ const loc = `Permissions.${key}`;
4890
+ entries[loc] = value;
4891
+ });
4892
+ }
4893
+ if (input[_RM] != null) {
4894
+ entries[_RM] = input[_RM];
4895
+ }
4896
+ if (input[_RWI] != null) {
4897
+ entries[_RWI] = input[_RWI];
4898
+ }
4899
+ if (input[_RU] != null) {
4900
+ entries[_RU] = input[_RU];
4901
+ }
4902
+ if (input[_NC] != null) {
4903
+ entries[_NC] = input[_NC];
4904
+ }
4905
+ if (input[_SD] != null) {
4906
+ entries[_SD] = input[_SD];
4907
+ }
4908
+ if (input[_OSBO] != null) {
4909
+ entries[_OSBO] = input[_OSBO];
4910
+ }
4911
+ return entries;
4912
+ };
4913
+ const se_CreateGroupRequest = (input, context) => {
4914
+ const entries = {};
4915
+ if (input[_Pa] != null) {
4916
+ entries[_Pa] = input[_Pa];
4855
4917
  }
4856
4918
  if (input[_GN] != null) {
4857
4919
  entries[_GN] = input[_GN];
@@ -4863,8 +4925,8 @@ const se_CreateInstanceProfileRequest = (input, context) => {
4863
4925
  if (input[_IPN] != null) {
4864
4926
  entries[_IPN] = input[_IPN];
4865
4927
  }
4866
- if (input[_P] != null) {
4867
- entries[_P] = input[_P];
4928
+ if (input[_Pa] != null) {
4929
+ entries[_Pa] = input[_Pa];
4868
4930
  }
4869
4931
  if (input[_T] != null) {
4870
4932
  const memberEntries = se_tagListType(input[_T]);
@@ -4883,8 +4945,8 @@ const se_CreateLoginProfileRequest = (input, context) => {
4883
4945
  if (input[_UN] != null) {
4884
4946
  entries[_UN] = input[_UN];
4885
4947
  }
4886
- if (input[_Pa] != null) {
4887
- entries[_Pa] = input[_Pa];
4948
+ if (input[_Pas] != null) {
4949
+ entries[_Pas] = input[_Pas];
4888
4950
  }
4889
4951
  if (input[_PRR] != null) {
4890
4952
  entries[_PRR] = input[_PRR];
@@ -4933,8 +4995,8 @@ const se_CreatePolicyRequest = (input, context) => {
4933
4995
  if (input[_PN] != null) {
4934
4996
  entries[_PN] = input[_PN];
4935
4997
  }
4936
- if (input[_P] != null) {
4937
- entries[_P] = input[_P];
4998
+ if (input[_Pa] != null) {
4999
+ entries[_Pa] = input[_Pa];
4938
5000
  }
4939
5001
  if (input[_PD] != null) {
4940
5002
  entries[_PD] = input[_PD];
@@ -4969,8 +5031,8 @@ const se_CreatePolicyVersionRequest = (input, context) => {
4969
5031
  };
4970
5032
  const se_CreateRoleRequest = (input, context) => {
4971
5033
  const entries = {};
4972
- if (input[_P] != null) {
4973
- entries[_P] = input[_P];
5034
+ if (input[_Pa] != null) {
5035
+ entries[_Pa] = input[_Pa];
4974
5036
  }
4975
5037
  if (input[_RN] != null) {
4976
5038
  entries[_RN] = input[_RN];
@@ -5053,8 +5115,8 @@ const se_CreateServiceSpecificCredentialRequest = (input, context) => {
5053
5115
  };
5054
5116
  const se_CreateUserRequest = (input, context) => {
5055
5117
  const entries = {};
5056
- if (input[_P] != null) {
5057
- entries[_P] = input[_P];
5118
+ if (input[_Pa] != null) {
5119
+ entries[_Pa] = input[_Pa];
5058
5120
  }
5059
5121
  if (input[_UN] != null) {
5060
5122
  entries[_UN] = input[_UN];
@@ -5076,8 +5138,8 @@ const se_CreateUserRequest = (input, context) => {
5076
5138
  };
5077
5139
  const se_CreateVirtualMFADeviceRequest = (input, context) => {
5078
5140
  const entries = {};
5079
- if (input[_P] != null) {
5080
- entries[_P] = input[_P];
5141
+ if (input[_Pa] != null) {
5142
+ entries[_Pa] = input[_Pa];
5081
5143
  }
5082
5144
  if (input[_VMFADN] != null) {
5083
5145
  entries[_VMFADN] = input[_VMFADN];
@@ -5104,6 +5166,23 @@ const se_DeactivateMFADeviceRequest = (input, context) => {
5104
5166
  }
5105
5167
  return entries;
5106
5168
  };
5169
+ const se_DelegationPermission = (input, context) => {
5170
+ const entries = {};
5171
+ if (input[_PTA] != null) {
5172
+ entries[_PTA] = input[_PTA];
5173
+ }
5174
+ if (input[_Par] != null) {
5175
+ const memberEntries = se_policyParameterListType(input[_Par]);
5176
+ if (input[_Par]?.length === 0) {
5177
+ entries.Parameters = [];
5178
+ }
5179
+ Object.entries(memberEntries).forEach(([key, value]) => {
5180
+ const loc = `Parameters.${key}`;
5181
+ entries[loc] = value;
5182
+ });
5183
+ }
5184
+ return entries;
5185
+ };
5107
5186
  const se_DeleteAccessKeyRequest = (input, context) => {
5108
5187
  const entries = {};
5109
5188
  if (input[_UN] != null) {
@@ -6083,6 +6162,53 @@ const se_ListVirtualMFADevicesRequest = (input, context) => {
6083
6162
  }
6084
6163
  return entries;
6085
6164
  };
6165
+ const se_PolicyParameter = (input, context) => {
6166
+ const entries = {};
6167
+ if (input[_N] != null) {
6168
+ entries[_N] = input[_N];
6169
+ }
6170
+ if (input[_Va] != null) {
6171
+ const memberEntries = se_policyParameterValuesListType(input[_Va]);
6172
+ if (input[_Va]?.length === 0) {
6173
+ entries.Values = [];
6174
+ }
6175
+ Object.entries(memberEntries).forEach(([key, value]) => {
6176
+ const loc = `Values.${key}`;
6177
+ entries[loc] = value;
6178
+ });
6179
+ }
6180
+ if (input[_Ty] != null) {
6181
+ entries[_Ty] = input[_Ty];
6182
+ }
6183
+ return entries;
6184
+ };
6185
+ const se_policyParameterListType = (input, context) => {
6186
+ const entries = {};
6187
+ let counter = 1;
6188
+ for (const entry of input) {
6189
+ if (entry === null) {
6190
+ continue;
6191
+ }
6192
+ const memberEntries = se_PolicyParameter(entry);
6193
+ Object.entries(memberEntries).forEach(([key, value]) => {
6194
+ entries[`member.${counter}.${key}`] = value;
6195
+ });
6196
+ counter++;
6197
+ }
6198
+ return entries;
6199
+ };
6200
+ const se_policyParameterValuesListType = (input, context) => {
6201
+ const entries = {};
6202
+ let counter = 1;
6203
+ for (const entry of input) {
6204
+ if (entry === null) {
6205
+ continue;
6206
+ }
6207
+ entries[`member.${counter}`] = entry;
6208
+ counter++;
6209
+ }
6210
+ return entries;
6211
+ };
6086
6212
  const se_PutGroupPolicyRequest = (input, context) => {
6087
6213
  const entries = {};
6088
6214
  if (input[_GN] != null) {
@@ -6403,8 +6529,8 @@ const se_Tag = (input, context) => {
6403
6529
  if (input[_K] != null) {
6404
6530
  entries[_K] = input[_K];
6405
6531
  }
6406
- if (input[_Va] != null) {
6407
- entries[_Va] = input[_Va];
6532
+ if (input[_Val] != null) {
6533
+ entries[_Val] = input[_Val];
6408
6534
  }
6409
6535
  return entries;
6410
6536
  };
@@ -6791,8 +6917,8 @@ const se_UpdateLoginProfileRequest = (input, context) => {
6791
6917
  if (input[_UN] != null) {
6792
6918
  entries[_UN] = input[_UN];
6793
6919
  }
6794
- if (input[_Pa] != null) {
6795
- entries[_Pa] = input[_Pa];
6920
+ if (input[_Pas] != null) {
6921
+ entries[_Pas] = input[_Pas];
6796
6922
  }
6797
6923
  if (input[_PRR] != null) {
6798
6924
  entries[_PRR] = input[_PRR];
@@ -6925,8 +7051,8 @@ const se_UpdateUserRequest = (input, context) => {
6925
7051
  };
6926
7052
  const se_UploadServerCertificateRequest = (input, context) => {
6927
7053
  const entries = {};
6928
- if (input[_P] != null) {
6929
- entries[_P] = input[_P];
7054
+ if (input[_Pa] != null) {
7055
+ entries[_Pa] = input[_Pa];
6930
7056
  }
6931
7057
  if (input[_SCN] != null) {
6932
7058
  entries[_SCN] = input[_SCN];
@@ -7155,6 +7281,16 @@ const de_CreateAccessKeyResponse = (output, context) => {
7155
7281
  }
7156
7282
  return contents;
7157
7283
  };
7284
+ const de_CreateDelegationRequestResponse = (output, context) => {
7285
+ const contents = {};
7286
+ if (output[_CDL] != null) {
7287
+ contents[_CDL] = smithyClient.expectString(output[_CDL]);
7288
+ }
7289
+ if (output[_DRI] != null) {
7290
+ contents[_DRI] = smithyClient.expectString(output[_DRI]);
7291
+ }
7292
+ return contents;
7293
+ };
7158
7294
  const de_CreateGroupResponse = (output, context) => {
7159
7295
  const contents = {};
7160
7296
  if (output[_Gr] != null) {
@@ -7403,8 +7539,8 @@ const de_EntityInfo = (output, context) => {
7403
7539
  if (output[_I] != null) {
7404
7540
  contents[_I] = smithyClient.expectString(output[_I]);
7405
7541
  }
7406
- if (output[_P] != null) {
7407
- contents[_P] = smithyClient.expectString(output[_P]);
7542
+ if (output[_Pa] != null) {
7543
+ contents[_Pa] = smithyClient.expectString(output[_Pa]);
7408
7544
  }
7409
7545
  return contents;
7410
7546
  };
@@ -7896,8 +8032,8 @@ const de_GetUserResponse = (output, context) => {
7896
8032
  };
7897
8033
  const de_Group = (output, context) => {
7898
8034
  const contents = {};
7899
- if (output[_P] != null) {
7900
- contents[_P] = smithyClient.expectString(output[_P]);
8035
+ if (output[_Pa] != null) {
8036
+ contents[_Pa] = smithyClient.expectString(output[_Pa]);
7901
8037
  }
7902
8038
  if (output[_GN] != null) {
7903
8039
  contents[_GN] = smithyClient.expectString(output[_GN]);
@@ -7915,8 +8051,8 @@ const de_Group = (output, context) => {
7915
8051
  };
7916
8052
  const de_GroupDetail = (output, context) => {
7917
8053
  const contents = {};
7918
- if (output[_P] != null) {
7919
- contents[_P] = smithyClient.expectString(output[_P]);
8054
+ if (output[_Pa] != null) {
8055
+ contents[_Pa] = smithyClient.expectString(output[_Pa]);
7920
8056
  }
7921
8057
  if (output[_GN] != null) {
7922
8058
  contents[_GN] = smithyClient.expectString(output[_GN]);
@@ -7967,8 +8103,8 @@ const de_groupNameListType = (output, context) => {
7967
8103
  };
7968
8104
  const de_InstanceProfile = (output, context) => {
7969
8105
  const contents = {};
7970
- if (output[_P] != null) {
7971
- contents[_P] = smithyClient.expectString(output[_P]);
8106
+ if (output[_Pa] != null) {
8107
+ contents[_Pa] = smithyClient.expectString(output[_Pa]);
7972
8108
  }
7973
8109
  if (output[_IPN] != null) {
7974
8110
  contents[_IPN] = smithyClient.expectString(output[_IPN]);
@@ -8667,8 +8803,8 @@ const de_ManagedPolicyDetail = (output, context) => {
8667
8803
  if (output[_Ar] != null) {
8668
8804
  contents[_Ar] = smithyClient.expectString(output[_Ar]);
8669
8805
  }
8670
- if (output[_P] != null) {
8671
- contents[_P] = smithyClient.expectString(output[_P]);
8806
+ if (output[_Pa] != null) {
8807
+ contents[_Pa] = smithyClient.expectString(output[_Pa]);
8672
8808
  }
8673
8809
  if (output[_DVI] != null) {
8674
8810
  contents[_DVI] = smithyClient.expectString(output[_DVI]);
@@ -8834,8 +8970,8 @@ const de_Policy = (output, context) => {
8834
8970
  if (output[_Ar] != null) {
8835
8971
  contents[_Ar] = smithyClient.expectString(output[_Ar]);
8836
8972
  }
8837
- if (output[_P] != null) {
8838
- contents[_P] = smithyClient.expectString(output[_P]);
8973
+ if (output[_Pa] != null) {
8974
+ contents[_Pa] = smithyClient.expectString(output[_Pa]);
8839
8975
  }
8840
8976
  if (output[_DVI] != null) {
8841
8977
  contents[_DVI] = smithyClient.expectString(output[_DVI]);
@@ -9082,8 +9218,8 @@ const de_ResourceSpecificResultListType = (output, context) => {
9082
9218
  };
9083
9219
  const de_Role = (output, context) => {
9084
9220
  const contents = {};
9085
- if (output[_P] != null) {
9086
- contents[_P] = smithyClient.expectString(output[_P]);
9221
+ if (output[_Pa] != null) {
9222
+ contents[_Pa] = smithyClient.expectString(output[_Pa]);
9087
9223
  }
9088
9224
  if (output[_RN] != null) {
9089
9225
  contents[_RN] = smithyClient.expectString(output[_RN]);
@@ -9122,8 +9258,8 @@ const de_Role = (output, context) => {
9122
9258
  };
9123
9259
  const de_RoleDetail = (output, context) => {
9124
9260
  const contents = {};
9125
- if (output[_P] != null) {
9126
- contents[_P] = smithyClient.expectString(output[_P]);
9261
+ if (output[_Pa] != null) {
9262
+ contents[_Pa] = smithyClient.expectString(output[_Pa]);
9127
9263
  }
9128
9264
  if (output[_RN] != null) {
9129
9265
  contents[_RN] = smithyClient.expectString(output[_RN]);
@@ -9267,8 +9403,8 @@ const de_ServerCertificate = (output, context) => {
9267
9403
  };
9268
9404
  const de_ServerCertificateMetadata = (output, context) => {
9269
9405
  const contents = {};
9270
- if (output[_P] != null) {
9271
- contents[_P] = smithyClient.expectString(output[_P]);
9406
+ if (output[_Pa] != null) {
9407
+ contents[_Pa] = smithyClient.expectString(output[_Pa]);
9272
9408
  }
9273
9409
  if (output[_SCN] != null) {
9274
9410
  contents[_SCN] = smithyClient.expectString(output[_SCN]);
@@ -9536,8 +9672,8 @@ const de_Tag = (output, context) => {
9536
9672
  if (output[_K] != null) {
9537
9673
  contents[_K] = smithyClient.expectString(output[_K]);
9538
9674
  }
9539
- if (output[_Va] != null) {
9540
- contents[_Va] = smithyClient.expectString(output[_Va]);
9675
+ if (output[_Val] != null) {
9676
+ contents[_Val] = smithyClient.expectString(output[_Val]);
9541
9677
  }
9542
9678
  return contents;
9543
9679
  };
@@ -9639,8 +9775,8 @@ const de_UploadSSHPublicKeyResponse = (output, context) => {
9639
9775
  };
9640
9776
  const de_User = (output, context) => {
9641
9777
  const contents = {};
9642
- if (output[_P] != null) {
9643
- contents[_P] = smithyClient.expectString(output[_P]);
9778
+ if (output[_Pa] != null) {
9779
+ contents[_Pa] = smithyClient.expectString(output[_Pa]);
9644
9780
  }
9645
9781
  if (output[_UN] != null) {
9646
9782
  contents[_UN] = smithyClient.expectString(output[_UN]);
@@ -9670,8 +9806,8 @@ const de_User = (output, context) => {
9670
9806
  };
9671
9807
  const de_UserDetail = (output, context) => {
9672
9808
  const contents = {};
9673
- if (output[_P] != null) {
9674
- contents[_P] = smithyClient.expectString(output[_P]);
9809
+ if (output[_Pa] != null) {
9810
+ contents[_Pa] = smithyClient.expectString(output[_Pa]);
9675
9811
  }
9676
9812
  if (output[_UN] != null) {
9677
9813
  contents[_UN] = smithyClient.expectString(output[_UN]);
@@ -9826,6 +9962,8 @@ const _CAK = "CreateAccessKey";
9826
9962
  const _CB = "CertificateBody";
9827
9963
  const _CC = "CertificateChain";
9828
9964
  const _CD = "CreateDate";
9965
+ const _CDL = "ConsoleDeepLink";
9966
+ const _CDR = "CreateDelegationRequest";
9829
9967
  const _CE = "ContextEntries";
9830
9968
  const _CG = "CreateGroup";
9831
9969
  const _CI = "CertificateId";
@@ -9869,6 +10007,7 @@ const _DORS = "DisableOrganizationsRootSessions";
9869
10007
  const _DP = "DeletePolicy";
9870
10008
  const _DPV = "DeletePolicyVersion";
9871
10009
  const _DR = "DeleteRole";
10010
+ const _DRI = "DelegationRequestId";
9872
10011
  const _DRP = "DeleteRolePolicy";
9873
10012
  const _DRPB = "DeleteRolePermissionsBoundary";
9874
10013
  const _DRPe = "DetachRolePolicy";
@@ -10023,6 +10162,7 @@ const _MS = "MatchedStatements";
10023
10162
  const _MSD = "MaxSessionDuration";
10024
10163
  const _Me = "Message";
10025
10164
  const _N = "Name";
10165
+ const _NC = "NotificationChannel";
10026
10166
  const _NGN = "NewGroupName";
10027
10167
  const _NOSA = "NumberOfServicesAccessible";
10028
10168
  const _NOSNA = "NumberOfServicesNotAccessed";
@@ -10031,13 +10171,15 @@ const _NPe = "NewPath";
10031
10171
  const _NSCN = "NewServerCertificateName";
10032
10172
  const _NUN = "NewUserName";
10033
10173
  const _OA = "OnlyAttached";
10174
+ const _OAI = "OwnerAccountId";
10034
10175
  const _ODD = "OrganizationsDecisionDetail";
10035
10176
  const _OI = "OrganizationId";
10036
10177
  const _OIDCPA = "OpenIDConnectProviderArn";
10037
10178
  const _OIDCPL = "OpenIDConnectProviderList";
10038
10179
  const _OP = "OldPassword";
10039
10180
  const _OPI = "OrganizationsPolicyId";
10040
- const _P = "Path";
10181
+ const _OSBO = "OnlySendByOwner";
10182
+ const _P = "Permissions";
10041
10183
  const _PA = "PolicyArn";
10042
10184
  const _PB = "PermissionsBoundary";
10043
10185
  const _PBA = "PermissionsBoundaryArn";
@@ -10065,13 +10207,16 @@ const _PRPa = "PasswordReusePrevention";
10065
10207
  const _PRR = "PasswordResetRequired";
10066
10208
  const _PSA = "PolicySourceArn";
10067
10209
  const _PT = "PolicyType";
10210
+ const _PTA = "PolicyTemplateArn";
10068
10211
  const _PU = "PolicyUsers";
10069
10212
  const _PUF = "PolicyUsageFilter";
10070
10213
  const _PUP = "PutUserPolicy";
10071
10214
  const _PUPB = "PutUserPermissionsBoundary";
10072
10215
  const _PV = "PolicyVersion";
10073
10216
  const _PVL = "PolicyVersionList";
10074
- const _Pa = "Password";
10217
+ const _Pa = "Path";
10218
+ const _Par = "Parameters";
10219
+ const _Pas = "Password";
10075
10220
  const _Po = "Policy";
10076
10221
  const _Pol = "Policies";
10077
10222
  const _QRCPNG = "QRCodePNG";
@@ -10084,6 +10229,7 @@ const _RHO = "ResourceHandlingOption";
10084
10229
  const _RI = "RoleId";
10085
10230
  const _RLC = "RequireLowercaseCharacters";
10086
10231
  const _RLU = "RoleLastUsed";
10232
+ const _RM = "RequestMessage";
10087
10233
  const _RMFAD = "ResyncMFADevice";
10088
10234
  const _RN = "RoleName";
10089
10235
  const _RNe = "RequireNumbers";
@@ -10095,9 +10241,11 @@ const _RRFIP = "RemoveRoleFromInstanceProfile";
10095
10241
  const _RS = "RequireSymbols";
10096
10242
  const _RSR = "ResourceSpecificResults";
10097
10243
  const _RSSC = "ResetServiceSpecificCredential";
10244
+ const _RU = "RedirectUrl";
10098
10245
  const _RUC = "RequireUppercaseCharacters";
10099
10246
  const _RUFG = "RemoveUserFromGroup";
10100
10247
  const _RUL = "RoleUsageList";
10248
+ const _RWI = "RequestorWorkflowId";
10101
10249
  const _Re = "Reason";
10102
10250
  const _Res = "Resources";
10103
10251
  const _Ro = "Role";
@@ -10117,6 +10265,7 @@ const _SCML = "ServerCertificateMetadataList";
10117
10265
  const _SCN = "ServerCertificateName";
10118
10266
  const _SCP = "SimulateCustomPolicy";
10119
10267
  const _SCS = "ServiceCredentialSecret";
10268
+ const _SD = "SessionDuration";
10120
10269
  const _SDPV = "SetDefaultPolicyVersion";
10121
10270
  const _SK = "SortKey";
10122
10271
  const _SLA = "ServicesLastAccessed";
@@ -10196,7 +10345,8 @@ const _VMFAD = "VirtualMFADevice";
10196
10345
  const _VMFADN = "VirtualMFADeviceName";
10197
10346
  const _VMFADi = "VirtualMFADevices";
10198
10347
  const _VU = "ValidUntil";
10199
- const _Va = "Value";
10348
+ const _Va = "Values";
10349
+ const _Val = "Value";
10200
10350
  const _Ve = "Versions";
10201
10351
  const _e = "entry";
10202
10352
  const _m = "message";
@@ -10366,6 +10516,23 @@ class CreateAccountAliasCommand extends smithyClient.Command
10366
10516
  .build() {
10367
10517
  }
10368
10518
 
10519
+ class CreateDelegationRequestCommand extends smithyClient.Command
10520
+ .classBuilder()
10521
+ .ep(commonParams)
10522
+ .m(function (Command, cs, config, o) {
10523
+ return [
10524
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
10525
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
10526
+ ];
10527
+ })
10528
+ .s("AWSIdentityManagementV20100508", "CreateDelegationRequest", {})
10529
+ .n("IAMClient", "CreateDelegationRequestCommand")
10530
+ .f(void 0, void 0)
10531
+ .ser(se_CreateDelegationRequestCommand)
10532
+ .de(de_CreateDelegationRequestCommand)
10533
+ .build() {
10534
+ }
10535
+
10369
10536
  class CreateGroupCommand extends smithyClient.Command
10370
10537
  .classBuilder()
10371
10538
  .ep(commonParams)
@@ -13011,6 +13178,7 @@ const commands = {
13011
13178
  ChangePasswordCommand,
13012
13179
  CreateAccessKeyCommand,
13013
13180
  CreateAccountAliasCommand,
13181
+ CreateDelegationRequestCommand,
13014
13182
  CreateGroupCommand,
13015
13183
  CreateInstanceProfileCommand,
13016
13184
  CreateLoginProfileCommand,
@@ -13366,6 +13534,7 @@ exports.ContextKeyTypeEnum = ContextKeyTypeEnum;
13366
13534
  exports.CreateAccessKeyCommand = CreateAccessKeyCommand;
13367
13535
  exports.CreateAccessKeyResponseFilterSensitiveLog = CreateAccessKeyResponseFilterSensitiveLog;
13368
13536
  exports.CreateAccountAliasCommand = CreateAccountAliasCommand;
13537
+ exports.CreateDelegationRequestCommand = CreateDelegationRequestCommand;
13369
13538
  exports.CreateGroupCommand = CreateGroupCommand;
13370
13539
  exports.CreateInstanceProfileCommand = CreateInstanceProfileCommand;
13371
13540
  exports.CreateLoginProfileCommand = CreateLoginProfileCommand;
@@ -13515,6 +13684,7 @@ exports.PolicyEvaluationDecisionType = PolicyEvaluationDecisionType;
13515
13684
  exports.PolicyEvaluationException = PolicyEvaluationException;
13516
13685
  exports.PolicyNotAttachableException = PolicyNotAttachableException;
13517
13686
  exports.PolicyOwnerEntityType = PolicyOwnerEntityType;
13687
+ exports.PolicyParameterTypeEnum = PolicyParameterTypeEnum;
13518
13688
  exports.PolicyScopeType = PolicyScopeType;
13519
13689
  exports.PolicySourceType = PolicySourceType;
13520
13690
  exports.PolicyType = PolicyType;
@@ -8,6 +8,7 @@ import { AttachUserPolicyCommand, } from "./commands/AttachUserPolicyCommand";
8
8
  import { ChangePasswordCommand, } from "./commands/ChangePasswordCommand";
9
9
  import { CreateAccessKeyCommand, } from "./commands/CreateAccessKeyCommand";
10
10
  import { CreateAccountAliasCommand, } from "./commands/CreateAccountAliasCommand";
11
+ import { CreateDelegationRequestCommand, } from "./commands/CreateDelegationRequestCommand";
11
12
  import { CreateGroupCommand } from "./commands/CreateGroupCommand";
12
13
  import { CreateInstanceProfileCommand, } from "./commands/CreateInstanceProfileCommand";
13
14
  import { CreateLoginProfileCommand, } from "./commands/CreateLoginProfileCommand";
@@ -174,6 +175,7 @@ const commands = {
174
175
  ChangePasswordCommand,
175
176
  CreateAccessKeyCommand,
176
177
  CreateAccountAliasCommand,
178
+ CreateDelegationRequestCommand,
177
179
  CreateGroupCommand,
178
180
  CreateInstanceProfileCommand,
179
181
  CreateLoginProfileCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateDelegationRequestCommand, se_CreateDelegationRequestCommand } from "../protocols/Aws_query";
6
+ export { $Command };
7
+ export class CreateDelegationRequestCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSIdentityManagementV20100508", "CreateDelegationRequest", {})
17
+ .n("IAMClient", "CreateDelegationRequestCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateDelegationRequestCommand)
20
+ .de(de_CreateDelegationRequestCommand)
21
+ .build() {
22
+ }
@@ -7,6 +7,7 @@ export * from "./AttachUserPolicyCommand";
7
7
  export * from "./ChangePasswordCommand";
8
8
  export * from "./CreateAccessKeyCommand";
9
9
  export * from "./CreateAccountAliasCommand";
10
+ export * from "./CreateDelegationRequestCommand";
10
11
  export * from "./CreateGroupCommand";
11
12
  export * from "./CreateInstanceProfileCommand";
12
13
  export * from "./CreateLoginProfileCommand";