@aws-sdk/client-controlcatalog 3.551.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 (111) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +256 -0
  3. package/dist-cjs/ControlCatalog.js +17 -0
  4. package/dist-cjs/ControlCatalogClient.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/ListCommonControlsCommand.js +28 -0
  8. package/dist-cjs/commands/ListDomainsCommand.js +28 -0
  9. package/dist-cjs/commands/ListObjectivesCommand.js +28 -0
  10. package/dist-cjs/commands/index.js +6 -0
  11. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  12. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  13. package/dist-cjs/endpoint/ruleset.js +7 -0
  14. package/dist-cjs/extensionConfiguration.js +2 -0
  15. package/dist-cjs/index.js +11 -0
  16. package/dist-cjs/models/ControlCatalogServiceException.js +12 -0
  17. package/dist-cjs/models/index.js +4 -0
  18. package/dist-cjs/models/models_0.js +64 -0
  19. package/dist-cjs/pagination/Interfaces.js +2 -0
  20. package/dist-cjs/pagination/ListCommonControlsPaginator.js +7 -0
  21. package/dist-cjs/pagination/ListDomainsPaginator.js +7 -0
  22. package/dist-cjs/pagination/ListObjectivesPaginator.js +7 -0
  23. package/dist-cjs/pagination/index.js +7 -0
  24. package/dist-cjs/protocols/Aws_restJson1.js +256 -0
  25. package/dist-cjs/runtimeConfig.browser.js +39 -0
  26. package/dist-cjs/runtimeConfig.js +49 -0
  27. package/dist-cjs/runtimeConfig.native.js +15 -0
  28. package/dist-cjs/runtimeConfig.shared.js +34 -0
  29. package/dist-cjs/runtimeExtensions.js +25 -0
  30. package/dist-es/ControlCatalog.js +13 -0
  31. package/dist-es/ControlCatalogClient.js +52 -0
  32. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  33. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  34. package/dist-es/commands/ListCommonControlsCommand.js +24 -0
  35. package/dist-es/commands/ListDomainsCommand.js +24 -0
  36. package/dist-es/commands/ListObjectivesCommand.js +24 -0
  37. package/dist-es/commands/index.js +3 -0
  38. package/dist-es/endpoint/EndpointParameters.js +14 -0
  39. package/dist-es/endpoint/endpointResolver.js +10 -0
  40. package/dist-es/endpoint/ruleset.js +4 -0
  41. package/dist-es/extensionConfiguration.js +1 -0
  42. package/dist-es/index.js +6 -0
  43. package/dist-es/models/ControlCatalogServiceException.js +8 -0
  44. package/dist-es/models/index.js +1 -0
  45. package/dist-es/models/models_0.js +57 -0
  46. package/dist-es/pagination/Interfaces.js +1 -0
  47. package/dist-es/pagination/ListCommonControlsPaginator.js +4 -0
  48. package/dist-es/pagination/ListDomainsPaginator.js +4 -0
  49. package/dist-es/pagination/ListObjectivesPaginator.js +4 -0
  50. package/dist-es/pagination/index.js +4 -0
  51. package/dist-es/protocols/Aws_restJson1.js +247 -0
  52. package/dist-es/runtimeConfig.browser.js +34 -0
  53. package/dist-es/runtimeConfig.js +44 -0
  54. package/dist-es/runtimeConfig.native.js +11 -0
  55. package/dist-es/runtimeConfig.shared.js +30 -0
  56. package/dist-es/runtimeExtensions.js +21 -0
  57. package/dist-types/ControlCatalog.d.ts +61 -0
  58. package/dist-types/ControlCatalogClient.d.ts +201 -0
  59. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  60. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  61. package/dist-types/commands/ListCommonControlsCommand.d.ts +99 -0
  62. package/dist-types/commands/ListDomainsCommand.d.ts +81 -0
  63. package/dist-types/commands/ListObjectivesCommand.d.ts +94 -0
  64. package/dist-types/commands/index.d.ts +3 -0
  65. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  66. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  67. package/dist-types/endpoint/ruleset.d.ts +2 -0
  68. package/dist-types/extensionConfiguration.d.ts +9 -0
  69. package/dist-types/index.d.ts +41 -0
  70. package/dist-types/models/ControlCatalogServiceException.d.ts +13 -0
  71. package/dist-types/models/index.d.ts +1 -0
  72. package/dist-types/models/models_0.d.ts +350 -0
  73. package/dist-types/pagination/Interfaces.d.ts +8 -0
  74. package/dist-types/pagination/ListCommonControlsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListDomainsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/ListObjectivesPaginator.d.ts +7 -0
  77. package/dist-types/pagination/index.d.ts +4 -0
  78. package/dist-types/protocols/Aws_restJson1.d.ts +29 -0
  79. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  80. package/dist-types/runtimeConfig.d.ts +45 -0
  81. package/dist-types/runtimeConfig.native.d.ts +44 -0
  82. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  83. package/dist-types/runtimeExtensions.d.ts +17 -0
  84. package/dist-types/ts3.4/ControlCatalog.d.ts +61 -0
  85. package/dist-types/ts3.4/ControlCatalogClient.d.ts +139 -0
  86. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  87. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  88. package/dist-types/ts3.4/commands/ListCommonControlsCommand.d.ts +39 -0
  89. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +35 -0
  90. package/dist-types/ts3.4/commands/ListObjectivesCommand.d.ts +38 -0
  91. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  92. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  93. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  94. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  95. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  96. package/dist-types/ts3.4/index.d.ts +9 -0
  97. package/dist-types/ts3.4/models/ControlCatalogServiceException.d.ts +8 -0
  98. package/dist-types/ts3.4/models/index.d.ts +1 -0
  99. package/dist-types/ts3.4/models/models_0.d.ts +108 -0
  100. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  101. package/dist-types/ts3.4/pagination/ListCommonControlsPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/ListDomainsPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/ListObjectivesPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  105. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +41 -0
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
  109. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  110. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  111. package/package.json +101 -0
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListObjectivesCommandInput, ListObjectivesCommandOutput } from "../commands/ListObjectivesCommand";
3
+ import { ControlCatalogPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListObjectives: (config: ControlCatalogPaginationConfiguration, input: ListObjectivesCommandInput, ...rest: any[]) => Paginator<ListObjectivesCommandOutput>;
@@ -0,0 +1,4 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListCommonControlsPaginator";
3
+ export * from "./ListDomainsPaginator";
4
+ export * from "./ListObjectivesPaginator";
@@ -0,0 +1,29 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { ListCommonControlsCommandInput, ListCommonControlsCommandOutput } from "../commands/ListCommonControlsCommand";
4
+ import { ListDomainsCommandInput, ListDomainsCommandOutput } from "../commands/ListDomainsCommand";
5
+ import { ListObjectivesCommandInput, ListObjectivesCommandOutput } from "../commands/ListObjectivesCommand";
6
+ /**
7
+ * serializeAws_restJson1ListCommonControlsCommand
8
+ */
9
+ export declare const se_ListCommonControlsCommand: (input: ListCommonControlsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
10
+ /**
11
+ * serializeAws_restJson1ListDomainsCommand
12
+ */
13
+ export declare const se_ListDomainsCommand: (input: ListDomainsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
14
+ /**
15
+ * serializeAws_restJson1ListObjectivesCommand
16
+ */
17
+ export declare const se_ListObjectivesCommand: (input: ListObjectivesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
+ /**
19
+ * deserializeAws_restJson1ListCommonControlsCommand
20
+ */
21
+ export declare const de_ListCommonControlsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCommonControlsCommandOutput>;
22
+ /**
23
+ * deserializeAws_restJson1ListDomainsCommand
24
+ */
25
+ export declare const de_ListDomainsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDomainsCommandOutput>;
26
+ /**
27
+ * deserializeAws_restJson1ListObjectivesCommand
28
+ */
29
+ export declare const de_ListObjectivesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListObjectivesCommandOutput>;
@@ -0,0 +1,45 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { ControlCatalogClientConfig } from "./ControlCatalogClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ControlCatalogClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
+ disableHostPrefix: boolean;
27
+ serviceId: string;
28
+ logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
31
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
32
+ logger?: import("@smithy/types").Logger | undefined;
33
+ }) => import("@smithy/types").EndpointV2;
34
+ tls?: boolean | undefined;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
36
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
37
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ControlCatalogHttpAuthSchemeProvider;
39
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
40
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
41
+ signingEscapePath?: boolean | undefined;
42
+ systemClockOffset?: number | undefined;
43
+ signingRegion?: string | undefined;
44
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
45
+ };
@@ -0,0 +1,45 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { ControlCatalogClientConfig } from "./ControlCatalogClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ControlCatalogClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
+ disableHostPrefix: boolean;
27
+ serviceId: string;
28
+ logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
31
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
32
+ logger?: import("@smithy/types").Logger | undefined;
33
+ }) => import("@smithy/types").EndpointV2;
34
+ tls?: boolean | undefined;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
36
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
37
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ControlCatalogHttpAuthSchemeProvider;
39
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
40
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
41
+ signingEscapePath?: boolean | undefined;
42
+ systemClockOffset?: number | undefined;
43
+ signingRegion?: string | undefined;
44
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
45
+ };
@@ -0,0 +1,44 @@
1
+ import { ControlCatalogClientConfig } from "./ControlCatalogClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: ControlCatalogClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ urlParser: import("@smithy/types").UrlParser;
11
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
+ streamCollector: import("@smithy/types").StreamCollector;
13
+ base64Decoder: import("@smithy/types").Decoder;
14
+ base64Encoder: (_input: string | Uint8Array) => string;
15
+ utf8Decoder: import("@smithy/types").Decoder;
16
+ utf8Encoder: (input: string | Uint8Array) => string;
17
+ disableHostPrefix: boolean;
18
+ serviceId: string;
19
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
22
+ region: string | import("@smithy/types").Provider<any>;
23
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
24
+ maxAttempts: number | import("@smithy/types").Provider<number>;
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
+ logger: import("@smithy/types").Logger;
27
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
28
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
29
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@smithy/types").Logger | undefined;
32
+ }) => import("@smithy/types").EndpointV2;
33
+ tls?: boolean | undefined;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
36
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
37
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ControlCatalogHttpAuthSchemeProvider;
38
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
39
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
40
+ signingEscapePath?: boolean | undefined;
41
+ systemClockOffset?: number | undefined;
42
+ signingRegion?: string | undefined;
43
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
44
+ };
@@ -0,0 +1,21 @@
1
+ import { ControlCatalogClientConfig } from "./ControlCatalogClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: ControlCatalogClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ControlCatalogHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
+ };
@@ -0,0 +1,17 @@
1
+ import { ControlCatalogExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: ControlCatalogExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,61 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ ListCommonControlsCommandInput,
4
+ ListCommonControlsCommandOutput,
5
+ } from "./commands/ListCommonControlsCommand";
6
+ import {
7
+ ListDomainsCommandInput,
8
+ ListDomainsCommandOutput,
9
+ } from "./commands/ListDomainsCommand";
10
+ import {
11
+ ListObjectivesCommandInput,
12
+ ListObjectivesCommandOutput,
13
+ } from "./commands/ListObjectivesCommand";
14
+ import { ControlCatalogClient } from "./ControlCatalogClient";
15
+ export interface ControlCatalog {
16
+ listCommonControls(): Promise<ListCommonControlsCommandOutput>;
17
+ listCommonControls(
18
+ args: ListCommonControlsCommandInput,
19
+ options?: __HttpHandlerOptions
20
+ ): Promise<ListCommonControlsCommandOutput>;
21
+ listCommonControls(
22
+ args: ListCommonControlsCommandInput,
23
+ cb: (err: any, data?: ListCommonControlsCommandOutput) => void
24
+ ): void;
25
+ listCommonControls(
26
+ args: ListCommonControlsCommandInput,
27
+ options: __HttpHandlerOptions,
28
+ cb: (err: any, data?: ListCommonControlsCommandOutput) => void
29
+ ): void;
30
+ listDomains(): Promise<ListDomainsCommandOutput>;
31
+ listDomains(
32
+ args: ListDomainsCommandInput,
33
+ options?: __HttpHandlerOptions
34
+ ): Promise<ListDomainsCommandOutput>;
35
+ listDomains(
36
+ args: ListDomainsCommandInput,
37
+ cb: (err: any, data?: ListDomainsCommandOutput) => void
38
+ ): void;
39
+ listDomains(
40
+ args: ListDomainsCommandInput,
41
+ options: __HttpHandlerOptions,
42
+ cb: (err: any, data?: ListDomainsCommandOutput) => void
43
+ ): void;
44
+ listObjectives(): Promise<ListObjectivesCommandOutput>;
45
+ listObjectives(
46
+ args: ListObjectivesCommandInput,
47
+ options?: __HttpHandlerOptions
48
+ ): Promise<ListObjectivesCommandOutput>;
49
+ listObjectives(
50
+ args: ListObjectivesCommandInput,
51
+ cb: (err: any, data?: ListObjectivesCommandOutput) => void
52
+ ): void;
53
+ listObjectives(
54
+ args: ListObjectivesCommandInput,
55
+ options: __HttpHandlerOptions,
56
+ cb: (err: any, data?: ListObjectivesCommandOutput) => void
57
+ ): void;
58
+ }
59
+ export declare class ControlCatalog
60
+ extends ControlCatalogClient
61
+ implements ControlCatalog {}
@@ -0,0 +1,139 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ ListCommonControlsCommandInput,
50
+ ListCommonControlsCommandOutput,
51
+ } from "./commands/ListCommonControlsCommand";
52
+ import {
53
+ ListDomainsCommandInput,
54
+ ListDomainsCommandOutput,
55
+ } from "./commands/ListDomainsCommand";
56
+ import {
57
+ ListObjectivesCommandInput,
58
+ ListObjectivesCommandOutput,
59
+ } from "./commands/ListObjectivesCommand";
60
+ import {
61
+ ClientInputEndpointParameters,
62
+ ClientResolvedEndpointParameters,
63
+ EndpointParameters,
64
+ } from "./endpoint/EndpointParameters";
65
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
66
+ export { __Client };
67
+ export type ServiceInputTypes =
68
+ | ListCommonControlsCommandInput
69
+ | ListDomainsCommandInput
70
+ | ListObjectivesCommandInput;
71
+ export type ServiceOutputTypes =
72
+ | ListCommonControlsCommandOutput
73
+ | ListDomainsCommandOutput
74
+ | ListObjectivesCommandOutput;
75
+ export interface ClientDefaults
76
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
77
+ requestHandler?: __HttpHandlerUserInput;
78
+ sha256?: __ChecksumConstructor | __HashConstructor;
79
+ urlParser?: __UrlParser;
80
+ bodyLengthChecker?: __BodyLengthCalculator;
81
+ streamCollector?: __StreamCollector;
82
+ base64Decoder?: __Decoder;
83
+ base64Encoder?: __Encoder;
84
+ utf8Decoder?: __Decoder;
85
+ utf8Encoder?: __Encoder;
86
+ runtime?: string;
87
+ disableHostPrefix?: boolean;
88
+ serviceId?: string;
89
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
90
+ useFipsEndpoint?: boolean | __Provider<boolean>;
91
+ defaultUserAgentProvider?: Provider<__UserAgent>;
92
+ region?: string | __Provider<string>;
93
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
94
+ maxAttempts?: number | __Provider<number>;
95
+ retryMode?: string | __Provider<string>;
96
+ logger?: __Logger;
97
+ extensions?: RuntimeExtension[];
98
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
99
+ }
100
+ export type ControlCatalogClientConfigType = Partial<
101
+ __SmithyConfiguration<__HttpHandlerOptions>
102
+ > &
103
+ ClientDefaults &
104
+ RegionInputConfig &
105
+ EndpointInputConfig<EndpointParameters> &
106
+ RetryInputConfig &
107
+ HostHeaderInputConfig &
108
+ UserAgentInputConfig &
109
+ HttpAuthSchemeInputConfig &
110
+ ClientInputEndpointParameters;
111
+ export interface ControlCatalogClientConfig
112
+ extends ControlCatalogClientConfigType {}
113
+ export type ControlCatalogClientResolvedConfigType =
114
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
115
+ Required<ClientDefaults> &
116
+ RuntimeExtensionsConfig &
117
+ RegionResolvedConfig &
118
+ EndpointResolvedConfig<EndpointParameters> &
119
+ RetryResolvedConfig &
120
+ HostHeaderResolvedConfig &
121
+ UserAgentResolvedConfig &
122
+ HttpAuthSchemeResolvedConfig &
123
+ ClientResolvedEndpointParameters;
124
+ export interface ControlCatalogClientResolvedConfig
125
+ extends ControlCatalogClientResolvedConfigType {}
126
+ export declare class ControlCatalogClient extends __Client<
127
+ __HttpHandlerOptions,
128
+ ServiceInputTypes,
129
+ ServiceOutputTypes,
130
+ ControlCatalogClientResolvedConfig
131
+ > {
132
+ readonly config: ControlCatalogClientResolvedConfig;
133
+ constructor(
134
+ ...[configuration]: __CheckOptionalClientConfig<ControlCatalogClientConfig>
135
+ );
136
+ destroy(): void;
137
+ private getDefaultHttpAuthSchemeParametersProvider;
138
+ private getIdentityProviderConfigProvider;
139
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { ControlCatalogHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: ControlCatalogHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): ControlCatalogHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: ControlCatalogHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,44 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { ControlCatalogClientResolvedConfig } from "../ControlCatalogClient";
14
+ export interface ControlCatalogHttpAuthSchemeParameters
15
+ extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface ControlCatalogHttpAuthSchemeParametersProvider
19
+ extends HttpAuthSchemeParametersProvider<
20
+ ControlCatalogClientResolvedConfig,
21
+ HandlerExecutionContext,
22
+ ControlCatalogHttpAuthSchemeParameters,
23
+ object
24
+ > {}
25
+ export declare const defaultControlCatalogHttpAuthSchemeParametersProvider: (
26
+ config: ControlCatalogClientResolvedConfig,
27
+ context: HandlerExecutionContext,
28
+ input: object
29
+ ) => Promise<ControlCatalogHttpAuthSchemeParameters>;
30
+ export interface ControlCatalogHttpAuthSchemeProvider
31
+ extends HttpAuthSchemeProvider<ControlCatalogHttpAuthSchemeParameters> {}
32
+ export declare const defaultControlCatalogHttpAuthSchemeProvider: ControlCatalogHttpAuthSchemeProvider;
33
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ httpAuthSchemeProvider?: ControlCatalogHttpAuthSchemeProvider;
36
+ }
37
+ export interface HttpAuthSchemeResolvedConfig
38
+ extends AwsSdkSigV4AuthResolvedConfig {
39
+ readonly httpAuthSchemes: HttpAuthScheme[];
40
+ readonly httpAuthSchemeProvider: ControlCatalogHttpAuthSchemeProvider;
41
+ }
42
+ export declare const resolveHttpAuthSchemeConfig: <T>(
43
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
44
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ControlCatalogClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ControlCatalogClient";
8
+ import {
9
+ ListCommonControlsRequest,
10
+ ListCommonControlsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface ListCommonControlsCommandInput
14
+ extends ListCommonControlsRequest {}
15
+ export interface ListCommonControlsCommandOutput
16
+ extends ListCommonControlsResponse,
17
+ __MetadataBearer {}
18
+ declare const ListCommonControlsCommand_base: {
19
+ new (
20
+ input: ListCommonControlsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListCommonControlsCommandInput,
23
+ ListCommonControlsCommandOutput,
24
+ ControlCatalogClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: [] | [ListCommonControlsCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListCommonControlsCommandInput,
32
+ ListCommonControlsCommandOutput,
33
+ ControlCatalogClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class ListCommonControlsCommand extends ListCommonControlsCommand_base {}
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ControlCatalogClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ControlCatalogClient";
8
+ import { ListDomainsRequest, ListDomainsResponse } from "../models/models_0";
9
+ export { __MetadataBearer, $Command };
10
+ export interface ListDomainsCommandInput extends ListDomainsRequest {}
11
+ export interface ListDomainsCommandOutput
12
+ extends ListDomainsResponse,
13
+ __MetadataBearer {}
14
+ declare const ListDomainsCommand_base: {
15
+ new (
16
+ input: ListDomainsCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ ListDomainsCommandInput,
19
+ ListDomainsCommandOutput,
20
+ ControlCatalogClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ new (
25
+ ...[input]: [] | [ListDomainsCommandInput]
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ ListDomainsCommandInput,
28
+ ListDomainsCommandOutput,
29
+ ControlCatalogClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class ListDomainsCommand extends ListDomainsCommand_base {}
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ControlCatalogClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ControlCatalogClient";
8
+ import {
9
+ ListObjectivesRequest,
10
+ ListObjectivesResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface ListObjectivesCommandInput extends ListObjectivesRequest {}
14
+ export interface ListObjectivesCommandOutput
15
+ extends ListObjectivesResponse,
16
+ __MetadataBearer {}
17
+ declare const ListObjectivesCommand_base: {
18
+ new (
19
+ input: ListObjectivesCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ ListObjectivesCommandInput,
22
+ ListObjectivesCommandOutput,
23
+ ControlCatalogClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ new (
28
+ ...[input]: [] | [ListObjectivesCommandInput]
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ ListObjectivesCommandInput,
31
+ ListObjectivesCommandOutput,
32
+ ControlCatalogClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ };
38
+ export declare class ListObjectivesCommand extends ListObjectivesCommand_base {}
@@ -0,0 +1,3 @@
1
+ export * from "./ListCommonControlsCommand";
2
+ export * from "./ListDomainsCommand";
3
+ export * from "./ListObjectivesCommand";