@aws-sdk/client-iam 3.692.0 → 3.693.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.
@@ -75,6 +75,23 @@ declare const DisableOrganizationsRootCredentialsManagementCommand_base: {
75
75
  * <p>Base exception class for all service exceptions from IAM service.</p>
76
76
  *
77
77
  * @public
78
+ * @example To disable the RootCredentialsManagement feature in your organization
79
+ * ```javascript
80
+ * // The following command disables the management of privileged root user credentials across member accounts in your organization.
81
+ * const input = {};
82
+ * const command = new DisableOrganizationsRootCredentialsManagementCommand(input);
83
+ * const response = await client.send(command);
84
+ * /* response ==
85
+ * {
86
+ * "EnabledFeatures": [
87
+ * "RootSessions"
88
+ * ],
89
+ * "OrganizationId": "o-aa111bb222"
90
+ * }
91
+ * *\/
92
+ * // example id: to-disable-the-rootcredentialsmanagement-feature-in-your-organization-1730908292211
93
+ * ```
94
+ *
78
95
  */
79
96
  export declare class DisableOrganizationsRootCredentialsManagementCommand extends DisableOrganizationsRootCredentialsManagementCommand_base {
80
97
  /** @internal type navigation helper, not in runtime. */
@@ -75,6 +75,23 @@ declare const DisableOrganizationsRootSessionsCommand_base: {
75
75
  * <p>Base exception class for all service exceptions from IAM service.</p>
76
76
  *
77
77
  * @public
78
+ * @example To disable the RootSessions feature in your organization
79
+ * ```javascript
80
+ * // The following command disables root user sessions for privileged tasks across member accounts in your organization.
81
+ * const input = {};
82
+ * const command = new DisableOrganizationsRootSessionsCommand(input);
83
+ * const response = await client.send(command);
84
+ * /* response ==
85
+ * {
86
+ * "EnabledFeatures": [
87
+ * "RootCredentialsManagement"
88
+ * ],
89
+ * "OrganizationId": "o-aa111bb222"
90
+ * }
91
+ * *\/
92
+ * // example id: to-disable-the-rootsessions-feature-in-your-organization-1730908495962
93
+ * ```
94
+ *
78
95
  */
79
96
  export declare class DisableOrganizationsRootSessionsCommand extends DisableOrganizationsRootSessionsCommand_base {
80
97
  /** @internal type navigation helper, not in runtime. */
@@ -91,6 +91,23 @@ declare const EnableOrganizationsRootCredentialsManagementCommand_base: {
91
91
  * <p>Base exception class for all service exceptions from IAM service.</p>
92
92
  *
93
93
  * @public
94
+ * @example To enable the RootCredentialsManagement feature in your organization
95
+ * ```javascript
96
+ * // The following command enables the management of privileged root user credentials across member accounts in your organization.
97
+ * const input = {};
98
+ * const command = new EnableOrganizationsRootCredentialsManagementCommand(input);
99
+ * const response = await client.send(command);
100
+ * /* response ==
101
+ * {
102
+ * "EnabledFeatures": [
103
+ * "RootCredentialsManagement"
104
+ * ],
105
+ * "OrganizationId": "o-aa111bb222"
106
+ * }
107
+ * *\/
108
+ * // example id: to-enable-the-rootcredentialsmanagement-feature-in-your-organization-1730908602395
109
+ * ```
110
+ *
94
111
  */
95
112
  export declare class EnableOrganizationsRootCredentialsManagementCommand extends EnableOrganizationsRootCredentialsManagementCommand_base {
96
113
  /** @internal type navigation helper, not in runtime. */
@@ -90,6 +90,24 @@ declare const EnableOrganizationsRootSessionsCommand_base: {
90
90
  * <p>Base exception class for all service exceptions from IAM service.</p>
91
91
  *
92
92
  * @public
93
+ * @example To enable the RootSessions feature in your organization
94
+ * ```javascript
95
+ * // The following command allows the management account or delegated administrator to perform privileged tasks on member accounts in your organization.
96
+ * const input = {};
97
+ * const command = new EnableOrganizationsRootSessionsCommand(input);
98
+ * const response = await client.send(command);
99
+ * /* response ==
100
+ * {
101
+ * "EnabledFeatures": [
102
+ * "RootCredentialsManagement",
103
+ * "RootSessions"
104
+ * ],
105
+ * "OrganizationId": "o-aa111bb222"
106
+ * }
107
+ * *\/
108
+ * // example id: to-enable-the-rootsessions-feature-in-your-organization-1730908736611
109
+ * ```
110
+ *
93
111
  */
94
112
  export declare class EnableOrganizationsRootSessionsCommand extends EnableOrganizationsRootSessionsCommand_base {
95
113
  /** @internal type navigation helper, not in runtime. */
@@ -73,6 +73,23 @@ declare const ListOrganizationsFeaturesCommand_base: {
73
73
  * <p>Base exception class for all service exceptions from IAM service.</p>
74
74
  *
75
75
  * @public
76
+ * @example To list the centralized root access features enabled for your organization
77
+ * ```javascript
78
+ * // he following command lists the centralized root access features enabled for your organization.
79
+ * const input = {};
80
+ * const command = new ListOrganizationsFeaturesCommand(input);
81
+ * const response = await client.send(command);
82
+ * /* response ==
83
+ * {
84
+ * "EnabledFeatures": [
85
+ * "RootCredentialsManagement"
86
+ * ],
87
+ * "OrganizationId": "o-aa111bb222"
88
+ * }
89
+ * *\/
90
+ * // example id: to-list-the-centralized-root-access-features-enabled-for-your-organization-1730908832557
91
+ * ```
92
+ *
76
93
  */
77
94
  export declare class ListOrganizationsFeaturesCommand extends ListOrganizationsFeaturesCommand_base {
78
95
  /** @internal type navigation helper, not in runtime. */
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.692.0",
4
+ "version": "3.693.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iam",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.692.0",
24
- "@aws-sdk/client-sts": "3.692.0",
25
- "@aws-sdk/core": "3.692.0",
26
- "@aws-sdk/credential-provider-node": "3.692.0",
27
- "@aws-sdk/middleware-host-header": "3.692.0",
28
- "@aws-sdk/middleware-logger": "3.692.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
- "@aws-sdk/middleware-user-agent": "3.692.0",
31
- "@aws-sdk/region-config-resolver": "3.692.0",
23
+ "@aws-sdk/client-sso-oidc": "3.693.0",
24
+ "@aws-sdk/client-sts": "3.693.0",
25
+ "@aws-sdk/core": "3.693.0",
26
+ "@aws-sdk/credential-provider-node": "3.693.0",
27
+ "@aws-sdk/middleware-host-header": "3.693.0",
28
+ "@aws-sdk/middleware-logger": "3.693.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.693.0",
30
+ "@aws-sdk/middleware-user-agent": "3.693.0",
31
+ "@aws-sdk/region-config-resolver": "3.693.0",
32
32
  "@aws-sdk/types": "3.692.0",
33
- "@aws-sdk/util-endpoints": "3.692.0",
34
- "@aws-sdk/util-user-agent-browser": "3.692.0",
35
- "@aws-sdk/util-user-agent-node": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.693.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.693.0",
35
+ "@aws-sdk/util-user-agent-node": "3.693.0",
36
36
  "@smithy/config-resolver": "^3.0.11",
37
37
  "@smithy/core": "^2.5.2",
38
38
  "@smithy/fetch-http-handler": "^4.1.0",