@aws-sdk/client-iam 3.48.0 → 3.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/dist-types/IAM.d.ts +35 -42
- package/dist-types/commands/ChangePasswordCommand.d.ts +1 -2
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -4
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +3 -3
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +6 -6
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +3 -3
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +3 -3
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +1 -2
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +6 -11
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +2 -2
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +6 -4
- package/dist-types/models/models_0.d.ts +70 -55
- package/dist-types/models/models_1.d.ts +16 -4
- package/package.json +41 -35
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-iam
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-iam
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @aws-sdk/client-iam
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
42
|
|
|
8
43
|
**Note:** Version bump only for package @aws-sdk/client-iam
|
package/dist-types/IAM.d.ts
CHANGED
|
@@ -247,13 +247,12 @@ export declare class IAM extends IAMClient {
|
|
|
247
247
|
attachUserPolicy(args: AttachUserPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachUserPolicyCommandOutput) => void): void;
|
|
248
248
|
/**
|
|
249
249
|
* <p>Changes the password of the IAM user who is calling this operation. This operation
|
|
250
|
-
*
|
|
251
250
|
* can be performed using the CLI, the Amazon Web Services API, or the <b>My
|
|
252
251
|
* Security Credentials</b> page in the Amazon Web Services Management Console. The Amazon Web Services account root user
|
|
253
252
|
* password is not affected by this operation.</p>
|
|
254
253
|
* <p>Use <a>UpdateLoginProfile</a> to use the CLI, the Amazon Web Services API, or the
|
|
255
254
|
* <b>Users</b> page in the IAM console to change the
|
|
256
|
-
*
|
|
255
|
+
* password for any IAM user. For more information about modifying passwords, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html">Managing
|
|
257
256
|
* passwords</a> in the <i>IAM User Guide</i>.</p>
|
|
258
257
|
*/
|
|
259
258
|
changePassword(args: ChangePasswordCommandInput, options?: __HttpHandlerOptions): Promise<ChangePasswordCommandOutput>;
|
|
@@ -308,10 +307,8 @@ export declare class IAM extends IAMClient {
|
|
|
308
307
|
/**
|
|
309
308
|
* <p>Creates a password for the specified IAM user. A password allows an IAM user to
|
|
310
309
|
* access Amazon Web Services services through the Amazon Web Services Management Console.</p>
|
|
311
|
-
* <p>You can use the CLI, the Amazon Web Services API, or the <b>Users</b>
|
|
312
|
-
* Use <a>ChangePassword</a> to update your own existing password in the
|
|
313
|
-
* <b>My Security Credentials</b> page in the
|
|
314
|
-
* Amazon Web Services Management Console.</p>
|
|
310
|
+
* <p>You can use the CLI, the Amazon Web Services API, or the <b>Users</b>
|
|
311
|
+
* page in the IAM console to create a password for any IAM user. Use <a>ChangePassword</a> to update your own existing password in the <b>My Security Credentials</b> page in the Amazon Web Services Management Console.</p>
|
|
315
312
|
* <p>For more information about managing passwords, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html">Managing passwords</a> in the
|
|
316
313
|
* <i>IAM User Guide</i>.</p>
|
|
317
314
|
*/
|
|
@@ -336,7 +333,7 @@ export declare class IAM extends IAMClient {
|
|
|
336
333
|
* </li>
|
|
337
334
|
* <li>
|
|
338
335
|
* <p>A list of client IDs (also known as audiences) that identify the application
|
|
339
|
-
* or applications
|
|
336
|
+
* or applications allowed to authenticate using the OIDC provider</p>
|
|
340
337
|
* </li>
|
|
341
338
|
* <li>
|
|
342
339
|
* <p>A list of thumbprints of one or more server certificates that the IdP
|
|
@@ -549,9 +546,9 @@ export declare class IAM extends IAMClient {
|
|
|
549
546
|
/**
|
|
550
547
|
* <p>Deletes the password for the specified IAM user, which terminates the user's ability
|
|
551
548
|
* to access Amazon Web Services services through the Amazon Web Services Management Console.</p>
|
|
552
|
-
* <p>You can use the CLI, the Amazon Web Services API, or the <b>Users</b>
|
|
553
|
-
* You can use <a>ChangePassword</a> to update, but not delete, your own
|
|
554
|
-
*
|
|
549
|
+
* <p>You can use the CLI, the Amazon Web Services API, or the <b>Users</b>
|
|
550
|
+
* page in the IAM console to delete a password for any IAM user. You can use <a>ChangePassword</a> to update, but not delete, your own password in the
|
|
551
|
+
* <b>My Security Credentials</b> page in the
|
|
555
552
|
* Amazon Web Services Management Console.</p>
|
|
556
553
|
* <important>
|
|
557
554
|
* <p> Deleting a user's password does not prevent a user from accessing Amazon Web Services through
|
|
@@ -986,9 +983,9 @@ export declare class IAM extends IAMClient {
|
|
|
986
983
|
/**
|
|
987
984
|
* <p>Generates a report that includes details about when an IAM resource (user, group,
|
|
988
985
|
* role, or policy) was last used in an attempt to access Amazon Web Services services. Recent activity
|
|
989
|
-
* usually appears within four hours. IAM reports activity for the last
|
|
990
|
-
* if your Region began supporting this feature within the last year. For
|
|
991
|
-
* see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a>.</p>
|
|
986
|
+
* usually appears within four hours. IAM reports activity for at least the last 400
|
|
987
|
+
* days, or less if your Region began supporting this feature within the last year. For
|
|
988
|
+
* more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a>.</p>
|
|
992
989
|
* <important>
|
|
993
990
|
* <p>The service last accessed data includes all attempts to access an Amazon Web Services API, not
|
|
994
991
|
* just the successful ones. This includes all attempts that were made using the
|
|
@@ -1031,9 +1028,9 @@ export declare class IAM extends IAMClient {
|
|
|
1031
1028
|
* <note>
|
|
1032
1029
|
* <p>Service last accessed data does not use other policy types when determining
|
|
1033
1030
|
* whether a resource could access a service. These other policy types include
|
|
1034
|
-
* resource-based policies, access control lists, Organizations policies, IAM
|
|
1035
|
-
*
|
|
1036
|
-
*
|
|
1031
|
+
* resource-based policies, access control lists, Organizations policies, IAM permissions
|
|
1032
|
+
* boundaries, and STS assume role policies. It only applies permissions policy
|
|
1033
|
+
* logic. For more about the evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
|
|
1037
1034
|
* <i>IAM User Guide</i>.</p>
|
|
1038
1035
|
* </note>
|
|
1039
1036
|
* <p>For more information about service and action last accessed data, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Reducing permissions using service last accessed data</a> in the
|
|
@@ -1314,9 +1311,9 @@ export declare class IAM extends IAMClient {
|
|
|
1314
1311
|
* <note>
|
|
1315
1312
|
* <p>Service last accessed data does not use other policy types when determining
|
|
1316
1313
|
* whether a resource could access a service. These other policy types include
|
|
1317
|
-
* resource-based policies, access control lists, Organizations policies, IAM
|
|
1318
|
-
*
|
|
1319
|
-
*
|
|
1314
|
+
* resource-based policies, access control lists, Organizations policies, IAM permissions
|
|
1315
|
+
* boundaries, and STS assume role policies. It only applies permissions policy
|
|
1316
|
+
* logic. For more about the evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
|
|
1320
1317
|
* <i>IAM User Guide</i>.</p>
|
|
1321
1318
|
* </note>
|
|
1322
1319
|
* <p>For each service that the resource could access using permissions policies, the
|
|
@@ -1656,9 +1653,9 @@ export declare class IAM extends IAMClient {
|
|
|
1656
1653
|
* <note>
|
|
1657
1654
|
* <p>This operation does not use other policy types when determining whether a resource
|
|
1658
1655
|
* could access a service. These other policy types include resource-based policies,
|
|
1659
|
-
* access control lists, Organizations policies, IAM permissions boundaries, and
|
|
1660
|
-
*
|
|
1661
|
-
*
|
|
1656
|
+
* access control lists, Organizations policies, IAM permissions boundaries, and STS
|
|
1657
|
+
* assume role policies. It only applies permissions policy logic. For more about the
|
|
1658
|
+
* evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
|
|
1662
1659
|
* <i>IAM User Guide</i>.</p>
|
|
1663
1660
|
* </note>
|
|
1664
1661
|
* <p>The list of policies returned by the operation depends on the ARN of the identity that
|
|
@@ -1881,8 +1878,7 @@ export declare class IAM extends IAMClient {
|
|
|
1881
1878
|
* <code>Any</code>.</p>
|
|
1882
1879
|
* <note>
|
|
1883
1880
|
* <p>IAM resource-listing operations return a subset of the available
|
|
1884
|
-
* attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view
|
|
1885
|
-
* <a>ListVirtualMFADevices</a>.</p>
|
|
1881
|
+
* attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view tag information for a virtual MFA device, see <a>ListMFADeviceTags</a>.</p>
|
|
1886
1882
|
* </note>
|
|
1887
1883
|
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
1888
1884
|
* parameters.</p>
|
|
@@ -2055,7 +2051,7 @@ export declare class IAM extends IAMClient {
|
|
|
2055
2051
|
* go to a single endpoint at <code>https://sts.amazonaws.com</code>. Amazon Web Services recommends
|
|
2056
2052
|
* using Regional STS endpoints to reduce latency, build in redundancy, and increase
|
|
2057
2053
|
* session token availability. For information about Regional endpoints for STS, see
|
|
2058
|
-
*
|
|
2054
|
+
* <a href="https://docs.aws.amazon.com/general/latest/gr/sts.html">Security Token Service
|
|
2059
2055
|
* endpoints and quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
2060
2056
|
* <p>If you make an STS call to the global endpoint, the resulting session tokens might
|
|
2061
2057
|
* be valid in some Regions but not others. It depends on the version that is set in this
|
|
@@ -2574,17 +2570,12 @@ export declare class IAM extends IAMClient {
|
|
|
2574
2570
|
/**
|
|
2575
2571
|
* <p>Updates the password policy settings for the Amazon Web Services account.</p>
|
|
2576
2572
|
* <note>
|
|
2577
|
-
* <
|
|
2578
|
-
*
|
|
2579
|
-
*
|
|
2580
|
-
*
|
|
2581
|
-
*
|
|
2582
|
-
*
|
|
2583
|
-
* note that some parameters do not allow the default parameter to be
|
|
2584
|
-
* explicitly set. Instead, to invoke the default value, do not include that
|
|
2585
|
-
* parameter when you invoke the operation.</p>
|
|
2586
|
-
* </li>
|
|
2587
|
-
* </ul>
|
|
2573
|
+
* <p>This operation does not support partial updates. No parameters are required, but
|
|
2574
|
+
* if you do not specify a parameter, that parameter's value reverts to its default
|
|
2575
|
+
* value. See the <b>Request Parameters</b> section for each
|
|
2576
|
+
* parameter's default value. Also note that some parameters do not allow the default
|
|
2577
|
+
* parameter to be explicitly set. Instead, to invoke the default value, do not include
|
|
2578
|
+
* that parameter when you invoke the operation.</p>
|
|
2588
2579
|
* </note>
|
|
2589
2580
|
* <p> For more information about using a password policy, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html">Managing an IAM password
|
|
2590
2581
|
* policy</a> in the <i>IAM User Guide</i>.</p>
|
|
@@ -2638,8 +2629,8 @@ export declare class IAM extends IAMClient {
|
|
|
2638
2629
|
* Connect (OIDC) provider resource object with a new list of thumbprints.</p>
|
|
2639
2630
|
* <p>The list that you pass with this operation completely replaces the existing list of
|
|
2640
2631
|
* thumbprints. (The lists are not merged.)</p>
|
|
2641
|
-
* <p>Typically, you need to update a thumbprint only when the identity provider
|
|
2642
|
-
*
|
|
2632
|
+
* <p>Typically, you need to update a thumbprint only when the identity provider certificate
|
|
2633
|
+
* changes, which occurs rarely. However, if the provider's certificate
|
|
2643
2634
|
* <i>does</i> change, any attempt to assume an IAM role that specifies
|
|
2644
2635
|
* the OIDC provider as a principal fails until the certificate thumbprint is
|
|
2645
2636
|
* updated.</p>
|
|
@@ -2764,10 +2755,12 @@ export declare class IAM extends IAMClient {
|
|
|
2764
2755
|
* <p>Uploads a server certificate entity for the Amazon Web Services account. The server certificate
|
|
2765
2756
|
* entity includes a public key certificate, a private key, and an optional certificate
|
|
2766
2757
|
* chain, which should all be PEM-encoded.</p>
|
|
2767
|
-
* <p>We recommend that you use <a href="https://docs.aws.amazon.com/acm/">Certificate Manager</a> to
|
|
2768
|
-
*
|
|
2769
|
-
* certificate
|
|
2770
|
-
*
|
|
2758
|
+
* <p>We recommend that you use <a href="https://docs.aws.amazon.com/acm/">Certificate Manager</a> to
|
|
2759
|
+
* provision, manage, and deploy your server certificates. With ACM you can request a
|
|
2760
|
+
* certificate, deploy it to Amazon Web Services resources, and let ACM handle certificate renewals for
|
|
2761
|
+
* you. Certificates provided by ACM are free. For more information about using ACM,
|
|
2762
|
+
* see the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">Certificate Manager User
|
|
2763
|
+
* Guide</a>.</p>
|
|
2771
2764
|
* <p>For more information about working with server certificates, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working
|
|
2772
2765
|
* with server certificates</a> in the <i>IAM User Guide</i>. This
|
|
2773
2766
|
* topic includes a list of Amazon Web Services services that can use the server certificates that you
|
|
@@ -8,13 +8,12 @@ export interface ChangePasswordCommandOutput extends __MetadataBearer {
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Changes the password of the IAM user who is calling this operation. This operation
|
|
11
|
-
*
|
|
12
11
|
* can be performed using the CLI, the Amazon Web Services API, or the <b>My
|
|
13
12
|
* Security Credentials</b> page in the Amazon Web Services Management Console. The Amazon Web Services account root user
|
|
14
13
|
* password is not affected by this operation.</p>
|
|
15
14
|
* <p>Use <a>UpdateLoginProfile</a> to use the CLI, the Amazon Web Services API, or the
|
|
16
15
|
* <b>Users</b> page in the IAM console to change the
|
|
17
|
-
*
|
|
16
|
+
* password for any IAM user. For more information about modifying passwords, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html">Managing
|
|
18
17
|
* passwords</a> in the <i>IAM User Guide</i>.</p>
|
|
19
18
|
* @example
|
|
20
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,10 +9,8 @@ export interface CreateLoginProfileCommandOutput extends CreateLoginProfileRespo
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a password for the specified IAM user. A password allows an IAM user to
|
|
11
11
|
* access Amazon Web Services services through the Amazon Web Services Management Console.</p>
|
|
12
|
-
* <p>You can use the CLI, the Amazon Web Services API, or the <b>Users</b>
|
|
13
|
-
* Use <a>ChangePassword</a> to update your own existing password in the
|
|
14
|
-
* <b>My Security Credentials</b> page in the
|
|
15
|
-
* Amazon Web Services Management Console.</p>
|
|
12
|
+
* <p>You can use the CLI, the Amazon Web Services API, or the <b>Users</b>
|
|
13
|
+
* page in the IAM console to create a password for any IAM user. Use <a>ChangePassword</a> to update your own existing password in the <b>My Security Credentials</b> page in the Amazon Web Services Management Console.</p>
|
|
16
14
|
* <p>For more information about managing passwords, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html">Managing passwords</a> in the
|
|
17
15
|
* <i>IAM User Guide</i>.</p>
|
|
18
16
|
* @example
|
|
@@ -24,7 +24,7 @@ export interface CreateOpenIDConnectProviderCommandOutput extends CreateOpenIDCo
|
|
|
24
24
|
* </li>
|
|
25
25
|
* <li>
|
|
26
26
|
* <p>A list of client IDs (also known as audiences) that identify the application
|
|
27
|
-
* or applications
|
|
27
|
+
* or applications allowed to authenticate using the OIDC provider</p>
|
|
28
28
|
* </li>
|
|
29
29
|
* <li>
|
|
30
30
|
* <p>A list of thumbprints of one or more server certificates that the IdP
|
|
@@ -9,9 +9,9 @@ export interface DeleteLoginProfileCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes the password for the specified IAM user, which terminates the user's ability
|
|
11
11
|
* to access Amazon Web Services services through the Amazon Web Services Management Console.</p>
|
|
12
|
-
* <p>You can use the CLI, the Amazon Web Services API, or the <b>Users</b>
|
|
13
|
-
* You can use <a>ChangePassword</a> to update, but not delete, your own
|
|
14
|
-
*
|
|
12
|
+
* <p>You can use the CLI, the Amazon Web Services API, or the <b>Users</b>
|
|
13
|
+
* page in the IAM console to delete a password for any IAM user. You can use <a>ChangePassword</a> to update, but not delete, your own password in the
|
|
14
|
+
* <b>My Security Credentials</b> page in the
|
|
15
15
|
* Amazon Web Services Management Console.</p>
|
|
16
16
|
* <important>
|
|
17
17
|
* <p> Deleting a user's password does not prevent a user from accessing Amazon Web Services through
|
|
@@ -9,9 +9,9 @@ export interface GenerateServiceLastAccessedDetailsCommandOutput extends Generat
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Generates a report that includes details about when an IAM resource (user, group,
|
|
11
11
|
* role, or policy) was last used in an attempt to access Amazon Web Services services. Recent activity
|
|
12
|
-
* usually appears within four hours. IAM reports activity for the last
|
|
13
|
-
* if your Region began supporting this feature within the last year. For
|
|
14
|
-
* see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a>.</p>
|
|
12
|
+
* usually appears within four hours. IAM reports activity for at least the last 400
|
|
13
|
+
* days, or less if your Region began supporting this feature within the last year. For
|
|
14
|
+
* more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a>.</p>
|
|
15
15
|
* <important>
|
|
16
16
|
* <p>The service last accessed data includes all attempts to access an Amazon Web Services API, not
|
|
17
17
|
* just the successful ones. This includes all attempts that were made using the
|
|
@@ -54,9 +54,9 @@ export interface GenerateServiceLastAccessedDetailsCommandOutput extends Generat
|
|
|
54
54
|
* <note>
|
|
55
55
|
* <p>Service last accessed data does not use other policy types when determining
|
|
56
56
|
* whether a resource could access a service. These other policy types include
|
|
57
|
-
* resource-based policies, access control lists, Organizations policies, IAM
|
|
58
|
-
*
|
|
59
|
-
*
|
|
57
|
+
* resource-based policies, access control lists, Organizations policies, IAM permissions
|
|
58
|
+
* boundaries, and STS assume role policies. It only applies permissions policy
|
|
59
|
+
* logic. For more about the evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
|
|
60
60
|
* <i>IAM User Guide</i>.</p>
|
|
61
61
|
* </note>
|
|
62
62
|
* <p>For more information about service and action last accessed data, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Reducing permissions using service last accessed data</a> in the
|
|
@@ -16,9 +16,9 @@ export interface GetServiceLastAccessedDetailsCommandOutput extends GetServiceLa
|
|
|
16
16
|
* <note>
|
|
17
17
|
* <p>Service last accessed data does not use other policy types when determining
|
|
18
18
|
* whether a resource could access a service. These other policy types include
|
|
19
|
-
* resource-based policies, access control lists, Organizations policies, IAM
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
* resource-based policies, access control lists, Organizations policies, IAM permissions
|
|
20
|
+
* boundaries, and STS assume role policies. It only applies permissions policy
|
|
21
|
+
* logic. For more about the evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
|
|
22
22
|
* <i>IAM User Guide</i>.</p>
|
|
23
23
|
* </note>
|
|
24
24
|
* <p>For each service that the resource could access using permissions policies, the
|
|
@@ -12,9 +12,9 @@ export interface ListPoliciesGrantingServiceAccessCommandOutput extends ListPoli
|
|
|
12
12
|
* <note>
|
|
13
13
|
* <p>This operation does not use other policy types when determining whether a resource
|
|
14
14
|
* could access a service. These other policy types include resource-based policies,
|
|
15
|
-
* access control lists, Organizations policies, IAM permissions boundaries, and
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* access control lists, Organizations policies, IAM permissions boundaries, and STS
|
|
16
|
+
* assume role policies. It only applies permissions policy logic. For more about the
|
|
17
|
+
* evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
|
|
18
18
|
* <i>IAM User Guide</i>.</p>
|
|
19
19
|
* </note>
|
|
20
20
|
* <p>The list of policies returned by the operation depends on the ARN of the identity that
|
|
@@ -13,8 +13,7 @@ export interface ListVirtualMFADevicesCommandOutput extends ListVirtualMFADevice
|
|
|
13
13
|
* <code>Any</code>.</p>
|
|
14
14
|
* <note>
|
|
15
15
|
* <p>IAM resource-listing operations return a subset of the available
|
|
16
|
-
* attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view
|
|
17
|
-
* <a>ListVirtualMFADevices</a>.</p>
|
|
16
|
+
* attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view tag information for a virtual MFA device, see <a>ListMFADeviceTags</a>.</p>
|
|
18
17
|
* </note>
|
|
19
18
|
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
20
19
|
* parameters.</p>
|
|
@@ -13,7 +13,7 @@ export interface SetSecurityTokenServicePreferencesCommandOutput extends __Metad
|
|
|
13
13
|
* go to a single endpoint at <code>https://sts.amazonaws.com</code>. Amazon Web Services recommends
|
|
14
14
|
* using Regional STS endpoints to reduce latency, build in redundancy, and increase
|
|
15
15
|
* session token availability. For information about Regional endpoints for STS, see
|
|
16
|
-
*
|
|
16
|
+
* <a href="https://docs.aws.amazon.com/general/latest/gr/sts.html">Security Token Service
|
|
17
17
|
* endpoints and quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
18
18
|
* <p>If you make an STS call to the global endpoint, the resulting session tokens might
|
|
19
19
|
* be valid in some Regions but not others. It depends on the version that is set in this
|
|
@@ -9,17 +9,12 @@ export interface UpdateAccountPasswordPolicyCommandOutput extends __MetadataBear
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Updates the password policy settings for the Amazon Web Services account.</p>
|
|
11
11
|
* <note>
|
|
12
|
-
* <
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* note that some parameters do not allow the default parameter to be
|
|
19
|
-
* explicitly set. Instead, to invoke the default value, do not include that
|
|
20
|
-
* parameter when you invoke the operation.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* </ul>
|
|
12
|
+
* <p>This operation does not support partial updates. No parameters are required, but
|
|
13
|
+
* if you do not specify a parameter, that parameter's value reverts to its default
|
|
14
|
+
* value. See the <b>Request Parameters</b> section for each
|
|
15
|
+
* parameter's default value. Also note that some parameters do not allow the default
|
|
16
|
+
* parameter to be explicitly set. Instead, to invoke the default value, do not include
|
|
17
|
+
* that parameter when you invoke the operation.</p>
|
|
23
18
|
* </note>
|
|
24
19
|
* <p> For more information about using a password policy, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html">Managing an IAM password
|
|
25
20
|
* policy</a> in the <i>IAM User Guide</i>.</p>
|
|
@@ -11,8 +11,8 @@ export interface UpdateOpenIDConnectProviderThumbprintCommandOutput extends __Me
|
|
|
11
11
|
* Connect (OIDC) provider resource object with a new list of thumbprints.</p>
|
|
12
12
|
* <p>The list that you pass with this operation completely replaces the existing list of
|
|
13
13
|
* thumbprints. (The lists are not merged.)</p>
|
|
14
|
-
* <p>Typically, you need to update a thumbprint only when the identity provider
|
|
15
|
-
*
|
|
14
|
+
* <p>Typically, you need to update a thumbprint only when the identity provider certificate
|
|
15
|
+
* changes, which occurs rarely. However, if the provider's certificate
|
|
16
16
|
* <i>does</i> change, any attempt to assume an IAM role that specifies
|
|
17
17
|
* the OIDC provider as a principal fails until the certificate thumbprint is
|
|
18
18
|
* updated.</p>
|
|
@@ -10,10 +10,12 @@ export interface UploadServerCertificateCommandOutput extends UploadServerCertif
|
|
|
10
10
|
* <p>Uploads a server certificate entity for the Amazon Web Services account. The server certificate
|
|
11
11
|
* entity includes a public key certificate, a private key, and an optional certificate
|
|
12
12
|
* chain, which should all be PEM-encoded.</p>
|
|
13
|
-
* <p>We recommend that you use <a href="https://docs.aws.amazon.com/acm/">Certificate Manager</a> to
|
|
14
|
-
*
|
|
15
|
-
* certificate
|
|
16
|
-
*
|
|
13
|
+
* <p>We recommend that you use <a href="https://docs.aws.amazon.com/acm/">Certificate Manager</a> to
|
|
14
|
+
* provision, manage, and deploy your server certificates. With ACM you can request a
|
|
15
|
+
* certificate, deploy it to Amazon Web Services resources, and let ACM handle certificate renewals for
|
|
16
|
+
* you. Certificates provided by ACM are free. For more information about using ACM,
|
|
17
|
+
* see the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">Certificate Manager User
|
|
18
|
+
* Guide</a>.</p>
|
|
17
19
|
* <p>For more information about working with server certificates, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working
|
|
18
20
|
* with server certificates</a> in the <i>IAM User Guide</i>. This
|
|
19
21
|
* topic includes a list of Amazon Web Services services that can use the server certificates that you
|
|
@@ -123,8 +123,8 @@ export interface AccessKeyLastUsed {
|
|
|
123
123
|
*/
|
|
124
124
|
LastUsedDate: Date | undefined;
|
|
125
125
|
/**
|
|
126
|
-
* <p>The name of the Amazon Web Services service with which this access key was most recently used. The
|
|
127
|
-
* of this field is "N/A" in the following situations:</p>
|
|
126
|
+
* <p>The name of the Amazon Web Services service with which this access key was most recently used. The
|
|
127
|
+
* value of this field is "N/A" in the following situations:</p>
|
|
128
128
|
* <ul>
|
|
129
129
|
* <li>
|
|
130
130
|
* <p>The user does not have an access key.</p>
|
|
@@ -140,8 +140,8 @@ export interface AccessKeyLastUsed {
|
|
|
140
140
|
*/
|
|
141
141
|
ServiceName: string | undefined;
|
|
142
142
|
/**
|
|
143
|
-
* <p>The Amazon Web Services Region where this access key was most recently used. The value for this field
|
|
144
|
-
* "N/A" in the following situations:</p>
|
|
143
|
+
* <p>The Amazon Web Services Region where this access key was most recently used. The value for this field
|
|
144
|
+
* is "N/A" in the following situations:</p>
|
|
145
145
|
* <ul>
|
|
146
146
|
* <li>
|
|
147
147
|
* <p>The user does not have an access key.</p>
|
|
@@ -712,7 +712,8 @@ export interface RoleLastUsed {
|
|
|
712
712
|
* <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
|
|
713
713
|
* format</a> that the role was last used.</p>
|
|
714
714
|
* <p>This field is null if the role has not been used within the IAM tracking period. For
|
|
715
|
-
* more information about the tracking period, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM User Guide</i>.
|
|
715
|
+
* more information about the tracking period, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM User Guide</i>.
|
|
716
|
+
* </p>
|
|
716
717
|
*/
|
|
717
718
|
LastUsedDate?: Date;
|
|
718
719
|
/**
|
|
@@ -966,10 +967,10 @@ export interface CreateOpenIDConnectProviderRequest {
|
|
|
966
967
|
*/
|
|
967
968
|
Url: string | undefined;
|
|
968
969
|
/**
|
|
969
|
-
* <p>Provides a list of client IDs, also known as audiences. When a mobile or web app
|
|
970
|
-
* with an OpenID Connect provider, they establish a value that identifies the
|
|
971
|
-
* This is the value that's sent as the <code>client_id</code> parameter on
|
|
972
|
-
* requests.</p>
|
|
970
|
+
* <p>Provides a list of client IDs, also known as audiences. When a mobile or web app
|
|
971
|
+
* registers with an OpenID Connect provider, they establish a value that identifies the
|
|
972
|
+
* application. This is the value that's sent as the <code>client_id</code> parameter on
|
|
973
|
+
* OAuth requests.</p>
|
|
973
974
|
* <p>You can register multiple client IDs with the same provider. For example, you might
|
|
974
975
|
* have multiple applications that use the same OIDC provider. You cannot register more
|
|
975
976
|
* than 100 client IDs with a single IAM OIDC provider.</p>
|
|
@@ -1057,15 +1058,14 @@ export interface CreatePolicyRequest {
|
|
|
1057
1058
|
* most punctuation characters, digits, and upper and lowercased letters.</p>
|
|
1058
1059
|
* <note>
|
|
1059
1060
|
* <p>You cannot use an asterisk (*) in the path name.</p>
|
|
1060
|
-
*
|
|
1061
|
+
* </note>
|
|
1061
1062
|
*/
|
|
1062
1063
|
Path?: string;
|
|
1063
1064
|
/**
|
|
1064
1065
|
* <p>The JSON policy document that you want to use as the content for the new
|
|
1065
1066
|
* policy.</p>
|
|
1066
|
-
*
|
|
1067
|
+
* <p>You must provide policies in JSON format in IAM. However, for CloudFormation
|
|
1067
1068
|
* templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to
|
|
1068
|
-
*
|
|
1069
1069
|
* IAM.</p>
|
|
1070
1070
|
* <p>The maximum length of the policy document that you can pass in this operation,
|
|
1071
1071
|
* 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>
|
|
@@ -1345,9 +1345,9 @@ export interface CreateRoleRequest {
|
|
|
1345
1345
|
* <p>The trust relationship policy document that grants an entity permission to assume the
|
|
1346
1346
|
* role.</p>
|
|
1347
1347
|
* <p>In IAM, you must provide a JSON policy that has been converted to a string. However,
|
|
1348
|
-
* for CloudFormation templates formatted in YAML, you can provide the policy in JSON
|
|
1349
|
-
*
|
|
1350
|
-
*
|
|
1348
|
+
* for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML
|
|
1349
|
+
* format. CloudFormation always converts a YAML policy to JSON format before submitting it to
|
|
1350
|
+
* IAM.</p>
|
|
1351
1351
|
* <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
|
|
1352
1352
|
* used to validate this parameter is a string of characters consisting of the following:</p>
|
|
1353
1353
|
* <ul>
|
|
@@ -1375,16 +1375,15 @@ export interface CreateRoleRequest {
|
|
|
1375
1375
|
* <p>The maximum session duration (in seconds) that you want to set for the specified role.
|
|
1376
1376
|
* If you do not specify a value for this setting, the default maximum of one hour is
|
|
1377
1377
|
* applied. This setting can have a value from 1 hour to 12 hours.</p>
|
|
1378
|
-
* <p>Anyone who assumes the role from the
|
|
1379
|
-
*
|
|
1380
|
-
*
|
|
1381
|
-
*
|
|
1382
|
-
*
|
|
1383
|
-
*
|
|
1384
|
-
*
|
|
1385
|
-
*
|
|
1386
|
-
*
|
|
1387
|
-
* roles</a> in the <i>IAM User Guide</i>.</p>
|
|
1378
|
+
* <p>Anyone who assumes the role from the or API can use the <code>DurationSeconds</code>
|
|
1379
|
+
* API parameter or the <code>duration-seconds</code> CLI parameter to request a longer
|
|
1380
|
+
* session. The <code>MaxSessionDuration</code> setting determines the maximum duration
|
|
1381
|
+
* that can be requested using the <code>DurationSeconds</code> parameter. If users don't
|
|
1382
|
+
* specify a value for the <code>DurationSeconds</code> parameter, their security
|
|
1383
|
+
* credentials are valid for one hour by default. This applies when you use the
|
|
1384
|
+
* <code>AssumeRole*</code> API operations or the <code>assume-role*</code> CLI
|
|
1385
|
+
* operations but does not apply when you use those operations to create a console URL. For
|
|
1386
|
+
* more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html">Using IAM roles</a> in the <i>IAM User Guide</i>.</p>
|
|
1388
1387
|
*/
|
|
1389
1388
|
MaxSessionDuration?: number;
|
|
1390
1389
|
/**
|
|
@@ -1711,8 +1710,8 @@ export interface User {
|
|
|
1711
1710
|
CreateDate: Date | undefined;
|
|
1712
1711
|
/**
|
|
1713
1712
|
* <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
|
|
1714
|
-
* format</a>, when the user's password was last used to sign in to an Amazon Web Services website.
|
|
1715
|
-
* a list of Amazon Web Services websites that capture a user's last sign-in time, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Credential
|
|
1713
|
+
* format</a>, when the user's password was last used to sign in to an Amazon Web Services website.
|
|
1714
|
+
* For a list of Amazon Web Services websites that capture a user's last sign-in time, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Credential
|
|
1716
1715
|
* reports</a> topic in the <i>IAM User Guide</i>. If a password is
|
|
1717
1716
|
* used more than once in a five-minute span, only the first use is returned in this field. If
|
|
1718
1717
|
* the field is null (no value), then it indicates that they never signed in with a password.
|
|
@@ -2899,24 +2898,32 @@ export interface PasswordPolicy {
|
|
|
2899
2898
|
*/
|
|
2900
2899
|
MinimumPasswordLength?: number;
|
|
2901
2900
|
/**
|
|
2902
|
-
* <p>Specifies whether IAM user passwords must contain at least one of the following
|
|
2901
|
+
* <p>Specifies whether IAM user passwords must contain at least one of the following
|
|
2902
|
+
* symbols:</p>
|
|
2903
2903
|
* <p>! @ # $ % ^ & * ( ) _ + - = [ ] { } | '</p>
|
|
2904
2904
|
*/
|
|
2905
2905
|
RequireSymbols?: boolean;
|
|
2906
2906
|
/**
|
|
2907
|
-
* <p>Specifies whether IAM user passwords must contain at least one numeric character (0 to
|
|
2907
|
+
* <p>Specifies whether IAM user passwords must contain at least one numeric character (0 to
|
|
2908
|
+
* 9).</p>
|
|
2908
2909
|
*/
|
|
2909
2910
|
RequireNumbers?: boolean;
|
|
2910
2911
|
/**
|
|
2911
|
-
* <p>Specifies whether IAM user passwords must contain at least one uppercase character (A
|
|
2912
|
+
* <p>Specifies whether IAM user passwords must contain at least one uppercase character (A
|
|
2913
|
+
* to Z).</p>
|
|
2912
2914
|
*/
|
|
2913
2915
|
RequireUppercaseCharacters?: boolean;
|
|
2914
2916
|
/**
|
|
2915
|
-
* <p>Specifies whether IAM user passwords must contain at least one lowercase character (a
|
|
2917
|
+
* <p>Specifies whether IAM user passwords must contain at least one lowercase character (a
|
|
2918
|
+
* to z).</p>
|
|
2916
2919
|
*/
|
|
2917
2920
|
RequireLowercaseCharacters?: boolean;
|
|
2918
2921
|
/**
|
|
2919
|
-
* <p>Specifies whether IAM users are allowed to change their own password
|
|
2922
|
+
* <p>Specifies whether IAM users are allowed to change their own password. Gives IAM
|
|
2923
|
+
* users permissions to <code>iam:ChangePassword</code> for only their user and to the
|
|
2924
|
+
* <code>iam:GetAccountPasswordPolicy</code> action. This option does not attach a
|
|
2925
|
+
* permissions policy to each user, rather the permissions are applied at the account-level
|
|
2926
|
+
* for all users by IAM.</p>
|
|
2920
2927
|
*/
|
|
2921
2928
|
AllowUsersToChangePassword?: boolean;
|
|
2922
2929
|
/**
|
|
@@ -2935,8 +2942,11 @@ export interface PasswordPolicy {
|
|
|
2935
2942
|
*/
|
|
2936
2943
|
PasswordReusePrevention?: number;
|
|
2937
2944
|
/**
|
|
2938
|
-
* <p>Specifies whether IAM users are prevented from setting a new password
|
|
2939
|
-
* password has expired
|
|
2945
|
+
* <p>Specifies whether IAM users are prevented from setting a new password via the
|
|
2946
|
+
* Amazon Web Services Management Console after their password has expired. The IAM user cannot access the console until
|
|
2947
|
+
* an administrator resets the password. IAM users with <code>iam:ChangePassword</code>
|
|
2948
|
+
* permission and active access keys can reset their own expired console password using the
|
|
2949
|
+
* CLI or API.</p>
|
|
2940
2950
|
*/
|
|
2941
2951
|
HardExpiry?: boolean;
|
|
2942
2952
|
}
|
|
@@ -3222,8 +3232,9 @@ export interface GetGroupPolicyResponse {
|
|
|
3222
3232
|
/**
|
|
3223
3233
|
* <p>The policy document.</p>
|
|
3224
3234
|
*
|
|
3225
|
-
* <p>IAM stores policies in JSON format. However, resources that were created using CloudFormation
|
|
3226
|
-
* a YAML policy to JSON format
|
|
3235
|
+
* <p>IAM stores policies in JSON format. However, resources that were created using CloudFormation
|
|
3236
|
+
* templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format
|
|
3237
|
+
* before submitting it to IAM.</p>
|
|
3227
3238
|
*/
|
|
3228
3239
|
PolicyDocument: string | undefined;
|
|
3229
3240
|
}
|
|
@@ -3598,8 +3609,9 @@ export interface GetRolePolicyResponse {
|
|
|
3598
3609
|
PolicyName: string | undefined;
|
|
3599
3610
|
/**
|
|
3600
3611
|
* <p>The policy document.</p>
|
|
3601
|
-
*
|
|
3602
|
-
* a YAML policy to JSON format
|
|
3612
|
+
* <p>IAM stores policies in JSON format. However, resources that were created using CloudFormation
|
|
3613
|
+
* templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format
|
|
3614
|
+
* before submitting it to IAM.</p>
|
|
3603
3615
|
*/
|
|
3604
3616
|
PolicyDocument: string | undefined;
|
|
3605
3617
|
}
|
|
@@ -3789,7 +3801,8 @@ export declare namespace GetServiceLastAccessedDetailsRequest {
|
|
|
3789
3801
|
const filterSensitiveLog: (obj: GetServiceLastAccessedDetailsRequest) => any;
|
|
3790
3802
|
}
|
|
3791
3803
|
/**
|
|
3792
|
-
* <p>Contains details about the most recent attempt to access an action within the
|
|
3804
|
+
* <p>Contains details about the most recent attempt to access an action within the
|
|
3805
|
+
* service.</p>
|
|
3793
3806
|
* <p>This data type is used as a response element in the <a>GetServiceLastAccessedDetails</a> operation.</p>
|
|
3794
3807
|
*/
|
|
3795
3808
|
export interface TrackedActionLastAccessed {
|
|
@@ -3809,7 +3822,7 @@ export interface TrackedActionLastAccessed {
|
|
|
3809
3822
|
* format</a>, when an authenticated entity most recently attempted to access the
|
|
3810
3823
|
* tracked service. Amazon Web Services does not report unauthenticated requests.</p>
|
|
3811
3824
|
* <p>This field is null if no IAM entities attempted to access the service within the
|
|
3812
|
-
*
|
|
3825
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period">reporting period</a>.</p>
|
|
3813
3826
|
*/
|
|
3814
3827
|
LastAccessedTime?: Date;
|
|
3815
3828
|
/**
|
|
@@ -4232,8 +4245,8 @@ export interface SSHPublicKey {
|
|
|
4232
4245
|
SSHPublicKeyBody: string | undefined;
|
|
4233
4246
|
/**
|
|
4234
4247
|
* <p>The status of the SSH public key. <code>Active</code> means that the key can be used for
|
|
4235
|
-
* authentication with an CodeCommit repository. <code>Inactive</code> means that the key
|
|
4236
|
-
*
|
|
4248
|
+
* authentication with an CodeCommit repository. <code>Inactive</code> means that the key cannot be
|
|
4249
|
+
* used.</p>
|
|
4237
4250
|
*/
|
|
4238
4251
|
Status: StatusType | string | undefined;
|
|
4239
4252
|
/**
|
|
@@ -4303,11 +4316,11 @@ export interface GetUserResponse {
|
|
|
4303
4316
|
* last signed in before May 3, 2018. For users that signed in after May 23, 2018 14:08
|
|
4304
4317
|
* PDT, the returned password last used date is accurate.</p>
|
|
4305
4318
|
* <p>You can use password last used information to identify unused credentials for
|
|
4306
|
-
* deletion. For example, you might delete users who did not sign in to Amazon Web Services in the
|
|
4307
|
-
* 90 days. In cases like this, we recommend that you adjust your evaluation
|
|
4308
|
-
* include dates after May 23, 2018. Alternatively, if your users use access
|
|
4309
|
-
* access Amazon Web Services programmatically you can refer to access key last used
|
|
4310
|
-
* because it is accurate for all dates. </p>
|
|
4319
|
+
* deletion. For example, you might delete users who did not sign in to Amazon Web Services in the
|
|
4320
|
+
* last 90 days. In cases like this, we recommend that you adjust your evaluation
|
|
4321
|
+
* window to include dates after May 23, 2018. Alternatively, if your users use access
|
|
4322
|
+
* keys to access Amazon Web Services programmatically you can refer to access key last used
|
|
4323
|
+
* information because it is accurate for all dates. </p>
|
|
4311
4324
|
* </important>
|
|
4312
4325
|
*/
|
|
4313
4326
|
User: User | undefined;
|
|
@@ -4354,8 +4367,9 @@ export interface GetUserPolicyResponse {
|
|
|
4354
4367
|
/**
|
|
4355
4368
|
* <p>The policy document.</p>
|
|
4356
4369
|
*
|
|
4357
|
-
* <p>IAM stores policies in JSON format. However, resources that were created using CloudFormation
|
|
4358
|
-
* a YAML policy to JSON format
|
|
4370
|
+
* <p>IAM stores policies in JSON format. However, resources that were created using CloudFormation
|
|
4371
|
+
* templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format
|
|
4372
|
+
* before submitting it to IAM.</p>
|
|
4359
4373
|
*/
|
|
4360
4374
|
PolicyDocument: string | undefined;
|
|
4361
4375
|
}
|
|
@@ -6508,8 +6522,8 @@ export interface SSHPublicKeyMetadata {
|
|
|
6508
6522
|
SSHPublicKeyId: string | undefined;
|
|
6509
6523
|
/**
|
|
6510
6524
|
* <p>The status of the SSH public key. <code>Active</code> means that the key can be used for
|
|
6511
|
-
* authentication with an CodeCommit repository. <code>Inactive</code> means that the key
|
|
6512
|
-
*
|
|
6525
|
+
* authentication with an CodeCommit repository. <code>Inactive</code> means that the key cannot be
|
|
6526
|
+
* used.</p>
|
|
6513
6527
|
*/
|
|
6514
6528
|
Status: StatusType | string | undefined;
|
|
6515
6529
|
/**
|
|
@@ -6825,9 +6839,9 @@ export interface PutGroupPolicyRequest {
|
|
|
6825
6839
|
/**
|
|
6826
6840
|
* <p>The policy document.</p>
|
|
6827
6841
|
*
|
|
6828
|
-
* <p>You must provide policies in JSON format in IAM. However, for CloudFormation
|
|
6829
|
-
*
|
|
6830
|
-
* =
|
|
6842
|
+
* <p>You must provide policies in JSON format in IAM. However, for CloudFormation templates
|
|
6843
|
+
* formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always
|
|
6844
|
+
* converts a YAML policy to JSON format before submitting it to = IAM.</p>
|
|
6831
6845
|
* <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
|
|
6832
6846
|
* used to validate this parameter is a string of characters consisting of the following:</p>
|
|
6833
6847
|
* <ul>
|
|
@@ -7174,7 +7188,8 @@ export declare enum ContextKeyTypeEnum {
|
|
|
7174
7188
|
* specifies the value (or values, if the context key supports multiple values) to use in the
|
|
7175
7189
|
* simulation. This information is used when evaluating the <code>Condition</code> elements of
|
|
7176
7190
|
* the input policies.</p>
|
|
7177
|
-
* <p>This data type is used as an input parameter to <a>SimulateCustomPolicy</a>
|
|
7191
|
+
* <p>This data type is used as an input parameter to <a>SimulateCustomPolicy</a>
|
|
7192
|
+
* and <a>SimulatePrincipalPolicy</a>.</p>
|
|
7178
7193
|
*/
|
|
7179
7194
|
export interface ContextEntry {
|
|
7180
7195
|
/**
|
|
@@ -165,8 +165,9 @@ export interface UpdateAccountPasswordPolicyRequest {
|
|
|
165
165
|
RequireLowercaseCharacters?: boolean;
|
|
166
166
|
/**
|
|
167
167
|
* <p> Allows all IAM users in your account to use the Amazon Web Services Management Console to change their own
|
|
168
|
-
* passwords. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
|
169
|
-
* passwords</a> in the
|
|
168
|
+
* passwords. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_enable-user-change.html">Permitting
|
|
169
|
+
* IAM users to change their own passwords</a> in the
|
|
170
|
+
* <i>IAM User Guide</i>.</p>
|
|
170
171
|
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
171
172
|
* value of <code>false</code>. The result is that IAM users in the account do not
|
|
172
173
|
* automatically have permissions to change their own password.</p>
|
|
@@ -187,11 +188,22 @@ export interface UpdateAccountPasswordPolicyRequest {
|
|
|
187
188
|
*/
|
|
188
189
|
PasswordReusePrevention?: number;
|
|
189
190
|
/**
|
|
190
|
-
* <p>Prevents IAM users
|
|
191
|
-
*
|
|
191
|
+
* <p> Prevents IAM users who are accessing the account via the Amazon Web Services Management Console from setting a
|
|
192
|
+
* new console password after their password has expired. The IAM user cannot access the
|
|
193
|
+
* console until an administrator resets the password.</p>
|
|
192
194
|
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
193
195
|
* value of <code>false</code>. The result is that IAM users can change their passwords
|
|
194
196
|
* after they expire and continue to sign in as the user.</p>
|
|
197
|
+
* <note>
|
|
198
|
+
* <p> In the Amazon Web Services Management Console, the custom password policy option <b>Allow
|
|
199
|
+
* users to change their own password</b> gives IAM users permissions to
|
|
200
|
+
* <code>iam:ChangePassword</code> for only their user and to the
|
|
201
|
+
* <code>iam:GetAccountPasswordPolicy</code> action. This option does not attach a
|
|
202
|
+
* permissions policy to each user, rather the permissions are applied at the
|
|
203
|
+
* account-level for all users by IAM. IAM users with
|
|
204
|
+
* <code>iam:ChangePassword</code> permission and active access keys can reset
|
|
205
|
+
* their own expired console password using the CLI or API.</p>
|
|
206
|
+
* </note>
|
|
195
207
|
*/
|
|
196
208
|
HardExpiry?: boolean;
|
|
197
209
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.52.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,44 +18,50 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"@aws-sdk/util-waiter": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.52.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.52.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.52.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.52.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.52.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.52.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.52.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.52.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.52.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.52.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.52.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.52.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.52.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.52.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.52.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.52.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.52.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.52.0",
|
|
39
|
+
"@aws-sdk/types": "3.52.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.52.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.52.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.52.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.52.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.52.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
|
+
"@aws-sdk/util-waiter": "3.52.0",
|
|
52
52
|
"entities": "2.2.0",
|
|
53
53
|
"fast-xml-parser": "3.19.0",
|
|
54
54
|
"tslib": "^2.3.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
-
"@
|
|
57
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
58
|
+
"@tsconfig/recommended": "1.0.1",
|
|
59
|
+
"@types/node": "^12.7.5",
|
|
60
|
+
"concurrently": "7.0.0",
|
|
61
|
+
"downlevel-dts": "0.7.0",
|
|
62
|
+
"rimraf": "3.0.2",
|
|
63
|
+
"typedoc": "0.19.2",
|
|
64
|
+
"typescript": "~4.3.5"
|
|
59
65
|
},
|
|
60
66
|
"engines": {
|
|
61
67
|
"node": ">=12.0.0"
|