@aws-sdk/client-oam 3.948.0 → 3.953.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 (35) hide show
  1. package/dist-cjs/index.js +210 -150
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CreateLinkCommand.js +2 -2
  4. package/dist-es/commands/CreateSinkCommand.js +2 -2
  5. package/dist-es/commands/DeleteLinkCommand.js +2 -2
  6. package/dist-es/commands/DeleteSinkCommand.js +2 -2
  7. package/dist-es/commands/GetLinkCommand.js +2 -2
  8. package/dist-es/commands/GetSinkCommand.js +2 -2
  9. package/dist-es/commands/GetSinkPolicyCommand.js +2 -2
  10. package/dist-es/commands/ListAttachedLinksCommand.js +2 -2
  11. package/dist-es/commands/ListLinksCommand.js +2 -2
  12. package/dist-es/commands/ListSinksCommand.js +2 -2
  13. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  14. package/dist-es/commands/PutSinkPolicyCommand.js +2 -2
  15. package/dist-es/commands/TagResourceCommand.js +2 -2
  16. package/dist-es/commands/UntagResourceCommand.js +2 -2
  17. package/dist-es/commands/UpdateLinkCommand.js +2 -2
  18. package/dist-es/index.js +1 -0
  19. package/dist-es/runtimeConfig.shared.js +6 -1
  20. package/dist-es/schemas/schemas_0.js +115 -115
  21. package/dist-types/OAMClient.d.ts +1 -10
  22. package/dist-types/index.d.ts +1 -0
  23. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  24. package/dist-types/runtimeConfig.d.ts +6 -2
  25. package/dist-types/runtimeConfig.native.d.ts +6 -2
  26. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  27. package/dist-types/schemas/schemas_0.d.ts +61 -69
  28. package/dist-types/ts3.4/OAMClient.d.ts +0 -4
  29. package/dist-types/ts3.4/index.d.ts +1 -0
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  33. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  34. package/dist-types/ts3.4/schemas/schemas_0.d.ts +60 -69
  35. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.oam" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.oam",
32
+ version: "2022-06-10",
33
+ serviceTarget: "oamservice",
34
+ },
30
35
  serviceId: config?.serviceId ?? "OAM",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateLink } from "../schemas/schemas_0";
4
+ import { CreateLink$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateLinkCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateLinkCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "CreateLink", {})
13
13
  .n("OAMClient", "CreateLinkCommand")
14
- .sc(CreateLink)
14
+ .sc(CreateLink$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateSink } from "../schemas/schemas_0";
4
+ import { CreateSink$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateSinkCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateSinkCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "CreateSink", {})
13
13
  .n("OAMClient", "CreateSinkCommand")
14
- .sc(CreateSink)
14
+ .sc(CreateSink$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteLink } from "../schemas/schemas_0";
4
+ import { DeleteLink$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteLinkCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteLinkCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "DeleteLink", {})
13
13
  .n("OAMClient", "DeleteLinkCommand")
14
- .sc(DeleteLink)
14
+ .sc(DeleteLink$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteSink } from "../schemas/schemas_0";
4
+ import { DeleteSink$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSinkCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSinkCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "DeleteSink", {})
13
13
  .n("OAMClient", "DeleteSinkCommand")
14
- .sc(DeleteSink)
14
+ .sc(DeleteSink$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetLink } from "../schemas/schemas_0";
4
+ import { GetLink$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetLinkCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetLinkCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "GetLink", {})
13
13
  .n("OAMClient", "GetLinkCommand")
14
- .sc(GetLink)
14
+ .sc(GetLink$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSink } from "../schemas/schemas_0";
4
+ import { GetSink$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSinkCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSinkCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "GetSink", {})
13
13
  .n("OAMClient", "GetSinkCommand")
14
- .sc(GetSink)
14
+ .sc(GetSink$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSinkPolicy } from "../schemas/schemas_0";
4
+ import { GetSinkPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSinkPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSinkPolicyCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "GetSinkPolicy", {})
13
13
  .n("OAMClient", "GetSinkPolicyCommand")
14
- .sc(GetSinkPolicy)
14
+ .sc(GetSinkPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListAttachedLinks } from "../schemas/schemas_0";
4
+ import { ListAttachedLinks$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListAttachedLinksCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListAttachedLinksCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "ListAttachedLinks", {})
13
13
  .n("OAMClient", "ListAttachedLinksCommand")
14
- .sc(ListAttachedLinks)
14
+ .sc(ListAttachedLinks$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListLinks } from "../schemas/schemas_0";
4
+ import { ListLinks$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListLinksCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListLinksCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "ListLinks", {})
13
13
  .n("OAMClient", "ListLinksCommand")
14
- .sc(ListLinks)
14
+ .sc(ListLinks$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSinks } from "../schemas/schemas_0";
4
+ import { ListSinks$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSinksCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSinksCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "ListSinks", {})
13
13
  .n("OAMClient", "ListSinksCommand")
14
- .sc(ListSinks)
14
+ .sc(ListSinks$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "ListTagsForResource", {})
13
13
  .n("OAMClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutSinkPolicy } from "../schemas/schemas_0";
4
+ import { PutSinkPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutSinkPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutSinkPolicyCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "PutSinkPolicy", {})
13
13
  .n("OAMClient", "PutSinkPolicyCommand")
14
- .sc(PutSinkPolicy)
14
+ .sc(PutSinkPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "TagResource", {})
13
13
  .n("OAMClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "UntagResource", {})
13
13
  .n("OAMClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLink } from "../schemas/schemas_0";
4
+ import { UpdateLink$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLinkCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLinkCommand extends $Command
11
11
  })
12
12
  .s("oamservice", "UpdateLink", {})
13
13
  .n("OAMClient", "UpdateLinkCommand")
14
- .sc(UpdateLink)
14
+ .sc(UpdateLink$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./OAMClient";
2
2
  export * from "./OAM";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.oam" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.oam",
29
+ version: "2022-06-10",
30
+ serviceTarget: "oamservice",
31
+ },
27
32
  serviceId: config?.serviceId ?? "OAM",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,