@aws-sdk/client-mediapackage-vod 3.952.0 → 3.954.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 (37) hide show
  1. package/dist-cjs/index.js +311 -200
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/ConfigureLogsCommand.js +2 -2
  4. package/dist-es/commands/CreateAssetCommand.js +2 -2
  5. package/dist-es/commands/CreatePackagingConfigurationCommand.js +2 -2
  6. package/dist-es/commands/CreatePackagingGroupCommand.js +2 -2
  7. package/dist-es/commands/DeleteAssetCommand.js +2 -2
  8. package/dist-es/commands/DeletePackagingConfigurationCommand.js +2 -2
  9. package/dist-es/commands/DeletePackagingGroupCommand.js +2 -2
  10. package/dist-es/commands/DescribeAssetCommand.js +2 -2
  11. package/dist-es/commands/DescribePackagingConfigurationCommand.js +2 -2
  12. package/dist-es/commands/DescribePackagingGroupCommand.js +2 -2
  13. package/dist-es/commands/ListAssetsCommand.js +2 -2
  14. package/dist-es/commands/ListPackagingConfigurationsCommand.js +2 -2
  15. package/dist-es/commands/ListPackagingGroupsCommand.js +2 -2
  16. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  17. package/dist-es/commands/TagResourceCommand.js +2 -2
  18. package/dist-es/commands/UntagResourceCommand.js +2 -2
  19. package/dist-es/commands/UpdatePackagingGroupCommand.js +2 -2
  20. package/dist-es/index.js +1 -0
  21. package/dist-es/runtimeConfig.shared.js +6 -1
  22. package/dist-es/schemas/schemas_0.js +204 -169
  23. package/dist-types/MediaPackageVodClient.d.ts +1 -10
  24. package/dist-types/index.d.ts +1 -0
  25. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  26. package/dist-types/runtimeConfig.d.ts +6 -2
  27. package/dist-types/runtimeConfig.native.d.ts +6 -2
  28. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  29. package/dist-types/schemas/schemas_0.d.ts +77 -89
  30. package/dist-types/ts3.4/MediaPackageVodClient.d.ts +0 -4
  31. package/dist-types/ts3.4/index.d.ts +1 -0
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +76 -89
  37. 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.mediapackagevod" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.mediapackagevod",
32
+ version: "2018-11-07",
33
+ serviceTarget: "MediaPackageVod",
34
+ },
30
35
  serviceId: config?.serviceId ?? "MediaPackage Vod",
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 { ConfigureLogs } from "../schemas/schemas_0";
4
+ import { ConfigureLogs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ConfigureLogsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ConfigureLogsCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "ConfigureLogs", {})
13
13
  .n("MediaPackageVodClient", "ConfigureLogsCommand")
14
- .sc(ConfigureLogs)
14
+ .sc(ConfigureLogs$)
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 { CreateAsset } from "../schemas/schemas_0";
4
+ import { CreateAsset$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateAssetCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateAssetCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "CreateAsset", {})
13
13
  .n("MediaPackageVodClient", "CreateAssetCommand")
14
- .sc(CreateAsset)
14
+ .sc(CreateAsset$)
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 { CreatePackagingConfiguration } from "../schemas/schemas_0";
4
+ import { CreatePackagingConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreatePackagingConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreatePackagingConfigurationCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "CreatePackagingConfiguration", {})
13
13
  .n("MediaPackageVodClient", "CreatePackagingConfigurationCommand")
14
- .sc(CreatePackagingConfiguration)
14
+ .sc(CreatePackagingConfiguration$)
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 { CreatePackagingGroup } from "../schemas/schemas_0";
4
+ import { CreatePackagingGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreatePackagingGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreatePackagingGroupCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "CreatePackagingGroup", {})
13
13
  .n("MediaPackageVodClient", "CreatePackagingGroupCommand")
14
- .sc(CreatePackagingGroup)
14
+ .sc(CreatePackagingGroup$)
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 { DeleteAsset } from "../schemas/schemas_0";
4
+ import { DeleteAsset$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteAssetCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteAssetCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "DeleteAsset", {})
13
13
  .n("MediaPackageVodClient", "DeleteAssetCommand")
14
- .sc(DeleteAsset)
14
+ .sc(DeleteAsset$)
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 { DeletePackagingConfiguration } from "../schemas/schemas_0";
4
+ import { DeletePackagingConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeletePackagingConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeletePackagingConfigurationCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "DeletePackagingConfiguration", {})
13
13
  .n("MediaPackageVodClient", "DeletePackagingConfigurationCommand")
14
- .sc(DeletePackagingConfiguration)
14
+ .sc(DeletePackagingConfiguration$)
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 { DeletePackagingGroup } from "../schemas/schemas_0";
4
+ import { DeletePackagingGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeletePackagingGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeletePackagingGroupCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "DeletePackagingGroup", {})
13
13
  .n("MediaPackageVodClient", "DeletePackagingGroupCommand")
14
- .sc(DeletePackagingGroup)
14
+ .sc(DeletePackagingGroup$)
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 { DescribeAsset } from "../schemas/schemas_0";
4
+ import { DescribeAsset$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeAssetCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeAssetCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "DescribeAsset", {})
13
13
  .n("MediaPackageVodClient", "DescribeAssetCommand")
14
- .sc(DescribeAsset)
14
+ .sc(DescribeAsset$)
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 { DescribePackagingConfiguration } from "../schemas/schemas_0";
4
+ import { DescribePackagingConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribePackagingConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribePackagingConfigurationCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "DescribePackagingConfiguration", {})
13
13
  .n("MediaPackageVodClient", "DescribePackagingConfigurationCommand")
14
- .sc(DescribePackagingConfiguration)
14
+ .sc(DescribePackagingConfiguration$)
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 { DescribePackagingGroup } from "../schemas/schemas_0";
4
+ import { DescribePackagingGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribePackagingGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribePackagingGroupCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "DescribePackagingGroup", {})
13
13
  .n("MediaPackageVodClient", "DescribePackagingGroupCommand")
14
- .sc(DescribePackagingGroup)
14
+ .sc(DescribePackagingGroup$)
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 { ListAssets } from "../schemas/schemas_0";
4
+ import { ListAssets$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListAssetsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListAssetsCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "ListAssets", {})
13
13
  .n("MediaPackageVodClient", "ListAssetsCommand")
14
- .sc(ListAssets)
14
+ .sc(ListAssets$)
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 { ListPackagingConfigurations } from "../schemas/schemas_0";
4
+ import { ListPackagingConfigurations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPackagingConfigurationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPackagingConfigurationsCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "ListPackagingConfigurations", {})
13
13
  .n("MediaPackageVodClient", "ListPackagingConfigurationsCommand")
14
- .sc(ListPackagingConfigurations)
14
+ .sc(ListPackagingConfigurations$)
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 { ListPackagingGroups } from "../schemas/schemas_0";
4
+ import { ListPackagingGroups$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPackagingGroupsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPackagingGroupsCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "ListPackagingGroups", {})
13
13
  .n("MediaPackageVodClient", "ListPackagingGroupsCommand")
14
- .sc(ListPackagingGroups)
14
+ .sc(ListPackagingGroups$)
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("MediaPackageVod", "ListTagsForResource", {})
13
13
  .n("MediaPackageVodClient", "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 { 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("MediaPackageVod", "TagResource", {})
13
13
  .n("MediaPackageVodClient", "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("MediaPackageVod", "UntagResource", {})
13
13
  .n("MediaPackageVodClient", "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 { UpdatePackagingGroup } from "../schemas/schemas_0";
4
+ import { UpdatePackagingGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePackagingGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePackagingGroupCommand extends $Command
11
11
  })
12
12
  .s("MediaPackageVod", "UpdatePackagingGroup", {})
13
13
  .n("MediaPackageVodClient", "UpdatePackagingGroupCommand")
14
- .sc(UpdatePackagingGroup)
14
+ .sc(UpdatePackagingGroup$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./MediaPackageVodClient";
2
2
  export * from "./MediaPackageVod";
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.mediapackagevod" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.mediapackagevod",
29
+ version: "2018-11-07",
30
+ serviceTarget: "MediaPackageVod",
31
+ },
27
32
  serviceId: config?.serviceId ?? "MediaPackage Vod",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,