@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
@@ -1,6 +1,301 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
- import { AssertionEncryptionModeType, ContextEntry, Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, StatusType, Tag } from "./models_0";
3
+ import { AssertionEncryptionModeType, GlobalEndpointTokenVersion, Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, StatusType, Tag } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface SetSecurityTokenServicePreferencesRequest {
8
+ /**
9
+ * <p>The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in
10
+ * manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid
11
+ * in all Regions. However, version 2 tokens are longer and might affect systems where you
12
+ * temporarily store tokens.</p>
13
+ * <p>For information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and
14
+ * deactivating STS in an Amazon Web Services Region</a> in the
15
+ * <i>IAM User Guide</i>.</p>
16
+ * @public
17
+ */
18
+ GlobalEndpointTokenVersion: GlobalEndpointTokenVersion | undefined;
19
+ }
20
+ /**
21
+ * <p>The request failed because a provided policy could not be successfully evaluated. An
22
+ * additional detailed message indicates the source of the failure.</p>
23
+ * @public
24
+ */
25
+ export declare class PolicyEvaluationException extends __BaseException {
26
+ readonly name: "PolicyEvaluationException";
27
+ readonly $fault: "server";
28
+ /**
29
+ * @internal
30
+ */
31
+ constructor(opts: __ExceptionOptionType<PolicyEvaluationException, __BaseException>);
32
+ }
33
+ /**
34
+ * @public
35
+ * @enum
36
+ */
37
+ export declare const ContextKeyTypeEnum: {
38
+ readonly BINARY: "binary";
39
+ readonly BINARY_LIST: "binaryList";
40
+ readonly BOOLEAN: "boolean";
41
+ readonly BOOLEAN_LIST: "booleanList";
42
+ readonly DATE: "date";
43
+ readonly DATE_LIST: "dateList";
44
+ readonly IP: "ip";
45
+ readonly IP_LIST: "ipList";
46
+ readonly NUMERIC: "numeric";
47
+ readonly NUMERIC_LIST: "numericList";
48
+ readonly STRING: "string";
49
+ readonly STRING_LIST: "stringList";
50
+ };
51
+ /**
52
+ * @public
53
+ */
54
+ export type ContextKeyTypeEnum = (typeof ContextKeyTypeEnum)[keyof typeof ContextKeyTypeEnum];
55
+ /**
56
+ * <p>Contains information about a condition context key. It includes the name of the key and
57
+ * specifies the value (or values, if the context key supports multiple values) to use in the
58
+ * simulation. This information is used when evaluating the <code>Condition</code> elements of
59
+ * the input policies.</p>
60
+ * <p>This data type is used as an input parameter to <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html">SimulateCustomPolicy</a>
61
+ * and <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html">SimulatePrincipalPolicy</a>.</p>
62
+ * @public
63
+ */
64
+ export interface ContextEntry {
65
+ /**
66
+ * <p>The full name of a condition context key, including the service prefix. For example,
67
+ * <code>aws:SourceIp</code> or <code>s3:VersionId</code>.</p>
68
+ * @public
69
+ */
70
+ ContextKeyName?: string | undefined;
71
+ /**
72
+ * <p>The value (or values, if the condition context key supports multiple values) to provide
73
+ * to the simulation when the key is referenced by a <code>Condition</code> element in an
74
+ * input policy.</p>
75
+ * @public
76
+ */
77
+ ContextKeyValues?: string[] | undefined;
78
+ /**
79
+ * <p>The data type of the value (or values) specified in the <code>ContextKeyValues</code>
80
+ * parameter.</p>
81
+ * @public
82
+ */
83
+ ContextKeyType?: ContextKeyTypeEnum | undefined;
84
+ }
85
+ /**
86
+ * @public
87
+ */
88
+ export interface SimulateCustomPolicyRequest {
89
+ /**
90
+ * <p>A list of policy documents to include in the simulation. Each document is specified as
91
+ * a string containing the complete, valid JSON text of an IAM policy. Do not include any
92
+ * resource-based policies in this parameter. Any resource-based policy must be submitted
93
+ * with the <code>ResourcePolicy</code> parameter. The policies cannot be "scope-down"
94
+ * policies, such as you could include in a call to <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetFederationToken.html">GetFederationToken</a> or one of
95
+ * the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_AssumeRole.html">AssumeRole</a> API operations. In other words, do not use policies designed to
96
+ * restrict what a user can do while using the temporary credentials.</p>
97
+ * <p>The maximum length of the policy document that you can pass in this operation,
98
+ * including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length">IAM and STS character quotas</a>.</p>
99
+ * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
100
+ * used to validate this parameter is a string of characters consisting of the following:</p>
101
+ * <ul>
102
+ * <li>
103
+ * <p>Any printable ASCII
104
+ * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
105
+ * </li>
106
+ * <li>
107
+ * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
108
+ * (through <code>\u00FF</code>)</p>
109
+ * </li>
110
+ * <li>
111
+ * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
112
+ * carriage return (<code>\u000D</code>)</p>
113
+ * </li>
114
+ * </ul>
115
+ * @public
116
+ */
117
+ PolicyInputList: string[] | undefined;
118
+ /**
119
+ * <p>The IAM permissions boundary policy to simulate. The permissions boundary sets the
120
+ * maximum permissions that an IAM entity can have. You can input only one permissions
121
+ * boundary when you pass a policy to this operation. For more information about
122
+ * permissions boundaries, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html">Permissions boundaries for IAM
123
+ * entities</a> in the <i>IAM User Guide</i>. The policy input is
124
+ * specified as a string that contains the complete, valid JSON text of a permissions
125
+ * boundary policy.</p>
126
+ * <p>The maximum length of the policy document that you can pass in this operation,
127
+ * including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length">IAM and STS character quotas</a>.</p>
128
+ * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
129
+ * used to validate this parameter is a string of characters consisting of the following:</p>
130
+ * <ul>
131
+ * <li>
132
+ * <p>Any printable ASCII
133
+ * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
134
+ * </li>
135
+ * <li>
136
+ * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
137
+ * (through <code>\u00FF</code>)</p>
138
+ * </li>
139
+ * <li>
140
+ * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
141
+ * carriage return (<code>\u000D</code>)</p>
142
+ * </li>
143
+ * </ul>
144
+ * @public
145
+ */
146
+ PermissionsBoundaryPolicyInputList?: string[] | undefined;
147
+ /**
148
+ * <p>A list of names of API operations to evaluate in the simulation. Each operation is
149
+ * evaluated against each resource. Each operation must include the service identifier,
150
+ * such as <code>iam:CreateUser</code>. This operation does not support using wildcards (*)
151
+ * in an action name.</p>
152
+ * @public
153
+ */
154
+ ActionNames: string[] | undefined;
155
+ /**
156
+ * <p>A list of ARNs of Amazon Web Services resources to include in the simulation. If this parameter is
157
+ * not provided, then the value defaults to <code>*</code> (all resources). Each API in the
158
+ * <code>ActionNames</code> parameter is evaluated for each resource in this list. The
159
+ * simulation determines the access result (allowed or denied) of each combination and
160
+ * reports it in the response. You can simulate resources that don't exist in your
161
+ * account.</p>
162
+ * <p>The simulation does not automatically retrieve policies for the specified resources.
163
+ * If you want to include a resource policy in the simulation, then you must include the
164
+ * policy as a string in the <code>ResourcePolicy</code> parameter.</p>
165
+ * <p>If you include a <code>ResourcePolicy</code>, then it must be applicable to all of the
166
+ * resources included in the simulation or you receive an invalid input error.</p>
167
+ * <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
168
+ * <note>
169
+ * <p>Simulation of resource-based policies isn't supported for IAM roles.</p>
170
+ * </note>
171
+ * @public
172
+ */
173
+ ResourceArns?: string[] | undefined;
174
+ /**
175
+ * <p>A resource-based policy to include in the simulation provided as a string. Each
176
+ * resource in the simulation is treated as if it had this policy attached. You can include
177
+ * only one resource-based policy in a simulation.</p>
178
+ * <p>The maximum length of the policy document that you can pass in this operation,
179
+ * including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length">IAM and STS character quotas</a>.</p>
180
+ * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
181
+ * used to validate this parameter is a string of characters consisting of the following:</p>
182
+ * <ul>
183
+ * <li>
184
+ * <p>Any printable ASCII
185
+ * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
186
+ * </li>
187
+ * <li>
188
+ * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
189
+ * (through <code>\u00FF</code>)</p>
190
+ * </li>
191
+ * <li>
192
+ * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
193
+ * carriage return (<code>\u000D</code>)</p>
194
+ * </li>
195
+ * </ul>
196
+ * <note>
197
+ * <p>Simulation of resource-based policies isn't supported for IAM roles.</p>
198
+ * </note>
199
+ * @public
200
+ */
201
+ ResourcePolicy?: string | undefined;
202
+ /**
203
+ * <p>An ARN representing the Amazon Web Services account ID that specifies the owner of any simulated
204
+ * resource that does not identify its owner in the resource ARN. Examples of resource ARNs
205
+ * include an S3 bucket or object. If <code>ResourceOwner</code> is specified, it is also
206
+ * used as the account owner of any <code>ResourcePolicy</code> included in the simulation.
207
+ * If the <code>ResourceOwner</code> parameter is not specified, then the owner of the
208
+ * resources and the resource policy defaults to the account of the identity provided in
209
+ * <code>CallerArn</code>. This parameter is required only if you specify a
210
+ * resource-based policy and account that owns the resource is different from the account
211
+ * that owns the simulated calling user <code>CallerArn</code>.</p>
212
+ * <p>The ARN for an account uses the following syntax:
213
+ * <code>arn:aws:iam::<i>AWS-account-ID</i>:root</code>. For example,
214
+ * to represent the account with the 112233445566 ID, use the following ARN:
215
+ * <code>arn:aws:iam::112233445566-ID:root</code>. </p>
216
+ * @public
217
+ */
218
+ ResourceOwner?: string | undefined;
219
+ /**
220
+ * <p>The ARN of the IAM user that you want to use as the simulated caller of the API
221
+ * operations. <code>CallerArn</code> is required if you include a
222
+ * <code>ResourcePolicy</code> so that the policy's <code>Principal</code> element has
223
+ * a value to use in evaluating the policy.</p>
224
+ * <p>You can specify only the ARN of an IAM user. You cannot specify the ARN of an
225
+ * assumed role, federated user, or a service principal.</p>
226
+ * @public
227
+ */
228
+ CallerArn?: string | undefined;
229
+ /**
230
+ * <p>A list of context keys and corresponding values for the simulation to use. Whenever a
231
+ * context key is evaluated in one of the simulated IAM permissions policies, the
232
+ * corresponding value is supplied.</p>
233
+ * @public
234
+ */
235
+ ContextEntries?: ContextEntry[] | undefined;
236
+ /**
237
+ * <p>Specifies the type of simulation to run. Different API operations that support
238
+ * resource-based policies require different combinations of resources. By specifying the
239
+ * type of simulation to run, you enable the policy simulator to enforce the presence of
240
+ * the required resources to ensure reliable simulation results. If your simulation does
241
+ * not match one of the following scenarios, then you can omit this parameter. The
242
+ * following list shows each of the supported scenario values and the resources that you
243
+ * must define to run the simulation.</p>
244
+ * <p>Each of the Amazon EC2 scenarios requires that you specify instance, image, and security
245
+ * group resources. If your scenario includes an EBS volume, then you must specify that
246
+ * volume as a resource. If the Amazon EC2 scenario includes VPC, then you must supply the
247
+ * network interface resource. If it includes an IP subnet, then you must specify the
248
+ * subnet resource. For more information on the Amazon EC2 scenario options, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html">Supported platforms</a> in the <i>Amazon EC2 User Guide</i>.</p>
249
+ * <ul>
250
+ * <li>
251
+ * <p>
252
+ * <b>EC2-VPC-InstanceStore</b>
253
+ * </p>
254
+ * <p>instance, image, security group, network interface</p>
255
+ * </li>
256
+ * <li>
257
+ * <p>
258
+ * <b>EC2-VPC-InstanceStore-Subnet</b>
259
+ * </p>
260
+ * <p>instance, image, security group, network interface, subnet</p>
261
+ * </li>
262
+ * <li>
263
+ * <p>
264
+ * <b>EC2-VPC-EBS</b>
265
+ * </p>
266
+ * <p>instance, image, security group, network interface, volume</p>
267
+ * </li>
268
+ * <li>
269
+ * <p>
270
+ * <b>EC2-VPC-EBS-Subnet</b>
271
+ * </p>
272
+ * <p>instance, image, security group, network interface, subnet, volume</p>
273
+ * </li>
274
+ * </ul>
275
+ * @public
276
+ */
277
+ ResourceHandlingOption?: string | undefined;
278
+ /**
279
+ * <p>Use this only when paginating results to indicate the
280
+ * maximum number of items you want in the response. If additional items exist beyond the maximum
281
+ * you specify, the <code>IsTruncated</code> response element is <code>true</code>.</p>
282
+ * <p>If you do not include this parameter, the number of items defaults to 100. Note that
283
+ * IAM might return fewer results, even when there are more results available. In that case, the
284
+ * <code>IsTruncated</code> response element returns <code>true</code>, and <code>Marker</code>
285
+ * contains a value to include in the subsequent call that tells the service where to continue
286
+ * from.</p>
287
+ * @public
288
+ */
289
+ MaxItems?: number | undefined;
290
+ /**
291
+ * <p>Use this parameter only when paginating results and only after
292
+ * you receive a response indicating that the results are truncated. Set it to the value of the
293
+ * <code>Marker</code> element in the response that you received to indicate where the next call
294
+ * should start.</p>
295
+ * @public
296
+ */
297
+ Marker?: string | undefined;
298
+ }
4
299
  /**
5
300
  * @public
6
301
  * @enum
@@ -9,6 +9,7 @@ import { AttachUserPolicyCommandInput, AttachUserPolicyCommandOutput } from "../
9
9
  import { ChangePasswordCommandInput, ChangePasswordCommandOutput } from "../commands/ChangePasswordCommand";
10
10
  import { CreateAccessKeyCommandInput, CreateAccessKeyCommandOutput } from "../commands/CreateAccessKeyCommand";
11
11
  import { CreateAccountAliasCommandInput, CreateAccountAliasCommandOutput } from "../commands/CreateAccountAliasCommand";
12
+ import { CreateDelegationRequestCommandInput, CreateDelegationRequestCommandOutput } from "../commands/CreateDelegationRequestCommand";
12
13
  import { CreateGroupCommandInput, CreateGroupCommandOutput } from "../commands/CreateGroupCommand";
13
14
  import { CreateInstanceProfileCommandInput, CreateInstanceProfileCommandOutput } from "../commands/CreateInstanceProfileCommand";
14
15
  import { CreateLoginProfileCommandInput, CreateLoginProfileCommandOutput } from "../commands/CreateLoginProfileCommand";
@@ -200,6 +201,10 @@ export declare const se_CreateAccessKeyCommand: (input: CreateAccessKeyCommandIn
200
201
  * serializeAws_queryCreateAccountAliasCommand
201
202
  */
202
203
  export declare const se_CreateAccountAliasCommand: (input: CreateAccountAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
204
+ /**
205
+ * serializeAws_queryCreateDelegationRequestCommand
206
+ */
207
+ export declare const se_CreateDelegationRequestCommand: (input: CreateDelegationRequestCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
203
208
  /**
204
209
  * serializeAws_queryCreateGroupCommand
205
210
  */
@@ -856,6 +861,10 @@ export declare const de_CreateAccessKeyCommand: (output: __HttpResponse, context
856
861
  * deserializeAws_queryCreateAccountAliasCommand
857
862
  */
858
863
  export declare const de_CreateAccountAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAccountAliasCommandOutput>;
864
+ /**
865
+ * deserializeAws_queryCreateDelegationRequestCommand
866
+ */
867
+ export declare const de_CreateDelegationRequestCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDelegationRequestCommandOutput>;
859
868
  /**
860
869
  * deserializeAws_queryCreateGroupCommand
861
870
  */
@@ -35,6 +35,10 @@ import {
35
35
  CreateAccountAliasCommandInput,
36
36
  CreateAccountAliasCommandOutput,
37
37
  } from "./commands/CreateAccountAliasCommand";
38
+ import {
39
+ CreateDelegationRequestCommandInput,
40
+ CreateDelegationRequestCommandOutput,
41
+ } from "./commands/CreateDelegationRequestCommand";
38
42
  import {
39
43
  CreateGroupCommandInput,
40
44
  CreateGroupCommandOutput,
@@ -781,6 +785,19 @@ export interface IAM {
781
785
  options: __HttpHandlerOptions,
782
786
  cb: (err: any, data?: CreateAccountAliasCommandOutput) => void
783
787
  ): void;
788
+ createDelegationRequest(
789
+ args: CreateDelegationRequestCommandInput,
790
+ options?: __HttpHandlerOptions
791
+ ): Promise<CreateDelegationRequestCommandOutput>;
792
+ createDelegationRequest(
793
+ args: CreateDelegationRequestCommandInput,
794
+ cb: (err: any, data?: CreateDelegationRequestCommandOutput) => void
795
+ ): void;
796
+ createDelegationRequest(
797
+ args: CreateDelegationRequestCommandInput,
798
+ options: __HttpHandlerOptions,
799
+ cb: (err: any, data?: CreateDelegationRequestCommandOutput) => void
800
+ ): void;
784
801
  createGroup(
785
802
  args: CreateGroupCommandInput,
786
803
  options?: __HttpHandlerOptions
@@ -81,6 +81,10 @@ import {
81
81
  CreateAccountAliasCommandInput,
82
82
  CreateAccountAliasCommandOutput,
83
83
  } from "./commands/CreateAccountAliasCommand";
84
+ import {
85
+ CreateDelegationRequestCommandInput,
86
+ CreateDelegationRequestCommandOutput,
87
+ } from "./commands/CreateDelegationRequestCommand";
84
88
  import {
85
89
  CreateGroupCommandInput,
86
90
  CreateGroupCommandOutput,
@@ -718,6 +722,7 @@ export type ServiceInputTypes =
718
722
  | ChangePasswordCommandInput
719
723
  | CreateAccessKeyCommandInput
720
724
  | CreateAccountAliasCommandInput
725
+ | CreateDelegationRequestCommandInput
721
726
  | CreateGroupCommandInput
722
727
  | CreateInstanceProfileCommandInput
723
728
  | CreateLoginProfileCommandInput
@@ -883,6 +888,7 @@ export type ServiceOutputTypes =
883
888
  | ChangePasswordCommandOutput
884
889
  | CreateAccessKeyCommandOutput
885
890
  | CreateAccountAliasCommandOutput
891
+ | CreateDelegationRequestCommandOutput
886
892
  | CreateGroupCommandOutput
887
893
  | CreateInstanceProfileCommandOutput
888
894
  | CreateLoginProfileCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ IAMClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../IAMClient";
8
+ import {
9
+ CreateDelegationRequestRequest,
10
+ CreateDelegationRequestResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateDelegationRequestCommandInput
15
+ extends CreateDelegationRequestRequest {}
16
+ export interface CreateDelegationRequestCommandOutput
17
+ extends CreateDelegationRequestResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateDelegationRequestCommand_base: {
20
+ new (
21
+ input: CreateDelegationRequestCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateDelegationRequestCommandInput,
24
+ CreateDelegationRequestCommandOutput,
25
+ IAMClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateDelegationRequestCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateDelegationRequestCommandInput,
33
+ CreateDelegationRequestCommandOutput,
34
+ IAMClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateDelegationRequestCommand extends CreateDelegationRequestCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateDelegationRequestRequest;
44
+ output: CreateDelegationRequestResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateDelegationRequestCommandInput;
48
+ output: CreateDelegationRequestCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IAMClient";
8
- import { SetSecurityTokenServicePreferencesRequest } from "../models/models_0";
8
+ import { SetSecurityTokenServicePreferencesRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface SetSecurityTokenServicePreferencesCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IAMClient";
8
- import { SimulateCustomPolicyRequest } from "../models/models_0";
9
- import { SimulatePolicyResponse } from "../models/models_1";
8
+ import {
9
+ SimulateCustomPolicyRequest,
10
+ SimulatePolicyResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface SimulateCustomPolicyCommandInput
@@ -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";
@@ -198,6 +198,36 @@ export interface CreateAccessKeyResponse {
198
198
  export interface CreateAccountAliasRequest {
199
199
  AccountAlias: string | undefined;
200
200
  }
201
+ export declare const PolicyParameterTypeEnum: {
202
+ readonly STRING: "string";
203
+ readonly STRING_LIST: "stringList";
204
+ };
205
+ export type PolicyParameterTypeEnum =
206
+ (typeof PolicyParameterTypeEnum)[keyof typeof PolicyParameterTypeEnum];
207
+ export interface PolicyParameter {
208
+ Name?: string | undefined;
209
+ Values?: string[] | undefined;
210
+ Type?: PolicyParameterTypeEnum | undefined;
211
+ }
212
+ export interface DelegationPermission {
213
+ PolicyTemplateArn?: string | undefined;
214
+ Parameters?: PolicyParameter[] | undefined;
215
+ }
216
+ export interface CreateDelegationRequestRequest {
217
+ OwnerAccountId?: string | undefined;
218
+ Description: string | undefined;
219
+ Permissions: DelegationPermission | undefined;
220
+ RequestMessage?: string | undefined;
221
+ RequestorWorkflowId: string | undefined;
222
+ RedirectUrl?: string | undefined;
223
+ NotificationChannel: string | undefined;
224
+ SessionDuration: number | undefined;
225
+ OnlySendByOwner?: boolean | undefined;
226
+ }
227
+ export interface CreateDelegationRequestResponse {
228
+ ConsoleDeepLink?: string | undefined;
229
+ DelegationRequestId?: string | undefined;
230
+ }
201
231
  export interface CreateGroupRequest {
202
232
  Path?: string | undefined;
203
233
  GroupName: string | undefined;
@@ -1592,50 +1622,6 @@ export declare const GlobalEndpointTokenVersion: {
1592
1622
  };
1593
1623
  export type GlobalEndpointTokenVersion =
1594
1624
  (typeof GlobalEndpointTokenVersion)[keyof typeof GlobalEndpointTokenVersion];
1595
- export interface SetSecurityTokenServicePreferencesRequest {
1596
- GlobalEndpointTokenVersion: GlobalEndpointTokenVersion | undefined;
1597
- }
1598
- export declare class PolicyEvaluationException extends __BaseException {
1599
- readonly name: "PolicyEvaluationException";
1600
- readonly $fault: "server";
1601
- constructor(
1602
- opts: __ExceptionOptionType<PolicyEvaluationException, __BaseException>
1603
- );
1604
- }
1605
- export declare const ContextKeyTypeEnum: {
1606
- readonly BINARY: "binary";
1607
- readonly BINARY_LIST: "binaryList";
1608
- readonly BOOLEAN: "boolean";
1609
- readonly BOOLEAN_LIST: "booleanList";
1610
- readonly DATE: "date";
1611
- readonly DATE_LIST: "dateList";
1612
- readonly IP: "ip";
1613
- readonly IP_LIST: "ipList";
1614
- readonly NUMERIC: "numeric";
1615
- readonly NUMERIC_LIST: "numericList";
1616
- readonly STRING: "string";
1617
- readonly STRING_LIST: "stringList";
1618
- };
1619
- export type ContextKeyTypeEnum =
1620
- (typeof ContextKeyTypeEnum)[keyof typeof ContextKeyTypeEnum];
1621
- export interface ContextEntry {
1622
- ContextKeyName?: string | undefined;
1623
- ContextKeyValues?: string[] | undefined;
1624
- ContextKeyType?: ContextKeyTypeEnum | undefined;
1625
- }
1626
- export interface SimulateCustomPolicyRequest {
1627
- PolicyInputList: string[] | undefined;
1628
- PermissionsBoundaryPolicyInputList?: string[] | undefined;
1629
- ActionNames: string[] | undefined;
1630
- ResourceArns?: string[] | undefined;
1631
- ResourcePolicy?: string | undefined;
1632
- ResourceOwner?: string | undefined;
1633
- CallerArn?: string | undefined;
1634
- ContextEntries?: ContextEntry[] | undefined;
1635
- ResourceHandlingOption?: string | undefined;
1636
- MaxItems?: number | undefined;
1637
- Marker?: string | undefined;
1638
- }
1639
1625
  export declare const AccessKeyFilterSensitiveLog: (obj: AccessKey) => any;
1640
1626
  export declare const ChangePasswordRequestFilterSensitiveLog: (
1641
1627
  obj: ChangePasswordRequest
@@ -2,7 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
3
  import {
4
4
  AssertionEncryptionModeType,
5
- ContextEntry,
5
+ GlobalEndpointTokenVersion,
6
6
  Role,
7
7
  ServerCertificateMetadata,
8
8
  SigningCertificate,
@@ -10,6 +10,50 @@ import {
10
10
  StatusType,
11
11
  Tag,
12
12
  } from "./models_0";
13
+ export interface SetSecurityTokenServicePreferencesRequest {
14
+ GlobalEndpointTokenVersion: GlobalEndpointTokenVersion | undefined;
15
+ }
16
+ export declare class PolicyEvaluationException extends __BaseException {
17
+ readonly name: "PolicyEvaluationException";
18
+ readonly $fault: "server";
19
+ constructor(
20
+ opts: __ExceptionOptionType<PolicyEvaluationException, __BaseException>
21
+ );
22
+ }
23
+ export declare const ContextKeyTypeEnum: {
24
+ readonly BINARY: "binary";
25
+ readonly BINARY_LIST: "binaryList";
26
+ readonly BOOLEAN: "boolean";
27
+ readonly BOOLEAN_LIST: "booleanList";
28
+ readonly DATE: "date";
29
+ readonly DATE_LIST: "dateList";
30
+ readonly IP: "ip";
31
+ readonly IP_LIST: "ipList";
32
+ readonly NUMERIC: "numeric";
33
+ readonly NUMERIC_LIST: "numericList";
34
+ readonly STRING: "string";
35
+ readonly STRING_LIST: "stringList";
36
+ };
37
+ export type ContextKeyTypeEnum =
38
+ (typeof ContextKeyTypeEnum)[keyof typeof ContextKeyTypeEnum];
39
+ export interface ContextEntry {
40
+ ContextKeyName?: string | undefined;
41
+ ContextKeyValues?: string[] | undefined;
42
+ ContextKeyType?: ContextKeyTypeEnum | undefined;
43
+ }
44
+ export interface SimulateCustomPolicyRequest {
45
+ PolicyInputList: string[] | undefined;
46
+ PermissionsBoundaryPolicyInputList?: string[] | undefined;
47
+ ActionNames: string[] | undefined;
48
+ ResourceArns?: string[] | undefined;
49
+ ResourcePolicy?: string | undefined;
50
+ ResourceOwner?: string | undefined;
51
+ CallerArn?: string | undefined;
52
+ ContextEntries?: ContextEntry[] | undefined;
53
+ ResourceHandlingOption?: string | undefined;
54
+ MaxItems?: number | undefined;
55
+ Marker?: string | undefined;
56
+ }
13
57
  export declare const PolicyEvaluationDecisionType: {
14
58
  readonly ALLOWED: "allowed";
15
59
  readonly EXPLICIT_DENY: "explicitDeny";
@@ -39,6 +39,10 @@ import {
39
39
  CreateAccountAliasCommandInput,
40
40
  CreateAccountAliasCommandOutput,
41
41
  } from "../commands/CreateAccountAliasCommand";
42
+ import {
43
+ CreateDelegationRequestCommandInput,
44
+ CreateDelegationRequestCommandOutput,
45
+ } from "../commands/CreateDelegationRequestCommand";
42
46
  import {
43
47
  CreateGroupCommandInput,
44
48
  CreateGroupCommandOutput,
@@ -695,6 +699,10 @@ export declare const se_CreateAccountAliasCommand: (
695
699
  input: CreateAccountAliasCommandInput,
696
700
  context: __SerdeContext
697
701
  ) => Promise<__HttpRequest>;
702
+ export declare const se_CreateDelegationRequestCommand: (
703
+ input: CreateDelegationRequestCommandInput,
704
+ context: __SerdeContext
705
+ ) => Promise<__HttpRequest>;
698
706
  export declare const se_CreateGroupCommand: (
699
707
  input: CreateGroupCommandInput,
700
708
  context: __SerdeContext
@@ -1351,6 +1359,10 @@ export declare const de_CreateAccountAliasCommand: (
1351
1359
  output: __HttpResponse,
1352
1360
  context: __SerdeContext
1353
1361
  ) => Promise<CreateAccountAliasCommandOutput>;
1362
+ export declare const de_CreateDelegationRequestCommand: (
1363
+ output: __HttpResponse,
1364
+ context: __SerdeContext
1365
+ ) => Promise<CreateDelegationRequestCommandOutput>;
1354
1366
  export declare const de_CreateGroupCommand: (
1355
1367
  output: __HttpResponse,
1356
1368
  context: __SerdeContext