@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,185 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@aws-sdk/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
+ import {
7
+ CreateLinkCommandInput,
8
+ CreateLinkCommandOutput,
9
+ } from "../commands/CreateLinkCommand";
10
+ import {
11
+ CreateSinkCommandInput,
12
+ CreateSinkCommandOutput,
13
+ } from "../commands/CreateSinkCommand";
14
+ import {
15
+ DeleteLinkCommandInput,
16
+ DeleteLinkCommandOutput,
17
+ } from "../commands/DeleteLinkCommand";
18
+ import {
19
+ DeleteSinkCommandInput,
20
+ DeleteSinkCommandOutput,
21
+ } from "../commands/DeleteSinkCommand";
22
+ import {
23
+ GetLinkCommandInput,
24
+ GetLinkCommandOutput,
25
+ } from "../commands/GetLinkCommand";
26
+ import {
27
+ GetSinkCommandInput,
28
+ GetSinkCommandOutput,
29
+ } from "../commands/GetSinkCommand";
30
+ import {
31
+ GetSinkPolicyCommandInput,
32
+ GetSinkPolicyCommandOutput,
33
+ } from "../commands/GetSinkPolicyCommand";
34
+ import {
35
+ ListAttachedLinksCommandInput,
36
+ ListAttachedLinksCommandOutput,
37
+ } from "../commands/ListAttachedLinksCommand";
38
+ import {
39
+ ListLinksCommandInput,
40
+ ListLinksCommandOutput,
41
+ } from "../commands/ListLinksCommand";
42
+ import {
43
+ ListSinksCommandInput,
44
+ ListSinksCommandOutput,
45
+ } from "../commands/ListSinksCommand";
46
+ import {
47
+ ListTagsForResourceCommandInput,
48
+ ListTagsForResourceCommandOutput,
49
+ } from "../commands/ListTagsForResourceCommand";
50
+ import {
51
+ PutSinkPolicyCommandInput,
52
+ PutSinkPolicyCommandOutput,
53
+ } from "../commands/PutSinkPolicyCommand";
54
+ import {
55
+ TagResourceCommandInput,
56
+ TagResourceCommandOutput,
57
+ } from "../commands/TagResourceCommand";
58
+ import {
59
+ UntagResourceCommandInput,
60
+ UntagResourceCommandOutput,
61
+ } from "../commands/UntagResourceCommand";
62
+ import {
63
+ UpdateLinkCommandInput,
64
+ UpdateLinkCommandOutput,
65
+ } from "../commands/UpdateLinkCommand";
66
+ export declare const serializeAws_restJson1CreateLinkCommand: (
67
+ input: CreateLinkCommandInput,
68
+ context: __SerdeContext
69
+ ) => Promise<__HttpRequest>;
70
+ export declare const serializeAws_restJson1CreateSinkCommand: (
71
+ input: CreateSinkCommandInput,
72
+ context: __SerdeContext
73
+ ) => Promise<__HttpRequest>;
74
+ export declare const serializeAws_restJson1DeleteLinkCommand: (
75
+ input: DeleteLinkCommandInput,
76
+ context: __SerdeContext
77
+ ) => Promise<__HttpRequest>;
78
+ export declare const serializeAws_restJson1DeleteSinkCommand: (
79
+ input: DeleteSinkCommandInput,
80
+ context: __SerdeContext
81
+ ) => Promise<__HttpRequest>;
82
+ export declare const serializeAws_restJson1GetLinkCommand: (
83
+ input: GetLinkCommandInput,
84
+ context: __SerdeContext
85
+ ) => Promise<__HttpRequest>;
86
+ export declare const serializeAws_restJson1GetSinkCommand: (
87
+ input: GetSinkCommandInput,
88
+ context: __SerdeContext
89
+ ) => Promise<__HttpRequest>;
90
+ export declare const serializeAws_restJson1GetSinkPolicyCommand: (
91
+ input: GetSinkPolicyCommandInput,
92
+ context: __SerdeContext
93
+ ) => Promise<__HttpRequest>;
94
+ export declare const serializeAws_restJson1ListAttachedLinksCommand: (
95
+ input: ListAttachedLinksCommandInput,
96
+ context: __SerdeContext
97
+ ) => Promise<__HttpRequest>;
98
+ export declare const serializeAws_restJson1ListLinksCommand: (
99
+ input: ListLinksCommandInput,
100
+ context: __SerdeContext
101
+ ) => Promise<__HttpRequest>;
102
+ export declare const serializeAws_restJson1ListSinksCommand: (
103
+ input: ListSinksCommandInput,
104
+ context: __SerdeContext
105
+ ) => Promise<__HttpRequest>;
106
+ export declare const serializeAws_restJson1ListTagsForResourceCommand: (
107
+ input: ListTagsForResourceCommandInput,
108
+ context: __SerdeContext
109
+ ) => Promise<__HttpRequest>;
110
+ export declare const serializeAws_restJson1PutSinkPolicyCommand: (
111
+ input: PutSinkPolicyCommandInput,
112
+ context: __SerdeContext
113
+ ) => Promise<__HttpRequest>;
114
+ export declare const serializeAws_restJson1TagResourceCommand: (
115
+ input: TagResourceCommandInput,
116
+ context: __SerdeContext
117
+ ) => Promise<__HttpRequest>;
118
+ export declare const serializeAws_restJson1UntagResourceCommand: (
119
+ input: UntagResourceCommandInput,
120
+ context: __SerdeContext
121
+ ) => Promise<__HttpRequest>;
122
+ export declare const serializeAws_restJson1UpdateLinkCommand: (
123
+ input: UpdateLinkCommandInput,
124
+ context: __SerdeContext
125
+ ) => Promise<__HttpRequest>;
126
+ export declare const deserializeAws_restJson1CreateLinkCommand: (
127
+ output: __HttpResponse,
128
+ context: __SerdeContext
129
+ ) => Promise<CreateLinkCommandOutput>;
130
+ export declare const deserializeAws_restJson1CreateSinkCommand: (
131
+ output: __HttpResponse,
132
+ context: __SerdeContext
133
+ ) => Promise<CreateSinkCommandOutput>;
134
+ export declare const deserializeAws_restJson1DeleteLinkCommand: (
135
+ output: __HttpResponse,
136
+ context: __SerdeContext
137
+ ) => Promise<DeleteLinkCommandOutput>;
138
+ export declare const deserializeAws_restJson1DeleteSinkCommand: (
139
+ output: __HttpResponse,
140
+ context: __SerdeContext
141
+ ) => Promise<DeleteSinkCommandOutput>;
142
+ export declare const deserializeAws_restJson1GetLinkCommand: (
143
+ output: __HttpResponse,
144
+ context: __SerdeContext
145
+ ) => Promise<GetLinkCommandOutput>;
146
+ export declare const deserializeAws_restJson1GetSinkCommand: (
147
+ output: __HttpResponse,
148
+ context: __SerdeContext
149
+ ) => Promise<GetSinkCommandOutput>;
150
+ export declare const deserializeAws_restJson1GetSinkPolicyCommand: (
151
+ output: __HttpResponse,
152
+ context: __SerdeContext
153
+ ) => Promise<GetSinkPolicyCommandOutput>;
154
+ export declare const deserializeAws_restJson1ListAttachedLinksCommand: (
155
+ output: __HttpResponse,
156
+ context: __SerdeContext
157
+ ) => Promise<ListAttachedLinksCommandOutput>;
158
+ export declare const deserializeAws_restJson1ListLinksCommand: (
159
+ output: __HttpResponse,
160
+ context: __SerdeContext
161
+ ) => Promise<ListLinksCommandOutput>;
162
+ export declare const deserializeAws_restJson1ListSinksCommand: (
163
+ output: __HttpResponse,
164
+ context: __SerdeContext
165
+ ) => Promise<ListSinksCommandOutput>;
166
+ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (
167
+ output: __HttpResponse,
168
+ context: __SerdeContext
169
+ ) => Promise<ListTagsForResourceCommandOutput>;
170
+ export declare const deserializeAws_restJson1PutSinkPolicyCommand: (
171
+ output: __HttpResponse,
172
+ context: __SerdeContext
173
+ ) => Promise<PutSinkPolicyCommandOutput>;
174
+ export declare const deserializeAws_restJson1TagResourceCommand: (
175
+ output: __HttpResponse,
176
+ context: __SerdeContext
177
+ ) => Promise<TagResourceCommandOutput>;
178
+ export declare const deserializeAws_restJson1UntagResourceCommand: (
179
+ output: __HttpResponse,
180
+ context: __SerdeContext
181
+ ) => Promise<UntagResourceCommandOutput>;
182
+ export declare const deserializeAws_restJson1UpdateLinkCommand: (
183
+ output: __HttpResponse,
184
+ context: __SerdeContext
185
+ ) => Promise<UpdateLinkCommandOutput>;
@@ -0,0 +1,88 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { OAMClientConfig } from "./OAMClient";
3
+ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@aws-sdk/types").Provider<
6
+ import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
+ import("@aws-sdk/types").UserAgent
14
+ >;
15
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
16
+ region: string | import("@aws-sdk/types").Provider<any>;
17
+ requestHandler:
18
+ | (import("@aws-sdk/types").RequestHandler<
19
+ any,
20
+ any,
21
+ import("@aws-sdk/types").HttpHandlerOptions
22
+ > &
23
+ import("@aws-sdk/protocol-http").HttpHandler)
24
+ | RequestHandler;
25
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
26
+ sha256: import("@aws-sdk/types").HashConstructor;
27
+ streamCollector: import("@aws-sdk/types").StreamCollector;
28
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
30
+ utf8Decoder: import("@aws-sdk/types").Decoder;
31
+ utf8Encoder: import("@aws-sdk/types").Encoder;
32
+ apiVersion: string;
33
+ urlParser: import("@aws-sdk/types").UrlParser;
34
+ base64Decoder: import("@aws-sdk/types").Decoder;
35
+ base64Encoder: import("@aws-sdk/types").Encoder;
36
+ disableHostPrefix: boolean;
37
+ logger: import("@aws-sdk/types").Logger;
38
+ serviceId: string;
39
+ endpoint?:
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (
48
+ | string
49
+ | import("@aws-sdk/types").Provider<string>
50
+ | import("@aws-sdk/types").Endpoint
51
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
52
+ | import("@aws-sdk/types").EndpointV2
53
+ | import("@aws-sdk/types").Provider<
54
+ import("@aws-sdk/types").EndpointV2
55
+ >
56
+ ))
57
+ | undefined;
58
+ endpointProvider: (
59
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
60
+ context?: {
61
+ logger?: import("@aws-sdk/types").Logger | undefined;
62
+ }
63
+ ) => import("@aws-sdk/types").EndpointV2;
64
+ tls?: boolean | undefined;
65
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
66
+ credentials?:
67
+ | import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@aws-sdk/types").Provider<
69
+ import("@aws-sdk/types").AwsCredentialIdentity
70
+ >
71
+ | undefined;
72
+ signer?:
73
+ | import("@aws-sdk/types").RequestSigner
74
+ | ((
75
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
76
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
77
+ | undefined;
78
+ signingEscapePath?: boolean | undefined;
79
+ systemClockOffset?: number | undefined;
80
+ signingRegion?: string | undefined;
81
+ signerConstructor?:
82
+ | (new (
83
+ options: import("@aws-sdk/signature-v4").SignatureV4Init &
84
+ import("@aws-sdk/signature-v4").SignatureV4CryptoInit
85
+ ) => import("@aws-sdk/types").RequestSigner)
86
+ | undefined;
87
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
88
+ };
@@ -0,0 +1,88 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { OAMClientConfig } from "./OAMClient";
3
+ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@aws-sdk/types").Provider<
6
+ import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
+ import("@aws-sdk/types").UserAgent
14
+ >;
15
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
16
+ region: string | import("@aws-sdk/types").Provider<string>;
17
+ requestHandler:
18
+ | (import("@aws-sdk/types").RequestHandler<
19
+ any,
20
+ any,
21
+ import("@aws-sdk/types").HttpHandlerOptions
22
+ > &
23
+ import("@aws-sdk/protocol-http").HttpHandler)
24
+ | RequestHandler;
25
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
26
+ sha256: import("@aws-sdk/types").HashConstructor;
27
+ streamCollector: import("@aws-sdk/types").StreamCollector;
28
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
30
+ utf8Decoder: import("@aws-sdk/types").Decoder;
31
+ utf8Encoder: import("@aws-sdk/types").Encoder;
32
+ apiVersion: string;
33
+ urlParser: import("@aws-sdk/types").UrlParser;
34
+ base64Decoder: import("@aws-sdk/types").Decoder;
35
+ base64Encoder: import("@aws-sdk/types").Encoder;
36
+ disableHostPrefix: boolean;
37
+ logger: import("@aws-sdk/types").Logger;
38
+ serviceId: string;
39
+ endpoint?:
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (
48
+ | string
49
+ | import("@aws-sdk/types").Provider<string>
50
+ | import("@aws-sdk/types").Endpoint
51
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
52
+ | import("@aws-sdk/types").EndpointV2
53
+ | import("@aws-sdk/types").Provider<
54
+ import("@aws-sdk/types").EndpointV2
55
+ >
56
+ ))
57
+ | undefined;
58
+ endpointProvider: (
59
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
60
+ context?: {
61
+ logger?: import("@aws-sdk/types").Logger | undefined;
62
+ }
63
+ ) => import("@aws-sdk/types").EndpointV2;
64
+ tls?: boolean | undefined;
65
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
66
+ credentials?:
67
+ | import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@aws-sdk/types").Provider<
69
+ import("@aws-sdk/types").AwsCredentialIdentity
70
+ >
71
+ | undefined;
72
+ signer?:
73
+ | import("@aws-sdk/types").RequestSigner
74
+ | ((
75
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
76
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
77
+ | undefined;
78
+ signingEscapePath?: boolean | undefined;
79
+ systemClockOffset?: number | undefined;
80
+ signingRegion?: string | undefined;
81
+ signerConstructor?:
82
+ | (new (
83
+ options: import("@aws-sdk/signature-v4").SignatureV4Init &
84
+ import("@aws-sdk/signature-v4").SignatureV4CryptoInit
85
+ ) => import("@aws-sdk/types").RequestSigner)
86
+ | undefined;
87
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
88
+ };
@@ -0,0 +1,77 @@
1
+ import { OAMClientConfig } from "./OAMClient";
2
+ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
3
+ runtime: string;
4
+ sha256: import("@aws-sdk/types").HashConstructor;
5
+ requestHandler:
6
+ | (import("@aws-sdk/types").RequestHandler<
7
+ any,
8
+ any,
9
+ import("@aws-sdk/types").HttpHandlerOptions
10
+ > &
11
+ import("@aws-sdk/protocol-http").HttpHandler)
12
+ | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
13
+ apiVersion: string;
14
+ urlParser: import("@aws-sdk/types").UrlParser;
15
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
16
+ streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ base64Decoder: import("@aws-sdk/types").Decoder;
18
+ base64Encoder: import("@aws-sdk/types").Encoder;
19
+ utf8Decoder: import("@aws-sdk/types").Decoder;
20
+ utf8Encoder: import("@aws-sdk/types").Encoder;
21
+ disableHostPrefix: boolean;
22
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
23
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
24
+ logger: import("@aws-sdk/types").Logger;
25
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
26
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
27
+ serviceId: string;
28
+ region: string | import("@aws-sdk/types").Provider<any>;
29
+ credentialDefaultProvider: (
30
+ input: any
31
+ ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
32
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<
33
+ import("@aws-sdk/types").UserAgent
34
+ >;
35
+ defaultsMode:
36
+ | import("@aws-sdk/smithy-client").DefaultsMode
37
+ | import("@aws-sdk/types").Provider<
38
+ import("@aws-sdk/smithy-client").DefaultsMode
39
+ >;
40
+ endpoint?:
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ | undefined;
47
+ endpointProvider: (
48
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
49
+ context?: {
50
+ logger?: import("@aws-sdk/types").Logger | undefined;
51
+ }
52
+ ) => import("@aws-sdk/types").EndpointV2;
53
+ tls?: boolean | undefined;
54
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
55
+ credentials?:
56
+ | import("@aws-sdk/types").AwsCredentialIdentity
57
+ | import("@aws-sdk/types").Provider<
58
+ import("@aws-sdk/types").AwsCredentialIdentity
59
+ >
60
+ | undefined;
61
+ signer?:
62
+ | import("@aws-sdk/types").RequestSigner
63
+ | ((
64
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
65
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
66
+ | undefined;
67
+ signingEscapePath?: boolean | undefined;
68
+ systemClockOffset?: number | undefined;
69
+ signingRegion?: string | undefined;
70
+ signerConstructor?:
71
+ | (new (
72
+ options: import("@aws-sdk/signature-v4").SignatureV4Init &
73
+ import("@aws-sdk/signature-v4").SignatureV4CryptoInit
74
+ ) => import("@aws-sdk/types").RequestSigner)
75
+ | undefined;
76
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
77
+ };
@@ -0,0 +1,16 @@
1
+ import { OAMClientConfig } from "./OAMClient";
2
+ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
3
+ apiVersion: string;
4
+ base64Decoder: import("@aws-sdk/types").Decoder;
5
+ base64Encoder: import("@aws-sdk/types").Encoder;
6
+ disableHostPrefix: boolean;
7
+ endpointProvider: (
8
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
+ context?: {
10
+ logger?: import("@aws-sdk/types").Logger | undefined;
11
+ }
12
+ ) => import("@aws-sdk/types").EndpointV2;
13
+ logger: import("@aws-sdk/types").Logger;
14
+ serviceId: string;
15
+ urlParser: import("@aws-sdk/types").UrlParser;
16
+ };
package/package.json ADDED
@@ -0,0 +1,101 @@
1
+ {
2
+ "name": "@aws-sdk/client-oam",
3
+ "description": "AWS SDK for JavaScript Oam Client for Node.js, Browser and React Native",
4
+ "version": "3.218.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
+ "build:es": "tsc -p tsconfig.es.json",
10
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
11
+ "build:types": "tsc -p tsconfig.types.json",
12
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
14
+ },
15
+ "main": "./dist-cjs/index.js",
16
+ "types": "./dist-types/index.d.ts",
17
+ "module": "./dist-es/index.js",
18
+ "sideEffects": false,
19
+ "dependencies": {
20
+ "@aws-crypto/sha256-browser": "2.0.0",
21
+ "@aws-crypto/sha256-js": "2.0.0",
22
+ "@aws-sdk/client-sts": "3.218.0",
23
+ "@aws-sdk/config-resolver": "3.215.0",
24
+ "@aws-sdk/credential-provider-node": "3.218.0",
25
+ "@aws-sdk/fetch-http-handler": "3.215.0",
26
+ "@aws-sdk/hash-node": "3.215.0",
27
+ "@aws-sdk/invalid-dependency": "3.215.0",
28
+ "@aws-sdk/middleware-content-length": "3.215.0",
29
+ "@aws-sdk/middleware-endpoint": "3.215.0",
30
+ "@aws-sdk/middleware-host-header": "3.215.0",
31
+ "@aws-sdk/middleware-logger": "3.215.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.215.0",
33
+ "@aws-sdk/middleware-retry": "3.215.0",
34
+ "@aws-sdk/middleware-serde": "3.215.0",
35
+ "@aws-sdk/middleware-signing": "3.215.0",
36
+ "@aws-sdk/middleware-stack": "3.215.0",
37
+ "@aws-sdk/middleware-user-agent": "3.215.0",
38
+ "@aws-sdk/node-config-provider": "3.215.0",
39
+ "@aws-sdk/node-http-handler": "3.215.0",
40
+ "@aws-sdk/protocol-http": "3.215.0",
41
+ "@aws-sdk/smithy-client": "3.215.0",
42
+ "@aws-sdk/types": "3.215.0",
43
+ "@aws-sdk/url-parser": "3.215.0",
44
+ "@aws-sdk/util-base64": "3.208.0",
45
+ "@aws-sdk/util-body-length-browser": "3.188.0",
46
+ "@aws-sdk/util-body-length-node": "3.208.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.215.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.215.0",
49
+ "@aws-sdk/util-endpoints": "3.216.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.215.0",
51
+ "@aws-sdk/util-user-agent-node": "3.215.0",
52
+ "@aws-sdk/util-utf8-browser": "3.188.0",
53
+ "@aws-sdk/util-utf8-node": "3.208.0",
54
+ "tslib": "^2.3.1"
55
+ },
56
+ "devDependencies": {
57
+ "@aws-sdk/service-client-documentation-generator": "3.208.0",
58
+ "@tsconfig/node14": "1.0.3",
59
+ "@types/node": "^14.14.31",
60
+ "concurrently": "7.0.0",
61
+ "downlevel-dts": "0.10.1",
62
+ "rimraf": "3.0.2",
63
+ "typedoc": "0.19.2",
64
+ "typescript": "~4.6.2"
65
+ },
66
+ "overrides": {
67
+ "typedoc": {
68
+ "typescript": "~4.6.2"
69
+ }
70
+ },
71
+ "engines": {
72
+ "node": ">=14.0.0"
73
+ },
74
+ "typesVersions": {
75
+ "<4.0": {
76
+ "dist-types/*": [
77
+ "dist-types/ts3.4/*"
78
+ ]
79
+ }
80
+ },
81
+ "files": [
82
+ "dist-*"
83
+ ],
84
+ "author": {
85
+ "name": "AWS SDK for JavaScript Team",
86
+ "url": "https://aws.amazon.com/javascript/"
87
+ },
88
+ "license": "Apache-2.0",
89
+ "browser": {
90
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
91
+ },
92
+ "react-native": {
93
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
94
+ },
95
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-oam",
96
+ "repository": {
97
+ "type": "git",
98
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
99
+ "directory": "clients/client-oam"
100
+ }
101
+ }