@aws-sdk/client-eventbridge 3.489.0 → 3.490.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/dist-cjs/models/models_0.js +8 -1
- package/dist-es/models/models_0.js +5 -0
- package/dist-types/commands/ListTargetsByRuleCommand.d.ts +3 -0
- package/dist-types/commands/PutTargetsCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +22 -51
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +4 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.UpdateConnectionAuthRequestParametersFilterSensitiveLog = exports.UpdateConnectionOAuthRequestParametersFilterSensitiveLog = exports.UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog = exports.UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog = exports.UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = exports.PutTargetsRequestFilterSensitiveLog = exports.ListTargetsByRuleResponseFilterSensitiveLog = exports.TargetFilterSensitiveLog = exports.RedshiftDataParametersFilterSensitiveLog = exports.DescribeConnectionResponseFilterSensitiveLog = exports.ConnectionAuthResponseParametersFilterSensitiveLog = exports.ConnectionOAuthResponseParametersFilterSensitiveLog = exports.CreateConnectionRequestFilterSensitiveLog = exports.CreateConnectionAuthRequestParametersFilterSensitiveLog = exports.CreateConnectionOAuthRequestParametersFilterSensitiveLog = exports.CreateConnectionOAuthClientRequestParametersFilterSensitiveLog = exports.ConnectionHttpParametersFilterSensitiveLog = exports.ConnectionQueryStringParameterFilterSensitiveLog = exports.ConnectionHeaderParameterFilterSensitiveLog = exports.ConnectionBodyParameterFilterSensitiveLog = exports.CreateConnectionBasicAuthRequestParametersFilterSensitiveLog = exports.CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = exports.AppSyncParametersFilterSensitiveLog = exports.PolicyLengthExceededException = exports.PropagateTags = exports.PlacementStrategyType = exports.PlacementConstraintType = exports.LaunchType = exports.RuleState = exports.EventSourceState = exports.ManagedRuleException = exports.EndpointState = exports.ReplicationState = exports.ConnectionState = exports.ConnectionOAuthHttpMethod = exports.ConnectionAuthorizationType = exports.InvalidEventPatternException = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.IllegalStatusException = exports.ReplayState = exports.AssignPublicIp = exports.ArchiveState = exports.ApiDestinationHttpMethod = exports.ApiDestinationState = exports.ResourceNotFoundException = exports.OperationDisabledException = exports.InvalidStateException = exports.InternalException = exports.ConcurrentModificationException = void 0;
|
|
4
|
+
exports.UpdateConnectionRequestFilterSensitiveLog = void 0;
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const EventBridgeServiceException_1 = require("./EventBridgeServiceException");
|
|
6
7
|
class ConcurrentModificationException extends EventBridgeServiceException_1.EventBridgeServiceException {
|
|
@@ -238,6 +239,11 @@ class PolicyLengthExceededException extends EventBridgeServiceException_1.EventB
|
|
|
238
239
|
}
|
|
239
240
|
}
|
|
240
241
|
exports.PolicyLengthExceededException = PolicyLengthExceededException;
|
|
242
|
+
const AppSyncParametersFilterSensitiveLog = (obj) => ({
|
|
243
|
+
...obj,
|
|
244
|
+
...(obj.GraphQLOperation && { GraphQLOperation: smithy_client_1.SENSITIVE_STRING }),
|
|
245
|
+
});
|
|
246
|
+
exports.AppSyncParametersFilterSensitiveLog = AppSyncParametersFilterSensitiveLog;
|
|
241
247
|
const CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = (obj) => ({
|
|
242
248
|
...obj,
|
|
243
249
|
...(obj.ApiKeyValue && { ApiKeyValue: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -347,6 +353,7 @@ const TargetFilterSensitiveLog = (obj) => ({
|
|
|
347
353
|
...(obj.RedshiftDataParameters && {
|
|
348
354
|
RedshiftDataParameters: (0, exports.RedshiftDataParametersFilterSensitiveLog)(obj.RedshiftDataParameters),
|
|
349
355
|
}),
|
|
356
|
+
...(obj.AppSyncParameters && { AppSyncParameters: (0, exports.AppSyncParametersFilterSensitiveLog)(obj.AppSyncParameters) }),
|
|
350
357
|
});
|
|
351
358
|
exports.TargetFilterSensitiveLog = TargetFilterSensitiveLog;
|
|
352
359
|
const ListTargetsByRuleResponseFilterSensitiveLog = (obj) => ({
|
|
@@ -224,6 +224,10 @@ export class PolicyLengthExceededException extends __BaseException {
|
|
|
224
224
|
Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
+
export const AppSyncParametersFilterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
...(obj.GraphQLOperation && { GraphQLOperation: SENSITIVE_STRING }),
|
|
230
|
+
});
|
|
227
231
|
export const CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = (obj) => ({
|
|
228
232
|
...obj,
|
|
229
233
|
...(obj.ApiKeyValue && { ApiKeyValue: SENSITIVE_STRING }),
|
|
@@ -319,6 +323,7 @@ export const TargetFilterSensitiveLog = (obj) => ({
|
|
|
319
323
|
...(obj.RedshiftDataParameters && {
|
|
320
324
|
RedshiftDataParameters: RedshiftDataParametersFilterSensitiveLog(obj.RedshiftDataParameters),
|
|
321
325
|
}),
|
|
326
|
+
...(obj.AppSyncParameters && { AppSyncParameters: AppSyncParametersFilterSensitiveLog(obj.AppSyncParameters) }),
|
|
322
327
|
});
|
|
323
328
|
export const ListTargetsByRuleResponseFilterSensitiveLog = (obj) => ({
|
|
324
329
|
...obj,
|
|
@@ -166,6 +166,9 @@ declare const ListTargetsByRuleCommand_base: {
|
|
|
166
166
|
* // MaximumRetryAttempts: Number("int"),
|
|
167
167
|
* // MaximumEventAgeInSeconds: Number("int"),
|
|
168
168
|
* // },
|
|
169
|
+
* // AppSyncParameters: { // AppSyncParameters
|
|
170
|
+
* // GraphQLOperation: "STRING_VALUE",
|
|
171
|
+
* // },
|
|
169
172
|
* // },
|
|
170
173
|
* // ],
|
|
171
174
|
* // NextToken: "STRING_VALUE",
|
|
@@ -271,6 +271,9 @@ declare const PutTargetsCommand_base: {
|
|
|
271
271
|
* MaximumRetryAttempts: Number("int"),
|
|
272
272
|
* MaximumEventAgeInSeconds: Number("int"),
|
|
273
273
|
* },
|
|
274
|
+
* AppSyncParameters: { // AppSyncParameters
|
|
275
|
+
* GraphQLOperation: "STRING_VALUE",
|
|
276
|
+
* },
|
|
274
277
|
* },
|
|
275
278
|
* ],
|
|
276
279
|
* };
|
|
@@ -150,6 +150,18 @@ export interface ApiDestination {
|
|
|
150
150
|
*/
|
|
151
151
|
LastModifiedTime?: Date;
|
|
152
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* @public
|
|
155
|
+
* <p>Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.</p>
|
|
156
|
+
*/
|
|
157
|
+
export interface AppSyncParameters {
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
* <p>The GraphQL operation; that is, the query, mutation, or subscription to be parsed and executed by the GraphQL service.</p>
|
|
161
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/appsync/latest/devguide/graphql-architecture.html#graphql-operations">Operations</a> in the <i>AppSync User Guide</i>.</p>
|
|
162
|
+
*/
|
|
163
|
+
GraphQLOperation?: string;
|
|
164
|
+
}
|
|
153
165
|
/**
|
|
154
166
|
* @public
|
|
155
167
|
* @enum
|
|
@@ -2674,31 +2686,6 @@ export interface Rule {
|
|
|
2674
2686
|
/**
|
|
2675
2687
|
* @public
|
|
2676
2688
|
* <p>The state of the rule.</p>
|
|
2677
|
-
* <p>Valid values include:</p>
|
|
2678
|
-
* <ul>
|
|
2679
|
-
* <li>
|
|
2680
|
-
* <p>
|
|
2681
|
-
* <code>DISABLED</code>: The rule is disabled. EventBridge does not match any events against the rule.</p>
|
|
2682
|
-
* </li>
|
|
2683
|
-
* <li>
|
|
2684
|
-
* <p>
|
|
2685
|
-
* <code>ENABLED</code>: The rule is enabled.
|
|
2686
|
-
* EventBridge matches events against the rule, <i>except</i> for Amazon Web Services management events delivered through CloudTrail.</p>
|
|
2687
|
-
* </li>
|
|
2688
|
-
* <li>
|
|
2689
|
-
* <p>
|
|
2690
|
-
* <code>ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS</code>: The rule is enabled for all
|
|
2691
|
-
* events, including Amazon Web Services management events delivered through CloudTrail.</p>
|
|
2692
|
-
* <p>Management events provide visibility into management operations that are performed on
|
|
2693
|
-
* resources in your Amazon Web Services account. These are also known as control plane
|
|
2694
|
-
* operations. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events">Logging management events</a> in the <i>CloudTrail User
|
|
2695
|
-
* Guide</i>, and <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-cloudtrail">Filtering management events from Amazon Web Services services</a> in the
|
|
2696
|
-
* <i>Amazon EventBridge User Guide</i>.</p>
|
|
2697
|
-
* <p>This value is only valid for rules on the <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is-how-it-works-concepts.html#eb-bus-concepts-buses">default</a> event bus
|
|
2698
|
-
* or <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-event-bus.html">custom event buses</a>.
|
|
2699
|
-
* It does not apply to <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html">partner event buses</a>.</p>
|
|
2700
|
-
* </li>
|
|
2701
|
-
* </ul>
|
|
2702
2689
|
*/
|
|
2703
2690
|
State?: RuleState;
|
|
2704
2691
|
/**
|
|
@@ -3531,6 +3518,11 @@ export interface Target {
|
|
|
3531
3518
|
* for the dead-letter queue.</p>
|
|
3532
3519
|
*/
|
|
3533
3520
|
RetryPolicy?: RetryPolicy;
|
|
3521
|
+
/**
|
|
3522
|
+
* @public
|
|
3523
|
+
* <p>Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.</p>
|
|
3524
|
+
*/
|
|
3525
|
+
AppSyncParameters?: AppSyncParameters;
|
|
3534
3526
|
}
|
|
3535
3527
|
/**
|
|
3536
3528
|
* @public
|
|
@@ -3979,32 +3971,7 @@ export interface PutRuleRequest {
|
|
|
3979
3971
|
EventPattern?: string;
|
|
3980
3972
|
/**
|
|
3981
3973
|
* @public
|
|
3982
|
-
* <p>
|
|
3983
|
-
* <p>Valid values include:</p>
|
|
3984
|
-
* <ul>
|
|
3985
|
-
* <li>
|
|
3986
|
-
* <p>
|
|
3987
|
-
* <code>DISABLED</code>: The rule is disabled. EventBridge does not match any events against the rule.</p>
|
|
3988
|
-
* </li>
|
|
3989
|
-
* <li>
|
|
3990
|
-
* <p>
|
|
3991
|
-
* <code>ENABLED</code>: The rule is enabled.
|
|
3992
|
-
* EventBridge matches events against the rule, <i>except</i> for Amazon Web Services management events delivered through CloudTrail.</p>
|
|
3993
|
-
* </li>
|
|
3994
|
-
* <li>
|
|
3995
|
-
* <p>
|
|
3996
|
-
* <code>ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS</code>: The rule is enabled for all
|
|
3997
|
-
* events, including Amazon Web Services management events delivered through CloudTrail.</p>
|
|
3998
|
-
* <p>Management events provide visibility into management operations that are performed on
|
|
3999
|
-
* resources in your Amazon Web Services account. These are also known as control plane
|
|
4000
|
-
* operations. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events">Logging management events</a> in the <i>CloudTrail User
|
|
4001
|
-
* Guide</i>, and <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-cloudtrail">Filtering management events from Amazon Web Services services</a> in the
|
|
4002
|
-
* <i>Amazon EventBridge User Guide</i>.</p>
|
|
4003
|
-
* <p>This value is only valid for rules on the <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is-how-it-works-concepts.html#eb-bus-concepts-buses">default</a> event bus
|
|
4004
|
-
* or <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-event-bus.html">custom event buses</a>.
|
|
4005
|
-
* It does not apply to <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html">partner event buses</a>.</p>
|
|
4006
|
-
* </li>
|
|
4007
|
-
* </ul>
|
|
3974
|
+
* <p>Indicates whether the rule is enabled or disabled.</p>
|
|
4008
3975
|
*/
|
|
4009
3976
|
State?: RuleState;
|
|
4010
3977
|
/**
|
|
@@ -4717,6 +4684,10 @@ export interface UpdateEndpointResponse {
|
|
|
4717
4684
|
*/
|
|
4718
4685
|
State?: EndpointState;
|
|
4719
4686
|
}
|
|
4687
|
+
/**
|
|
4688
|
+
* @internal
|
|
4689
|
+
*/
|
|
4690
|
+
export declare const AppSyncParametersFilterSensitiveLog: (obj: AppSyncParameters) => any;
|
|
4720
4691
|
/**
|
|
4721
4692
|
* @internal
|
|
4722
4693
|
*/
|
|
@@ -67,6 +67,9 @@ export interface ApiDestination {
|
|
|
67
67
|
CreationTime?: Date;
|
|
68
68
|
LastModifiedTime?: Date;
|
|
69
69
|
}
|
|
70
|
+
export interface AppSyncParameters {
|
|
71
|
+
GraphQLOperation?: string;
|
|
72
|
+
}
|
|
70
73
|
export declare const ArchiveState: {
|
|
71
74
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
72
75
|
readonly CREATING: "CREATING";
|
|
@@ -865,6 +868,7 @@ export interface Target {
|
|
|
865
868
|
SageMakerPipelineParameters?: SageMakerPipelineParameters;
|
|
866
869
|
DeadLetterConfig?: DeadLetterConfig;
|
|
867
870
|
RetryPolicy?: RetryPolicy;
|
|
871
|
+
AppSyncParameters?: AppSyncParameters;
|
|
868
872
|
}
|
|
869
873
|
export interface ListTargetsByRuleResponse {
|
|
870
874
|
Targets?: Target[];
|
|
@@ -1091,6 +1095,9 @@ export interface UpdateEndpointResponse {
|
|
|
1091
1095
|
EndpointUrl?: string;
|
|
1092
1096
|
State?: EndpointState;
|
|
1093
1097
|
}
|
|
1098
|
+
export declare const AppSyncParametersFilterSensitiveLog: (
|
|
1099
|
+
obj: AppSyncParameters
|
|
1100
|
+
) => any;
|
|
1094
1101
|
export declare const CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog: (
|
|
1095
1102
|
obj: CreateConnectionApiKeyAuthRequestParameters
|
|
1096
1103
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-eventbridge",
|
|
3
3
|
"description": "AWS SDK for JavaScript Eventbridge Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.490.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",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.490.0",
|
|
26
|
+
"@aws-sdk/core": "3.490.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.490.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.489.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.489.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.489.0",
|