@aws-sdk/client-iam 3.1067.0 → 3.1069.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-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +634 -654
- package/dist-cjs/models/IAMServiceException.js +4 -8
- package/dist-cjs/models/errors.js +71 -109
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +1006 -665
- package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +18 -3
- package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +17 -2
- package/dist-types/models/models_0.d.ts +5 -2
- package/package.json +13 -13
|
@@ -34,10 +34,25 @@ declare const CreateServiceSpecificCredentialCommand_base: {
|
|
|
34
34
|
* IAM, and can be used only for the specified service. </p>
|
|
35
35
|
* <p>You can have a maximum of two sets of service-specific credentials for each supported
|
|
36
36
|
* service per user.</p>
|
|
37
|
-
* <p>You can create service-specific credentials for Amazon Bedrock, Amazon CloudWatch Logs, CodeCommit and Amazon Keyspaces (for Apache Cassandra).</p>
|
|
38
37
|
* <p>You can reset the password to a new service-generated value by calling <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ResetServiceSpecificCredential.html">ResetServiceSpecificCredential</a>.</p>
|
|
39
|
-
* <p>For more information about service-specific credentials
|
|
40
|
-
*
|
|
38
|
+
* <p>For more information about using service-specific credentials to authenticate to an
|
|
39
|
+
* Amazon Web Services service, refer to the following docs:</p>
|
|
40
|
+
* <ul>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>For service-specific credentials with CodeCommit, refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_ssh-keys.html">IAM credentials for CodeCommit: Git credentials, SSH keys, and Amazon Web Services access
|
|
43
|
+
* keys</a> in the <i>IAM User Guide</i>.</p>
|
|
44
|
+
* </li>
|
|
45
|
+
* <li>
|
|
46
|
+
* <p>For service-specific credentials with Amazon Keyspaces (for Apache Cassandra), refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_keyspaces.html">Use IAM with
|
|
47
|
+
* Amazon Keyspaces (for Apache Cassandra)</a> in the
|
|
48
|
+
* <i>IAM User Guide</i>.</p>
|
|
49
|
+
* </li>
|
|
50
|
+
* <li>
|
|
51
|
+
* <p>For services that support long-term API keys, refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_api_keys_for_aws_services.html">API
|
|
52
|
+
* keys for Amazon Web Services services</a> in the
|
|
53
|
+
* <i>IAM User Guide</i>.</p>
|
|
54
|
+
* </li>
|
|
55
|
+
* </ul>
|
|
41
56
|
* @example
|
|
42
57
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
58
|
* ```javascript
|
|
@@ -33,8 +33,23 @@ declare const ListServiceSpecificCredentialsCommand_base: {
|
|
|
33
33
|
* specified IAM user. If none exists, the operation returns an empty list. The
|
|
34
34
|
* service-specific credentials returned by this operation are used only for authenticating
|
|
35
35
|
* the IAM user to a specific service. For more information about using service-specific
|
|
36
|
-
* credentials to authenticate to an Amazon Web Services service,
|
|
37
|
-
*
|
|
36
|
+
* credentials to authenticate to an Amazon Web Services service, refer to the following docs:</p>
|
|
37
|
+
* <ul>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>For service-specific credentials with CodeCommit, refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_ssh-keys.html">IAM credentials for CodeCommit: Git credentials, SSH keys, and Amazon Web Services access
|
|
40
|
+
* keys</a> in the <i>IAM User Guide</i>.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>For service-specific credentials with Amazon Keyspaces (for Apache Cassandra), refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_keyspaces.html">Use IAM with
|
|
44
|
+
* Amazon Keyspaces (for Apache Cassandra)</a> in the
|
|
45
|
+
* <i>IAM User Guide</i>.</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>For services that support long-term API keys, refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_api_keys_for_aws_services.html">API
|
|
49
|
+
* keys for Amazon Web Services services</a> in the
|
|
50
|
+
* <i>IAM User Guide</i>.</p>
|
|
51
|
+
* </li>
|
|
52
|
+
* </ul>
|
|
38
53
|
* @example
|
|
39
54
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
55
|
* ```javascript
|
|
@@ -1564,8 +1564,11 @@ export interface CreateServiceSpecificCredentialRequest {
|
|
|
1564
1564
|
ServiceName: string | undefined;
|
|
1565
1565
|
/**
|
|
1566
1566
|
* <p>The number of days until the service specific credential expires. This field is only
|
|
1567
|
-
* valid for
|
|
1568
|
-
* credential will not expire.</p>
|
|
1567
|
+
* valid for services that support long-term API keys and must be a positive integer. When
|
|
1568
|
+
* not specified, the credential will not expire.</p>
|
|
1569
|
+
* <p>To see which services support long-term API keys, refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_api_keys_for_aws_services.html">API keys
|
|
1570
|
+
* for Amazon Web Services services</a> in the
|
|
1571
|
+
* <i>IAM User Guide</i>.</p>
|
|
1569
1572
|
* @public
|
|
1570
1573
|
*/
|
|
1571
1574
|
CredentialAgeDays?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
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.1069.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
15
|
"test": "yarn g:vitest run --passWithNoTests",
|
|
16
|
-
"test:
|
|
17
|
-
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
|
|
18
|
-
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
|
|
16
|
+
"test:watch": "yarn g:vitest watch --passWithNoTests",
|
|
19
17
|
"test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
|
|
20
|
-
"test:integration:watch": "yarn g:vitest
|
|
21
|
-
"test:
|
|
18
|
+
"test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
|
|
19
|
+
"test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
|
|
20
|
+
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
|
|
21
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
22
22
|
},
|
|
23
23
|
"main": "./dist-cjs/index.js",
|
|
24
24
|
"types": "./dist-types/index.d.ts",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
|
-
"@aws-sdk/core": "^3.974.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
32
|
-
"@aws-sdk/types": "^3.973.
|
|
30
|
+
"@aws-sdk/core": "^3.974.21",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.56",
|
|
32
|
+
"@aws-sdk/types": "^3.973.13",
|
|
33
33
|
"@smithy/core": "^3.24.6",
|
|
34
34
|
"@smithy/fetch-http-handler": "^5.4.6",
|
|
35
35
|
"@smithy/node-http-handler": "^4.7.6",
|