@aws-sdk/client-route53profiles 3.560.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 (163) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +335 -0
  3. package/dist-cjs/Route53Profiles.js +43 -0
  4. package/dist-cjs/Route53ProfilesClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AssociateProfileCommand.js +28 -0
  8. package/dist-cjs/commands/AssociateResourceToProfileCommand.js +28 -0
  9. package/dist-cjs/commands/CreateProfileCommand.js +28 -0
  10. package/dist-cjs/commands/DeleteProfileCommand.js +28 -0
  11. package/dist-cjs/commands/DisassociateProfileCommand.js +28 -0
  12. package/dist-cjs/commands/DisassociateResourceFromProfileCommand.js +28 -0
  13. package/dist-cjs/commands/GetProfileAssociationCommand.js +28 -0
  14. package/dist-cjs/commands/GetProfileCommand.js +28 -0
  15. package/dist-cjs/commands/GetProfileResourceAssociationCommand.js +28 -0
  16. package/dist-cjs/commands/ListProfileAssociationsCommand.js +28 -0
  17. package/dist-cjs/commands/ListProfileResourceAssociationsCommand.js +28 -0
  18. package/dist-cjs/commands/ListProfilesCommand.js +28 -0
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  20. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  21. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  22. package/dist-cjs/commands/UpdateProfileResourceAssociationCommand.js +28 -0
  23. package/dist-cjs/commands/index.js +19 -0
  24. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  25. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  26. package/dist-cjs/endpoint/ruleset.js +7 -0
  27. package/dist-cjs/extensionConfiguration.js +2 -0
  28. package/dist-cjs/index.js +11 -0
  29. package/dist-cjs/models/Route53ProfilesServiceException.js +12 -0
  30. package/dist-cjs/models/index.js +4 -0
  31. package/dist-cjs/models/models_0.js +161 -0
  32. package/dist-cjs/pagination/Interfaces.js +2 -0
  33. package/dist-cjs/pagination/ListProfileAssociationsPaginator.js +7 -0
  34. package/dist-cjs/pagination/ListProfileResourceAssociationsPaginator.js +7 -0
  35. package/dist-cjs/pagination/ListProfilesPaginator.js +7 -0
  36. package/dist-cjs/pagination/index.js +7 -0
  37. package/dist-cjs/protocols/Aws_restJson1.js +719 -0
  38. package/dist-cjs/runtimeConfig.browser.js +39 -0
  39. package/dist-cjs/runtimeConfig.js +49 -0
  40. package/dist-cjs/runtimeConfig.native.js +15 -0
  41. package/dist-cjs/runtimeConfig.shared.js +34 -0
  42. package/dist-cjs/runtimeExtensions.js +25 -0
  43. package/dist-es/Route53Profiles.js +39 -0
  44. package/dist-es/Route53ProfilesClient.js +52 -0
  45. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  46. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  47. package/dist-es/commands/AssociateProfileCommand.js +24 -0
  48. package/dist-es/commands/AssociateResourceToProfileCommand.js +24 -0
  49. package/dist-es/commands/CreateProfileCommand.js +24 -0
  50. package/dist-es/commands/DeleteProfileCommand.js +24 -0
  51. package/dist-es/commands/DisassociateProfileCommand.js +24 -0
  52. package/dist-es/commands/DisassociateResourceFromProfileCommand.js +24 -0
  53. package/dist-es/commands/GetProfileAssociationCommand.js +24 -0
  54. package/dist-es/commands/GetProfileCommand.js +24 -0
  55. package/dist-es/commands/GetProfileResourceAssociationCommand.js +24 -0
  56. package/dist-es/commands/ListProfileAssociationsCommand.js +24 -0
  57. package/dist-es/commands/ListProfileResourceAssociationsCommand.js +24 -0
  58. package/dist-es/commands/ListProfilesCommand.js +24 -0
  59. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  60. package/dist-es/commands/TagResourceCommand.js +24 -0
  61. package/dist-es/commands/UntagResourceCommand.js +24 -0
  62. package/dist-es/commands/UpdateProfileResourceAssociationCommand.js +24 -0
  63. package/dist-es/commands/index.js +16 -0
  64. package/dist-es/endpoint/EndpointParameters.js +14 -0
  65. package/dist-es/endpoint/endpointResolver.js +10 -0
  66. package/dist-es/endpoint/ruleset.js +4 -0
  67. package/dist-es/extensionConfiguration.js +1 -0
  68. package/dist-es/index.js +6 -0
  69. package/dist-es/models/Route53ProfilesServiceException.js +8 -0
  70. package/dist-es/models/index.js +1 -0
  71. package/dist-es/models/models_0.js +148 -0
  72. package/dist-es/pagination/Interfaces.js +1 -0
  73. package/dist-es/pagination/ListProfileAssociationsPaginator.js +4 -0
  74. package/dist-es/pagination/ListProfileResourceAssociationsPaginator.js +4 -0
  75. package/dist-es/pagination/ListProfilesPaginator.js +4 -0
  76. package/dist-es/pagination/index.js +4 -0
  77. package/dist-es/protocols/Aws_restJson1.js +684 -0
  78. package/dist-es/runtimeConfig.browser.js +34 -0
  79. package/dist-es/runtimeConfig.js +44 -0
  80. package/dist-es/runtimeConfig.native.js +11 -0
  81. package/dist-es/runtimeConfig.shared.js +30 -0
  82. package/dist-es/runtimeExtensions.js +21 -0
  83. package/dist-types/Route53Profiles.d.ts +126 -0
  84. package/dist-types/Route53ProfilesClient.d.ts +189 -0
  85. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  86. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  87. package/dist-types/commands/AssociateProfileCommand.d.ts +119 -0
  88. package/dist-types/commands/AssociateResourceToProfileCommand.d.ts +116 -0
  89. package/dist-types/commands/CreateProfileCommand.d.ts +104 -0
  90. package/dist-types/commands/DeleteProfileCommand.d.ts +97 -0
  91. package/dist-types/commands/DisassociateProfileCommand.d.ts +102 -0
  92. package/dist-types/commands/DisassociateResourceFromProfileCommand.d.ts +114 -0
  93. package/dist-types/commands/GetProfileAssociationCommand.d.ts +91 -0
  94. package/dist-types/commands/GetProfileCommand.d.ts +92 -0
  95. package/dist-types/commands/GetProfileResourceAssociationCommand.d.ts +98 -0
  96. package/dist-types/commands/ListProfileAssociationsCommand.d.ts +102 -0
  97. package/dist-types/commands/ListProfileResourceAssociationsCommand.d.ts +114 -0
  98. package/dist-types/commands/ListProfilesCommand.d.ts +95 -0
  99. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  100. package/dist-types/commands/TagResourceCommand.d.ts +82 -0
  101. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  102. package/dist-types/commands/UpdateProfileResourceAssociationCommand.d.ts +115 -0
  103. package/dist-types/commands/index.d.ts +16 -0
  104. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  105. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  106. package/dist-types/endpoint/ruleset.d.ts +2 -0
  107. package/dist-types/extensionConfiguration.d.ts +9 -0
  108. package/dist-types/index.d.ts +16 -0
  109. package/dist-types/models/Route53ProfilesServiceException.d.ts +13 -0
  110. package/dist-types/models/index.d.ts +1 -0
  111. package/dist-types/models/models_0.d.ts +1067 -0
  112. package/dist-types/pagination/Interfaces.d.ts +8 -0
  113. package/dist-types/pagination/ListProfileAssociationsPaginator.d.ts +7 -0
  114. package/dist-types/pagination/ListProfileResourceAssociationsPaginator.d.ts +7 -0
  115. package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
  116. package/dist-types/pagination/index.d.ts +4 -0
  117. package/dist-types/protocols/Aws_restJson1.d.ts +146 -0
  118. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  119. package/dist-types/runtimeConfig.d.ts +45 -0
  120. package/dist-types/runtimeConfig.native.d.ts +44 -0
  121. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  122. package/dist-types/runtimeExtensions.d.ts +17 -0
  123. package/dist-types/ts3.4/Route53Profiles.d.ts +281 -0
  124. package/dist-types/ts3.4/Route53ProfilesClient.d.ts +217 -0
  125. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  126. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  127. package/dist-types/ts3.4/commands/AssociateProfileCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/AssociateResourceToProfileCommand.d.ts +39 -0
  129. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +38 -0
  130. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +38 -0
  131. package/dist-types/ts3.4/commands/DisassociateProfileCommand.d.ts +39 -0
  132. package/dist-types/ts3.4/commands/DisassociateResourceFromProfileCommand.d.ts +39 -0
  133. package/dist-types/ts3.4/commands/GetProfileAssociationCommand.d.ts +39 -0
  134. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
  135. package/dist-types/ts3.4/commands/GetProfileResourceAssociationCommand.d.ts +39 -0
  136. package/dist-types/ts3.4/commands/ListProfileAssociationsCommand.d.ts +39 -0
  137. package/dist-types/ts3.4/commands/ListProfileResourceAssociationsCommand.d.ts +39 -0
  138. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
  139. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  140. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  141. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  142. package/dist-types/ts3.4/commands/UpdateProfileResourceAssociationCommand.d.ts +39 -0
  143. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  144. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  145. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  146. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  147. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  148. package/dist-types/ts3.4/index.d.ts +9 -0
  149. package/dist-types/ts3.4/models/Route53ProfilesServiceException.d.ts +8 -0
  150. package/dist-types/ts3.4/models/index.d.ts +1 -0
  151. package/dist-types/ts3.4/models/models_0.d.ts +261 -0
  152. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  153. package/dist-types/ts3.4/pagination/ListProfileAssociationsPaginator.d.ts +11 -0
  154. package/dist-types/ts3.4/pagination/ListProfileResourceAssociationsPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  157. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
  158. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
  159. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  160. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  161. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  162. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  163. package/package.json +103 -0
@@ -0,0 +1,34 @@
1
+ import packageInfo from "../package.json";
2
+ import { Sha256 } from "@aws-crypto/sha256-browser";
3
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
+ import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
8
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
+ export const getRuntimeConfig = (config) => {
13
+ const defaultsMode = resolveDefaultsModeConfig(config);
14
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
15
+ const clientSharedValues = getSharedRuntimeConfig(config);
16
+ return {
17
+ ...clientSharedValues,
18
+ ...config,
19
+ runtime: "browser",
20
+ defaultsMode,
21
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
+ defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
+ region: config?.region ?? invalidProvider("Region is missing"),
27
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
28
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
29
+ sha256: config?.sha256 ?? Sha256,
30
+ streamCollector: config?.streamCollector ?? streamCollector,
31
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
32
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
33
+ };
34
+ };
@@ -0,0 +1,44 @@
1
+ import packageInfo from "../package.json";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
3
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
5
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
+ import { Hash } from "@smithy/hash-node";
7
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { calculateBodyLength } from "@smithy/util-body-length-node";
11
+ import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
+ import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
+ export const getRuntimeConfig = (config) => {
17
+ emitWarningIfUnsupportedVersion(process.version);
18
+ const defaultsMode = resolveDefaultsModeConfig(config);
19
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
+ const clientSharedValues = getSharedRuntimeConfig(config);
21
+ awsCheckVersion(process.version);
22
+ return {
23
+ ...clientSharedValues,
24
+ ...config,
25
+ runtime: "node",
26
+ defaultsMode,
27
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
28
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
30
+ defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
+ retryMode: config?.retryMode ??
35
+ loadNodeConfig({
36
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
37
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
38
+ }),
39
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
40
+ streamCollector: config?.streamCollector ?? streamCollector,
41
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
42
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
43
+ };
44
+ };
@@ -0,0 +1,11 @@
1
+ import { Sha256 } from "@aws-crypto/sha256-js";
2
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
+ export const getRuntimeConfig = (config) => {
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
5
+ return {
6
+ ...browserDefaults,
7
+ ...config,
8
+ runtime: "react-native",
9
+ sha256: config?.sha256 ?? Sha256,
10
+ };
11
+ };
@@ -0,0 +1,30 @@
1
+ import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { NoOpLogger } from "@smithy/smithy-client";
3
+ import { parseUrl } from "@smithy/url-parser";
4
+ import { fromBase64, toBase64 } from "@smithy/util-base64";
5
+ import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
6
+ import { defaultRoute53ProfilesHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
7
+ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
8
+ export const getRuntimeConfig = (config) => {
9
+ return {
10
+ apiVersion: "2018-05-10",
11
+ base64Decoder: config?.base64Decoder ?? fromBase64,
12
+ base64Encoder: config?.base64Encoder ?? toBase64,
13
+ disableHostPrefix: config?.disableHostPrefix ?? false,
14
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
15
+ extensions: config?.extensions ?? [],
16
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultRoute53ProfilesHttpAuthSchemeProvider,
17
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
18
+ {
19
+ schemeId: "aws.auth#sigv4",
20
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
21
+ signer: new AwsSdkSigV4Signer(),
22
+ },
23
+ ],
24
+ logger: config?.logger ?? new NoOpLogger(),
25
+ serviceId: config?.serviceId ?? "Route53Profiles",
26
+ urlParser: config?.urlParser ?? parseUrl,
27
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
28
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
29
+ };
30
+ };
@@ -0,0 +1,21 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
+ import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
+ const asPartial = (t) => t;
6
+ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
+ const extensionConfiguration = {
8
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
+ ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
+ ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
+ ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
+ };
13
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
+ return {
15
+ ...runtimeConfig,
16
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
+ ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
+ ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
+ ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
+ };
21
+ };
@@ -0,0 +1,126 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { AssociateProfileCommandInput, AssociateProfileCommandOutput } from "./commands/AssociateProfileCommand";
3
+ import { AssociateResourceToProfileCommandInput, AssociateResourceToProfileCommandOutput } from "./commands/AssociateResourceToProfileCommand";
4
+ import { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
5
+ import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
6
+ import { DisassociateProfileCommandInput, DisassociateProfileCommandOutput } from "./commands/DisassociateProfileCommand";
7
+ import { DisassociateResourceFromProfileCommandInput, DisassociateResourceFromProfileCommandOutput } from "./commands/DisassociateResourceFromProfileCommand";
8
+ import { GetProfileAssociationCommandInput, GetProfileAssociationCommandOutput } from "./commands/GetProfileAssociationCommand";
9
+ import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
10
+ import { GetProfileResourceAssociationCommandInput, GetProfileResourceAssociationCommandOutput } from "./commands/GetProfileResourceAssociationCommand";
11
+ import { ListProfileAssociationsCommandInput, ListProfileAssociationsCommandOutput } from "./commands/ListProfileAssociationsCommand";
12
+ import { ListProfileResourceAssociationsCommandInput, ListProfileResourceAssociationsCommandOutput } from "./commands/ListProfileResourceAssociationsCommand";
13
+ import { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
14
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
15
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
16
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
17
+ import { UpdateProfileResourceAssociationCommandInput, UpdateProfileResourceAssociationCommandOutput } from "./commands/UpdateProfileResourceAssociationCommand";
18
+ import { Route53ProfilesClient } from "./Route53ProfilesClient";
19
+ export interface Route53Profiles {
20
+ /**
21
+ * @see {@link AssociateProfileCommand}
22
+ */
23
+ associateProfile(args: AssociateProfileCommandInput, options?: __HttpHandlerOptions): Promise<AssociateProfileCommandOutput>;
24
+ associateProfile(args: AssociateProfileCommandInput, cb: (err: any, data?: AssociateProfileCommandOutput) => void): void;
25
+ associateProfile(args: AssociateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateProfileCommandOutput) => void): void;
26
+ /**
27
+ * @see {@link AssociateResourceToProfileCommand}
28
+ */
29
+ associateResourceToProfile(args: AssociateResourceToProfileCommandInput, options?: __HttpHandlerOptions): Promise<AssociateResourceToProfileCommandOutput>;
30
+ associateResourceToProfile(args: AssociateResourceToProfileCommandInput, cb: (err: any, data?: AssociateResourceToProfileCommandOutput) => void): void;
31
+ associateResourceToProfile(args: AssociateResourceToProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateResourceToProfileCommandOutput) => void): void;
32
+ /**
33
+ * @see {@link CreateProfileCommand}
34
+ */
35
+ createProfile(args: CreateProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateProfileCommandOutput>;
36
+ createProfile(args: CreateProfileCommandInput, cb: (err: any, data?: CreateProfileCommandOutput) => void): void;
37
+ createProfile(args: CreateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProfileCommandOutput) => void): void;
38
+ /**
39
+ * @see {@link DeleteProfileCommand}
40
+ */
41
+ deleteProfile(args: DeleteProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfileCommandOutput>;
42
+ deleteProfile(args: DeleteProfileCommandInput, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void;
43
+ deleteProfile(args: DeleteProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void;
44
+ /**
45
+ * @see {@link DisassociateProfileCommand}
46
+ */
47
+ disassociateProfile(args: DisassociateProfileCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateProfileCommandOutput>;
48
+ disassociateProfile(args: DisassociateProfileCommandInput, cb: (err: any, data?: DisassociateProfileCommandOutput) => void): void;
49
+ disassociateProfile(args: DisassociateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateProfileCommandOutput) => void): void;
50
+ /**
51
+ * @see {@link DisassociateResourceFromProfileCommand}
52
+ */
53
+ disassociateResourceFromProfile(args: DisassociateResourceFromProfileCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateResourceFromProfileCommandOutput>;
54
+ disassociateResourceFromProfile(args: DisassociateResourceFromProfileCommandInput, cb: (err: any, data?: DisassociateResourceFromProfileCommandOutput) => void): void;
55
+ disassociateResourceFromProfile(args: DisassociateResourceFromProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateResourceFromProfileCommandOutput) => void): void;
56
+ /**
57
+ * @see {@link GetProfileCommand}
58
+ */
59
+ getProfile(args: GetProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileCommandOutput>;
60
+ getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
61
+ getProfile(args: GetProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
62
+ /**
63
+ * @see {@link GetProfileAssociationCommand}
64
+ */
65
+ getProfileAssociation(args: GetProfileAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileAssociationCommandOutput>;
66
+ getProfileAssociation(args: GetProfileAssociationCommandInput, cb: (err: any, data?: GetProfileAssociationCommandOutput) => void): void;
67
+ getProfileAssociation(args: GetProfileAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileAssociationCommandOutput) => void): void;
68
+ /**
69
+ * @see {@link GetProfileResourceAssociationCommand}
70
+ */
71
+ getProfileResourceAssociation(args: GetProfileResourceAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileResourceAssociationCommandOutput>;
72
+ getProfileResourceAssociation(args: GetProfileResourceAssociationCommandInput, cb: (err: any, data?: GetProfileResourceAssociationCommandOutput) => void): void;
73
+ getProfileResourceAssociation(args: GetProfileResourceAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileResourceAssociationCommandOutput) => void): void;
74
+ /**
75
+ * @see {@link ListProfileAssociationsCommand}
76
+ */
77
+ listProfileAssociations(): Promise<ListProfileAssociationsCommandOutput>;
78
+ listProfileAssociations(args: ListProfileAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListProfileAssociationsCommandOutput>;
79
+ listProfileAssociations(args: ListProfileAssociationsCommandInput, cb: (err: any, data?: ListProfileAssociationsCommandOutput) => void): void;
80
+ listProfileAssociations(args: ListProfileAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileAssociationsCommandOutput) => void): void;
81
+ /**
82
+ * @see {@link ListProfileResourceAssociationsCommand}
83
+ */
84
+ listProfileResourceAssociations(args: ListProfileResourceAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListProfileResourceAssociationsCommandOutput>;
85
+ listProfileResourceAssociations(args: ListProfileResourceAssociationsCommandInput, cb: (err: any, data?: ListProfileResourceAssociationsCommandOutput) => void): void;
86
+ listProfileResourceAssociations(args: ListProfileResourceAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileResourceAssociationsCommandOutput) => void): void;
87
+ /**
88
+ * @see {@link ListProfilesCommand}
89
+ */
90
+ listProfiles(): Promise<ListProfilesCommandOutput>;
91
+ listProfiles(args: ListProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListProfilesCommandOutput>;
92
+ listProfiles(args: ListProfilesCommandInput, cb: (err: any, data?: ListProfilesCommandOutput) => void): void;
93
+ listProfiles(args: ListProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfilesCommandOutput) => void): void;
94
+ /**
95
+ * @see {@link ListTagsForResourceCommand}
96
+ */
97
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
98
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
99
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
100
+ /**
101
+ * @see {@link TagResourceCommand}
102
+ */
103
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
104
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
105
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
106
+ /**
107
+ * @see {@link UntagResourceCommand}
108
+ */
109
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
110
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
111
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
112
+ /**
113
+ * @see {@link UpdateProfileResourceAssociationCommand}
114
+ */
115
+ updateProfileResourceAssociation(args: UpdateProfileResourceAssociationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProfileResourceAssociationCommandOutput>;
116
+ updateProfileResourceAssociation(args: UpdateProfileResourceAssociationCommandInput, cb: (err: any, data?: UpdateProfileResourceAssociationCommandOutput) => void): void;
117
+ updateProfileResourceAssociation(args: UpdateProfileResourceAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProfileResourceAssociationCommandOutput) => void): void;
118
+ }
119
+ /**
120
+ * <p>
121
+ * With Amazon Route 53 Profiles you can share Route 53 configurations with VPCs and AWS accounts
122
+ * </p>
123
+ * @public
124
+ */
125
+ export declare class Route53Profiles extends Route53ProfilesClient implements Route53Profiles {
126
+ }
@@ -0,0 +1,189 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { AssociateProfileCommandInput, AssociateProfileCommandOutput } from "./commands/AssociateProfileCommand";
11
+ import { AssociateResourceToProfileCommandInput, AssociateResourceToProfileCommandOutput } from "./commands/AssociateResourceToProfileCommand";
12
+ import { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
13
+ import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
14
+ import { DisassociateProfileCommandInput, DisassociateProfileCommandOutput } from "./commands/DisassociateProfileCommand";
15
+ import { DisassociateResourceFromProfileCommandInput, DisassociateResourceFromProfileCommandOutput } from "./commands/DisassociateResourceFromProfileCommand";
16
+ import { GetProfileAssociationCommandInput, GetProfileAssociationCommandOutput } from "./commands/GetProfileAssociationCommand";
17
+ import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
18
+ import { GetProfileResourceAssociationCommandInput, GetProfileResourceAssociationCommandOutput } from "./commands/GetProfileResourceAssociationCommand";
19
+ import { ListProfileAssociationsCommandInput, ListProfileAssociationsCommandOutput } from "./commands/ListProfileAssociationsCommand";
20
+ import { ListProfileResourceAssociationsCommandInput, ListProfileResourceAssociationsCommandOutput } from "./commands/ListProfileResourceAssociationsCommand";
21
+ import { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
22
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
23
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
24
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
25
+ import { UpdateProfileResourceAssociationCommandInput, UpdateProfileResourceAssociationCommandOutput } from "./commands/UpdateProfileResourceAssociationCommand";
26
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
27
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
28
+ export { __Client };
29
+ /**
30
+ * @public
31
+ */
32
+ export type ServiceInputTypes = AssociateProfileCommandInput | AssociateResourceToProfileCommandInput | CreateProfileCommandInput | DeleteProfileCommandInput | DisassociateProfileCommandInput | DisassociateResourceFromProfileCommandInput | GetProfileAssociationCommandInput | GetProfileCommandInput | GetProfileResourceAssociationCommandInput | ListProfileAssociationsCommandInput | ListProfileResourceAssociationsCommandInput | ListProfilesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateProfileResourceAssociationCommandInput;
33
+ /**
34
+ * @public
35
+ */
36
+ export type ServiceOutputTypes = AssociateProfileCommandOutput | AssociateResourceToProfileCommandOutput | CreateProfileCommandOutput | DeleteProfileCommandOutput | DisassociateProfileCommandOutput | DisassociateResourceFromProfileCommandOutput | GetProfileAssociationCommandOutput | GetProfileCommandOutput | GetProfileResourceAssociationCommandOutput | ListProfileAssociationsCommandOutput | ListProfileResourceAssociationsCommandOutput | ListProfilesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateProfileResourceAssociationCommandOutput;
37
+ /**
38
+ * @public
39
+ */
40
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
41
+ /**
42
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
43
+ */
44
+ requestHandler?: __HttpHandlerUserInput;
45
+ /**
46
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
47
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
48
+ * @internal
49
+ */
50
+ sha256?: __ChecksumConstructor | __HashConstructor;
51
+ /**
52
+ * The function that will be used to convert strings into HTTP endpoints.
53
+ * @internal
54
+ */
55
+ urlParser?: __UrlParser;
56
+ /**
57
+ * A function that can calculate the length of a request body.
58
+ * @internal
59
+ */
60
+ bodyLengthChecker?: __BodyLengthCalculator;
61
+ /**
62
+ * A function that converts a stream into an array of bytes.
63
+ * @internal
64
+ */
65
+ streamCollector?: __StreamCollector;
66
+ /**
67
+ * The function that will be used to convert a base64-encoded string to a byte array.
68
+ * @internal
69
+ */
70
+ base64Decoder?: __Decoder;
71
+ /**
72
+ * The function that will be used to convert binary data to a base64-encoded string.
73
+ * @internal
74
+ */
75
+ base64Encoder?: __Encoder;
76
+ /**
77
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
78
+ * @internal
79
+ */
80
+ utf8Decoder?: __Decoder;
81
+ /**
82
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
83
+ * @internal
84
+ */
85
+ utf8Encoder?: __Encoder;
86
+ /**
87
+ * The runtime environment.
88
+ * @internal
89
+ */
90
+ runtime?: string;
91
+ /**
92
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
93
+ * trait of an operation.
94
+ */
95
+ disableHostPrefix?: boolean;
96
+ /**
97
+ * Unique service identifier.
98
+ * @internal
99
+ */
100
+ serviceId?: string;
101
+ /**
102
+ * Enables IPv6/IPv4 dualstack endpoint.
103
+ */
104
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
105
+ /**
106
+ * Enables FIPS compatible endpoints.
107
+ */
108
+ useFipsEndpoint?: boolean | __Provider<boolean>;
109
+ /**
110
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
111
+ * @internal
112
+ */
113
+ defaultUserAgentProvider?: Provider<__UserAgent>;
114
+ /**
115
+ * The AWS region to which this client will send requests
116
+ */
117
+ region?: string | __Provider<string>;
118
+ /**
119
+ * Default credentials provider; Not available in browser runtime.
120
+ * @deprecated
121
+ * @internal
122
+ */
123
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
124
+ /**
125
+ * Value for how many times a request will be made at most in case of retry.
126
+ */
127
+ maxAttempts?: number | __Provider<number>;
128
+ /**
129
+ * Specifies which retry algorithm to use.
130
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
131
+ *
132
+ */
133
+ retryMode?: string | __Provider<string>;
134
+ /**
135
+ * Optional logger for logging debug/info/warn/error.
136
+ */
137
+ logger?: __Logger;
138
+ /**
139
+ * Optional extensions
140
+ */
141
+ extensions?: RuntimeExtension[];
142
+ /**
143
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
144
+ */
145
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
146
+ }
147
+ /**
148
+ * @public
149
+ */
150
+ export type Route53ProfilesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
151
+ /**
152
+ * @public
153
+ *
154
+ * The configuration interface of Route53ProfilesClient class constructor that set the region, credentials and other options.
155
+ */
156
+ export interface Route53ProfilesClientConfig extends Route53ProfilesClientConfigType {
157
+ }
158
+ /**
159
+ * @public
160
+ */
161
+ export type Route53ProfilesClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
162
+ /**
163
+ * @public
164
+ *
165
+ * The resolved configuration interface of Route53ProfilesClient class. This is resolved and normalized from the {@link Route53ProfilesClientConfig | constructor configuration interface}.
166
+ */
167
+ export interface Route53ProfilesClientResolvedConfig extends Route53ProfilesClientResolvedConfigType {
168
+ }
169
+ /**
170
+ * <p>
171
+ * With Amazon Route 53 Profiles you can share Route 53 configurations with VPCs and AWS accounts
172
+ * </p>
173
+ * @public
174
+ */
175
+ export declare class Route53ProfilesClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, Route53ProfilesClientResolvedConfig> {
176
+ /**
177
+ * The resolved configuration of Route53ProfilesClient class. This is resolved and normalized from the {@link Route53ProfilesClientConfig | constructor configuration interface}.
178
+ */
179
+ readonly config: Route53ProfilesClientResolvedConfig;
180
+ constructor(...[configuration]: __CheckOptionalClientConfig<Route53ProfilesClientConfig>);
181
+ /**
182
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
183
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
184
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
185
+ */
186
+ destroy(): void;
187
+ private getDefaultHttpAuthSchemeParametersProvider;
188
+ private getIdentityProviderConfigProvider;
189
+ }
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { Route53ProfilesHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: Route53ProfilesHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): Route53ProfilesHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: Route53ProfilesHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,61 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
+ import { Route53ProfilesClientResolvedConfig } from "../Route53ProfilesClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface Route53ProfilesHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface Route53ProfilesHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<Route53ProfilesClientResolvedConfig, HandlerExecutionContext, Route53ProfilesHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultRoute53ProfilesHttpAuthSchemeParametersProvider: (config: Route53ProfilesClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<Route53ProfilesHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface Route53ProfilesHttpAuthSchemeProvider extends HttpAuthSchemeProvider<Route53ProfilesHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultRoute53ProfilesHttpAuthSchemeProvider: Route53ProfilesHttpAuthSchemeProvider;
28
+ /**
29
+ * @internal
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
+ * @internal
35
+ */
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ /**
38
+ * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
39
+ * @internal
40
+ */
41
+ httpAuthSchemeProvider?: Route53ProfilesHttpAuthSchemeProvider;
42
+ }
43
+ /**
44
+ * @internal
45
+ */
46
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
47
+ /**
48
+ * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
+ * @internal
50
+ */
51
+ readonly httpAuthSchemes: HttpAuthScheme[];
52
+ /**
53
+ * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
54
+ * @internal
55
+ */
56
+ readonly httpAuthSchemeProvider: Route53ProfilesHttpAuthSchemeProvider;
57
+ }
58
+ /**
59
+ * @internal
60
+ */
61
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;