@aws-sdk/client-iam 3.369.0 → 3.370.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +4 -3
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +5 -5
- package/dist-types/commands/CreateRoleCommand.d.ts +4 -4
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +2 -2
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetRoleCommand.d.ts +2 -1
- package/dist-types/commands/GetRolePolicyCommand.d.ts +2 -2
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +2 -2
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +2 -2
- package/dist-types/commands/ListRolesCommand.d.ts +2 -2
- package/dist-types/commands/PutRolePolicyCommand.d.ts +4 -4
- package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +4 -3
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +5 -5
- package/dist-types/models/models_0.d.ts +4 -3
- package/package.json +16 -17
|
@@ -33,9 +33,10 @@ export interface AddRoleToInstanceProfileCommandOutput extends __MetadataBearer
|
|
|
33
33
|
* <p>The caller of this operation must be granted the <code>PassRole</code> permission
|
|
34
34
|
* on the IAM role by a permissions policy.</p>
|
|
35
35
|
* </note>
|
|
36
|
-
* <p>For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
|
37
|
-
*
|
|
38
|
-
* profiles
|
|
36
|
+
* <p> For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM roles</a> in the
|
|
37
|
+
* <i>IAM User Guide</i>. For more information about instance profiles,
|
|
38
|
+
* see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html">Using
|
|
39
|
+
* instance profiles</a> in the <i>IAM User Guide</i>.</p>
|
|
39
40
|
* @example
|
|
40
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
42
|
* ```javascript
|
|
@@ -54,11 +54,11 @@ export interface CreateOpenIDConnectProviderCommandOutput extends CreateOpenIDCo
|
|
|
54
54
|
* Amazon Web Services.</p>
|
|
55
55
|
* <note>
|
|
56
56
|
* <p>Amazon Web Services secures communication with some OIDC identity providers (IdPs) through our
|
|
57
|
-
* library of trusted certificate authorities (CAs) instead of using a certificate
|
|
58
|
-
* thumbprint to verify your IdP server certificate. These OIDC IdPs include
|
|
59
|
-
* and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. In
|
|
60
|
-
* cases, your legacy thumbprint remains in your configuration, but is no longer used
|
|
61
|
-
* validation.</p>
|
|
57
|
+
* library of trusted root certificate authorities (CAs) instead of using a certificate
|
|
58
|
+
* thumbprint to verify your IdP server certificate. These OIDC IdPs include Auth0, GitHub,
|
|
59
|
+
* Google, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. In
|
|
60
|
+
* these cases, your legacy thumbprint remains in your configuration, but is no longer used
|
|
61
|
+
* for validation.</p>
|
|
62
62
|
* </note>
|
|
63
63
|
* <note>
|
|
64
64
|
* <p>The trust for the OIDC provider is derived from the IAM provider that this
|
|
@@ -23,10 +23,10 @@ export interface CreateRoleCommandOutput extends CreateRoleResponse, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a new role for your Amazon Web Services account
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* you can create, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS quotas</a> in the
|
|
26
|
+
* <p>Creates a new role for your Amazon Web Services account.</p>
|
|
27
|
+
* <p> For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM roles</a> in the
|
|
28
|
+
* <i>IAM User Guide</i>. For information about quotas for role names
|
|
29
|
+
* and the number of roles you can create, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS quotas</a> in the
|
|
30
30
|
* <i>IAM User Guide</i>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -31,8 +31,8 @@ export interface DeleteInstanceProfileCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* associated with a running instance will break any applications running on the
|
|
32
32
|
* instance.</p>
|
|
33
33
|
* </important>
|
|
34
|
-
* <p>For more information about instance profiles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
|
35
|
-
*
|
|
34
|
+
* <p>For more information about instance profiles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html">Using
|
|
35
|
+
* instance profiles</a> in the <i>IAM User Guide</i>.</p>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
38
|
* ```javascript
|
|
@@ -25,7 +25,7 @@ export interface GetInstanceProfileCommandOutput extends GetInstanceProfileRespo
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p> Retrieves information about the specified instance profile, including the instance
|
|
27
27
|
* profile's path, GUID, ARN, and role. For more information about instance profiles, see
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
|
28
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html">Using
|
|
29
29
|
* instance profiles</a> in the <i>IAM User Guide</i>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,7 +25,8 @@ export interface GetRoleCommandOutput extends GetRoleResponse, __MetadataBearer
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Retrieves information about the specified role, including the role's path, GUID, ARN,
|
|
27
27
|
* and the role's trust policy that grants permission to assume the role. For more
|
|
28
|
-
* information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
|
28
|
+
* information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM roles</a> in the
|
|
29
|
+
* <i>IAM User Guide</i>.</p>
|
|
29
30
|
* <note>
|
|
30
31
|
* <p>Policies returned by this operation are URL-encoded compliant
|
|
31
32
|
* with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
|
|
@@ -38,8 +38,8 @@ export interface GetRolePolicyCommandOutput extends GetRolePolicyResponse, __Met
|
|
|
38
38
|
* the policy document.</p>
|
|
39
39
|
* <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
|
|
40
40
|
* policies</a> in the <i>IAM User Guide</i>.</p>
|
|
41
|
-
* <p>For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
|
42
|
-
*
|
|
41
|
+
* <p> For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM roles</a> in the
|
|
42
|
+
* <i>IAM User Guide</i>.</p>
|
|
43
43
|
* @example
|
|
44
44
|
* Use a bare-bones client and the command you need to make an API call.
|
|
45
45
|
* ```javascript
|
|
@@ -25,8 +25,8 @@ export interface ListInstanceProfilesCommandOutput extends ListInstanceProfilesR
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Lists the instance profiles that have the specified path prefix. If there are none,
|
|
27
27
|
* the operation returns an empty list. For more information about instance profiles, see
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
|
29
|
-
* instance profiles</a>.</p>
|
|
28
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html">Using
|
|
29
|
+
* instance profiles</a> in the <i>IAM User Guide</i>.</p>
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>IAM resource-listing operations return a subset of the available
|
|
32
32
|
* attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an instance profile, see <a>GetInstanceProfile</a>.</p>
|
|
@@ -25,8 +25,8 @@ export interface ListInstanceProfilesForRoleCommandOutput extends ListInstancePr
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Lists the instance profiles that have the specified associated IAM role. If there
|
|
27
27
|
* are none, the operation returns an empty list. For more information about instance
|
|
28
|
-
* profiles, go to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
|
29
|
-
*
|
|
28
|
+
* profiles, go to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html">Using
|
|
29
|
+
* instance profiles</a> in the <i>IAM User Guide</i>.</p>
|
|
30
30
|
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
|
|
31
31
|
* parameters.</p>
|
|
32
32
|
* @example
|
|
@@ -24,8 +24,8 @@ export interface ListRolesCommandOutput extends ListRolesResponse, __MetadataBea
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Lists the IAM roles that have the specified path prefix. If there are none, the
|
|
27
|
-
* operation returns an empty list. For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
|
28
|
-
*
|
|
27
|
+
* operation returns an empty list. For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM roles</a> in the
|
|
28
|
+
* <i>IAM User Guide</i>.</p>
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>IAM resource-listing operations return a subset of the available
|
|
31
31
|
* attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object:</p>
|
|
@@ -31,10 +31,10 @@ export interface PutRolePolicyCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* <code>CreateRole</code>
|
|
32
32
|
* </a>.
|
|
33
33
|
* You can update a role's trust policy using <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAssumeRolePolicy.html">
|
|
34
|
-
* <code>
|
|
35
|
-
* </a>. For more information about
|
|
36
|
-
*
|
|
37
|
-
* roles
|
|
34
|
+
* <code>UpdateAssumeRolePolicy</code>
|
|
35
|
+
* </a>. For more information about roles,
|
|
36
|
+
* see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html">IAM
|
|
37
|
+
* roles</a> in the <i>IAM User Guide</i>.</p>
|
|
38
38
|
* <p>A role can also have a managed policy attached to it. To attach a managed policy to a
|
|
39
39
|
* role, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_AttachRolePolicy.html">
|
|
40
40
|
* <code>AttachRolePolicy</code>
|
|
@@ -30,9 +30,10 @@ export interface RemoveRoleFromInstanceProfileCommandOutput extends __MetadataBe
|
|
|
30
30
|
* profile that is associated with a running instance might break any applications
|
|
31
31
|
* running on the instance.</p>
|
|
32
32
|
* </important>
|
|
33
|
-
* <p> For more information about
|
|
34
|
-
*
|
|
35
|
-
* profiles
|
|
33
|
+
* <p> For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM roles</a> in the
|
|
34
|
+
* <i>IAM User Guide</i>. For more information about instance profiles,
|
|
35
|
+
* see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html">Using
|
|
36
|
+
* instance profiles</a> in the <i>IAM User Guide</i>.</p>
|
|
36
37
|
* @example
|
|
37
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
39
|
* ```javascript
|
|
@@ -34,11 +34,11 @@ export interface UpdateOpenIDConnectProviderThumbprintCommandOutput extends __Me
|
|
|
34
34
|
* updated.</p>
|
|
35
35
|
* <note>
|
|
36
36
|
* <p>Amazon Web Services secures communication with some OIDC identity providers (IdPs) through our
|
|
37
|
-
* library of trusted certificate authorities (CAs) instead of using a certificate
|
|
38
|
-
* thumbprint to verify your IdP server certificate. These OIDC IdPs include
|
|
39
|
-
* and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. In
|
|
40
|
-
* cases, your legacy thumbprint remains in your configuration, but is no longer used
|
|
41
|
-
* validation.</p>
|
|
37
|
+
* library of trusted root certificate authorities (CAs) instead of using a certificate
|
|
38
|
+
* thumbprint to verify your IdP server certificate. These OIDC IdPs include Auth0, GitHub,
|
|
39
|
+
* Google, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. In
|
|
40
|
+
* these cases, your legacy thumbprint remains in your configuration, but is no longer used
|
|
41
|
+
* for validation.</p>
|
|
42
42
|
* </note>
|
|
43
43
|
* <note>
|
|
44
44
|
* <p>Trust for the OIDC provider is derived from the provider certificate and is
|
|
@@ -3113,8 +3113,9 @@ export interface GetMFADeviceResponse {
|
|
|
3113
3113
|
*/
|
|
3114
3114
|
EnableDate?: Date;
|
|
3115
3115
|
/**
|
|
3116
|
-
* <p>The certifications of a specified user's MFA device. We currently provide FIPS-140-2,
|
|
3117
|
-
* obtained from <a href="https://fidoalliance.org/metadata/"> FIDO Alliance Metadata Service
|
|
3116
|
+
* <p>The certifications of a specified user's MFA device. We currently provide FIPS-140-2,
|
|
3117
|
+
* FIPS-140-3, and FIDO certification levels obtained from <a href="https://fidoalliance.org/metadata/"> FIDO Alliance Metadata Service
|
|
3118
|
+
* (MDS)</a>.</p>
|
|
3118
3119
|
*/
|
|
3119
3120
|
Certifications?: Record<string, string>;
|
|
3120
3121
|
}
|
|
@@ -6272,7 +6273,7 @@ export interface PutGroupPolicyRequest {
|
|
|
6272
6273
|
* <p>The policy document.</p>
|
|
6273
6274
|
* <p>You must provide policies in JSON format in IAM. However, for CloudFormation templates
|
|
6274
6275
|
* formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always
|
|
6275
|
-
* converts a YAML policy to JSON format before submitting it to
|
|
6276
|
+
* converts a YAML policy to JSON format before submitting it to IAM.</p>
|
|
6276
6277
|
* <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
|
|
6277
6278
|
* used to validate this parameter is a string of characters consisting of the following:</p>
|
|
6278
6279
|
* <ul>
|
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.370.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",
|
|
@@ -21,29 +21,29 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.370.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.370.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.370.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.370.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.370.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.370.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.370.0",
|
|
31
|
+
"@aws-sdk/types": "3.370.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.370.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.370.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.370.0",
|
|
35
35
|
"@smithy/config-resolver": "^1.0.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^1.0.1",
|
|
37
37
|
"@smithy/hash-node": "^1.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^1.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^1.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^1.0.
|
|
41
|
-
"@smithy/middleware-retry": "^1.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^1.0.2",
|
|
41
|
+
"@smithy/middleware-retry": "^1.0.3",
|
|
42
42
|
"@smithy/middleware-serde": "^1.0.1",
|
|
43
43
|
"@smithy/middleware-stack": "^1.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^1.0.1",
|
|
45
45
|
"@smithy/node-http-handler": "^1.0.2",
|
|
46
|
-
"@smithy/protocol-http": "^1.0
|
|
46
|
+
"@smithy/protocol-http": "^1.1.0",
|
|
47
47
|
"@smithy/smithy-client": "^1.0.3",
|
|
48
48
|
"@smithy/types": "^1.1.0",
|
|
49
49
|
"@smithy/url-parser": "^1.0.1",
|
|
@@ -52,14 +52,13 @@
|
|
|
52
52
|
"@smithy/util-body-length-node": "^1.0.1",
|
|
53
53
|
"@smithy/util-defaults-mode-browser": "^1.0.1",
|
|
54
54
|
"@smithy/util-defaults-mode-node": "^1.0.1",
|
|
55
|
-
"@smithy/util-retry": "^1.0.
|
|
55
|
+
"@smithy/util-retry": "^1.0.3",
|
|
56
56
|
"@smithy/util-utf8": "^1.0.1",
|
|
57
57
|
"@smithy/util-waiter": "^1.0.1",
|
|
58
58
|
"fast-xml-parser": "4.2.5",
|
|
59
59
|
"tslib": "^2.5.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@aws-sdk/service-client-documentation-generator": "3.310.0",
|
|
63
62
|
"@smithy/service-client-documentation-generator": "^1.0.1",
|
|
64
63
|
"@tsconfig/node14": "1.0.3",
|
|
65
64
|
"@types/node": "^14.14.31",
|