@aws-sdk/client-oam 3.218.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 (143) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +216 -0
  3. package/dist-cjs/OAM.js +232 -0
  4. package/dist-cjs/OAMClient.js +40 -0
  5. package/dist-cjs/commands/CreateLinkCommand.js +46 -0
  6. package/dist-cjs/commands/CreateSinkCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteLinkCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteSinkCommand.js +46 -0
  9. package/dist-cjs/commands/GetLinkCommand.js +46 -0
  10. package/dist-cjs/commands/GetSinkCommand.js +46 -0
  11. package/dist-cjs/commands/GetSinkPolicyCommand.js +46 -0
  12. package/dist-cjs/commands/ListAttachedLinksCommand.js +46 -0
  13. package/dist-cjs/commands/ListLinksCommand.js +46 -0
  14. package/dist-cjs/commands/ListSinksCommand.js +46 -0
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  16. package/dist-cjs/commands/PutSinkPolicyCommand.js +46 -0
  17. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  18. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  19. package/dist-cjs/commands/UpdateLinkCommand.js +46 -0
  20. package/dist-cjs/commands/index.js +18 -0
  21. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  22. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  23. package/dist-cjs/endpoint/ruleset.js +312 -0
  24. package/dist-cjs/index.js +11 -0
  25. package/dist-cjs/models/OAMServiceException.js +11 -0
  26. package/dist-cjs/models/index.js +4 -0
  27. package/dist-cjs/models/models_0.js +258 -0
  28. package/dist-cjs/pagination/Interfaces.js +2 -0
  29. package/dist-cjs/pagination/ListAttachedLinksPaginator.js +36 -0
  30. package/dist-cjs/pagination/ListLinksPaginator.js +36 -0
  31. package/dist-cjs/pagination/ListSinksPaginator.js +36 -0
  32. package/dist-cjs/pagination/index.js +7 -0
  33. package/dist-cjs/protocols/Aws_restJson1.js +1313 -0
  34. package/dist-cjs/runtimeConfig.browser.js +42 -0
  35. package/dist-cjs/runtimeConfig.js +50 -0
  36. package/dist-cjs/runtimeConfig.native.js +15 -0
  37. package/dist-cjs/runtimeConfig.shared.js +18 -0
  38. package/dist-es/OAM.js +228 -0
  39. package/dist-es/OAMClient.js +36 -0
  40. package/dist-es/commands/CreateLinkCommand.js +42 -0
  41. package/dist-es/commands/CreateSinkCommand.js +42 -0
  42. package/dist-es/commands/DeleteLinkCommand.js +42 -0
  43. package/dist-es/commands/DeleteSinkCommand.js +42 -0
  44. package/dist-es/commands/GetLinkCommand.js +42 -0
  45. package/dist-es/commands/GetSinkCommand.js +42 -0
  46. package/dist-es/commands/GetSinkPolicyCommand.js +42 -0
  47. package/dist-es/commands/ListAttachedLinksCommand.js +42 -0
  48. package/dist-es/commands/ListLinksCommand.js +42 -0
  49. package/dist-es/commands/ListSinksCommand.js +42 -0
  50. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  51. package/dist-es/commands/PutSinkPolicyCommand.js +42 -0
  52. package/dist-es/commands/TagResourceCommand.js +42 -0
  53. package/dist-es/commands/UntagResourceCommand.js +42 -0
  54. package/dist-es/commands/UpdateLinkCommand.js +42 -0
  55. package/dist-es/commands/index.js +15 -0
  56. package/dist-es/endpoint/EndpointParameters.js +8 -0
  57. package/dist-es/endpoint/endpointResolver.js +8 -0
  58. package/dist-es/endpoint/ruleset.js +309 -0
  59. package/dist-es/index.js +6 -0
  60. package/dist-es/models/OAMServiceException.js +7 -0
  61. package/dist-es/models/index.js +1 -0
  62. package/dist-es/models/models_0.js +214 -0
  63. package/dist-es/pagination/Interfaces.js +1 -0
  64. package/dist-es/pagination/ListAttachedLinksPaginator.js +32 -0
  65. package/dist-es/pagination/ListLinksPaginator.js +32 -0
  66. package/dist-es/pagination/ListSinksPaginator.js +32 -0
  67. package/dist-es/pagination/index.js +4 -0
  68. package/dist-es/protocols/Aws_restJson1.js +1280 -0
  69. package/dist-es/runtimeConfig.browser.js +37 -0
  70. package/dist-es/runtimeConfig.js +45 -0
  71. package/dist-es/runtimeConfig.native.js +11 -0
  72. package/dist-es/runtimeConfig.shared.js +14 -0
  73. package/dist-types/OAM.d.ts +194 -0
  74. package/dist-types/OAMClient.d.ts +167 -0
  75. package/dist-types/commands/CreateLinkCommand.d.ts +46 -0
  76. package/dist-types/commands/CreateSinkCommand.d.ts +43 -0
  77. package/dist-types/commands/DeleteLinkCommand.d.ts +38 -0
  78. package/dist-types/commands/DeleteSinkCommand.d.ts +37 -0
  79. package/dist-types/commands/GetLinkCommand.d.ts +38 -0
  80. package/dist-types/commands/GetSinkCommand.d.ts +38 -0
  81. package/dist-types/commands/GetSinkPolicyCommand.d.ts +38 -0
  82. package/dist-types/commands/ListAttachedLinksCommand.d.ts +39 -0
  83. package/dist-types/commands/ListLinksCommand.d.ts +39 -0
  84. package/dist-types/commands/ListSinksCommand.d.ts +37 -0
  85. package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
  86. package/dist-types/commands/PutSinkPolicyCommand.d.ts +60 -0
  87. package/dist-types/commands/TagResourceCommand.d.ts +53 -0
  88. package/dist-types/commands/UntagResourceCommand.d.ts +43 -0
  89. package/dist-types/commands/UpdateLinkCommand.d.ts +40 -0
  90. package/dist-types/commands/index.d.ts +15 -0
  91. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  92. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  93. package/dist-types/endpoint/ruleset.d.ts +2 -0
  94. package/dist-types/index.d.ts +6 -0
  95. package/dist-types/models/OAMServiceException.d.ts +10 -0
  96. package/dist-types/models/index.d.ts +1 -0
  97. package/dist-types/models/models_0.d.ts +724 -0
  98. package/dist-types/pagination/Interfaces.d.ts +6 -0
  99. package/dist-types/pagination/ListAttachedLinksPaginator.d.ts +4 -0
  100. package/dist-types/pagination/ListLinksPaginator.d.ts +4 -0
  101. package/dist-types/pagination/ListSinksPaginator.d.ts +4 -0
  102. package/dist-types/pagination/index.d.ts +4 -0
  103. package/dist-types/protocols/Aws_restJson1.d.ts +47 -0
  104. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  105. package/dist-types/runtimeConfig.d.ts +42 -0
  106. package/dist-types/runtimeConfig.native.d.ts +41 -0
  107. package/dist-types/runtimeConfig.shared.d.ts +16 -0
  108. package/dist-types/ts3.4/OAM.d.ts +259 -0
  109. package/dist-types/ts3.4/OAMClient.d.ts +200 -0
  110. package/dist-types/ts3.4/commands/CreateLinkCommand.d.ts +34 -0
  111. package/dist-types/ts3.4/commands/CreateSinkCommand.d.ts +34 -0
  112. package/dist-types/ts3.4/commands/DeleteLinkCommand.d.ts +34 -0
  113. package/dist-types/ts3.4/commands/DeleteSinkCommand.d.ts +34 -0
  114. package/dist-types/ts3.4/commands/GetLinkCommand.d.ts +32 -0
  115. package/dist-types/ts3.4/commands/GetSinkCommand.d.ts +32 -0
  116. package/dist-types/ts3.4/commands/GetSinkPolicyCommand.d.ts +34 -0
  117. package/dist-types/ts3.4/commands/ListAttachedLinksCommand.d.ts +37 -0
  118. package/dist-types/ts3.4/commands/ListLinksCommand.d.ts +34 -0
  119. package/dist-types/ts3.4/commands/ListSinksCommand.d.ts +34 -0
  120. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  121. package/dist-types/ts3.4/commands/PutSinkPolicyCommand.d.ts +34 -0
  122. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  123. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  124. package/dist-types/ts3.4/commands/UpdateLinkCommand.d.ts +34 -0
  125. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  126. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  127. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  128. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  129. package/dist-types/ts3.4/index.d.ts +6 -0
  130. package/dist-types/ts3.4/models/OAMServiceException.d.ts +7 -0
  131. package/dist-types/ts3.4/models/index.d.ts +1 -0
  132. package/dist-types/ts3.4/models/models_0.d.ts +313 -0
  133. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  134. package/dist-types/ts3.4/pagination/ListAttachedLinksPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/ListLinksPaginator.d.ts +11 -0
  136. package/dist-types/ts3.4/pagination/ListSinksPaginator.d.ts +11 -0
  137. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  138. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +185 -0
  139. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +88 -0
  140. package/dist-types/ts3.4/runtimeConfig.d.ts +88 -0
  141. package/dist-types/ts3.4/runtimeConfig.native.d.ts +77 -0
  142. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
  143. package/package.json +101 -0
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { OAM } from "../OAM";
3
+ import { OAMClient } from "../OAMClient";
4
+ export interface OAMPaginationConfiguration extends PaginationConfiguration {
5
+ client: OAM | OAMClient;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListAttachedLinksCommandInput, ListAttachedLinksCommandOutput } from "../commands/ListAttachedLinksCommand";
3
+ import { OAMPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListAttachedLinks(config: OAMPaginationConfiguration, input: ListAttachedLinksCommandInput, ...additionalArguments: any): Paginator<ListAttachedLinksCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListLinksCommandInput, ListLinksCommandOutput } from "../commands/ListLinksCommand";
3
+ import { OAMPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListLinks(config: OAMPaginationConfiguration, input: ListLinksCommandInput, ...additionalArguments: any): Paginator<ListLinksCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListSinksCommandInput, ListSinksCommandOutput } from "../commands/ListSinksCommand";
3
+ import { OAMPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListSinks(config: OAMPaginationConfiguration, input: ListSinksCommandInput, ...additionalArguments: any): Paginator<ListSinksCommandOutput>;
@@ -0,0 +1,4 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAttachedLinksPaginator";
3
+ export * from "./ListLinksPaginator";
4
+ export * from "./ListSinksPaginator";
@@ -0,0 +1,47 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { CreateLinkCommandInput, CreateLinkCommandOutput } from "../commands/CreateLinkCommand";
4
+ import { CreateSinkCommandInput, CreateSinkCommandOutput } from "../commands/CreateSinkCommand";
5
+ import { DeleteLinkCommandInput, DeleteLinkCommandOutput } from "../commands/DeleteLinkCommand";
6
+ import { DeleteSinkCommandInput, DeleteSinkCommandOutput } from "../commands/DeleteSinkCommand";
7
+ import { GetLinkCommandInput, GetLinkCommandOutput } from "../commands/GetLinkCommand";
8
+ import { GetSinkCommandInput, GetSinkCommandOutput } from "../commands/GetSinkCommand";
9
+ import { GetSinkPolicyCommandInput, GetSinkPolicyCommandOutput } from "../commands/GetSinkPolicyCommand";
10
+ import { ListAttachedLinksCommandInput, ListAttachedLinksCommandOutput } from "../commands/ListAttachedLinksCommand";
11
+ import { ListLinksCommandInput, ListLinksCommandOutput } from "../commands/ListLinksCommand";
12
+ import { ListSinksCommandInput, ListSinksCommandOutput } from "../commands/ListSinksCommand";
13
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
14
+ import { PutSinkPolicyCommandInput, PutSinkPolicyCommandOutput } from "../commands/PutSinkPolicyCommand";
15
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
16
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
17
+ import { UpdateLinkCommandInput, UpdateLinkCommandOutput } from "../commands/UpdateLinkCommand";
18
+ export declare const serializeAws_restJson1CreateLinkCommand: (input: CreateLinkCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ export declare const serializeAws_restJson1CreateSinkCommand: (input: CreateSinkCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
+ export declare const serializeAws_restJson1DeleteLinkCommand: (input: DeleteLinkCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
+ export declare const serializeAws_restJson1DeleteSinkCommand: (input: DeleteSinkCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
+ export declare const serializeAws_restJson1GetLinkCommand: (input: GetLinkCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
+ export declare const serializeAws_restJson1GetSinkCommand: (input: GetSinkCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
+ export declare const serializeAws_restJson1GetSinkPolicyCommand: (input: GetSinkPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
+ export declare const serializeAws_restJson1ListAttachedLinksCommand: (input: ListAttachedLinksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
+ export declare const serializeAws_restJson1ListLinksCommand: (input: ListLinksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
+ export declare const serializeAws_restJson1ListSinksCommand: (input: ListSinksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
+ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
+ export declare const serializeAws_restJson1PutSinkPolicyCommand: (input: PutSinkPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
+ export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
+ export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
+ export declare const serializeAws_restJson1UpdateLinkCommand: (input: UpdateLinkCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ export declare const deserializeAws_restJson1CreateLinkCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLinkCommandOutput>;
34
+ export declare const deserializeAws_restJson1CreateSinkCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSinkCommandOutput>;
35
+ export declare const deserializeAws_restJson1DeleteLinkCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteLinkCommandOutput>;
36
+ export declare const deserializeAws_restJson1DeleteSinkCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSinkCommandOutput>;
37
+ export declare const deserializeAws_restJson1GetLinkCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLinkCommandOutput>;
38
+ export declare const deserializeAws_restJson1GetSinkCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSinkCommandOutput>;
39
+ export declare const deserializeAws_restJson1GetSinkPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSinkPolicyCommandOutput>;
40
+ export declare const deserializeAws_restJson1ListAttachedLinksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAttachedLinksCommandOutput>;
41
+ export declare const deserializeAws_restJson1ListLinksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLinksCommandOutput>;
42
+ export declare const deserializeAws_restJson1ListSinksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSinksCommandOutput>;
43
+ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
44
+ export declare const deserializeAws_restJson1PutSinkPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutSinkPolicyCommandOutput>;
45
+ export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
46
+ export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
47
+ export declare const deserializeAws_restJson1UpdateLinkCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLinkCommandOutput>;
@@ -0,0 +1,42 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { OAMClientConfig } from "./OAMClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<any>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ base64Decoder: import("@aws-sdk/types").Decoder;
25
+ base64Encoder: import("@aws-sdk/types").Encoder;
26
+ disableHostPrefix: boolean;
27
+ logger: import("@aws-sdk/types").Logger;
28
+ serviceId: string;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
33
+ tls?: boolean | undefined;
34
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
35
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
+ signingEscapePath?: boolean | undefined;
38
+ systemClockOffset?: number | undefined;
39
+ signingRegion?: string | undefined;
40
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
41
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
42
+ };
@@ -0,0 +1,42 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { OAMClientConfig } from "./OAMClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ base64Decoder: import("@aws-sdk/types").Decoder;
25
+ base64Encoder: import("@aws-sdk/types").Encoder;
26
+ disableHostPrefix: boolean;
27
+ logger: import("@aws-sdk/types").Logger;
28
+ serviceId: string;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
33
+ tls?: boolean | undefined;
34
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
35
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
+ signingEscapePath?: boolean | undefined;
38
+ systemClockOffset?: number | undefined;
39
+ signingRegion?: string | undefined;
40
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
41
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
42
+ };
@@ -0,0 +1,41 @@
1
+ import { OAMClientConfig } from "./OAMClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@aws-sdk/types").HashConstructor;
8
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
+ streamCollector: import("@aws-sdk/types").StreamCollector;
13
+ base64Decoder: import("@aws-sdk/types").Decoder;
14
+ base64Encoder: import("@aws-sdk/types").Encoder;
15
+ utf8Decoder: import("@aws-sdk/types").Decoder;
16
+ utf8Encoder: import("@aws-sdk/types").Encoder;
17
+ disableHostPrefix: boolean;
18
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
20
+ logger: import("@aws-sdk/types").Logger;
21
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
+ serviceId: string;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
27
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@aws-sdk/types").Logger | undefined;
31
+ }) => import("@aws-sdk/types").EndpointV2;
32
+ tls?: boolean | undefined;
33
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
34
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
35
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
36
+ signingEscapePath?: boolean | undefined;
37
+ systemClockOffset?: number | undefined;
38
+ signingRegion?: string | undefined;
39
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
40
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
41
+ };
@@ -0,0 +1,16 @@
1
+ import { OAMClientConfig } from "./OAMClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@aws-sdk/types").Logger | undefined;
12
+ }) => import("@aws-sdk/types").EndpointV2;
13
+ logger: import("@aws-sdk/types").Logger;
14
+ serviceId: string;
15
+ urlParser: import("@aws-sdk/types").UrlParser;
16
+ };
@@ -0,0 +1,259 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ CreateLinkCommandInput,
4
+ CreateLinkCommandOutput,
5
+ } from "./commands/CreateLinkCommand";
6
+ import {
7
+ CreateSinkCommandInput,
8
+ CreateSinkCommandOutput,
9
+ } from "./commands/CreateSinkCommand";
10
+ import {
11
+ DeleteLinkCommandInput,
12
+ DeleteLinkCommandOutput,
13
+ } from "./commands/DeleteLinkCommand";
14
+ import {
15
+ DeleteSinkCommandInput,
16
+ DeleteSinkCommandOutput,
17
+ } from "./commands/DeleteSinkCommand";
18
+ import {
19
+ GetLinkCommandInput,
20
+ GetLinkCommandOutput,
21
+ } from "./commands/GetLinkCommand";
22
+ import {
23
+ GetSinkCommandInput,
24
+ GetSinkCommandOutput,
25
+ } from "./commands/GetSinkCommand";
26
+ import {
27
+ GetSinkPolicyCommandInput,
28
+ GetSinkPolicyCommandOutput,
29
+ } from "./commands/GetSinkPolicyCommand";
30
+ import {
31
+ ListAttachedLinksCommandInput,
32
+ ListAttachedLinksCommandOutput,
33
+ } from "./commands/ListAttachedLinksCommand";
34
+ import {
35
+ ListLinksCommandInput,
36
+ ListLinksCommandOutput,
37
+ } from "./commands/ListLinksCommand";
38
+ import {
39
+ ListSinksCommandInput,
40
+ ListSinksCommandOutput,
41
+ } from "./commands/ListSinksCommand";
42
+ import {
43
+ ListTagsForResourceCommandInput,
44
+ ListTagsForResourceCommandOutput,
45
+ } from "./commands/ListTagsForResourceCommand";
46
+ import {
47
+ PutSinkPolicyCommandInput,
48
+ PutSinkPolicyCommandOutput,
49
+ } from "./commands/PutSinkPolicyCommand";
50
+ import {
51
+ TagResourceCommandInput,
52
+ TagResourceCommandOutput,
53
+ } from "./commands/TagResourceCommand";
54
+ import {
55
+ UntagResourceCommandInput,
56
+ UntagResourceCommandOutput,
57
+ } from "./commands/UntagResourceCommand";
58
+ import {
59
+ UpdateLinkCommandInput,
60
+ UpdateLinkCommandOutput,
61
+ } from "./commands/UpdateLinkCommand";
62
+ import { OAMClient } from "./OAMClient";
63
+ export declare class OAM extends OAMClient {
64
+ createLink(
65
+ args: CreateLinkCommandInput,
66
+ options?: __HttpHandlerOptions
67
+ ): Promise<CreateLinkCommandOutput>;
68
+ createLink(
69
+ args: CreateLinkCommandInput,
70
+ cb: (err: any, data?: CreateLinkCommandOutput) => void
71
+ ): void;
72
+ createLink(
73
+ args: CreateLinkCommandInput,
74
+ options: __HttpHandlerOptions,
75
+ cb: (err: any, data?: CreateLinkCommandOutput) => void
76
+ ): void;
77
+ createSink(
78
+ args: CreateSinkCommandInput,
79
+ options?: __HttpHandlerOptions
80
+ ): Promise<CreateSinkCommandOutput>;
81
+ createSink(
82
+ args: CreateSinkCommandInput,
83
+ cb: (err: any, data?: CreateSinkCommandOutput) => void
84
+ ): void;
85
+ createSink(
86
+ args: CreateSinkCommandInput,
87
+ options: __HttpHandlerOptions,
88
+ cb: (err: any, data?: CreateSinkCommandOutput) => void
89
+ ): void;
90
+ deleteLink(
91
+ args: DeleteLinkCommandInput,
92
+ options?: __HttpHandlerOptions
93
+ ): Promise<DeleteLinkCommandOutput>;
94
+ deleteLink(
95
+ args: DeleteLinkCommandInput,
96
+ cb: (err: any, data?: DeleteLinkCommandOutput) => void
97
+ ): void;
98
+ deleteLink(
99
+ args: DeleteLinkCommandInput,
100
+ options: __HttpHandlerOptions,
101
+ cb: (err: any, data?: DeleteLinkCommandOutput) => void
102
+ ): void;
103
+ deleteSink(
104
+ args: DeleteSinkCommandInput,
105
+ options?: __HttpHandlerOptions
106
+ ): Promise<DeleteSinkCommandOutput>;
107
+ deleteSink(
108
+ args: DeleteSinkCommandInput,
109
+ cb: (err: any, data?: DeleteSinkCommandOutput) => void
110
+ ): void;
111
+ deleteSink(
112
+ args: DeleteSinkCommandInput,
113
+ options: __HttpHandlerOptions,
114
+ cb: (err: any, data?: DeleteSinkCommandOutput) => void
115
+ ): void;
116
+ getLink(
117
+ args: GetLinkCommandInput,
118
+ options?: __HttpHandlerOptions
119
+ ): Promise<GetLinkCommandOutput>;
120
+ getLink(
121
+ args: GetLinkCommandInput,
122
+ cb: (err: any, data?: GetLinkCommandOutput) => void
123
+ ): void;
124
+ getLink(
125
+ args: GetLinkCommandInput,
126
+ options: __HttpHandlerOptions,
127
+ cb: (err: any, data?: GetLinkCommandOutput) => void
128
+ ): void;
129
+ getSink(
130
+ args: GetSinkCommandInput,
131
+ options?: __HttpHandlerOptions
132
+ ): Promise<GetSinkCommandOutput>;
133
+ getSink(
134
+ args: GetSinkCommandInput,
135
+ cb: (err: any, data?: GetSinkCommandOutput) => void
136
+ ): void;
137
+ getSink(
138
+ args: GetSinkCommandInput,
139
+ options: __HttpHandlerOptions,
140
+ cb: (err: any, data?: GetSinkCommandOutput) => void
141
+ ): void;
142
+ getSinkPolicy(
143
+ args: GetSinkPolicyCommandInput,
144
+ options?: __HttpHandlerOptions
145
+ ): Promise<GetSinkPolicyCommandOutput>;
146
+ getSinkPolicy(
147
+ args: GetSinkPolicyCommandInput,
148
+ cb: (err: any, data?: GetSinkPolicyCommandOutput) => void
149
+ ): void;
150
+ getSinkPolicy(
151
+ args: GetSinkPolicyCommandInput,
152
+ options: __HttpHandlerOptions,
153
+ cb: (err: any, data?: GetSinkPolicyCommandOutput) => void
154
+ ): void;
155
+ listAttachedLinks(
156
+ args: ListAttachedLinksCommandInput,
157
+ options?: __HttpHandlerOptions
158
+ ): Promise<ListAttachedLinksCommandOutput>;
159
+ listAttachedLinks(
160
+ args: ListAttachedLinksCommandInput,
161
+ cb: (err: any, data?: ListAttachedLinksCommandOutput) => void
162
+ ): void;
163
+ listAttachedLinks(
164
+ args: ListAttachedLinksCommandInput,
165
+ options: __HttpHandlerOptions,
166
+ cb: (err: any, data?: ListAttachedLinksCommandOutput) => void
167
+ ): void;
168
+ listLinks(
169
+ args: ListLinksCommandInput,
170
+ options?: __HttpHandlerOptions
171
+ ): Promise<ListLinksCommandOutput>;
172
+ listLinks(
173
+ args: ListLinksCommandInput,
174
+ cb: (err: any, data?: ListLinksCommandOutput) => void
175
+ ): void;
176
+ listLinks(
177
+ args: ListLinksCommandInput,
178
+ options: __HttpHandlerOptions,
179
+ cb: (err: any, data?: ListLinksCommandOutput) => void
180
+ ): void;
181
+ listSinks(
182
+ args: ListSinksCommandInput,
183
+ options?: __HttpHandlerOptions
184
+ ): Promise<ListSinksCommandOutput>;
185
+ listSinks(
186
+ args: ListSinksCommandInput,
187
+ cb: (err: any, data?: ListSinksCommandOutput) => void
188
+ ): void;
189
+ listSinks(
190
+ args: ListSinksCommandInput,
191
+ options: __HttpHandlerOptions,
192
+ cb: (err: any, data?: ListSinksCommandOutput) => void
193
+ ): void;
194
+ listTagsForResource(
195
+ args: ListTagsForResourceCommandInput,
196
+ options?: __HttpHandlerOptions
197
+ ): Promise<ListTagsForResourceCommandOutput>;
198
+ listTagsForResource(
199
+ args: ListTagsForResourceCommandInput,
200
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
201
+ ): void;
202
+ listTagsForResource(
203
+ args: ListTagsForResourceCommandInput,
204
+ options: __HttpHandlerOptions,
205
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
206
+ ): void;
207
+ putSinkPolicy(
208
+ args: PutSinkPolicyCommandInput,
209
+ options?: __HttpHandlerOptions
210
+ ): Promise<PutSinkPolicyCommandOutput>;
211
+ putSinkPolicy(
212
+ args: PutSinkPolicyCommandInput,
213
+ cb: (err: any, data?: PutSinkPolicyCommandOutput) => void
214
+ ): void;
215
+ putSinkPolicy(
216
+ args: PutSinkPolicyCommandInput,
217
+ options: __HttpHandlerOptions,
218
+ cb: (err: any, data?: PutSinkPolicyCommandOutput) => void
219
+ ): void;
220
+ tagResource(
221
+ args: TagResourceCommandInput,
222
+ options?: __HttpHandlerOptions
223
+ ): Promise<TagResourceCommandOutput>;
224
+ tagResource(
225
+ args: TagResourceCommandInput,
226
+ cb: (err: any, data?: TagResourceCommandOutput) => void
227
+ ): void;
228
+ tagResource(
229
+ args: TagResourceCommandInput,
230
+ options: __HttpHandlerOptions,
231
+ cb: (err: any, data?: TagResourceCommandOutput) => void
232
+ ): void;
233
+ untagResource(
234
+ args: UntagResourceCommandInput,
235
+ options?: __HttpHandlerOptions
236
+ ): Promise<UntagResourceCommandOutput>;
237
+ untagResource(
238
+ args: UntagResourceCommandInput,
239
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
240
+ ): void;
241
+ untagResource(
242
+ args: UntagResourceCommandInput,
243
+ options: __HttpHandlerOptions,
244
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
245
+ ): void;
246
+ updateLink(
247
+ args: UpdateLinkCommandInput,
248
+ options?: __HttpHandlerOptions
249
+ ): Promise<UpdateLinkCommandOutput>;
250
+ updateLink(
251
+ args: UpdateLinkCommandInput,
252
+ cb: (err: any, data?: UpdateLinkCommandOutput) => void
253
+ ): void;
254
+ updateLink(
255
+ args: UpdateLinkCommandInput,
256
+ options: __HttpHandlerOptions,
257
+ cb: (err: any, data?: UpdateLinkCommandOutput) => void
258
+ ): void;
259
+ }