@aws-sdk/client-pricing 3.170.0 → 3.171.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-pricing
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-pricing
@@ -12,7 +12,6 @@ import {
12
12
  GetProductsCommandOutput,
13
13
  } from "./commands/GetProductsCommand";
14
14
  import { PricingClient } from "./PricingClient";
15
-
16
15
  export declare class Pricing extends PricingClient {
17
16
  describeServices(
18
17
  args: DescribeServicesCommandInput,
@@ -27,7 +26,6 @@ export declare class Pricing extends PricingClient {
27
26
  options: __HttpHandlerOptions,
28
27
  cb: (err: any, data?: DescribeServicesCommandOutput) => void
29
28
  ): void;
30
-
31
29
  getAttributeValues(
32
30
  args: GetAttributeValuesCommandInput,
33
31
  options?: __HttpHandlerOptions
@@ -41,7 +39,6 @@ export declare class Pricing extends PricingClient {
41
39
  options: __HttpHandlerOptions,
42
40
  cb: (err: any, data?: GetAttributeValuesCommandOutput) => void
43
41
  ): void;
44
-
45
42
  getProducts(
46
43
  args: GetProductsCommandInput,
47
44
  options?: __HttpHandlerOptions
@@ -65,47 +65,26 @@ export declare type ServiceOutputTypes =
65
65
  export interface ClientDefaults
66
66
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
67
67
  requestHandler?: __HttpHandler;
68
-
69
68
  sha256?: __HashConstructor;
70
-
71
69
  urlParser?: __UrlParser;
72
-
73
70
  bodyLengthChecker?: __BodyLengthCalculator;
74
-
75
71
  streamCollector?: __StreamCollector;
76
-
77
72
  base64Decoder?: __Decoder;
78
-
79
73
  base64Encoder?: __Encoder;
80
-
81
74
  utf8Decoder?: __Decoder;
82
-
83
75
  utf8Encoder?: __Encoder;
84
-
85
76
  runtime?: string;
86
-
87
77
  disableHostPrefix?: boolean;
88
-
89
78
  maxAttempts?: number | __Provider<number>;
90
-
91
79
  retryMode?: string | __Provider<string>;
92
-
93
80
  logger?: __Logger;
94
-
95
81
  useDualstackEndpoint?: boolean | __Provider<boolean>;
96
-
97
82
  useFipsEndpoint?: boolean | __Provider<boolean>;
98
-
99
83
  serviceId?: string;
100
-
101
84
  region?: string | __Provider<string>;
102
-
103
85
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
104
-
105
86
  regionInfoProvider?: RegionInfoProvider;
106
-
107
87
  defaultUserAgentProvider?: Provider<__UserAgent>;
108
-
109
88
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
110
89
  }
111
90
  declare type PricingClientConfigType = Partial<
@@ -118,7 +97,6 @@ declare type PricingClientConfigType = Partial<
118
97
  HostHeaderInputConfig &
119
98
  AwsAuthInputConfig &
120
99
  UserAgentInputConfig;
121
-
122
100
  export interface PricingClientConfig extends PricingClientConfigType {}
123
101
  declare type PricingClientResolvedConfigType =
124
102
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
@@ -129,10 +107,8 @@ declare type PricingClientResolvedConfigType =
129
107
  HostHeaderResolvedConfig &
130
108
  AwsAuthResolvedConfig &
131
109
  UserAgentResolvedConfig;
132
-
133
110
  export interface PricingClientResolvedConfig
134
111
  extends PricingClientResolvedConfigType {}
135
-
136
112
  export declare class PricingClient extends __Client<
137
113
  __HttpHandlerOptions,
138
114
  ServiceInputTypes,
@@ -141,7 +117,6 @@ export declare class PricingClient extends __Client<
141
117
  > {
142
118
  readonly config: PricingClientResolvedConfig;
143
119
  constructor(configuration: PricingClientConfig);
144
-
145
120
  destroy(): void;
146
121
  }
147
122
  export {};
@@ -18,7 +18,6 @@ export interface DescribeServicesCommandInput extends DescribeServicesRequest {}
18
18
  export interface DescribeServicesCommandOutput
19
19
  extends DescribeServicesResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class DescribeServicesCommand extends $Command<
23
22
  DescribeServicesCommandInput,
24
23
  DescribeServicesCommandOutput,
@@ -26,7 +25,6 @@ export declare class DescribeServicesCommand extends $Command<
26
25
  > {
27
26
  readonly input: DescribeServicesCommandInput;
28
27
  constructor(input: DescribeServicesCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: PricingClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface GetAttributeValuesCommandInput
19
19
  export interface GetAttributeValuesCommandOutput
20
20
  extends GetAttributeValuesResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class GetAttributeValuesCommand extends $Command<
24
23
  GetAttributeValuesCommandInput,
25
24
  GetAttributeValuesCommandOutput,
@@ -27,7 +26,6 @@ export declare class GetAttributeValuesCommand extends $Command<
27
26
  > {
28
27
  readonly input: GetAttributeValuesCommandInput;
29
28
  constructor(input: GetAttributeValuesCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: PricingClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface GetProductsCommandInput extends GetProductsRequest {}
15
15
  export interface GetProductsCommandOutput
16
16
  extends GetProductsResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class GetProductsCommand extends $Command<
20
19
  GetProductsCommandInput,
21
20
  GetProductsCommandOutput,
@@ -23,7 +22,6 @@ export declare class GetProductsCommand extends $Command<
23
22
  > {
24
23
  readonly input: GetProductsCommandInput;
25
24
  constructor(input: GetProductsCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: PricingClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class PricingServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -3,152 +3,112 @@ import {
3
3
  LazyJsonString as __LazyJsonString,
4
4
  } from "@aws-sdk/smithy-client";
5
5
  import { PricingServiceException as __BaseException } from "./PricingServiceException";
6
-
7
6
  export interface AttributeValue {
8
7
  Value?: string;
9
8
  }
10
9
  export interface DescribeServicesRequest {
11
10
  ServiceCode?: string;
12
-
13
11
  FormatVersion?: string;
14
-
15
12
  NextToken?: string;
16
-
17
13
  MaxResults?: number;
18
14
  }
19
-
20
15
  export interface Service {
21
16
  ServiceCode: string | undefined;
22
-
23
17
  AttributeNames?: string[];
24
18
  }
25
19
  export interface DescribeServicesResponse {
26
20
  Services?: Service[];
27
-
28
21
  FormatVersion?: string;
29
-
30
22
  NextToken?: string;
31
23
  }
32
-
33
24
  export declare class ExpiredNextTokenException extends __BaseException {
34
25
  readonly name: "ExpiredNextTokenException";
35
26
  readonly $fault: "client";
36
27
  Message?: string;
37
-
38
28
  constructor(
39
29
  opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>
40
30
  );
41
31
  }
42
-
43
32
  export declare class InternalErrorException extends __BaseException {
44
33
  readonly name: "InternalErrorException";
45
34
  readonly $fault: "server";
46
35
  Message?: string;
47
-
48
36
  constructor(
49
37
  opts: __ExceptionOptionType<InternalErrorException, __BaseException>
50
38
  );
51
39
  }
52
-
53
40
  export declare class InvalidNextTokenException extends __BaseException {
54
41
  readonly name: "InvalidNextTokenException";
55
42
  readonly $fault: "client";
56
43
  Message?: string;
57
-
58
44
  constructor(
59
45
  opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
60
46
  );
61
47
  }
62
-
63
48
  export declare class InvalidParameterException extends __BaseException {
64
49
  readonly name: "InvalidParameterException";
65
50
  readonly $fault: "client";
66
51
  Message?: string;
67
-
68
52
  constructor(
69
53
  opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
70
54
  );
71
55
  }
72
-
73
56
  export declare class NotFoundException extends __BaseException {
74
57
  readonly name: "NotFoundException";
75
58
  readonly $fault: "client";
76
59
  Message?: string;
77
-
78
60
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
79
61
  }
80
62
  export interface GetAttributeValuesRequest {
81
63
  ServiceCode: string | undefined;
82
-
83
64
  AttributeName: string | undefined;
84
-
85
65
  NextToken?: string;
86
-
87
66
  MaxResults?: number;
88
67
  }
89
68
  export interface GetAttributeValuesResponse {
90
69
  AttributeValues?: AttributeValue[];
91
-
92
70
  NextToken?: string;
93
71
  }
94
72
  export declare enum FilterType {
95
73
  TERM_MATCH = "TERM_MATCH",
96
74
  }
97
-
98
75
  export interface Filter {
99
76
  Type: FilterType | string | undefined;
100
-
101
77
  Field: string | undefined;
102
-
103
78
  Value: string | undefined;
104
79
  }
105
80
  export interface GetProductsRequest {
106
81
  ServiceCode: string | undefined;
107
-
108
82
  Filters?: Filter[];
109
-
110
83
  FormatVersion?: string;
111
-
112
84
  NextToken?: string;
113
-
114
85
  MaxResults?: number;
115
86
  }
116
87
  export interface GetProductsResponse {
117
88
  FormatVersion?: string;
118
-
119
89
  PriceList?: (__LazyJsonString | string)[];
120
-
121
90
  NextToken?: string;
122
91
  }
123
-
124
92
  export declare const AttributeValueFilterSensitiveLog: (
125
93
  obj: AttributeValue
126
94
  ) => any;
127
-
128
95
  export declare const DescribeServicesRequestFilterSensitiveLog: (
129
96
  obj: DescribeServicesRequest
130
97
  ) => any;
131
-
132
98
  export declare const ServiceFilterSensitiveLog: (obj: Service) => any;
133
-
134
99
  export declare const DescribeServicesResponseFilterSensitiveLog: (
135
100
  obj: DescribeServicesResponse
136
101
  ) => any;
137
-
138
102
  export declare const GetAttributeValuesRequestFilterSensitiveLog: (
139
103
  obj: GetAttributeValuesRequest
140
104
  ) => any;
141
-
142
105
  export declare const GetAttributeValuesResponseFilterSensitiveLog: (
143
106
  obj: GetAttributeValuesResponse
144
107
  ) => any;
145
-
146
108
  export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
147
-
148
109
  export declare const GetProductsRequestFilterSensitiveLog: (
149
110
  obj: GetProductsRequest
150
111
  ) => any;
151
-
152
112
  export declare const GetProductsResponseFilterSensitiveLog: (
153
113
  obj: GetProductsResponse
154
114
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { PricingClientConfig } from "./PricingClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: PricingClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { PricingClientConfig } from "./PricingClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: PricingClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,5 +1,4 @@
1
1
  import { PricingClientConfig } from "./PricingClient";
2
-
3
2
  export declare const getRuntimeConfig: (config: PricingClientConfig) => {
4
3
  runtime: string;
5
4
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { PricingClientConfig } from "./PricingClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: PricingClientConfig) => {
5
4
  apiVersion: string;
6
5
  disableHostPrefix: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pricing",
3
3
  "description": "AWS SDK for JavaScript Pricing Client for Node.js, Browser and React Native",
4
- "version": "3.170.0",
4
+ "version": "3.171.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,35 +19,35 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.170.0",
23
- "@aws-sdk/config-resolver": "3.170.0",
24
- "@aws-sdk/credential-provider-node": "3.170.0",
25
- "@aws-sdk/fetch-http-handler": "3.170.0",
26
- "@aws-sdk/hash-node": "3.170.0",
27
- "@aws-sdk/invalid-dependency": "3.170.0",
28
- "@aws-sdk/middleware-content-length": "3.170.0",
29
- "@aws-sdk/middleware-host-header": "3.170.0",
30
- "@aws-sdk/middleware-logger": "3.170.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
32
- "@aws-sdk/middleware-retry": "3.170.0",
33
- "@aws-sdk/middleware-serde": "3.170.0",
34
- "@aws-sdk/middleware-signing": "3.170.0",
35
- "@aws-sdk/middleware-stack": "3.170.0",
36
- "@aws-sdk/middleware-user-agent": "3.170.0",
37
- "@aws-sdk/node-config-provider": "3.170.0",
38
- "@aws-sdk/node-http-handler": "3.170.0",
39
- "@aws-sdk/protocol-http": "3.170.0",
40
- "@aws-sdk/smithy-client": "3.170.0",
41
- "@aws-sdk/types": "3.170.0",
42
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/client-sts": "3.171.0",
23
+ "@aws-sdk/config-resolver": "3.171.0",
24
+ "@aws-sdk/credential-provider-node": "3.171.0",
25
+ "@aws-sdk/fetch-http-handler": "3.171.0",
26
+ "@aws-sdk/hash-node": "3.171.0",
27
+ "@aws-sdk/invalid-dependency": "3.171.0",
28
+ "@aws-sdk/middleware-content-length": "3.171.0",
29
+ "@aws-sdk/middleware-host-header": "3.171.0",
30
+ "@aws-sdk/middleware-logger": "3.171.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.171.0",
32
+ "@aws-sdk/middleware-retry": "3.171.0",
33
+ "@aws-sdk/middleware-serde": "3.171.0",
34
+ "@aws-sdk/middleware-signing": "3.171.0",
35
+ "@aws-sdk/middleware-stack": "3.171.0",
36
+ "@aws-sdk/middleware-user-agent": "3.171.0",
37
+ "@aws-sdk/node-config-provider": "3.171.0",
38
+ "@aws-sdk/node-http-handler": "3.171.0",
39
+ "@aws-sdk/protocol-http": "3.171.0",
40
+ "@aws-sdk/smithy-client": "3.171.0",
41
+ "@aws-sdk/types": "3.171.0",
42
+ "@aws-sdk/url-parser": "3.171.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
49
- "@aws-sdk/util-user-agent-browser": "3.170.0",
50
- "@aws-sdk/util-user-agent-node": "3.170.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.171.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.171.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.171.0",
50
+ "@aws-sdk/util-user-agent-node": "3.171.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1"