@aws-sdk/client-medialive 3.721.0 → 3.726.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.
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class MediaLiveClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -699,118 +699,128 @@ export const AcceptHeader = {
699
699
  image_jpeg: "image/jpeg",
700
700
  };
701
701
  export class BadGatewayException extends __BaseException {
702
+ name = "BadGatewayException";
703
+ $fault = "server";
704
+ Message;
702
705
  constructor(opts) {
703
706
  super({
704
707
  name: "BadGatewayException",
705
708
  $fault: "server",
706
709
  ...opts,
707
710
  });
708
- this.name = "BadGatewayException";
709
- this.$fault = "server";
710
711
  Object.setPrototypeOf(this, BadGatewayException.prototype);
711
712
  this.Message = opts.Message;
712
713
  }
713
714
  }
714
715
  export class BadRequestException extends __BaseException {
716
+ name = "BadRequestException";
717
+ $fault = "client";
718
+ Message;
715
719
  constructor(opts) {
716
720
  super({
717
721
  name: "BadRequestException",
718
722
  $fault: "client",
719
723
  ...opts,
720
724
  });
721
- this.name = "BadRequestException";
722
- this.$fault = "client";
723
725
  Object.setPrototypeOf(this, BadRequestException.prototype);
724
726
  this.Message = opts.Message;
725
727
  }
726
728
  }
727
729
  export class ConflictException extends __BaseException {
730
+ name = "ConflictException";
731
+ $fault = "client";
732
+ Message;
728
733
  constructor(opts) {
729
734
  super({
730
735
  name: "ConflictException",
731
736
  $fault: "client",
732
737
  ...opts,
733
738
  });
734
- this.name = "ConflictException";
735
- this.$fault = "client";
736
739
  Object.setPrototypeOf(this, ConflictException.prototype);
737
740
  this.Message = opts.Message;
738
741
  }
739
742
  }
740
743
  export class ForbiddenException extends __BaseException {
744
+ name = "ForbiddenException";
745
+ $fault = "client";
746
+ Message;
741
747
  constructor(opts) {
742
748
  super({
743
749
  name: "ForbiddenException",
744
750
  $fault: "client",
745
751
  ...opts,
746
752
  });
747
- this.name = "ForbiddenException";
748
- this.$fault = "client";
749
753
  Object.setPrototypeOf(this, ForbiddenException.prototype);
750
754
  this.Message = opts.Message;
751
755
  }
752
756
  }
753
757
  export class GatewayTimeoutException extends __BaseException {
758
+ name = "GatewayTimeoutException";
759
+ $fault = "server";
760
+ Message;
754
761
  constructor(opts) {
755
762
  super({
756
763
  name: "GatewayTimeoutException",
757
764
  $fault: "server",
758
765
  ...opts,
759
766
  });
760
- this.name = "GatewayTimeoutException";
761
- this.$fault = "server";
762
767
  Object.setPrototypeOf(this, GatewayTimeoutException.prototype);
763
768
  this.Message = opts.Message;
764
769
  }
765
770
  }
766
771
  export class InternalServerErrorException extends __BaseException {
772
+ name = "InternalServerErrorException";
773
+ $fault = "server";
774
+ Message;
767
775
  constructor(opts) {
768
776
  super({
769
777
  name: "InternalServerErrorException",
770
778
  $fault: "server",
771
779
  ...opts,
772
780
  });
773
- this.name = "InternalServerErrorException";
774
- this.$fault = "server";
775
781
  Object.setPrototypeOf(this, InternalServerErrorException.prototype);
776
782
  this.Message = opts.Message;
777
783
  }
778
784
  }
779
785
  export class NotFoundException extends __BaseException {
786
+ name = "NotFoundException";
787
+ $fault = "client";
788
+ Message;
780
789
  constructor(opts) {
781
790
  super({
782
791
  name: "NotFoundException",
783
792
  $fault: "client",
784
793
  ...opts,
785
794
  });
786
- this.name = "NotFoundException";
787
- this.$fault = "client";
788
795
  Object.setPrototypeOf(this, NotFoundException.prototype);
789
796
  this.Message = opts.Message;
790
797
  }
791
798
  }
792
799
  export class TooManyRequestsException extends __BaseException {
800
+ name = "TooManyRequestsException";
801
+ $fault = "client";
802
+ Message;
793
803
  constructor(opts) {
794
804
  super({
795
805
  name: "TooManyRequestsException",
796
806
  $fault: "client",
797
807
  ...opts,
798
808
  });
799
- this.name = "TooManyRequestsException";
800
- this.$fault = "client";
801
809
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
802
810
  this.Message = opts.Message;
803
811
  }
804
812
  }
805
813
  export class UnprocessableEntityException extends __BaseException {
814
+ name = "UnprocessableEntityException";
815
+ $fault = "client";
816
+ Message;
817
+ ValidationErrors;
806
818
  constructor(opts) {
807
819
  super({
808
820
  name: "UnprocessableEntityException",
809
821
  $fault: "client",
810
822
  ...opts,
811
823
  });
812
- this.name = "UnprocessableEntityException";
813
- this.$fault = "client";
814
824
  Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
815
825
  this.Message = opts.Message;
816
826
  this.ValidationErrors = opts.ValidationErrors;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
32
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
33
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
34
34
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
35
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
36
36
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
37
  logger?: import("@smithy/types").Logger | undefined;
38
38
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -51,11 +53,21 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
51
53
  | import("@smithy/types").RetryStrategyV2
52
54
  | undefined;
53
55
  endpoint?:
54
- | string
55
- | import("@smithy/types").Endpoint
56
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
57
- | import("@smithy/types").EndpointV2
58
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
56
+ | ((
57
+ | string
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ) &
63
+ (
64
+ | string
65
+ | import("@smithy/types").Provider<string>
66
+ | import("@smithy/types").Endpoint
67
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
68
+ | import("@smithy/types").EndpointV2
69
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
70
+ ))
59
71
  | undefined;
60
72
  endpointProvider: (
61
73
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-medialive",
3
3
  "description": "AWS SDK for JavaScript Medialive Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.726.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-medialive",
@@ -20,60 +20,60 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-stream": "^3.3.2",
61
- "@smithy/util-utf8": "^3.0.0",
62
- "@smithy/util-waiter": "^3.2.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-stream": "^4.0.0",
61
+ "@smithy/util-utf8": "^4.0.0",
62
+ "@smithy/util-waiter": "^4.0.0",
63
63
  "@types/uuid": "^9.0.1",
64
64
  "tslib": "^2.6.2",
65
65
  "uuid": "^9.0.1"
66
66
  },
67
67
  "devDependencies": {
68
- "@tsconfig/node16": "16.1.3",
69
- "@types/node": "^16.18.96",
68
+ "@tsconfig/node18": "18.2.4",
69
+ "@types/node": "^18.19.69",
70
70
  "concurrently": "7.0.0",
71
71
  "downlevel-dts": "0.10.1",
72
72
  "rimraf": "3.0.2",
73
- "typescript": "~4.9.5"
73
+ "typescript": "~5.2.2"
74
74
  },
75
75
  "engines": {
76
- "node": ">=16.0.0"
76
+ "node": ">=18.0.0"
77
77
  },
78
78
  "typesVersions": {
79
79
  "<4.0": {