@aws-sdk/client-mediapackage 3.193.0 → 3.196.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 (108) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/MediaPackageClient.js +11 -8
  3. package/dist-cjs/commands/ConfigureLogsCommand.js +10 -0
  4. package/dist-cjs/commands/CreateChannelCommand.js +10 -0
  5. package/dist-cjs/commands/CreateHarvestJobCommand.js +10 -0
  6. package/dist-cjs/commands/CreateOriginEndpointCommand.js +10 -0
  7. package/dist-cjs/commands/DeleteChannelCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteOriginEndpointCommand.js +10 -0
  9. package/dist-cjs/commands/DescribeChannelCommand.js +10 -0
  10. package/dist-cjs/commands/DescribeHarvestJobCommand.js +10 -0
  11. package/dist-cjs/commands/DescribeOriginEndpointCommand.js +10 -0
  12. package/dist-cjs/commands/ListChannelsCommand.js +10 -0
  13. package/dist-cjs/commands/ListHarvestJobsCommand.js +10 -0
  14. package/dist-cjs/commands/ListOriginEndpointsCommand.js +10 -0
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  16. package/dist-cjs/commands/RotateChannelCredentialsCommand.js +10 -0
  17. package/dist-cjs/commands/RotateIngestEndpointCredentialsCommand.js +10 -0
  18. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  19. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  20. package/dist-cjs/commands/UpdateChannelCommand.js +10 -0
  21. package/dist-cjs/commands/UpdateOriginEndpointCommand.js +10 -0
  22. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  23. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  24. package/dist-cjs/endpoint/ruleset.js +318 -0
  25. package/dist-cjs/runtimeConfig.shared.js +3 -3
  26. package/dist-es/MediaPackageClient.js +12 -9
  27. package/dist-es/commands/ConfigureLogsCommand.js +10 -0
  28. package/dist-es/commands/CreateChannelCommand.js +10 -0
  29. package/dist-es/commands/CreateHarvestJobCommand.js +10 -0
  30. package/dist-es/commands/CreateOriginEndpointCommand.js +10 -0
  31. package/dist-es/commands/DeleteChannelCommand.js +10 -0
  32. package/dist-es/commands/DeleteOriginEndpointCommand.js +10 -0
  33. package/dist-es/commands/DescribeChannelCommand.js +10 -0
  34. package/dist-es/commands/DescribeHarvestJobCommand.js +10 -0
  35. package/dist-es/commands/DescribeOriginEndpointCommand.js +10 -0
  36. package/dist-es/commands/ListChannelsCommand.js +10 -0
  37. package/dist-es/commands/ListHarvestJobsCommand.js +10 -0
  38. package/dist-es/commands/ListOriginEndpointsCommand.js +10 -0
  39. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  40. package/dist-es/commands/RotateChannelCredentialsCommand.js +10 -0
  41. package/dist-es/commands/RotateIngestEndpointCredentialsCommand.js +10 -0
  42. package/dist-es/commands/TagResourceCommand.js +10 -0
  43. package/dist-es/commands/UntagResourceCommand.js +10 -0
  44. package/dist-es/commands/UpdateChannelCommand.js +10 -0
  45. package/dist-es/commands/UpdateOriginEndpointCommand.js +10 -0
  46. package/dist-es/endpoint/EndpointParameters.js +8 -0
  47. package/dist-es/endpoint/endpointResolver.js +8 -0
  48. package/dist-es/endpoint/ruleset.js +315 -0
  49. package/dist-es/runtimeConfig.shared.js +2 -2
  50. package/dist-types/MediaPackageClient.d.ts +6 -9
  51. package/dist-types/commands/ConfigureLogsCommand.d.ts +2 -0
  52. package/dist-types/commands/CreateChannelCommand.d.ts +2 -0
  53. package/dist-types/commands/CreateHarvestJobCommand.d.ts +2 -0
  54. package/dist-types/commands/CreateOriginEndpointCommand.d.ts +2 -0
  55. package/dist-types/commands/DeleteChannelCommand.d.ts +2 -0
  56. package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +2 -0
  57. package/dist-types/commands/DescribeChannelCommand.d.ts +2 -0
  58. package/dist-types/commands/DescribeHarvestJobCommand.d.ts +2 -0
  59. package/dist-types/commands/DescribeOriginEndpointCommand.d.ts +2 -0
  60. package/dist-types/commands/ListChannelsCommand.d.ts +2 -0
  61. package/dist-types/commands/ListHarvestJobsCommand.d.ts +2 -0
  62. package/dist-types/commands/ListOriginEndpointsCommand.d.ts +2 -0
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  64. package/dist-types/commands/RotateChannelCredentialsCommand.d.ts +2 -0
  65. package/dist-types/commands/RotateIngestEndpointCredentialsCommand.d.ts +2 -0
  66. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  67. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  68. package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
  69. package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +2 -0
  70. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  71. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  72. package/dist-types/endpoint/ruleset.d.ts +2 -0
  73. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  74. package/dist-types/runtimeConfig.d.ts +4 -2
  75. package/dist-types/runtimeConfig.native.d.ts +4 -2
  76. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  77. package/dist-types/ts3.4/MediaPackageClient.d.ts +15 -8
  78. package/dist-types/ts3.4/commands/ConfigureLogsCommand.d.ts +2 -0
  79. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +2 -0
  80. package/dist-types/ts3.4/commands/CreateHarvestJobCommand.d.ts +2 -0
  81. package/dist-types/ts3.4/commands/CreateOriginEndpointCommand.d.ts +2 -0
  82. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +2 -0
  83. package/dist-types/ts3.4/commands/DeleteOriginEndpointCommand.d.ts +2 -0
  84. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +2 -0
  85. package/dist-types/ts3.4/commands/DescribeHarvestJobCommand.d.ts +2 -0
  86. package/dist-types/ts3.4/commands/DescribeOriginEndpointCommand.d.ts +2 -0
  87. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +2 -0
  88. package/dist-types/ts3.4/commands/ListHarvestJobsCommand.d.ts +2 -0
  89. package/dist-types/ts3.4/commands/ListOriginEndpointsCommand.d.ts +2 -0
  90. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  91. package/dist-types/ts3.4/commands/RotateChannelCredentialsCommand.d.ts +2 -0
  92. package/dist-types/ts3.4/commands/RotateIngestEndpointCredentialsCommand.d.ts +2 -0
  93. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  94. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  95. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +2 -0
  96. package/dist-types/ts3.4/commands/UpdateOriginEndpointCommand.d.ts +2 -0
  97. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  98. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  99. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  100. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  101. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  102. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  103. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  104. package/package.json +5 -3
  105. package/dist-cjs/endpoints.js +0 -132
  106. package/dist-es/endpoints.js +0 -128
  107. package/dist-types/endpoints.d.ts +0 -2
  108. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -25,6 +26,7 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
25
26
  */
26
27
  export declare class DescribeChannelCommand extends $Command<DescribeChannelCommandInput, DescribeChannelCommandOutput, MediaPackageClientResolvedConfig> {
27
28
  readonly input: DescribeChannelCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeChannelCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -25,6 +26,7 @@ export interface DescribeHarvestJobCommandOutput extends DescribeHarvestJobRespo
25
26
  */
26
27
  export declare class DescribeHarvestJobCommand extends $Command<DescribeHarvestJobCommandInput, DescribeHarvestJobCommandOutput, MediaPackageClientResolvedConfig> {
27
28
  readonly input: DescribeHarvestJobCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeHarvestJobCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -25,6 +26,7 @@ export interface DescribeOriginEndpointCommandOutput extends DescribeOriginEndpo
25
26
  */
26
27
  export declare class DescribeOriginEndpointCommand extends $Command<DescribeOriginEndpointCommandInput, DescribeOriginEndpointCommandOutput, MediaPackageClientResolvedConfig> {
27
28
  readonly input: DescribeOriginEndpointCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeOriginEndpointCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -25,6 +26,7 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
25
26
  */
26
27
  export declare class ListChannelsCommand extends $Command<ListChannelsCommandInput, ListChannelsCommandOutput, MediaPackageClientResolvedConfig> {
27
28
  readonly input: ListChannelsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListChannelsCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -25,6 +26,7 @@ export interface ListHarvestJobsCommandOutput extends ListHarvestJobsResponse, _
25
26
  */
26
27
  export declare class ListHarvestJobsCommand extends $Command<ListHarvestJobsCommandInput, ListHarvestJobsCommandOutput, MediaPackageClientResolvedConfig> {
27
28
  readonly input: ListHarvestJobsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListHarvestJobsCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -25,6 +26,7 @@ export interface ListOriginEndpointsCommandOutput extends ListOriginEndpointsRes
25
26
  */
26
27
  export declare class ListOriginEndpointsCommand extends $Command<ListOriginEndpointsCommandInput, ListOriginEndpointsCommandOutput, MediaPackageClientResolvedConfig> {
27
28
  readonly input: ListOriginEndpointsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListOriginEndpointsCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -8,6 +9,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
8
9
  }
9
10
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, MediaPackageClientResolvedConfig> {
10
11
  readonly input: ListTagsForResourceCommandInput;
12
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
11
13
  constructor(input: ListTagsForResourceCommandInput);
12
14
  /**
13
15
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -27,6 +28,7 @@ export interface RotateChannelCredentialsCommandOutput extends RotateChannelCred
27
28
  */
28
29
  export declare class RotateChannelCredentialsCommand extends $Command<RotateChannelCredentialsCommandInput, RotateChannelCredentialsCommandOutput, MediaPackageClientResolvedConfig> {
29
30
  readonly input: RotateChannelCredentialsCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
32
  constructor(input: RotateChannelCredentialsCommandInput);
31
33
  /**
32
34
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -25,6 +26,7 @@ export interface RotateIngestEndpointCredentialsCommandOutput extends RotateInge
25
26
  */
26
27
  export declare class RotateIngestEndpointCredentialsCommand extends $Command<RotateIngestEndpointCredentialsCommandInput, RotateIngestEndpointCredentialsCommandOutput, MediaPackageClientResolvedConfig> {
27
28
  readonly input: RotateIngestEndpointCredentialsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: RotateIngestEndpointCredentialsCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -8,6 +9,7 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
8
9
  }
9
10
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, MediaPackageClientResolvedConfig> {
10
11
  readonly input: TagResourceCommandInput;
12
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
11
13
  constructor(input: TagResourceCommandInput);
12
14
  /**
13
15
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -8,6 +9,7 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
8
9
  }
9
10
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, MediaPackageClientResolvedConfig> {
10
11
  readonly input: UntagResourceCommandInput;
12
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
11
13
  constructor(input: UntagResourceCommandInput);
12
14
  /**
13
15
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -25,6 +26,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
25
26
  */
26
27
  export declare class UpdateChannelCommand extends $Command<UpdateChannelCommandInput, UpdateChannelCommandOutput, MediaPackageClientResolvedConfig> {
27
28
  readonly input: UpdateChannelCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateChannelCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
@@ -25,6 +26,7 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
25
26
  */
26
27
  export declare class UpdateOriginEndpointCommand extends $Command<UpdateOriginEndpointCommandInput, UpdateOriginEndpointCommandOutput, MediaPackageClientResolvedConfig> {
27
28
  readonly input: UpdateOriginEndpointCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateOriginEndpointCommandInput);
29
31
  /**
30
32
  * @internal
@@ -0,0 +1,19 @@
1
+ import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useDualstackEndpoint?: boolean | Provider<boolean>;
5
+ useFipsEndpoint?: boolean | Provider<boolean>;
6
+ endpoint?: string | Provider<string>;
7
+ }
8
+ export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
+ defaultSigningName: string;
10
+ };
11
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export interface EndpointParameters extends __EndpointParameters {
15
+ Region?: string;
16
+ UseDualStack?: boolean;
17
+ UseFIPS?: boolean;
18
+ Endpoint?: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: MediaPackageClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
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>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: MediaPackageClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
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>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: MediaPackageClientConfig) => {
23
23
  serviceId: string;
24
24
  region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
26
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
27
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@aws-sdk/types").Logger | undefined;
31
+ }) => import("@aws-sdk/types").EndpointV2;
30
32
  tls?: boolean | undefined;
31
33
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
34
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -6,8 +6,10 @@ import { MediaPackageClientConfig } from "./MediaPackageClient";
6
6
  export declare const getRuntimeConfig: (config: MediaPackageClientConfig) => {
7
7
  apiVersion: string;
8
8
  disableHostPrefix: boolean;
9
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
10
+ logger?: __Logger | undefined;
11
+ }) => import("@aws-sdk/types").EndpointV2;
9
12
  logger: __Logger;
10
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
11
13
  serviceId: string;
12
14
  urlParser: import("@aws-sdk/types").UrlParser;
13
15
  };
@@ -1,9 +1,11 @@
1
1
  import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
2
  RegionInputConfig,
5
3
  RegionResolvedConfig,
6
4
  } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EndpointInputConfig,
7
+ EndpointResolvedConfig,
8
+ } from "@aws-sdk/middleware-endpoint";
7
9
  import {
8
10
  HostHeaderInputConfig,
9
11
  HostHeaderResolvedConfig,
@@ -37,7 +39,6 @@ import {
37
39
  Logger as __Logger,
38
40
  Provider as __Provider,
39
41
  Provider,
40
- RegionInfoProvider,
41
42
  StreamCollector as __StreamCollector,
42
43
  UrlParser as __UrlParser,
43
44
  UserAgent as __UserAgent,
@@ -118,6 +119,11 @@ import {
118
119
  UpdateOriginEndpointCommandInput,
119
120
  UpdateOriginEndpointCommandOutput,
120
121
  } from "./commands/UpdateOriginEndpointCommand";
122
+ import {
123
+ ClientInputEndpointParameters,
124
+ ClientResolvedEndpointParameters,
125
+ EndpointParameters,
126
+ } from "./endpoint/EndpointParameters";
121
127
  export declare type ServiceInputTypes =
122
128
  | ConfigureLogsCommandInput
123
129
  | CreateChannelCommandInput
@@ -179,7 +185,6 @@ export interface ClientDefaults
179
185
  serviceId?: string;
180
186
  region?: string | __Provider<string>;
181
187
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
182
- regionInfoProvider?: RegionInfoProvider;
183
188
  defaultUserAgentProvider?: Provider<__UserAgent>;
184
189
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
185
190
  }
@@ -188,22 +193,24 @@ declare type MediaPackageClientConfigType = Partial<
188
193
  > &
189
194
  ClientDefaults &
190
195
  RegionInputConfig &
191
- EndpointsInputConfig &
196
+ EndpointInputConfig<EndpointParameters> &
192
197
  RetryInputConfig &
193
198
  HostHeaderInputConfig &
194
199
  AwsAuthInputConfig &
195
- UserAgentInputConfig;
200
+ UserAgentInputConfig &
201
+ ClientInputEndpointParameters;
196
202
  export interface MediaPackageClientConfig
197
203
  extends MediaPackageClientConfigType {}
198
204
  declare type MediaPackageClientResolvedConfigType =
199
205
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
200
206
  Required<ClientDefaults> &
201
207
  RegionResolvedConfig &
202
- EndpointsResolvedConfig &
208
+ EndpointResolvedConfig<EndpointParameters> &
203
209
  RetryResolvedConfig &
204
210
  HostHeaderResolvedConfig &
205
211
  AwsAuthResolvedConfig &
206
- UserAgentResolvedConfig;
212
+ UserAgentResolvedConfig &
213
+ ClientResolvedEndpointParameters;
207
214
  export interface MediaPackageClientResolvedConfig
208
215
  extends MediaPackageClientResolvedConfigType {}
209
216
  export declare class MediaPackageClient extends __Client<
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class ConfigureLogsCommand extends $Command<
24
25
  MediaPackageClientResolvedConfig
25
26
  > {
26
27
  readonly input: ConfigureLogsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ConfigureLogsCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class CreateChannelCommand extends $Command<
24
25
  MediaPackageClientResolvedConfig
25
26
  > {
26
27
  readonly input: CreateChannelCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: CreateChannelCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class CreateHarvestJobCommand extends $Command<
24
25
  MediaPackageClientResolvedConfig
25
26
  > {
26
27
  readonly input: CreateHarvestJobCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: CreateHarvestJobCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class CreateOriginEndpointCommand extends $Command<
25
26
  MediaPackageClientResolvedConfig
26
27
  > {
27
28
  readonly input: CreateOriginEndpointCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CreateOriginEndpointCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class DeleteChannelCommand extends $Command<
24
25
  MediaPackageClientResolvedConfig
25
26
  > {
26
27
  readonly input: DeleteChannelCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: DeleteChannelCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DeleteOriginEndpointCommand extends $Command<
25
26
  MediaPackageClientResolvedConfig
26
27
  > {
27
28
  readonly input: DeleteOriginEndpointCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteOriginEndpointCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class DescribeChannelCommand extends $Command<
24
25
  MediaPackageClientResolvedConfig
25
26
  > {
26
27
  readonly input: DescribeChannelCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: DescribeChannelCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DescribeHarvestJobCommand extends $Command<
25
26
  MediaPackageClientResolvedConfig
26
27
  > {
27
28
  readonly input: DescribeHarvestJobCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeHarvestJobCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DescribeOriginEndpointCommand extends $Command<
25
26
  MediaPackageClientResolvedConfig
26
27
  > {
27
28
  readonly input: DescribeOriginEndpointCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeOriginEndpointCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListChannelsCommand extends $Command<
21
22
  MediaPackageClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListChannelsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListChannelsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class ListHarvestJobsCommand extends $Command<
24
25
  MediaPackageClientResolvedConfig
25
26
  > {
26
27
  readonly input: ListHarvestJobsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ListHarvestJobsCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListOriginEndpointsCommand extends $Command<
25
26
  MediaPackageClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListOriginEndpointsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListOriginEndpointsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListTagsForResourceCommand extends $Command<
25
26
  MediaPackageClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListTagsForResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListTagsForResourceCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class RotateChannelCredentialsCommand extends $Command<
25
26
  MediaPackageClientResolvedConfig
26
27
  > {
27
28
  readonly input: RotateChannelCredentialsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: RotateChannelCredentialsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class RotateIngestEndpointCredentialsCommand extends $Command<
25
26
  MediaPackageClientResolvedConfig
26
27
  > {
27
28
  readonly input: RotateIngestEndpointCredentialsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: RotateIngestEndpointCredentialsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class TagResourceCommand extends $Command<
19
20
  MediaPackageClientResolvedConfig
20
21
  > {
21
22
  readonly input: TagResourceCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: TagResourceCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class UntagResourceCommand extends $Command<
19
20
  MediaPackageClientResolvedConfig
20
21
  > {
21
22
  readonly input: UntagResourceCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: UntagResourceCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UpdateChannelCommand extends $Command<
24
25
  MediaPackageClientResolvedConfig
25
26
  > {
26
27
  readonly input: UpdateChannelCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UpdateChannelCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateOriginEndpointCommand extends $Command<
25
26
  MediaPackageClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateOriginEndpointCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateOriginEndpointCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region?: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }