@aws-sdk/client-oam 3.533.0 → 3.540.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 (41) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  2. package/dist-cjs/index.js +0 -3
  3. package/dist-es/endpoint/endpointResolver.js +3 -1
  4. package/dist-es/index.js +0 -1
  5. package/dist-types/OAM.d.ts +3 -1
  6. package/dist-types/OAMClient.d.ts +1 -1
  7. package/dist-types/commands/CreateLinkCommand.d.ts +2 -1
  8. package/dist-types/commands/CreateSinkCommand.d.ts +2 -1
  9. package/dist-types/commands/DeleteLinkCommand.d.ts +2 -1
  10. package/dist-types/commands/DeleteSinkCommand.d.ts +2 -1
  11. package/dist-types/commands/GetLinkCommand.d.ts +2 -1
  12. package/dist-types/commands/GetSinkCommand.d.ts +2 -1
  13. package/dist-types/commands/GetSinkPolicyCommand.d.ts +2 -1
  14. package/dist-types/commands/ListAttachedLinksCommand.d.ts +2 -1
  15. package/dist-types/commands/ListLinksCommand.d.ts +2 -1
  16. package/dist-types/commands/ListSinksCommand.d.ts +2 -1
  17. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  18. package/dist-types/commands/PutSinkPolicyCommand.d.ts +2 -1
  19. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  20. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  21. package/dist-types/commands/UpdateLinkCommand.d.ts +2 -1
  22. package/dist-types/index.d.ts +0 -1
  23. package/dist-types/models/models_0.d.ts +97 -97
  24. package/dist-types/ts3.4/OAM.d.ts +2 -0
  25. package/dist-types/ts3.4/commands/CreateLinkCommand.d.ts +9 -0
  26. package/dist-types/ts3.4/commands/CreateSinkCommand.d.ts +9 -0
  27. package/dist-types/ts3.4/commands/DeleteLinkCommand.d.ts +9 -0
  28. package/dist-types/ts3.4/commands/DeleteSinkCommand.d.ts +9 -0
  29. package/dist-types/ts3.4/commands/GetLinkCommand.d.ts +7 -0
  30. package/dist-types/ts3.4/commands/GetSinkCommand.d.ts +7 -0
  31. package/dist-types/ts3.4/commands/GetSinkPolicyCommand.d.ts +9 -0
  32. package/dist-types/ts3.4/commands/ListAttachedLinksCommand.d.ts +9 -0
  33. package/dist-types/ts3.4/commands/ListLinksCommand.d.ts +9 -0
  34. package/dist-types/ts3.4/commands/ListSinksCommand.d.ts +9 -0
  35. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  36. package/dist-types/ts3.4/commands/PutSinkPolicyCommand.d.ts +9 -0
  37. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  38. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  39. package/dist-types/ts3.4/commands/UpdateLinkCommand.d.ts +9 -0
  40. package/dist-types/ts3.4/index.d.ts +0 -1
  41. package/package.json +40 -40
@@ -165,6 +165,7 @@ export interface OAM {
165
165
  options: __HttpHandlerOptions,
166
166
  cb: (err: any, data?: ListAttachedLinksCommandOutput) => void
167
167
  ): void;
168
+ listLinks(): Promise<ListLinksCommandOutput>;
168
169
  listLinks(
169
170
  args: ListLinksCommandInput,
170
171
  options?: __HttpHandlerOptions
@@ -178,6 +179,7 @@ export interface OAM {
178
179
  options: __HttpHandlerOptions,
179
180
  cb: (err: any, data?: ListLinksCommandOutput) => void
180
181
  ): void;
182
+ listSinks(): Promise<ListSinksCommandOutput>;
181
183
  listSinks(
182
184
  args: ListSinksCommandInput,
183
185
  options?: __HttpHandlerOptions
@@ -21,6 +21,15 @@ declare const CreateLinkCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: CreateLinkCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ CreateLinkCommandInput,
28
+ CreateLinkCommandOutput,
29
+ OAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class CreateLinkCommand extends CreateLinkCommand_base {}
@@ -21,6 +21,15 @@ declare const CreateSinkCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: CreateSinkCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ CreateSinkCommandInput,
28
+ CreateSinkCommandOutput,
29
+ OAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class CreateSinkCommand extends CreateSinkCommand_base {}
@@ -21,6 +21,15 @@ declare const DeleteLinkCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: DeleteLinkCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ DeleteLinkCommandInput,
28
+ DeleteLinkCommandOutput,
29
+ OAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class DeleteLinkCommand extends DeleteLinkCommand_base {}
@@ -21,6 +21,15 @@ declare const DeleteSinkCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: DeleteSinkCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ DeleteSinkCommandInput,
28
+ DeleteSinkCommandOutput,
29
+ OAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class DeleteSinkCommand extends DeleteSinkCommand_base {}
@@ -17,6 +17,13 @@ declare const GetLinkCommand_base: {
17
17
  ServiceInputTypes,
18
18
  ServiceOutputTypes
19
19
  >;
20
+ new (__0_0: GetLinkCommandInput): import("@smithy/smithy-client").CommandImpl<
21
+ GetLinkCommandInput,
22
+ GetLinkCommandOutput,
23
+ OAMClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
20
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
21
28
  };
22
29
  export declare class GetLinkCommand extends GetLinkCommand_base {}
@@ -17,6 +17,13 @@ declare const GetSinkCommand_base: {
17
17
  ServiceInputTypes,
18
18
  ServiceOutputTypes
19
19
  >;
20
+ new (__0_0: GetSinkCommandInput): import("@smithy/smithy-client").CommandImpl<
21
+ GetSinkCommandInput,
22
+ GetSinkCommandOutput,
23
+ OAMClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
20
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
21
28
  };
22
29
  export declare class GetSinkCommand extends GetSinkCommand_base {}
@@ -21,6 +21,15 @@ declare const GetSinkPolicyCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: GetSinkPolicyCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ GetSinkPolicyCommandInput,
28
+ GetSinkPolicyCommandOutput,
29
+ OAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class GetSinkPolicyCommand extends GetSinkPolicyCommand_base {}
@@ -24,6 +24,15 @@ declare const ListAttachedLinksCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: ListAttachedLinksCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ ListAttachedLinksCommandInput,
31
+ ListAttachedLinksCommandOutput,
32
+ OAMClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class ListAttachedLinksCommand extends ListAttachedLinksCommand_base {}
@@ -21,6 +21,15 @@ declare const ListLinksCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ ...[input]: [] | [ListLinksCommandInput]
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ ListLinksCommandInput,
28
+ ListLinksCommandOutput,
29
+ OAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class ListLinksCommand extends ListLinksCommand_base {}
@@ -21,6 +21,15 @@ declare const ListSinksCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ ...[input]: [] | [ListSinksCommandInput]
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ ListSinksCommandInput,
28
+ ListSinksCommandOutput,
29
+ OAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class ListSinksCommand extends ListSinksCommand_base {}
@@ -25,6 +25,15 @@ declare const ListTagsForResourceCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: ListTagsForResourceCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListTagsForResourceCommandInput,
32
+ ListTagsForResourceCommandOutput,
33
+ OAMClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {}
@@ -21,6 +21,15 @@ declare const PutSinkPolicyCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: PutSinkPolicyCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ PutSinkPolicyCommandInput,
28
+ PutSinkPolicyCommandOutput,
29
+ OAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class PutSinkPolicyCommand extends PutSinkPolicyCommand_base {}
@@ -21,6 +21,15 @@ declare const TagResourceCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: TagResourceCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ TagResourceCommandInput,
28
+ TagResourceCommandOutput,
29
+ OAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class TagResourceCommand extends TagResourceCommand_base {}
@@ -21,6 +21,15 @@ declare const UntagResourceCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: UntagResourceCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ UntagResourceCommandInput,
28
+ UntagResourceCommandOutput,
29
+ OAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class UntagResourceCommand extends UntagResourceCommand_base {}
@@ -21,6 +21,15 @@ declare const UpdateLinkCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: UpdateLinkCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ UpdateLinkCommandInput,
28
+ UpdateLinkCommandOutput,
29
+ OAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class UpdateLinkCommand extends UpdateLinkCommand_base {}
@@ -6,5 +6,4 @@ export { OAMExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./models";
9
- import "@aws-sdk/util-endpoints";
10
9
  export { OAMServiceException } from "./models/OAMServiceException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-oam",
3
3
  "description": "AWS SDK for JavaScript Oam Client for Node.js, Browser and React Native",
4
- "version": "3.533.0",
4
+ "version": "3.540.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-oam",
@@ -20,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.540.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",