@aws-sdk/client-rolesanywhere 3.620.1 → 3.622.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/index.js CHANGED
@@ -178,25 +178,27 @@ var _RolesAnywhereClient = class _RolesAnywhereClient extends import_smithy_clie
178
178
  constructor(...[configuration]) {
179
179
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
180
180
  const _config_1 = resolveClientEndpointParameters(_config_0);
181
- const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
182
- const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
183
- const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
184
- const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4);
185
- const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5);
181
+ const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
182
+ const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
183
+ const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
184
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
185
+ const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
186
186
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
187
187
  const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
188
188
  super(_config_8);
189
189
  this.config = _config_8;
190
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
191
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
192
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
193
190
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
194
191
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
195
192
  this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
193
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
194
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
195
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
196
196
  this.middlewareStack.use(
197
197
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
198
- httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
199
- identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
198
+ httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRolesAnywhereHttpAuthSchemeParametersProvider,
199
+ identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
200
+ "aws.auth#sigv4": config.credentials
201
+ })
200
202
  })
201
203
  );
202
204
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -209,14 +211,6 @@ var _RolesAnywhereClient = class _RolesAnywhereClient extends import_smithy_clie
209
211
  destroy() {
210
212
  super.destroy();
211
213
  }
212
- getDefaultHttpAuthSchemeParametersProvider() {
213
- return import_httpAuthSchemeProvider.defaultRolesAnywhereHttpAuthSchemeParametersProvider;
214
- }
215
- getIdentityProviderConfigProvider() {
216
- return async (config) => new import_core.DefaultIdentityProviderConfig({
217
- "aws.auth#sigv4": config.credentials
218
- });
219
- }
220
214
  };
221
215
  __name(_RolesAnywhereClient, "RolesAnywhereClient");
222
216
  var RolesAnywhereClient = _RolesAnywhereClient;
@@ -386,6 +380,7 @@ var se_CreateProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
386
380
  let body;
387
381
  body = JSON.stringify(
388
382
  (0, import_smithy_client.take)(input, {
383
+ acceptRoleSessionName: [],
389
384
  durationSeconds: [],
390
385
  enabled: [],
391
386
  managedPolicyArns: (_) => (0, import_smithy_client._json)(_),
@@ -734,6 +729,7 @@ var se_UpdateProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
734
729
  let body;
735
730
  body = JSON.stringify(
736
731
  (0, import_smithy_client.take)(input, {
732
+ acceptRoleSessionName: [],
737
733
  durationSeconds: [],
738
734
  managedPolicyArns: (_) => (0, import_smithy_client._json)(_),
739
735
  name: [],
@@ -1307,6 +1303,7 @@ var de_InstanceProperty = /* @__PURE__ */ __name((output, context) => {
1307
1303
  }, "de_InstanceProperty");
1308
1304
  var de_ProfileDetail = /* @__PURE__ */ __name((output, context) => {
1309
1305
  return (0, import_smithy_client.take)(output, {
1306
+ acceptRoleSessionName: import_smithy_client.expectBoolean,
1310
1307
  attributeMappings: import_smithy_client._json,
1311
1308
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1312
1309
  createdBy: import_smithy_client.expectString,
@@ -17,36 +17,30 @@ export class RolesAnywhereClient extends __Client {
17
17
  constructor(...[configuration]) {
18
18
  const _config_0 = __getRuntimeConfig(configuration || {});
19
19
  const _config_1 = resolveClientEndpointParameters(_config_0);
20
- const _config_2 = resolveRegionConfig(_config_1);
21
- const _config_3 = resolveEndpointConfig(_config_2);
22
- const _config_4 = resolveHostHeaderConfig(_config_3);
23
- const _config_5 = resolveUserAgentConfig(_config_4);
24
- const _config_6 = resolveRetryConfig(_config_5);
20
+ const _config_2 = resolveUserAgentConfig(_config_1);
21
+ const _config_3 = resolveRetryConfig(_config_2);
22
+ const _config_4 = resolveRegionConfig(_config_3);
23
+ const _config_5 = resolveHostHeaderConfig(_config_4);
24
+ const _config_6 = resolveEndpointConfig(_config_5);
25
25
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
26
26
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
27
27
  super(_config_8);
28
28
  this.config = _config_8;
29
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
30
- this.middlewareStack.use(getLoggerPlugin(this.config));
31
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
32
29
  this.middlewareStack.use(getUserAgentPlugin(this.config));
33
30
  this.middlewareStack.use(getRetryPlugin(this.config));
34
31
  this.middlewareStack.use(getContentLengthPlugin(this.config));
32
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
33
+ this.middlewareStack.use(getLoggerPlugin(this.config));
34
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
35
35
  this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
36
- httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
37
- identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
36
+ httpAuthSchemeParametersProvider: defaultRolesAnywhereHttpAuthSchemeParametersProvider,
37
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
38
+ "aws.auth#sigv4": config.credentials,
39
+ }),
38
40
  }));
39
41
  this.middlewareStack.use(getHttpSigningPlugin(this.config));
40
42
  }
41
43
  destroy() {
42
44
  super.destroy();
43
45
  }
44
- getDefaultHttpAuthSchemeParametersProvider() {
45
- return defaultRolesAnywhereHttpAuthSchemeParametersProvider;
46
- }
47
- getIdentityProviderConfigProvider() {
48
- return async (config) => new DefaultIdentityProviderConfig({
49
- "aws.auth#sigv4": config.credentials,
50
- });
51
- }
52
46
  }
@@ -11,6 +11,7 @@ export const se_CreateProfileCommand = async (input, context) => {
11
11
  b.bp("/profiles");
12
12
  let body;
13
13
  body = JSON.stringify(take(input, {
14
+ acceptRoleSessionName: [],
14
15
  durationSeconds: [],
15
16
  enabled: [],
16
17
  managedPolicyArns: (_) => _json(_),
@@ -341,6 +342,7 @@ export const se_UpdateProfileCommand = async (input, context) => {
341
342
  b.p("profileId", () => input.profileId, "{profileId}", false);
342
343
  let body;
343
344
  body = JSON.stringify(take(input, {
345
+ acceptRoleSessionName: [],
344
346
  durationSeconds: [],
345
347
  managedPolicyArns: (_) => _json(_),
346
348
  name: [],
@@ -917,6 +919,7 @@ const de_InstanceProperty = (output, context) => {
917
919
  };
918
920
  const de_ProfileDetail = (output, context) => {
919
921
  return take(output, {
922
+ acceptRoleSessionName: __expectBoolean,
920
923
  attributeMappings: _json,
921
924
  createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
922
925
  createdBy: __expectString,
@@ -161,7 +161,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
161
161
  /**
162
162
  * @public
163
163
  */
164
- export type RolesAnywhereClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
164
+ export type RolesAnywhereClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
165
165
  /**
166
166
  * @public
167
167
  *
@@ -172,7 +172,7 @@ export interface RolesAnywhereClientConfig extends RolesAnywhereClientConfigType
172
172
  /**
173
173
  * @public
174
174
  */
175
- export type RolesAnywhereClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
175
+ export type RolesAnywhereClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
176
176
  /**
177
177
  * @public
178
178
  *
@@ -210,6 +210,4 @@ export declare class RolesAnywhereClient extends __Client<__HttpHandlerOptions,
210
210
  * Otherwise, sockets might stay open for quite a long time before the server terminates them.
211
211
  */
212
212
  destroy(): void;
213
- private getDefaultHttpAuthSchemeParametersProvider;
214
- private getIdentityProviderConfigProvider;
215
213
  }
@@ -30,12 +30,12 @@ export declare const defaultRolesAnywhereHttpAuthSchemeProvider: RolesAnywhereHt
30
30
  */
31
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
32
  /**
33
- * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
33
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
34
  * @internal
35
35
  */
36
36
  httpAuthSchemes?: HttpAuthScheme[];
37
37
  /**
38
- * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
38
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
39
39
  * @internal
40
40
  */
41
41
  httpAuthSchemeProvider?: RolesAnywhereHttpAuthSchemeProvider;
@@ -45,12 +45,12 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
45
45
  */
46
46
  export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
47
47
  /**
48
- * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
48
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
49
  * @internal
50
50
  */
51
51
  readonly httpAuthSchemes: HttpAuthScheme[];
52
52
  /**
53
- * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
53
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
54
54
  * @internal
55
55
  */
56
56
  readonly httpAuthSchemeProvider: RolesAnywhereHttpAuthSchemeProvider;
@@ -56,6 +56,7 @@ declare const CreateProfileCommand_base: {
56
56
  * value: "STRING_VALUE", // required
57
57
  * },
58
58
  * ],
59
+ * acceptRoleSessionName: true || false,
59
60
  * };
60
61
  * const command = new CreateProfileCommand(input);
61
62
  * const response = await client.send(command);
@@ -77,6 +78,7 @@ declare const CreateProfileCommand_base: {
77
78
  * // createdAt: new Date("TIMESTAMP"),
78
79
  * // updatedAt: new Date("TIMESTAMP"),
79
80
  * // durationSeconds: Number("int"),
81
+ * // acceptRoleSessionName: true || false,
80
82
  * // attributeMappings: [ // AttributeMappings
81
83
  * // { // AttributeMapping
82
84
  * // certificateField: "STRING_VALUE",
@@ -61,6 +61,7 @@ declare const DeleteAttributeMappingCommand_base: {
61
61
  * // createdAt: new Date("TIMESTAMP"),
62
62
  * // updatedAt: new Date("TIMESTAMP"),
63
63
  * // durationSeconds: Number("int"),
64
+ * // acceptRoleSessionName: true || false,
64
65
  * // attributeMappings: [ // AttributeMappings
65
66
  * // { // AttributeMapping
66
67
  * // certificateField: "STRING_VALUE",
@@ -61,6 +61,7 @@ declare const DeleteProfileCommand_base: {
61
61
  * // createdAt: new Date("TIMESTAMP"),
62
62
  * // updatedAt: new Date("TIMESTAMP"),
63
63
  * // durationSeconds: Number("int"),
64
+ * // acceptRoleSessionName: true || false,
64
65
  * // attributeMappings: [ // AttributeMappings
65
66
  * // { // AttributeMapping
66
67
  * // certificateField: "STRING_VALUE",
@@ -61,6 +61,7 @@ declare const DisableProfileCommand_base: {
61
61
  * // createdAt: new Date("TIMESTAMP"),
62
62
  * // updatedAt: new Date("TIMESTAMP"),
63
63
  * // durationSeconds: Number("int"),
64
+ * // acceptRoleSessionName: true || false,
64
65
  * // attributeMappings: [ // AttributeMappings
65
66
  * // { // AttributeMapping
66
67
  * // certificateField: "STRING_VALUE",
@@ -61,6 +61,7 @@ declare const EnableProfileCommand_base: {
61
61
  * // createdAt: new Date("TIMESTAMP"),
62
62
  * // updatedAt: new Date("TIMESTAMP"),
63
63
  * // durationSeconds: Number("int"),
64
+ * // acceptRoleSessionName: true || false,
64
65
  * // attributeMappings: [ // AttributeMappings
65
66
  * // { // AttributeMapping
66
67
  * // certificateField: "STRING_VALUE",
@@ -61,6 +61,7 @@ declare const GetProfileCommand_base: {
61
61
  * // createdAt: new Date("TIMESTAMP"),
62
62
  * // updatedAt: new Date("TIMESTAMP"),
63
63
  * // durationSeconds: Number("int"),
64
+ * // acceptRoleSessionName: true || false,
64
65
  * // attributeMappings: [ // AttributeMappings
65
66
  * // { // AttributeMapping
66
67
  * // certificateField: "STRING_VALUE",
@@ -64,6 +64,7 @@ declare const ListProfilesCommand_base: {
64
64
  * // createdAt: new Date("TIMESTAMP"),
65
65
  * // updatedAt: new Date("TIMESTAMP"),
66
66
  * // durationSeconds: Number("int"),
67
+ * // acceptRoleSessionName: true || false,
67
68
  * // attributeMappings: [ // AttributeMappings
68
69
  * // { // AttributeMapping
69
70
  * // certificateField: "STRING_VALUE",
@@ -64,6 +64,7 @@ declare const PutAttributeMappingCommand_base: {
64
64
  * // createdAt: new Date("TIMESTAMP"),
65
65
  * // updatedAt: new Date("TIMESTAMP"),
66
66
  * // durationSeconds: Number("int"),
67
+ * // acceptRoleSessionName: true || false,
67
68
  * // attributeMappings: [ // AttributeMappings
68
69
  * // { // AttributeMapping
69
70
  * // certificateField: "STRING_VALUE",
@@ -51,6 +51,7 @@ declare const UpdateProfileCommand_base: {
51
51
  * "STRING_VALUE",
52
52
  * ],
53
53
  * durationSeconds: Number("int"),
54
+ * acceptRoleSessionName: true || false,
54
55
  * };
55
56
  * const command = new UpdateProfileCommand(input);
56
57
  * const response = await client.send(command);
@@ -72,6 +73,7 @@ declare const UpdateProfileCommand_base: {
72
73
  * // createdAt: new Date("TIMESTAMP"),
73
74
  * // updatedAt: new Date("TIMESTAMP"),
74
75
  * // durationSeconds: Number("int"),
76
+ * // acceptRoleSessionName: true || false,
75
77
  * // attributeMappings: [ // AttributeMappings
76
78
  * // { // AttributeMapping
77
79
  * // certificateField: "STRING_VALUE",
@@ -114,6 +114,11 @@ export interface CreateProfileRequest {
114
114
  * @public
115
115
  */
116
116
  tags?: Tag[];
117
+ /**
118
+ * <p>Used to determine if a custom role session name will be accepted in a temporary credential request.</p>
119
+ * @public
120
+ */
121
+ acceptRoleSessionName?: boolean;
117
122
  }
118
123
  /**
119
124
  * <p>The state of the profile after a read or write operation.</p>
@@ -182,6 +187,11 @@ export interface ProfileDetail {
182
187
  * @public
183
188
  */
184
189
  durationSeconds?: number;
190
+ /**
191
+ * <p>Used to determine if a custom role session name will be accepted in a temporary credential request.</p>
192
+ * @public
193
+ */
194
+ acceptRoleSessionName?: boolean;
185
195
  /**
186
196
  * <p>A mapping applied to the authenticating end-entity certificate.</p>
187
197
  * @public
@@ -993,6 +1003,11 @@ export interface UpdateProfileRequest {
993
1003
  * @public
994
1004
  */
995
1005
  durationSeconds?: number;
1006
+ /**
1007
+ * <p>Used to determine if a custom role session name will be accepted in a temporary credential request.</p>
1008
+ * @public
1009
+ */
1010
+ acceptRoleSessionName?: boolean;
996
1011
  }
997
1012
  /**
998
1013
  * @public
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
30
32
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
31
33
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
32
34
  logger?: import("@smithy/types").Logger | undefined;
33
35
  }) => import("@smithy/types").EndpointV2;
34
36
  tls?: boolean | undefined;
35
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
36
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
37
37
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
38
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RolesAnywhereHttpAuthSchemeProvider;
39
39
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
30
32
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
31
33
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
32
34
  logger?: import("@smithy/types").Logger | undefined;
33
35
  }) => import("@smithy/types").EndpointV2;
34
36
  tls?: boolean | undefined;
35
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
36
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
37
37
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
38
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RolesAnywhereHttpAuthSchemeProvider;
39
39
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -26,13 +26,13 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
26
26
  logger: import("@smithy/types").Logger;
27
27
  extensions: import("./runtimeExtensions").RuntimeExtension[];
28
28
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
29
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
30
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
29
31
  endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
30
32
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
33
  logger?: import("@smithy/types").Logger | undefined;
32
34
  }) => import("@smithy/types").EndpointV2;
33
35
  tls?: boolean | undefined;
34
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
35
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
36
36
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
37
37
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RolesAnywhereHttpAuthSchemeProvider;
38
38
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -263,11 +263,11 @@ export type RolesAnywhereClientConfigType = Partial<
263
263
  __SmithyConfiguration<__HttpHandlerOptions>
264
264
  > &
265
265
  ClientDefaults &
266
- RegionInputConfig &
267
- EndpointInputConfig<EndpointParameters> &
268
- HostHeaderInputConfig &
269
266
  UserAgentInputConfig &
270
267
  RetryInputConfig &
268
+ RegionInputConfig &
269
+ HostHeaderInputConfig &
270
+ EndpointInputConfig<EndpointParameters> &
271
271
  HttpAuthSchemeInputConfig &
272
272
  ClientInputEndpointParameters;
273
273
  export interface RolesAnywhereClientConfig
@@ -276,11 +276,11 @@ export type RolesAnywhereClientResolvedConfigType =
276
276
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
277
277
  Required<ClientDefaults> &
278
278
  RuntimeExtensionsConfig &
279
- RegionResolvedConfig &
280
- EndpointResolvedConfig<EndpointParameters> &
281
- HostHeaderResolvedConfig &
282
279
  UserAgentResolvedConfig &
283
280
  RetryResolvedConfig &
281
+ RegionResolvedConfig &
282
+ HostHeaderResolvedConfig &
283
+ EndpointResolvedConfig<EndpointParameters> &
284
284
  HttpAuthSchemeResolvedConfig &
285
285
  ClientResolvedEndpointParameters;
286
286
  export interface RolesAnywhereClientResolvedConfig
@@ -296,6 +296,4 @@ export declare class RolesAnywhereClient extends __Client<
296
296
  ...[configuration]: __CheckOptionalClientConfig<RolesAnywhereClientConfig>
297
297
  );
298
298
  destroy(): void;
299
- private getDefaultHttpAuthSchemeParametersProvider;
300
- private getIdentityProviderConfigProvider;
301
299
  }
@@ -34,6 +34,7 @@ export interface CreateProfileRequest {
34
34
  durationSeconds?: number;
35
35
  enabled?: boolean;
36
36
  tags?: Tag[];
37
+ acceptRoleSessionName?: boolean;
37
38
  }
38
39
  export interface ProfileDetail {
39
40
  profileId?: string;
@@ -48,6 +49,7 @@ export interface ProfileDetail {
48
49
  createdAt?: Date;
49
50
  updatedAt?: Date;
50
51
  durationSeconds?: number;
52
+ acceptRoleSessionName?: boolean;
51
53
  attributeMappings?: AttributeMapping[];
52
54
  }
53
55
  export interface ProfileDetailResponse {
@@ -275,6 +277,7 @@ export interface UpdateProfileRequest {
275
277
  roleArns?: string[];
276
278
  managedPolicyArns?: string[];
277
279
  durationSeconds?: number;
280
+ acceptRoleSessionName?: boolean;
278
281
  }
279
282
  export interface PutNotificationSettingsRequest {
280
283
  trustAnchorId: string | undefined;
@@ -32,6 +32,11 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
32
32
  serviceId: string;
33
33
  logger: import("@smithy/types").Logger;
34
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
35
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
36
+ retryStrategy?:
37
+ | import("@smithy/types").RetryStrategy
38
+ | import("@smithy/types").RetryStrategyV2
39
+ | undefined;
35
40
  endpoint?:
36
41
  | ((
37
42
  | string
@@ -56,11 +61,6 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
56
61
  }
57
62
  ) => import("@smithy/types").EndpointV2;
58
63
  tls?: boolean | undefined;
59
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2
63
- | undefined;
64
64
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
65
65
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RolesAnywhereHttpAuthSchemeProvider;
66
66
  credentials?:
@@ -36,6 +36,11 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
36
36
  serviceId: string;
37
37
  logger: import("@smithy/types").Logger;
38
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
39
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
40
+ retryStrategy?:
41
+ | import("@smithy/types").RetryStrategy
42
+ | import("@smithy/types").RetryStrategyV2
43
+ | undefined;
39
44
  endpoint?:
40
45
  | ((
41
46
  | string
@@ -60,11 +65,6 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
60
65
  }
61
66
  ) => import("@smithy/types").EndpointV2;
62
67
  tls?: boolean | undefined;
63
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2
67
- | undefined;
68
68
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
69
69
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RolesAnywhereHttpAuthSchemeProvider;
70
70
  credentials?:
@@ -36,6 +36,11 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
36
36
  | import("@smithy/types").Provider<
37
37
  import("@smithy/smithy-client").DefaultsMode
38
38
  >;
39
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
40
+ retryStrategy?:
41
+ | import("@smithy/types").RetryStrategy
42
+ | import("@smithy/types").RetryStrategyV2
43
+ | undefined;
39
44
  endpoint?:
40
45
  | string
41
46
  | import("@smithy/types").Endpoint
@@ -50,11 +55,6 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
50
55
  }
51
56
  ) => import("@smithy/types").EndpointV2;
52
57
  tls?: boolean | undefined;
53
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
54
- retryStrategy?:
55
- | import("@smithy/types").RetryStrategy
56
- | import("@smithy/types").RetryStrategyV2
57
- | undefined;
58
58
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
59
59
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RolesAnywhereHttpAuthSchemeProvider;
60
60
  credentials?:
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.620.1",
4
+ "version": "3.622.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",
@@ -20,10 +20,10 @@
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.620.1",
24
- "@aws-sdk/client-sts": "3.620.1",
25
- "@aws-sdk/core": "3.620.1",
26
- "@aws-sdk/credential-provider-node": "3.620.1",
23
+ "@aws-sdk/client-sso-oidc": "3.622.0",
24
+ "@aws-sdk/client-sts": "3.622.0",
25
+ "@aws-sdk/core": "3.622.0",
26
+ "@aws-sdk/credential-provider-node": "3.622.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
@@ -34,26 +34,26 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",
37
- "@smithy/core": "^2.3.0",
38
- "@smithy/fetch-http-handler": "^3.2.3",
37
+ "@smithy/core": "^2.3.2",
38
+ "@smithy/fetch-http-handler": "^3.2.4",
39
39
  "@smithy/hash-node": "^3.0.3",
40
40
  "@smithy/invalid-dependency": "^3.0.3",
41
41
  "@smithy/middleware-content-length": "^3.0.5",
42
42
  "@smithy/middleware-endpoint": "^3.1.0",
43
- "@smithy/middleware-retry": "^3.0.12",
43
+ "@smithy/middleware-retry": "^3.0.14",
44
44
  "@smithy/middleware-serde": "^3.0.3",
45
45
  "@smithy/middleware-stack": "^3.0.3",
46
46
  "@smithy/node-config-provider": "^3.1.4",
47
47
  "@smithy/node-http-handler": "^3.1.4",
48
48
  "@smithy/protocol-http": "^4.1.0",
49
- "@smithy/smithy-client": "^3.1.10",
49
+ "@smithy/smithy-client": "^3.1.12",
50
50
  "@smithy/types": "^3.3.0",
51
51
  "@smithy/url-parser": "^3.0.3",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.12",
56
- "@smithy/util-defaults-mode-node": "^3.0.12",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.14",
56
+ "@smithy/util-defaults-mode-node": "^3.0.14",
57
57
  "@smithy/util-endpoints": "^2.0.5",
58
58
  "@smithy/util-middleware": "^3.0.3",
59
59
  "@smithy/util-retry": "^3.0.3",