@aws-sdk/client-firehose 3.535.0 → 3.540.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/README.md CHANGED
@@ -7,7 +7,10 @@
7
7
  AWS SDK for JavaScript Firehose Client for Node.js, Browser and React Native.
8
8
 
9
9
  <fullname>Amazon Data Firehose</fullname>
10
+ <note>
10
11
 
12
+ <p>Amazon Data Firehose was previously known as Amazon Kinesis Data Firehose.</p>
13
+ </note>
11
14
  <p>Amazon Data Firehose is a fully managed service that delivers real-time
12
15
  streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon
13
16
  OpenSearch Service, Amazon Redshift, Splunk, and various other supportd
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -1579,9 +1579,6 @@ var _Firehose = class _Firehose extends FirehoseClient {
1579
1579
  __name(_Firehose, "Firehose");
1580
1580
  var Firehose = _Firehose;
1581
1581
  (0, import_smithy_client.createAggregatedClient)(commands, Firehose);
1582
-
1583
- // src/index.ts
1584
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
1585
1582
  // Annotate the CommonJS export names for ESM import in node:
1586
1583
 
1587
1584
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -2,5 +2,4 @@ export * from "./FirehoseClient";
2
2
  export * from "./Firehose";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
- import "@aws-sdk/util-endpoints";
6
5
  export { FirehoseServiceException } from "./models/FirehoseServiceException";
@@ -89,6 +89,9 @@ export interface Firehose {
89
89
  }
90
90
  /**
91
91
  * <fullname>Amazon Data Firehose</fullname>
92
+ * <note>
93
+ * <p>Amazon Data Firehose was previously known as Amazon Kinesis Data Firehose.</p>
94
+ * </note>
92
95
  * <p>Amazon Data Firehose is a fully managed service that delivers real-time
93
96
  * streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon
94
97
  * OpenSearch Service, Amazon Redshift, Splunk, and various other supportd
@@ -164,6 +164,9 @@ export interface FirehoseClientResolvedConfig extends FirehoseClientResolvedConf
164
164
  }
165
165
  /**
166
166
  * <fullname>Amazon Data Firehose</fullname>
167
+ * <note>
168
+ * <p>Amazon Data Firehose was previously known as Amazon Kinesis Data Firehose.</p>
169
+ * </note>
167
170
  * <p>Amazon Data Firehose is a fully managed service that delivers real-time
168
171
  * streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon
169
172
  * OpenSearch Service, Amazon Redshift, Splunk, and various other supportd
@@ -1,5 +1,8 @@
1
1
  /**
2
2
  * <fullname>Amazon Data Firehose</fullname>
3
+ * <note>
4
+ * <p>Amazon Data Firehose was previously known as Amazon Kinesis Data Firehose.</p>
5
+ * </note>
3
6
  * <p>Amazon Data Firehose is a fully managed service that delivers real-time
4
7
  * streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon
5
8
  * OpenSearch Service, Amazon Redshift, Splunk, and various other supportd
@@ -14,5 +17,4 @@ export { RuntimeExtension } from "./runtimeExtensions";
14
17
  export { FirehoseExtensionConfiguration } from "./extensionConfiguration";
15
18
  export * from "./commands";
16
19
  export * from "./models";
17
- import "@aws-sdk/util-endpoints";
18
20
  export { FirehoseServiceException } from "./models/FirehoseServiceException";
@@ -2719,6 +2719,18 @@ export interface CreateDeliveryStreamInput {
2719
2719
  * Cost Allocation Tags</a> in the Amazon Web Services Billing and Cost Management User
2720
2720
  * Guide.</p>
2721
2721
  * <p>You can specify up to 50 tags when creating a delivery stream.</p>
2722
+ * <p>If you specify tags in the <code>CreateDeliveryStream</code> action, Amazon Data
2723
+ * Firehose performs an additional authorization on the
2724
+ * <code>firehose:TagDeliveryStream</code> action to verify if users have permissions to
2725
+ * create tags. If you do not provide this permission, requests to create new Firehose
2726
+ * delivery streams with IAM resource tags will fail with an
2727
+ * <code>AccessDeniedException</code> such as following.</p>
2728
+ * <p>
2729
+ * <b>AccessDeniedException</b>
2730
+ * </p>
2731
+ * <p>User: arn:aws:sts::x:assumed-role/x/x is not authorized to perform: firehose:TagDeliveryStream on resource: arn:aws:firehose:us-east-1:x:deliverystream/x with an explicit deny in an identity-based policy.</p>
2732
+ * <p>For an example IAM policy, see <a href="https://docs.aws.amazon.com/firehose/latest/APIReference/API_CreateDeliveryStream.html#API_CreateDeliveryStream_Examples">Tag example.</a>
2733
+ * </p>
2722
2734
  * @public
2723
2735
  */
2724
2736
  Tags?: Tag[];
@@ -5,5 +5,4 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { FirehoseExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./models";
8
- import "@aws-sdk/util-endpoints";
9
8
  export { FirehoseServiceException } from "./models/FirehoseServiceException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-firehose",
3
3
  "description": "AWS SDK for JavaScript Firehose Client for Node.js, Browser and React Native",
4
- "version": "3.535.0",
4
+ "version": "3.540.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-firehose",
@@ -20,16 +20,16 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.535.0",
23
+ "@aws-sdk/client-sts": "3.540.0",
24
24
  "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
- "@aws-sdk/middleware-user-agent": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
30
  "@aws-sdk/region-config-resolver": "3.535.0",
31
31
  "@aws-sdk/types": "3.535.0",
32
- "@aws-sdk/util-endpoints": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",