@aws-sdk/client-service-catalog-appregistry 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 (120) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/ServiceCatalogAppRegistryClient.js +11 -8
  3. package/dist-cjs/commands/AssociateAttributeGroupCommand.js +10 -0
  4. package/dist-cjs/commands/AssociateResourceCommand.js +10 -0
  5. package/dist-cjs/commands/CreateApplicationCommand.js +10 -0
  6. package/dist-cjs/commands/CreateAttributeGroupCommand.js +10 -0
  7. package/dist-cjs/commands/DeleteApplicationCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteAttributeGroupCommand.js +10 -0
  9. package/dist-cjs/commands/DisassociateAttributeGroupCommand.js +10 -0
  10. package/dist-cjs/commands/DisassociateResourceCommand.js +10 -0
  11. package/dist-cjs/commands/GetApplicationCommand.js +10 -0
  12. package/dist-cjs/commands/GetAssociatedResourceCommand.js +10 -0
  13. package/dist-cjs/commands/GetAttributeGroupCommand.js +10 -0
  14. package/dist-cjs/commands/ListApplicationsCommand.js +10 -0
  15. package/dist-cjs/commands/ListAssociatedAttributeGroupsCommand.js +10 -0
  16. package/dist-cjs/commands/ListAssociatedResourcesCommand.js +10 -0
  17. package/dist-cjs/commands/ListAttributeGroupsCommand.js +10 -0
  18. package/dist-cjs/commands/ListAttributeGroupsForApplicationCommand.js +10 -0
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  20. package/dist-cjs/commands/SyncResourceCommand.js +10 -0
  21. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  22. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  23. package/dist-cjs/commands/UpdateApplicationCommand.js +10 -0
  24. package/dist-cjs/commands/UpdateAttributeGroupCommand.js +10 -0
  25. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  26. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  27. package/dist-cjs/endpoint/ruleset.js +343 -0
  28. package/dist-cjs/runtimeConfig.shared.js +3 -3
  29. package/dist-es/ServiceCatalogAppRegistryClient.js +12 -9
  30. package/dist-es/commands/AssociateAttributeGroupCommand.js +10 -0
  31. package/dist-es/commands/AssociateResourceCommand.js +10 -0
  32. package/dist-es/commands/CreateApplicationCommand.js +10 -0
  33. package/dist-es/commands/CreateAttributeGroupCommand.js +10 -0
  34. package/dist-es/commands/DeleteApplicationCommand.js +10 -0
  35. package/dist-es/commands/DeleteAttributeGroupCommand.js +10 -0
  36. package/dist-es/commands/DisassociateAttributeGroupCommand.js +10 -0
  37. package/dist-es/commands/DisassociateResourceCommand.js +10 -0
  38. package/dist-es/commands/GetApplicationCommand.js +10 -0
  39. package/dist-es/commands/GetAssociatedResourceCommand.js +10 -0
  40. package/dist-es/commands/GetAttributeGroupCommand.js +10 -0
  41. package/dist-es/commands/ListApplicationsCommand.js +10 -0
  42. package/dist-es/commands/ListAssociatedAttributeGroupsCommand.js +10 -0
  43. package/dist-es/commands/ListAssociatedResourcesCommand.js +10 -0
  44. package/dist-es/commands/ListAttributeGroupsCommand.js +10 -0
  45. package/dist-es/commands/ListAttributeGroupsForApplicationCommand.js +10 -0
  46. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  47. package/dist-es/commands/SyncResourceCommand.js +10 -0
  48. package/dist-es/commands/TagResourceCommand.js +10 -0
  49. package/dist-es/commands/UntagResourceCommand.js +10 -0
  50. package/dist-es/commands/UpdateApplicationCommand.js +10 -0
  51. package/dist-es/commands/UpdateAttributeGroupCommand.js +10 -0
  52. package/dist-es/endpoint/EndpointParameters.js +8 -0
  53. package/dist-es/endpoint/endpointResolver.js +8 -0
  54. package/dist-es/endpoint/ruleset.js +340 -0
  55. package/dist-es/runtimeConfig.shared.js +2 -2
  56. package/dist-types/ServiceCatalogAppRegistryClient.d.ts +6 -9
  57. package/dist-types/commands/AssociateAttributeGroupCommand.d.ts +2 -0
  58. package/dist-types/commands/AssociateResourceCommand.d.ts +2 -0
  59. package/dist-types/commands/CreateApplicationCommand.d.ts +2 -0
  60. package/dist-types/commands/CreateAttributeGroupCommand.d.ts +2 -0
  61. package/dist-types/commands/DeleteApplicationCommand.d.ts +2 -0
  62. package/dist-types/commands/DeleteAttributeGroupCommand.d.ts +2 -0
  63. package/dist-types/commands/DisassociateAttributeGroupCommand.d.ts +2 -0
  64. package/dist-types/commands/DisassociateResourceCommand.d.ts +2 -0
  65. package/dist-types/commands/GetApplicationCommand.d.ts +2 -0
  66. package/dist-types/commands/GetAssociatedResourceCommand.d.ts +2 -0
  67. package/dist-types/commands/GetAttributeGroupCommand.d.ts +2 -0
  68. package/dist-types/commands/ListApplicationsCommand.d.ts +2 -0
  69. package/dist-types/commands/ListAssociatedAttributeGroupsCommand.d.ts +2 -0
  70. package/dist-types/commands/ListAssociatedResourcesCommand.d.ts +2 -0
  71. package/dist-types/commands/ListAttributeGroupsCommand.d.ts +2 -0
  72. package/dist-types/commands/ListAttributeGroupsForApplicationCommand.d.ts +2 -0
  73. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  74. package/dist-types/commands/SyncResourceCommand.d.ts +2 -0
  75. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  76. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  77. package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -0
  78. package/dist-types/commands/UpdateAttributeGroupCommand.d.ts +2 -0
  79. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  80. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  81. package/dist-types/endpoint/ruleset.d.ts +2 -0
  82. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  83. package/dist-types/runtimeConfig.d.ts +4 -2
  84. package/dist-types/runtimeConfig.native.d.ts +4 -2
  85. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  86. package/dist-types/ts3.4/ServiceCatalogAppRegistryClient.d.ts +15 -8
  87. package/dist-types/ts3.4/commands/AssociateAttributeGroupCommand.d.ts +2 -0
  88. package/dist-types/ts3.4/commands/AssociateResourceCommand.d.ts +2 -0
  89. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -0
  90. package/dist-types/ts3.4/commands/CreateAttributeGroupCommand.d.ts +2 -0
  91. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -0
  92. package/dist-types/ts3.4/commands/DeleteAttributeGroupCommand.d.ts +2 -0
  93. package/dist-types/ts3.4/commands/DisassociateAttributeGroupCommand.d.ts +2 -0
  94. package/dist-types/ts3.4/commands/DisassociateResourceCommand.d.ts +2 -0
  95. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -0
  96. package/dist-types/ts3.4/commands/GetAssociatedResourceCommand.d.ts +2 -0
  97. package/dist-types/ts3.4/commands/GetAttributeGroupCommand.d.ts +2 -0
  98. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -0
  99. package/dist-types/ts3.4/commands/ListAssociatedAttributeGroupsCommand.d.ts +2 -0
  100. package/dist-types/ts3.4/commands/ListAssociatedResourcesCommand.d.ts +2 -0
  101. package/dist-types/ts3.4/commands/ListAttributeGroupsCommand.d.ts +2 -0
  102. package/dist-types/ts3.4/commands/ListAttributeGroupsForApplicationCommand.d.ts +2 -0
  103. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  104. package/dist-types/ts3.4/commands/SyncResourceCommand.d.ts +2 -0
  105. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  106. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  107. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -0
  108. package/dist-types/ts3.4/commands/UpdateAttributeGroupCommand.d.ts +2 -0
  109. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  110. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  111. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  112. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  113. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  114. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  115. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  116. package/package.json +5 -3
  117. package/dist-cjs/endpoints.js +0 -178
  118. package/dist-es/endpoints.js +0 -174
  119. package/dist-types/endpoints.d.ts +0 -2
  120. 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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DisassociateResourceCommand extends $Command<
25
26
  ServiceCatalogAppRegistryClientResolvedConfig
26
27
  > {
27
28
  readonly input: DisassociateResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DisassociateResourceCommandInput);
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,
@@ -24,6 +25,7 @@ export declare class GetApplicationCommand extends $Command<
24
25
  ServiceCatalogAppRegistryClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetApplicationCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetApplicationCommandInput);
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 GetAssociatedResourceCommand extends $Command<
25
26
  ServiceCatalogAppRegistryClientResolvedConfig
26
27
  > {
27
28
  readonly input: GetAssociatedResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetAssociatedResourceCommandInput);
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,
@@ -25,6 +26,7 @@ export declare class GetAttributeGroupCommand extends $Command<
25
26
  ServiceCatalogAppRegistryClientResolvedConfig
26
27
  > {
27
28
  readonly input: GetAttributeGroupCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetAttributeGroupCommandInput);
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,
@@ -24,6 +25,7 @@ export declare class ListApplicationsCommand extends $Command<
24
25
  ServiceCatalogAppRegistryClientResolvedConfig
25
26
  > {
26
27
  readonly input: ListApplicationsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ListApplicationsCommandInput);
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 ListAssociatedAttributeGroupsCommand extends $Command<
25
26
  ServiceCatalogAppRegistryClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListAssociatedAttributeGroupsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListAssociatedAttributeGroupsCommandInput);
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,
@@ -25,6 +26,7 @@ export declare class ListAssociatedResourcesCommand extends $Command<
25
26
  ServiceCatalogAppRegistryClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListAssociatedResourcesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListAssociatedResourcesCommandInput);
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,
@@ -25,6 +26,7 @@ export declare class ListAttributeGroupsCommand extends $Command<
25
26
  ServiceCatalogAppRegistryClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListAttributeGroupsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListAttributeGroupsCommandInput);
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,
@@ -25,6 +26,7 @@ export declare class ListAttributeGroupsForApplicationCommand extends $Command<
25
26
  ServiceCatalogAppRegistryClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListAttributeGroupsForApplicationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListAttributeGroupsForApplicationCommandInput);
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,
@@ -25,6 +26,7 @@ export declare class ListTagsForResourceCommand extends $Command<
25
26
  ServiceCatalogAppRegistryClientResolvedConfig
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 SyncResourceCommand extends $Command<
21
22
  ServiceCatalogAppRegistryClientResolvedConfig
22
23
  > {
23
24
  readonly input: SyncResourceCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: SyncResourceCommandInput);
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
  ServiceCatalogAppRegistryClientResolvedConfig
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
  ServiceCatalogAppRegistryClientResolvedConfig
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,
@@ -25,6 +26,7 @@ export declare class UpdateApplicationCommand extends $Command<
25
26
  ServiceCatalogAppRegistryClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateApplicationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateApplicationCommandInput);
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,
@@ -25,6 +26,7 @@ export declare class UpdateAttributeGroupCommand extends $Command<
25
26
  ServiceCatalogAppRegistryClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateAttributeGroupCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateAttributeGroupCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region?: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -38,12 +38,22 @@ export declare const getRuntimeConfig: (
38
38
  disableHostPrefix: boolean;
39
39
  logger: import("@aws-sdk/types").Logger;
40
40
  serviceId: string;
41
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
42
41
  endpoint?:
43
- | string
44
- | import("@aws-sdk/types").Endpoint
45
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
42
+ | ((
43
+ | string
44
+ | import("@aws-sdk/types").Endpoint
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
46
+ | import("@aws-sdk/types").EndpointV2
47
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
48
+ ) &
49
+ (string | import("@aws-sdk/types").Provider<string>))
46
50
  | undefined;
51
+ endpointProvider: (
52
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
53
+ context?: {
54
+ logger?: import("@aws-sdk/types").Logger | undefined;
55
+ }
56
+ ) => import("@aws-sdk/types").EndpointV2;
47
57
  tls?: boolean | undefined;
48
58
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
49
59
  credentials?:
@@ -38,12 +38,22 @@ export declare const getRuntimeConfig: (
38
38
  disableHostPrefix: boolean;
39
39
  logger: import("@aws-sdk/types").Logger;
40
40
  serviceId: string;
41
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
42
41
  endpoint?:
43
- | string
44
- | import("@aws-sdk/types").Endpoint
45
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
42
+ | ((
43
+ | string
44
+ | import("@aws-sdk/types").Endpoint
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
46
+ | import("@aws-sdk/types").EndpointV2
47
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
48
+ ) &
49
+ (string | import("@aws-sdk/types").Provider<string>))
46
50
  | undefined;
51
+ endpointProvider: (
52
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
53
+ context?: {
54
+ logger?: import("@aws-sdk/types").Logger | undefined;
55
+ }
56
+ ) => import("@aws-sdk/types").EndpointV2;
47
57
  tls?: boolean | undefined;
48
58
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
49
59
  credentials?:
@@ -31,7 +31,6 @@ export declare const getRuntimeConfig: (
31
31
  credentialDefaultProvider: (
32
32
  input: any
33
33
  ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
34
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
35
34
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
36
35
  import("@aws-sdk/types").UserAgent
37
36
  >;
@@ -42,9 +41,21 @@ export declare const getRuntimeConfig: (
42
41
  >;
43
42
  endpoint?:
44
43
  | string
45
- | import("@aws-sdk/types").Endpoint
46
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
45
+ import("@aws-sdk/types").Provider<string>)
46
+ | (import("@aws-sdk/types").Endpoint &
47
+ import("@aws-sdk/types").Provider<string>)
48
+ | (import("@aws-sdk/types").EndpointV2 &
49
+ import("@aws-sdk/types").Provider<string>)
50
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
51
+ import("@aws-sdk/types").Provider<string>)
47
52
  | undefined;
53
+ endpointProvider: (
54
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
55
+ context?: {
56
+ logger?: import("@aws-sdk/types").Logger | undefined;
57
+ }
58
+ ) => import("@aws-sdk/types").EndpointV2;
48
59
  tls?: boolean | undefined;
49
60
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
50
61
  credentials?:
@@ -5,8 +5,13 @@ export declare const getRuntimeConfig: (
5
5
  ) => {
6
6
  apiVersion: string;
7
7
  disableHostPrefix: boolean;
8
+ endpointProvider: (
9
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
+ context?: {
11
+ logger?: __Logger | undefined;
12
+ }
13
+ ) => import("@aws-sdk/types").EndpointV2;
8
14
  logger: __Logger;
9
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
10
15
  serviceId: string;
11
16
  urlParser: import("@aws-sdk/types").UrlParser;
12
17
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-catalog-appregistry",
3
3
  "description": "AWS SDK for JavaScript Service Catalog Appregistry Client for Node.js, Browser and React Native",
4
- "version": "3.194.0",
4
+ "version": "3.196.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,13 +19,14 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.194.0",
22
+ "@aws-sdk/client-sts": "3.196.0",
23
23
  "@aws-sdk/config-resolver": "3.193.0",
24
- "@aws-sdk/credential-provider-node": "3.193.0",
24
+ "@aws-sdk/credential-provider-node": "3.196.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.193.0",
26
26
  "@aws-sdk/hash-node": "3.193.0",
27
27
  "@aws-sdk/invalid-dependency": "3.193.0",
28
28
  "@aws-sdk/middleware-content-length": "3.193.0",
29
+ "@aws-sdk/middleware-endpoint": "3.193.0",
29
30
  "@aws-sdk/middleware-host-header": "3.193.0",
30
31
  "@aws-sdk/middleware-logger": "3.193.0",
31
32
  "@aws-sdk/middleware-recursion-detection": "3.193.0",
@@ -46,6 +47,7 @@
46
47
  "@aws-sdk/util-body-length-node": "3.188.0",
47
48
  "@aws-sdk/util-defaults-mode-browser": "3.193.0",
48
49
  "@aws-sdk/util-defaults-mode-node": "3.193.0",
50
+ "@aws-sdk/util-endpoints": "3.196.0",
49
51
  "@aws-sdk/util-user-agent-browser": "3.193.0",
50
52
  "@aws-sdk/util-user-agent-node": "3.193.0",
51
53
  "@aws-sdk/util-utf8-browser": "3.188.0",
@@ -1,178 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultRegionInfoProvider = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {
6
- "ca-central-1": {
7
- variants: [
8
- {
9
- hostname: "servicecatalog-appregistry-fips.ca-central-1.amazonaws.com",
10
- tags: ["fips"],
11
- },
12
- ],
13
- },
14
- "us-east-1": {
15
- variants: [
16
- {
17
- hostname: "servicecatalog-appregistry-fips.us-east-1.amazonaws.com",
18
- tags: ["fips"],
19
- },
20
- ],
21
- },
22
- "us-east-2": {
23
- variants: [
24
- {
25
- hostname: "servicecatalog-appregistry-fips.us-east-2.amazonaws.com",
26
- tags: ["fips"],
27
- },
28
- ],
29
- },
30
- "us-west-1": {
31
- variants: [
32
- {
33
- hostname: "servicecatalog-appregistry-fips.us-west-1.amazonaws.com",
34
- tags: ["fips"],
35
- },
36
- ],
37
- },
38
- "us-west-2": {
39
- variants: [
40
- {
41
- hostname: "servicecatalog-appregistry-fips.us-west-2.amazonaws.com",
42
- tags: ["fips"],
43
- },
44
- ],
45
- },
46
- };
47
- const partitionHash = {
48
- aws: {
49
- regions: [
50
- "af-south-1",
51
- "ap-east-1",
52
- "ap-northeast-1",
53
- "ap-northeast-2",
54
- "ap-northeast-3",
55
- "ap-south-1",
56
- "ap-southeast-1",
57
- "ap-southeast-2",
58
- "ap-southeast-3",
59
- "ca-central-1",
60
- "eu-central-1",
61
- "eu-north-1",
62
- "eu-south-1",
63
- "eu-west-1",
64
- "eu-west-2",
65
- "eu-west-3",
66
- "fips-ca-central-1",
67
- "fips-us-east-1",
68
- "fips-us-east-2",
69
- "fips-us-west-1",
70
- "fips-us-west-2",
71
- "me-central-1",
72
- "me-south-1",
73
- "sa-east-1",
74
- "us-east-1",
75
- "us-east-2",
76
- "us-west-1",
77
- "us-west-2",
78
- ],
79
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
80
- variants: [
81
- {
82
- hostname: "servicecatalog-appregistry.{region}.amazonaws.com",
83
- tags: [],
84
- },
85
- {
86
- hostname: "servicecatalog-appregistry-fips.{region}.amazonaws.com",
87
- tags: ["fips"],
88
- },
89
- {
90
- hostname: "servicecatalog-appregistry-fips.{region}.api.aws",
91
- tags: ["dualstack", "fips"],
92
- },
93
- {
94
- hostname: "servicecatalog-appregistry.{region}.api.aws",
95
- tags: ["dualstack"],
96
- },
97
- ],
98
- },
99
- "aws-cn": {
100
- regions: ["cn-north-1", "cn-northwest-1"],
101
- regionRegex: "^cn\\-\\w+\\-\\d+$",
102
- variants: [
103
- {
104
- hostname: "servicecatalog-appregistry.{region}.amazonaws.com.cn",
105
- tags: [],
106
- },
107
- {
108
- hostname: "servicecatalog-appregistry-fips.{region}.amazonaws.com.cn",
109
- tags: ["fips"],
110
- },
111
- {
112
- hostname: "servicecatalog-appregistry-fips.{region}.api.amazonwebservices.com.cn",
113
- tags: ["dualstack", "fips"],
114
- },
115
- {
116
- hostname: "servicecatalog-appregistry.{region}.api.amazonwebservices.com.cn",
117
- tags: ["dualstack"],
118
- },
119
- ],
120
- },
121
- "aws-iso": {
122
- regions: ["us-iso-east-1", "us-iso-west-1"],
123
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
124
- variants: [
125
- {
126
- hostname: "servicecatalog-appregistry.{region}.c2s.ic.gov",
127
- tags: [],
128
- },
129
- {
130
- hostname: "servicecatalog-appregistry-fips.{region}.c2s.ic.gov",
131
- tags: ["fips"],
132
- },
133
- ],
134
- },
135
- "aws-iso-b": {
136
- regions: ["us-isob-east-1"],
137
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
138
- variants: [
139
- {
140
- hostname: "servicecatalog-appregistry.{region}.sc2s.sgov.gov",
141
- tags: [],
142
- },
143
- {
144
- hostname: "servicecatalog-appregistry-fips.{region}.sc2s.sgov.gov",
145
- tags: ["fips"],
146
- },
147
- ],
148
- },
149
- "aws-us-gov": {
150
- regions: ["us-gov-east-1", "us-gov-west-1"],
151
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
152
- variants: [
153
- {
154
- hostname: "servicecatalog-appregistry.{region}.amazonaws.com",
155
- tags: [],
156
- },
157
- {
158
- hostname: "servicecatalog-appregistry.{region}.amazonaws.com",
159
- tags: ["fips"],
160
- },
161
- {
162
- hostname: "servicecatalog-appregistry-fips.{region}.api.aws",
163
- tags: ["dualstack", "fips"],
164
- },
165
- {
166
- hostname: "servicecatalog-appregistry.{region}.api.aws",
167
- tags: ["dualstack"],
168
- },
169
- ],
170
- },
171
- };
172
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
173
- ...options,
174
- signingService: "servicecatalog",
175
- regionHash,
176
- partitionHash,
177
- });
178
- exports.defaultRegionInfoProvider = defaultRegionInfoProvider;