@aws-sdk/client-rolesanywhere 3.943.0 → 3.947.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/README.md +1 -15
- package/dist-cjs/index.js +39 -173
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/RolesAnywhereClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +39 -173
- package/dist-types/RolesAnywhere.d.ts +2 -16
- package/dist-types/RolesAnywhereClient.d.ts +11 -25
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateProfileCommand.d.ts +4 -8
- package/dist-types/commands/CreateTrustAnchorCommand.d.ts +4 -10
- package/dist-types/commands/DeleteAttributeMappingCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCrlCommand.d.ts +4 -8
- package/dist-types/commands/DeleteProfileCommand.d.ts +4 -8
- package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +4 -8
- package/dist-types/commands/DisableCrlCommand.d.ts +4 -8
- package/dist-types/commands/DisableProfileCommand.d.ts +4 -8
- package/dist-types/commands/DisableTrustAnchorCommand.d.ts +4 -8
- package/dist-types/commands/EnableCrlCommand.d.ts +4 -8
- package/dist-types/commands/EnableProfileCommand.d.ts +4 -8
- package/dist-types/commands/EnableTrustAnchorCommand.d.ts +4 -8
- package/dist-types/commands/GetCrlCommand.d.ts +4 -8
- package/dist-types/commands/GetProfileCommand.d.ts +4 -8
- package/dist-types/commands/GetSubjectCommand.d.ts +4 -11
- package/dist-types/commands/GetTrustAnchorCommand.d.ts +4 -8
- package/dist-types/commands/ImportCrlCommand.d.ts +4 -11
- package/dist-types/commands/ListCrlsCommand.d.ts +4 -8
- package/dist-types/commands/ListProfilesCommand.d.ts +4 -8
- package/dist-types/commands/ListSubjectsCommand.d.ts +4 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -8
- package/dist-types/commands/ListTrustAnchorsCommand.d.ts +4 -8
- package/dist-types/commands/PutAttributeMappingCommand.d.ts +4 -5
- package/dist-types/commands/PutNotificationSettingsCommand.d.ts +4 -10
- package/dist-types/commands/ResetNotificationSettingsCommand.d.ts +4 -9
- package/dist-types/commands/TagResourceCommand.d.ts +4 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -8
- package/dist-types/commands/UpdateCrlCommand.d.ts +4 -10
- package/dist-types/commands/UpdateProfileCommand.d.ts +4 -10
- package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +4 -13
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/index.d.ts +1 -15
- package/dist-types/models/RolesAnywhereServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +13 -43
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListCrlsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrustAnchorsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/RolesAnywhereClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/RolesAnywhereServiceException.d.ts +1 -1
- package/package.json +13 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ProfileDetailResponse, UpdateProfileRequest } from "../models/models_0";
|
|
4
|
-
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ProfileDetailResponse, UpdateProfileRequest } from "../models/models_0";
|
|
4
|
+
import type { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -27,13 +27,7 @@ declare const UpdateProfileCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates a <i>profile</i>, a list of the roles that IAM
|
|
31
|
-
* Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with
|
|
32
|
-
* IAM managed policies.</p>
|
|
33
|
-
* <p>
|
|
34
|
-
* <b>Required permissions: </b>
|
|
35
|
-
* <code>rolesanywhere:UpdateProfile</code>.
|
|
36
|
-
* </p>
|
|
30
|
+
* <p>Updates a <i>profile</i>, a list of the roles that IAM Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies.</p> <p> <b>Required permissions: </b> <code>rolesanywhere:UpdateProfile</code>. </p>
|
|
37
31
|
* @example
|
|
38
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
33
|
* ```javascript
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { TrustAnchorDetailResponse, UpdateTrustAnchorRequest } from "../models/models_0";
|
|
4
|
-
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { TrustAnchorDetailResponse, UpdateTrustAnchorRequest } from "../models/models_0";
|
|
4
|
+
import type { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -27,16 +27,7 @@ declare const UpdateTrustAnchorCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates a trust anchor. You establish trust between IAM Roles Anywhere
|
|
31
|
-
* and your certificate authority (CA) by configuring a trust anchor. You can define a trust
|
|
32
|
-
* anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a
|
|
33
|
-
* CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor
|
|
34
|
-
* using certificates issued by the CA in exchange for temporary Amazon Web Services
|
|
35
|
-
* credentials.</p>
|
|
36
|
-
* <p>
|
|
37
|
-
* <b>Required permissions: </b>
|
|
38
|
-
* <code>rolesanywhere:UpdateTrustAnchor</code>.
|
|
39
|
-
* </p>
|
|
30
|
+
* <p>Updates a trust anchor. You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.</p> <p> <b>Required permissions: </b> <code>rolesanywhere:UpdateTrustAnchor</code>. </p>
|
|
40
31
|
* @example
|
|
41
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
42
33
|
* ```javascript
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
Region?: string | undefined;
|
|
35
47
|
UseDualStack?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>Identity and Access Management Roles Anywhere provides a secure way for your workloads such as
|
|
3
|
-
* servers, containers, and applications that run outside of Amazon Web Services to obtain
|
|
4
|
-
* temporary Amazon Web Services credentials. Your workloads can use the same IAM policies and roles you have for native Amazon Web Services applications to access Amazon Web Services resources. Using IAM Roles Anywhere eliminates the need to
|
|
5
|
-
* manage long-term credentials for workloads running outside of Amazon Web Services.</p>
|
|
6
|
-
* <p>
|
|
7
|
-
* To use IAM Roles Anywhere, your workloads must use X.509 certificates
|
|
8
|
-
* issued by their certificate authority (CA). You register the CA with IAM
|
|
9
|
-
* Roles Anywhere as a trust anchor to establish trust between your public key infrastructure
|
|
10
|
-
* (PKI) and IAM Roles Anywhere. If you don't manage your own PKI system, you
|
|
11
|
-
* can use Private Certificate Authority to create a CA and then use that to establish trust with
|
|
12
|
-
* IAM Roles Anywhere.
|
|
13
|
-
* </p>
|
|
14
|
-
* <p>This guide describes the IAM Roles Anywhere operations that you can call
|
|
15
|
-
* programmatically. For more information about IAM Roles Anywhere, see the
|
|
16
|
-
* <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html">IAM Roles Anywhere User Guide</a>.</p>
|
|
2
|
+
* <p>Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications that run outside of Amazon Web Services to obtain temporary Amazon Web Services credentials. Your workloads can use the same IAM policies and roles you have for native Amazon Web Services applications to access Amazon Web Services resources. Using IAM Roles Anywhere eliminates the need to manage long-term credentials for workloads running outside of Amazon Web Services.</p> <p> To use IAM Roles Anywhere, your workloads must use X.509 certificates issued by their certificate authority (CA). You register the CA with IAM Roles Anywhere as a trust anchor to establish trust between your public key infrastructure (PKI) and IAM Roles Anywhere. If you don't manage your own PKI system, you can use Private Certificate Authority to create a CA and then use that to establish trust with IAM Roles Anywhere. </p> <p>This guide describes the IAM Roles Anywhere operations that you can call programmatically. For more information about IAM Roles Anywhere, see the <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html">IAM Roles Anywhere User Guide</a>.</p>
|
|
17
3
|
*
|
|
18
4
|
* @packageDocumentation
|
|
19
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { RolesAnywhereServiceException as __BaseException } from "./RolesAnywhereServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
@@ -52,7 +52,7 @@ export interface CreateProfileRequest {
|
|
|
52
52
|
*/
|
|
53
53
|
name: string | undefined;
|
|
54
54
|
/**
|
|
55
|
-
* <p>
|
|
55
|
+
* <p>Unused, saved for future use. Will likely specify whether instance properties are required in temporary credential requests with this profile. </p>
|
|
56
56
|
* @public
|
|
57
57
|
*/
|
|
58
58
|
requireInstanceProperties?: boolean | undefined;
|
|
@@ -72,9 +72,7 @@ export interface CreateProfileRequest {
|
|
|
72
72
|
*/
|
|
73
73
|
managedPolicyArns?: string[] | undefined;
|
|
74
74
|
/**
|
|
75
|
-
* <p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the
|
|
76
|
-
* <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a>
|
|
77
|
-
* page for more details. In requests, if this value is not provided, the default value will be 3600. </p>
|
|
75
|
+
* <p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a> page for more details. In requests, if this value is not provided, the default value will be 3600. </p>
|
|
78
76
|
* @public
|
|
79
77
|
*/
|
|
80
78
|
durationSeconds?: number | undefined;
|
|
@@ -115,7 +113,7 @@ export interface ProfileDetail {
|
|
|
115
113
|
*/
|
|
116
114
|
name?: string | undefined;
|
|
117
115
|
/**
|
|
118
|
-
* <p>
|
|
116
|
+
* <p>Unused, saved for future use. Will likely specify whether instance properties are required in temporary credential requests with this profile. </p>
|
|
119
117
|
* @public
|
|
120
118
|
*/
|
|
121
119
|
requireInstanceProperties?: boolean | undefined;
|
|
@@ -155,9 +153,7 @@ export interface ProfileDetail {
|
|
|
155
153
|
*/
|
|
156
154
|
updatedAt?: Date | undefined;
|
|
157
155
|
/**
|
|
158
|
-
* <p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the
|
|
159
|
-
* <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a>
|
|
160
|
-
* page for more details. In requests, if this value is not provided, the default value will be 3600. </p>
|
|
156
|
+
* <p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a> page for more details. In requests, if this value is not provided, the default value will be 3600. </p>
|
|
161
157
|
* @public
|
|
162
158
|
*/
|
|
163
159
|
durationSeconds?: number | undefined;
|
|
@@ -183,10 +179,7 @@ export interface ProfileDetailResponse {
|
|
|
183
179
|
profile?: ProfileDetail | undefined;
|
|
184
180
|
}
|
|
185
181
|
/**
|
|
186
|
-
* <p>
|
|
187
|
-
* Customizable notification settings that will be applied to notification events.
|
|
188
|
-
* IAM Roles Anywhere consumes these settings while notifying across multiple channels - CloudWatch metrics, EventBridge, and Health Dashboard.
|
|
189
|
-
* </p>
|
|
182
|
+
* <p> Customizable notification settings that will be applied to notification events. IAM Roles Anywhere consumes these settings while notifying across multiple channels - CloudWatch metrics, EventBridge, and Health Dashboard. </p>
|
|
190
183
|
* @public
|
|
191
184
|
*/
|
|
192
185
|
export interface NotificationSetting {
|
|
@@ -206,11 +199,7 @@ export interface NotificationSetting {
|
|
|
206
199
|
*/
|
|
207
200
|
threshold?: number | undefined;
|
|
208
201
|
/**
|
|
209
|
-
* <p>The specified channel of notification.
|
|
210
|
-
* IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.</p>
|
|
211
|
-
* <note>
|
|
212
|
-
* <p>In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.</p>
|
|
213
|
-
* </note>
|
|
202
|
+
* <p>The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.</p> <note> <p>In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.</p> </note>
|
|
214
203
|
* @public
|
|
215
204
|
*/
|
|
216
205
|
channel?: NotificationChannel | undefined;
|
|
@@ -234,10 +223,7 @@ export declare namespace SourceData {
|
|
|
234
223
|
$unknown?: never;
|
|
235
224
|
}
|
|
236
225
|
/**
|
|
237
|
-
* <p>
|
|
238
|
-
* The root certificate of the Private Certificate Authority specified by this ARN is used in trust
|
|
239
|
-
* validation for temporary credential requests. Included for trust anchors of type <code>AWS_ACM_PCA</code>.
|
|
240
|
-
* </p>
|
|
226
|
+
* <p> The root certificate of the Private Certificate Authority specified by this ARN is used in trust validation for temporary credential requests. Included for trust anchors of type <code>AWS_ACM_PCA</code>. </p>
|
|
241
227
|
* @public
|
|
242
228
|
*/
|
|
243
229
|
interface AcmPcaArnMember {
|
|
@@ -310,9 +296,7 @@ export interface CreateTrustAnchorRequest {
|
|
|
310
296
|
notificationSettings?: NotificationSetting[] | undefined;
|
|
311
297
|
}
|
|
312
298
|
/**
|
|
313
|
-
* <p>The state of a notification setting.</p>
|
|
314
|
-
* <p>A notification setting includes information such as event name, threshold, status of
|
|
315
|
-
* the notification setting, and the channel to notify.</p>
|
|
299
|
+
* <p>The state of a notification setting.</p> <p>A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.</p>
|
|
316
300
|
* @public
|
|
317
301
|
*/
|
|
318
302
|
export interface NotificationSettingDetail {
|
|
@@ -332,20 +316,12 @@ export interface NotificationSettingDetail {
|
|
|
332
316
|
*/
|
|
333
317
|
threshold?: number | undefined;
|
|
334
318
|
/**
|
|
335
|
-
* <p>The specified channel of notification.
|
|
336
|
-
* IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.</p>
|
|
337
|
-
* <note>
|
|
338
|
-
* <p>In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.</p>
|
|
339
|
-
* </note>
|
|
319
|
+
* <p>The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.</p> <note> <p>In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.</p> </note>
|
|
340
320
|
* @public
|
|
341
321
|
*/
|
|
342
322
|
channel?: NotificationChannel | undefined;
|
|
343
323
|
/**
|
|
344
|
-
* <p>The principal that configured the notification setting.
|
|
345
|
-
* For default settings configured by IAM Roles Anywhere,
|
|
346
|
-
* the value is <code>rolesanywhere.amazonaws.com</code>, and
|
|
347
|
-
* for customized notifications settings, it is the respective account ID.
|
|
348
|
-
* </p>
|
|
324
|
+
* <p>The principal that configured the notification setting. For default settings configured by IAM Roles Anywhere, the value is <code>rolesanywhere.amazonaws.com</code>, and for customized notifications settings, it is the respective account ID. </p>
|
|
349
325
|
* @public
|
|
350
326
|
*/
|
|
351
327
|
configuredBy?: string | undefined;
|
|
@@ -837,9 +813,7 @@ export interface ListTrustAnchorsResponse {
|
|
|
837
813
|
trustAnchors?: TrustAnchorDetail[] | undefined;
|
|
838
814
|
}
|
|
839
815
|
/**
|
|
840
|
-
* <p>A notification setting key to reset.
|
|
841
|
-
* A notification setting key includes the event and the channel.
|
|
842
|
-
* </p>
|
|
816
|
+
* <p>A notification setting key to reset. A notification setting key includes the event and the channel. </p>
|
|
843
817
|
* @public
|
|
844
818
|
*/
|
|
845
819
|
export interface NotificationSettingKey {
|
|
@@ -914,9 +888,7 @@ export interface UpdateProfileRequest {
|
|
|
914
888
|
*/
|
|
915
889
|
managedPolicyArns?: string[] | undefined;
|
|
916
890
|
/**
|
|
917
|
-
* <p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the
|
|
918
|
-
* <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a>
|
|
919
|
-
* page for more details. In requests, if this value is not provided, the default value will be 3600. </p>
|
|
891
|
+
* <p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a> page for more details. In requests, if this value is not provided, the default value will be 3600. </p>
|
|
920
892
|
* @public
|
|
921
893
|
*/
|
|
922
894
|
durationSeconds?: number | undefined;
|
|
@@ -961,9 +933,7 @@ export interface ResetNotificationSettingsRequest {
|
|
|
961
933
|
*/
|
|
962
934
|
trustAnchorId: string | undefined;
|
|
963
935
|
/**
|
|
964
|
-
* <p>A list of notification setting keys to reset.
|
|
965
|
-
* A notification setting key includes the event and the channel.
|
|
966
|
-
* </p>
|
|
936
|
+
* <p>A list of notification setting keys to reset. A notification setting key includes the event and the channel. </p>
|
|
967
937
|
* @public
|
|
968
938
|
*/
|
|
969
939
|
notificationSettingKeys: NotificationSettingKey[] | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListProfilesCommandInput, ListProfilesCommandOutput } from "../commands/ListProfilesCommand";
|
|
3
3
|
import { RolesAnywherePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListSubjectsCommandInput, ListSubjectsCommandOutput } from "../commands/ListSubjectsCommand";
|
|
3
3
|
import { RolesAnywherePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListTrustAnchorsCommandInput, ListTrustAnchorsCommandOutput } from "../commands/ListTrustAnchorsCommand";
|
|
3
3
|
import { RolesAnywherePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var TagKey: StaticSimpleSchema;
|
|
3
3
|
export declare var TagValue: StaticSimpleSchema;
|
|
4
4
|
export declare var AccessDeniedException: StaticErrorSchema;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rolesanywhere",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rolesanywhere Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.947.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-rolesanywhere",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo rolesanywhere"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo rolesanywhere",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +21,38 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.947.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.947.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.947.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.947.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
38
|
"@smithy/hash-node": "^4.2.5",
|
|
38
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
42
43
|
"@smithy/middleware-serde": "^4.2.6",
|
|
43
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
48
49
|
"@smithy/types": "^4.9.0",
|
|
49
50
|
"@smithy/url-parser": "^4.2.5",
|
|
50
51
|
"@smithy/util-base64": "^4.3.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
55
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
58
|
"@smithy/util-retry": "^4.2.5",
|