@aws-sdk/client-config-service 3.721.0 → 3.723.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.
@@ -7,182 +7,182 @@ export const SortOrder = {
7
7
  DESCENDING: "DESCENDING",
8
8
  };
9
9
  export class MaxActiveResourcesExceededException extends __BaseException {
10
+ name = "MaxActiveResourcesExceededException";
11
+ $fault = "client";
10
12
  constructor(opts) {
11
13
  super({
12
14
  name: "MaxActiveResourcesExceededException",
13
15
  $fault: "client",
14
16
  ...opts,
15
17
  });
16
- this.name = "MaxActiveResourcesExceededException";
17
- this.$fault = "client";
18
18
  Object.setPrototypeOf(this, MaxActiveResourcesExceededException.prototype);
19
19
  }
20
20
  }
21
21
  export class MaxNumberOfConfigRulesExceededException extends __BaseException {
22
+ name = "MaxNumberOfConfigRulesExceededException";
23
+ $fault = "client";
22
24
  constructor(opts) {
23
25
  super({
24
26
  name: "MaxNumberOfConfigRulesExceededException",
25
27
  $fault: "client",
26
28
  ...opts,
27
29
  });
28
- this.name = "MaxNumberOfConfigRulesExceededException";
29
- this.$fault = "client";
30
30
  Object.setPrototypeOf(this, MaxNumberOfConfigRulesExceededException.prototype);
31
31
  }
32
32
  }
33
33
  export class MaxNumberOfConfigurationRecordersExceededException extends __BaseException {
34
+ name = "MaxNumberOfConfigurationRecordersExceededException";
35
+ $fault = "client";
34
36
  constructor(opts) {
35
37
  super({
36
38
  name: "MaxNumberOfConfigurationRecordersExceededException",
37
39
  $fault: "client",
38
40
  ...opts,
39
41
  });
40
- this.name = "MaxNumberOfConfigurationRecordersExceededException";
41
- this.$fault = "client";
42
42
  Object.setPrototypeOf(this, MaxNumberOfConfigurationRecordersExceededException.prototype);
43
43
  }
44
44
  }
45
45
  export class MaxNumberOfConformancePacksExceededException extends __BaseException {
46
+ name = "MaxNumberOfConformancePacksExceededException";
47
+ $fault = "client";
46
48
  constructor(opts) {
47
49
  super({
48
50
  name: "MaxNumberOfConformancePacksExceededException",
49
51
  $fault: "client",
50
52
  ...opts,
51
53
  });
52
- this.name = "MaxNumberOfConformancePacksExceededException";
53
- this.$fault = "client";
54
54
  Object.setPrototypeOf(this, MaxNumberOfConformancePacksExceededException.prototype);
55
55
  }
56
56
  }
57
57
  export class MaxNumberOfDeliveryChannelsExceededException extends __BaseException {
58
+ name = "MaxNumberOfDeliveryChannelsExceededException";
59
+ $fault = "client";
58
60
  constructor(opts) {
59
61
  super({
60
62
  name: "MaxNumberOfDeliveryChannelsExceededException",
61
63
  $fault: "client",
62
64
  ...opts,
63
65
  });
64
- this.name = "MaxNumberOfDeliveryChannelsExceededException";
65
- this.$fault = "client";
66
66
  Object.setPrototypeOf(this, MaxNumberOfDeliveryChannelsExceededException.prototype);
67
67
  }
68
68
  }
69
69
  export class MaxNumberOfOrganizationConfigRulesExceededException extends __BaseException {
70
+ name = "MaxNumberOfOrganizationConfigRulesExceededException";
71
+ $fault = "client";
70
72
  constructor(opts) {
71
73
  super({
72
74
  name: "MaxNumberOfOrganizationConfigRulesExceededException",
73
75
  $fault: "client",
74
76
  ...opts,
75
77
  });
76
- this.name = "MaxNumberOfOrganizationConfigRulesExceededException";
77
- this.$fault = "client";
78
78
  Object.setPrototypeOf(this, MaxNumberOfOrganizationConfigRulesExceededException.prototype);
79
79
  }
80
80
  }
81
81
  export class MaxNumberOfOrganizationConformancePacksExceededException extends __BaseException {
82
+ name = "MaxNumberOfOrganizationConformancePacksExceededException";
83
+ $fault = "client";
82
84
  constructor(opts) {
83
85
  super({
84
86
  name: "MaxNumberOfOrganizationConformancePacksExceededException",
85
87
  $fault: "client",
86
88
  ...opts,
87
89
  });
88
- this.name = "MaxNumberOfOrganizationConformancePacksExceededException";
89
- this.$fault = "client";
90
90
  Object.setPrototypeOf(this, MaxNumberOfOrganizationConformancePacksExceededException.prototype);
91
91
  }
92
92
  }
93
93
  export class MaxNumberOfRetentionConfigurationsExceededException extends __BaseException {
94
+ name = "MaxNumberOfRetentionConfigurationsExceededException";
95
+ $fault = "client";
94
96
  constructor(opts) {
95
97
  super({
96
98
  name: "MaxNumberOfRetentionConfigurationsExceededException",
97
99
  $fault: "client",
98
100
  ...opts,
99
101
  });
100
- this.name = "MaxNumberOfRetentionConfigurationsExceededException";
101
- this.$fault = "client";
102
102
  Object.setPrototypeOf(this, MaxNumberOfRetentionConfigurationsExceededException.prototype);
103
103
  }
104
104
  }
105
105
  export class NoAvailableDeliveryChannelException extends __BaseException {
106
+ name = "NoAvailableDeliveryChannelException";
107
+ $fault = "client";
106
108
  constructor(opts) {
107
109
  super({
108
110
  name: "NoAvailableDeliveryChannelException",
109
111
  $fault: "client",
110
112
  ...opts,
111
113
  });
112
- this.name = "NoAvailableDeliveryChannelException";
113
- this.$fault = "client";
114
114
  Object.setPrototypeOf(this, NoAvailableDeliveryChannelException.prototype);
115
115
  }
116
116
  }
117
117
  export class NoAvailableOrganizationException extends __BaseException {
118
+ name = "NoAvailableOrganizationException";
119
+ $fault = "client";
118
120
  constructor(opts) {
119
121
  super({
120
122
  name: "NoAvailableOrganizationException",
121
123
  $fault: "client",
122
124
  ...opts,
123
125
  });
124
- this.name = "NoAvailableOrganizationException";
125
- this.$fault = "client";
126
126
  Object.setPrototypeOf(this, NoAvailableOrganizationException.prototype);
127
127
  }
128
128
  }
129
129
  export class NoSuchBucketException extends __BaseException {
130
+ name = "NoSuchBucketException";
131
+ $fault = "client";
130
132
  constructor(opts) {
131
133
  super({
132
134
  name: "NoSuchBucketException",
133
135
  $fault: "client",
134
136
  ...opts,
135
137
  });
136
- this.name = "NoSuchBucketException";
137
- this.$fault = "client";
138
138
  Object.setPrototypeOf(this, NoSuchBucketException.prototype);
139
139
  }
140
140
  }
141
141
  export class OrganizationAllFeaturesNotEnabledException extends __BaseException {
142
+ name = "OrganizationAllFeaturesNotEnabledException";
143
+ $fault = "client";
142
144
  constructor(opts) {
143
145
  super({
144
146
  name: "OrganizationAllFeaturesNotEnabledException",
145
147
  $fault: "client",
146
148
  ...opts,
147
149
  });
148
- this.name = "OrganizationAllFeaturesNotEnabledException";
149
- this.$fault = "client";
150
150
  Object.setPrototypeOf(this, OrganizationAllFeaturesNotEnabledException.prototype);
151
151
  }
152
152
  }
153
153
  export class OrganizationConformancePackTemplateValidationException extends __BaseException {
154
+ name = "OrganizationConformancePackTemplateValidationException";
155
+ $fault = "client";
154
156
  constructor(opts) {
155
157
  super({
156
158
  name: "OrganizationConformancePackTemplateValidationException",
157
159
  $fault: "client",
158
160
  ...opts,
159
161
  });
160
- this.name = "OrganizationConformancePackTemplateValidationException";
161
- this.$fault = "client";
162
162
  Object.setPrototypeOf(this, OrganizationConformancePackTemplateValidationException.prototype);
163
163
  }
164
164
  }
165
165
  export class ResourceConcurrentModificationException extends __BaseException {
166
+ name = "ResourceConcurrentModificationException";
167
+ $fault = "client";
166
168
  constructor(opts) {
167
169
  super({
168
170
  name: "ResourceConcurrentModificationException",
169
171
  $fault: "client",
170
172
  ...opts,
171
173
  });
172
- this.name = "ResourceConcurrentModificationException";
173
- this.$fault = "client";
174
174
  Object.setPrototypeOf(this, ResourceConcurrentModificationException.prototype);
175
175
  }
176
176
  }
177
177
  export class TooManyTagsException extends __BaseException {
178
+ name = "TooManyTagsException";
179
+ $fault = "client";
178
180
  constructor(opts) {
179
181
  super({
180
182
  name: "TooManyTagsException",
181
183
  $fault: "client",
182
184
  ...opts,
183
185
  });
184
- this.name = "TooManyTagsException";
185
- this.$fault = "client";
186
186
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
187
187
  }
188
188
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
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: ConfigServiceClientConfig) => {
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: ConfigServiceClientConfig) => {
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;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- 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;
34
+ 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;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
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: ConfigServiceClientConfig) => {
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: ConfigServiceClientConfig) => {
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;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-config-service",
3
3
  "description": "AWS SDK for JavaScript Config Service Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.723.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-config-service",
@@ -20,56 +20,56 @@
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-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.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.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.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-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {