@aws-sdk/client-rolesanywhere 3.194.0 → 3.196.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.
Files changed (136) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/RolesAnywhereClient.js +11 -8
  3. package/dist-cjs/commands/CreateProfileCommand.js +10 -0
  4. package/dist-cjs/commands/CreateTrustAnchorCommand.js +10 -0
  5. package/dist-cjs/commands/DeleteCrlCommand.js +10 -0
  6. package/dist-cjs/commands/DeleteProfileCommand.js +10 -0
  7. package/dist-cjs/commands/DeleteTrustAnchorCommand.js +10 -0
  8. package/dist-cjs/commands/DisableCrlCommand.js +10 -0
  9. package/dist-cjs/commands/DisableProfileCommand.js +10 -0
  10. package/dist-cjs/commands/DisableTrustAnchorCommand.js +10 -0
  11. package/dist-cjs/commands/EnableCrlCommand.js +10 -0
  12. package/dist-cjs/commands/EnableProfileCommand.js +10 -0
  13. package/dist-cjs/commands/EnableTrustAnchorCommand.js +10 -0
  14. package/dist-cjs/commands/GetCrlCommand.js +10 -0
  15. package/dist-cjs/commands/GetProfileCommand.js +10 -0
  16. package/dist-cjs/commands/GetSubjectCommand.js +10 -0
  17. package/dist-cjs/commands/GetTrustAnchorCommand.js +10 -0
  18. package/dist-cjs/commands/ImportCrlCommand.js +10 -0
  19. package/dist-cjs/commands/ListCrlsCommand.js +10 -0
  20. package/dist-cjs/commands/ListProfilesCommand.js +10 -0
  21. package/dist-cjs/commands/ListSubjectsCommand.js +10 -0
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  23. package/dist-cjs/commands/ListTrustAnchorsCommand.js +10 -0
  24. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  25. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  26. package/dist-cjs/commands/UpdateCrlCommand.js +10 -0
  27. package/dist-cjs/commands/UpdateProfileCommand.js +10 -0
  28. package/dist-cjs/commands/UpdateTrustAnchorCommand.js +10 -0
  29. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  30. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  31. package/dist-cjs/endpoint/ruleset.js +318 -0
  32. package/dist-cjs/runtimeConfig.shared.js +3 -3
  33. package/dist-es/RolesAnywhereClient.js +12 -9
  34. package/dist-es/commands/CreateProfileCommand.js +10 -0
  35. package/dist-es/commands/CreateTrustAnchorCommand.js +10 -0
  36. package/dist-es/commands/DeleteCrlCommand.js +10 -0
  37. package/dist-es/commands/DeleteProfileCommand.js +10 -0
  38. package/dist-es/commands/DeleteTrustAnchorCommand.js +10 -0
  39. package/dist-es/commands/DisableCrlCommand.js +10 -0
  40. package/dist-es/commands/DisableProfileCommand.js +10 -0
  41. package/dist-es/commands/DisableTrustAnchorCommand.js +10 -0
  42. package/dist-es/commands/EnableCrlCommand.js +10 -0
  43. package/dist-es/commands/EnableProfileCommand.js +10 -0
  44. package/dist-es/commands/EnableTrustAnchorCommand.js +10 -0
  45. package/dist-es/commands/GetCrlCommand.js +10 -0
  46. package/dist-es/commands/GetProfileCommand.js +10 -0
  47. package/dist-es/commands/GetSubjectCommand.js +10 -0
  48. package/dist-es/commands/GetTrustAnchorCommand.js +10 -0
  49. package/dist-es/commands/ImportCrlCommand.js +10 -0
  50. package/dist-es/commands/ListCrlsCommand.js +10 -0
  51. package/dist-es/commands/ListProfilesCommand.js +10 -0
  52. package/dist-es/commands/ListSubjectsCommand.js +10 -0
  53. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  54. package/dist-es/commands/ListTrustAnchorsCommand.js +10 -0
  55. package/dist-es/commands/TagResourceCommand.js +10 -0
  56. package/dist-es/commands/UntagResourceCommand.js +10 -0
  57. package/dist-es/commands/UpdateCrlCommand.js +10 -0
  58. package/dist-es/commands/UpdateProfileCommand.js +10 -0
  59. package/dist-es/commands/UpdateTrustAnchorCommand.js +10 -0
  60. package/dist-es/endpoint/EndpointParameters.js +8 -0
  61. package/dist-es/endpoint/endpointResolver.js +8 -0
  62. package/dist-es/endpoint/ruleset.js +315 -0
  63. package/dist-es/runtimeConfig.shared.js +2 -2
  64. package/dist-types/RolesAnywhereClient.d.ts +6 -9
  65. package/dist-types/commands/CreateProfileCommand.d.ts +2 -0
  66. package/dist-types/commands/CreateTrustAnchorCommand.d.ts +2 -0
  67. package/dist-types/commands/DeleteCrlCommand.d.ts +2 -0
  68. package/dist-types/commands/DeleteProfileCommand.d.ts +2 -0
  69. package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +2 -0
  70. package/dist-types/commands/DisableCrlCommand.d.ts +2 -0
  71. package/dist-types/commands/DisableProfileCommand.d.ts +2 -0
  72. package/dist-types/commands/DisableTrustAnchorCommand.d.ts +2 -0
  73. package/dist-types/commands/EnableCrlCommand.d.ts +2 -0
  74. package/dist-types/commands/EnableProfileCommand.d.ts +2 -0
  75. package/dist-types/commands/EnableTrustAnchorCommand.d.ts +2 -0
  76. package/dist-types/commands/GetCrlCommand.d.ts +2 -0
  77. package/dist-types/commands/GetProfileCommand.d.ts +2 -0
  78. package/dist-types/commands/GetSubjectCommand.d.ts +2 -0
  79. package/dist-types/commands/GetTrustAnchorCommand.d.ts +2 -0
  80. package/dist-types/commands/ImportCrlCommand.d.ts +2 -0
  81. package/dist-types/commands/ListCrlsCommand.d.ts +2 -0
  82. package/dist-types/commands/ListProfilesCommand.d.ts +2 -0
  83. package/dist-types/commands/ListSubjectsCommand.d.ts +2 -0
  84. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  85. package/dist-types/commands/ListTrustAnchorsCommand.d.ts +2 -0
  86. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  87. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  88. package/dist-types/commands/UpdateCrlCommand.d.ts +2 -0
  89. package/dist-types/commands/UpdateProfileCommand.d.ts +2 -0
  90. package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +2 -0
  91. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  92. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  93. package/dist-types/endpoint/ruleset.d.ts +2 -0
  94. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  95. package/dist-types/runtimeConfig.d.ts +4 -2
  96. package/dist-types/runtimeConfig.native.d.ts +4 -2
  97. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  98. package/dist-types/ts3.4/RolesAnywhereClient.d.ts +15 -8
  99. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +2 -0
  100. package/dist-types/ts3.4/commands/CreateTrustAnchorCommand.d.ts +2 -0
  101. package/dist-types/ts3.4/commands/DeleteCrlCommand.d.ts +2 -0
  102. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +2 -0
  103. package/dist-types/ts3.4/commands/DeleteTrustAnchorCommand.d.ts +2 -0
  104. package/dist-types/ts3.4/commands/DisableCrlCommand.d.ts +2 -0
  105. package/dist-types/ts3.4/commands/DisableProfileCommand.d.ts +2 -0
  106. package/dist-types/ts3.4/commands/DisableTrustAnchorCommand.d.ts +2 -0
  107. package/dist-types/ts3.4/commands/EnableCrlCommand.d.ts +2 -0
  108. package/dist-types/ts3.4/commands/EnableProfileCommand.d.ts +2 -0
  109. package/dist-types/ts3.4/commands/EnableTrustAnchorCommand.d.ts +2 -0
  110. package/dist-types/ts3.4/commands/GetCrlCommand.d.ts +2 -0
  111. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +2 -0
  112. package/dist-types/ts3.4/commands/GetSubjectCommand.d.ts +2 -0
  113. package/dist-types/ts3.4/commands/GetTrustAnchorCommand.d.ts +2 -0
  114. package/dist-types/ts3.4/commands/ImportCrlCommand.d.ts +2 -0
  115. package/dist-types/ts3.4/commands/ListCrlsCommand.d.ts +2 -0
  116. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +2 -0
  117. package/dist-types/ts3.4/commands/ListSubjectsCommand.d.ts +2 -0
  118. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  119. package/dist-types/ts3.4/commands/ListTrustAnchorsCommand.d.ts +2 -0
  120. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  121. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  122. package/dist-types/ts3.4/commands/UpdateCrlCommand.d.ts +2 -0
  123. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +2 -0
  124. package/dist-types/ts3.4/commands/UpdateTrustAnchorCommand.d.ts +2 -0
  125. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  126. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  127. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  128. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  129. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  130. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  131. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  132. package/package.json +5 -3
  133. package/dist-cjs/endpoints.js +0 -132
  134. package/dist-es/endpoints.js +0 -128
  135. package/dist-types/endpoints.d.ts +0 -2
  136. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
@@ -29,6 +30,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
29
30
  */
30
31
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RolesAnywhereClientResolvedConfig> {
31
32
  readonly input: ListTagsForResourceCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: ListTagsForResourceCommandInput);
33
35
  /**
34
36
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { ListRequest, ListTrustAnchorsResponse } from "../models/models_0";
@@ -29,6 +30,7 @@ export interface ListTrustAnchorsCommandOutput extends ListTrustAnchorsResponse,
29
30
  */
30
31
  export declare class ListTrustAnchorsCommand extends $Command<ListTrustAnchorsCommandInput, ListTrustAnchorsCommandOutput, RolesAnywhereClientResolvedConfig> {
31
32
  readonly input: ListTrustAnchorsCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: ListTrustAnchorsCommandInput);
33
35
  /**
34
36
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
@@ -29,6 +30,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
29
30
  */
30
31
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RolesAnywhereClientResolvedConfig> {
31
32
  readonly input: TagResourceCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: TagResourceCommandInput);
33
35
  /**
34
36
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
@@ -29,6 +30,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
29
30
  */
30
31
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RolesAnywhereClientResolvedConfig> {
31
32
  readonly input: UntagResourceCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: UntagResourceCommandInput);
33
35
  /**
34
36
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CrlDetailResponse, UpdateCrlRequest } from "../models/models_0";
@@ -29,6 +30,7 @@ export interface UpdateCrlCommandOutput extends CrlDetailResponse, __MetadataBea
29
30
  */
30
31
  export declare class UpdateCrlCommand extends $Command<UpdateCrlCommandInput, UpdateCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
31
32
  readonly input: UpdateCrlCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: UpdateCrlCommandInput);
33
35
  /**
34
36
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { ProfileDetailResponse, UpdateProfileRequest } from "../models/models_0";
@@ -29,6 +30,7 @@ export interface UpdateProfileCommandOutput extends ProfileDetailResponse, __Met
29
30
  */
30
31
  export declare class UpdateProfileCommand extends $Command<UpdateProfileCommandInput, UpdateProfileCommandOutput, RolesAnywhereClientResolvedConfig> {
31
32
  readonly input: UpdateProfileCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: UpdateProfileCommandInput);
33
35
  /**
34
36
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { TrustAnchorDetailResponse, UpdateTrustAnchorRequest } from "../models/models_0";
@@ -29,6 +30,7 @@ export interface UpdateTrustAnchorCommandOutput extends TrustAnchorDetailRespons
29
30
  */
30
31
  export declare class UpdateTrustAnchorCommand extends $Command<UpdateTrustAnchorCommandInput, UpdateTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
31
32
  readonly input: UpdateTrustAnchorCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: UpdateTrustAnchorCommandInput);
33
35
  /**
34
36
  * @internal
@@ -0,0 +1,19 @@
1
+ import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useDualstackEndpoint?: boolean | Provider<boolean>;
5
+ useFipsEndpoint?: boolean | Provider<boolean>;
6
+ endpoint?: string | Provider<string>;
7
+ }
8
+ export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
+ defaultSigningName: string;
10
+ };
11
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export interface EndpointParameters extends __EndpointParameters {
15
+ Region?: string;
16
+ UseDualStack?: boolean;
17
+ UseFIPS?: boolean;
18
+ Endpoint?: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
23
23
  serviceId: string;
24
24
  region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
26
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
27
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@aws-sdk/types").Logger | undefined;
31
+ }) => import("@aws-sdk/types").EndpointV2;
30
32
  tls?: boolean | undefined;
31
33
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
34
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -6,8 +6,10 @@ import { RolesAnywhereClientConfig } from "./RolesAnywhereClient";
6
6
  export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
7
7
  apiVersion: string;
8
8
  disableHostPrefix: boolean;
9
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
10
+ logger?: __Logger | undefined;
11
+ }) => import("@aws-sdk/types").EndpointV2;
9
12
  logger: __Logger;
10
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
11
13
  serviceId: string;
12
14
  urlParser: import("@aws-sdk/types").UrlParser;
13
15
  };
@@ -1,9 +1,11 @@
1
1
  import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
2
  RegionInputConfig,
5
3
  RegionResolvedConfig,
6
4
  } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EndpointInputConfig,
7
+ EndpointResolvedConfig,
8
+ } from "@aws-sdk/middleware-endpoint";
7
9
  import {
8
10
  HostHeaderInputConfig,
9
11
  HostHeaderResolvedConfig,
@@ -37,7 +39,6 @@ import {
37
39
  Logger as __Logger,
38
40
  Provider as __Provider,
39
41
  Provider,
40
- RegionInfoProvider,
41
42
  StreamCollector as __StreamCollector,
42
43
  UrlParser as __UrlParser,
43
44
  UserAgent as __UserAgent,
@@ -146,6 +147,11 @@ import {
146
147
  UpdateTrustAnchorCommandInput,
147
148
  UpdateTrustAnchorCommandOutput,
148
149
  } from "./commands/UpdateTrustAnchorCommand";
150
+ import {
151
+ ClientInputEndpointParameters,
152
+ ClientResolvedEndpointParameters,
153
+ EndpointParameters,
154
+ } from "./endpoint/EndpointParameters";
149
155
  export declare type ServiceInputTypes =
150
156
  | CreateProfileCommandInput
151
157
  | CreateTrustAnchorCommandInput
@@ -221,7 +227,6 @@ export interface ClientDefaults
221
227
  serviceId?: string;
222
228
  region?: string | __Provider<string>;
223
229
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
224
- regionInfoProvider?: RegionInfoProvider;
225
230
  defaultUserAgentProvider?: Provider<__UserAgent>;
226
231
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
227
232
  }
@@ -230,22 +235,24 @@ declare type RolesAnywhereClientConfigType = Partial<
230
235
  > &
231
236
  ClientDefaults &
232
237
  RegionInputConfig &
233
- EndpointsInputConfig &
238
+ EndpointInputConfig<EndpointParameters> &
234
239
  RetryInputConfig &
235
240
  HostHeaderInputConfig &
236
241
  AwsAuthInputConfig &
237
- UserAgentInputConfig;
242
+ UserAgentInputConfig &
243
+ ClientInputEndpointParameters;
238
244
  export interface RolesAnywhereClientConfig
239
245
  extends RolesAnywhereClientConfigType {}
240
246
  declare type RolesAnywhereClientResolvedConfigType =
241
247
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
242
248
  Required<ClientDefaults> &
243
249
  RegionResolvedConfig &
244
- EndpointsResolvedConfig &
250
+ EndpointResolvedConfig<EndpointParameters> &
245
251
  RetryResolvedConfig &
246
252
  HostHeaderResolvedConfig &
247
253
  AwsAuthResolvedConfig &
248
- UserAgentResolvedConfig;
254
+ UserAgentResolvedConfig &
255
+ ClientResolvedEndpointParameters;
249
256
  export interface RolesAnywhereClientResolvedConfig
250
257
  extends RolesAnywhereClientResolvedConfigType {}
251
258
  export declare class RolesAnywhereClient extends __Client<
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class CreateProfileCommand extends $Command<
24
25
  RolesAnywhereClientResolvedConfig
25
26
  > {
26
27
  readonly input: CreateProfileCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: CreateProfileCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class CreateTrustAnchorCommand extends $Command<
25
26
  RolesAnywhereClientResolvedConfig
26
27
  > {
27
28
  readonly input: CreateTrustAnchorCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CreateTrustAnchorCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class DeleteCrlCommand extends $Command<
21
22
  RolesAnywhereClientResolvedConfig
22
23
  > {
23
24
  readonly input: DeleteCrlCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: DeleteCrlCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class DeleteProfileCommand extends $Command<
24
25
  RolesAnywhereClientResolvedConfig
25
26
  > {
26
27
  readonly input: DeleteProfileCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: DeleteProfileCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DeleteTrustAnchorCommand extends $Command<
25
26
  RolesAnywhereClientResolvedConfig
26
27
  > {
27
28
  readonly input: DeleteTrustAnchorCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteTrustAnchorCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class DisableCrlCommand extends $Command<
21
22
  RolesAnywhereClientResolvedConfig
22
23
  > {
23
24
  readonly input: DisableCrlCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: DisableCrlCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class DisableProfileCommand extends $Command<
24
25
  RolesAnywhereClientResolvedConfig
25
26
  > {
26
27
  readonly input: DisableProfileCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: DisableProfileCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DisableTrustAnchorCommand extends $Command<
25
26
  RolesAnywhereClientResolvedConfig
26
27
  > {
27
28
  readonly input: DisableTrustAnchorCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DisableTrustAnchorCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class EnableCrlCommand extends $Command<
21
22
  RolesAnywhereClientResolvedConfig
22
23
  > {
23
24
  readonly input: EnableCrlCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: EnableCrlCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class EnableProfileCommand extends $Command<
24
25
  RolesAnywhereClientResolvedConfig
25
26
  > {
26
27
  readonly input: EnableProfileCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: EnableProfileCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class EnableTrustAnchorCommand extends $Command<
25
26
  RolesAnywhereClientResolvedConfig
26
27
  > {
27
28
  readonly input: EnableTrustAnchorCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: EnableTrustAnchorCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class GetCrlCommand extends $Command<
21
22
  RolesAnywhereClientResolvedConfig
22
23
  > {
23
24
  readonly input: GetCrlCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: GetCrlCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class GetProfileCommand extends $Command<
24
25
  RolesAnywhereClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetProfileCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetProfileCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class GetSubjectCommand extends $Command<
24
25
  RolesAnywhereClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetSubjectCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetSubjectCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class GetTrustAnchorCommand extends $Command<
24
25
  RolesAnywhereClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetTrustAnchorCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetTrustAnchorCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ImportCrlCommand extends $Command<
21
22
  RolesAnywhereClientResolvedConfig
22
23
  > {
23
24
  readonly input: ImportCrlCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ImportCrlCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListCrlsCommand extends $Command<
21
22
  RolesAnywhereClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListCrlsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListCrlsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListProfilesCommand extends $Command<
21
22
  RolesAnywhereClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListProfilesCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListProfilesCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListSubjectsCommand extends $Command<
21
22
  RolesAnywhereClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListSubjectsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListSubjectsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListTagsForResourceCommand extends $Command<
25
26
  RolesAnywhereClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListTagsForResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListTagsForResourceCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListTrustAnchorsCommand extends $Command<
21
22
  RolesAnywhereClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListTrustAnchorsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListTrustAnchorsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class TagResourceCommand extends $Command<
21
22
  RolesAnywhereClientResolvedConfig
22
23
  > {
23
24
  readonly input: TagResourceCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: TagResourceCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UntagResourceCommand extends $Command<
24
25
  RolesAnywhereClientResolvedConfig
25
26
  > {
26
27
  readonly input: UntagResourceCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UntagResourceCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UpdateCrlCommand extends $Command<
21
22
  RolesAnywhereClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateCrlCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateCrlCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UpdateProfileCommand extends $Command<
24
25
  RolesAnywhereClientResolvedConfig
25
26
  > {
26
27
  readonly input: UpdateProfileCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UpdateProfileCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateTrustAnchorCommand extends $Command<
25
26
  RolesAnywhereClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateTrustAnchorCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateTrustAnchorCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,