aws-sdk-eventbridge 1.41.0 → 1.43.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eventbridge/client.rb +30 -17
- data/lib/aws-sdk-eventbridge/client_api.rb +5 -1
- data/lib/aws-sdk-eventbridge/endpoint_provider.rb +45 -42
- data/lib/aws-sdk-eventbridge/types.rb +82 -56
- data/lib/aws-sdk-eventbridge.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 247ecc34978753ea867bcdd2eca8169984a0c8606a273ceb964307b77b94a7f1
|
4
|
+
data.tar.gz: 2ac58b7d9f13df2b15ff6b2a93fe9dc9a356e18a6427e3fcf1e589ea221b9512
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4e7fd6373c0c5f8ce9f0ed1596948b93588cae35c592bfe489f47a786cbac20bcbd51dc5b0c523659f533fa3229885ac321699ff036348612971ffbd3f1806b
|
7
|
+
data.tar.gz: 5c734543ef6c57e232667f29073417bf3d59d0ffad248790b4359041c852ec3ccae2f1c8908edb5a33b0f7101fd543cd727a3315a71bf6a87e28d22e9f15282c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2023-04-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - EventBridge PutTarget support for multiple SQL arguments on RedshiftDataParameters
|
8
|
+
|
9
|
+
1.42.0 (2023-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Minor comments for Redshift Serverless workgroup target support.
|
13
|
+
|
4
14
|
1.41.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -561,6 +561,10 @@ module Aws::EventBridge
|
|
561
561
|
# @option params [required, String] :authorization_type
|
562
562
|
# The type of authorization to use for the connection.
|
563
563
|
#
|
564
|
+
# <note markdown="1"> OAUTH tokens are refreshed when a 401 or 407 response is returned.
|
565
|
+
#
|
566
|
+
# </note>
|
567
|
+
#
|
564
568
|
# @option params [required, Types::CreateConnectionAuthRequestParameters] :auth_parameters
|
565
569
|
# A `CreateConnectionAuthRequestParameters` object that contains the
|
566
570
|
# authorization parameters to use to authorize with the endpoint.
|
@@ -680,7 +684,10 @@ module Aws::EventBridge
|
|
680
684
|
# Region..
|
681
685
|
#
|
682
686
|
# @option params [Types::ReplicationConfig] :replication_config
|
683
|
-
# Enable or disable event replication.
|
687
|
+
# Enable or disable event replication. The default state is `ENABLED`
|
688
|
+
# which means you must supply a `RoleArn`. If you don't have a
|
689
|
+
# `RoleArn` or you don't want event replication enabled, set the state
|
690
|
+
# to `DISABLED`.
|
684
691
|
#
|
685
692
|
# @option params [required, Array<Types::EndpointEventBus>] :event_buses
|
686
693
|
# Define the event buses used.
|
@@ -755,12 +762,13 @@ module Aws::EventBridge
|
|
755
762
|
# @option params [required, String] :name
|
756
763
|
# The name of the new event bus.
|
757
764
|
#
|
758
|
-
#
|
759
|
-
#
|
760
|
-
#
|
765
|
+
# Custom event bus names can't contain the `/` character, but you can
|
766
|
+
# use the `/` character in partner event bus names. In addition, for
|
767
|
+
# partner event buses, the name must exactly match the name of the
|
768
|
+
# partner event source that this event bus is matched to.
|
761
769
|
#
|
762
|
-
#
|
763
|
-
#
|
770
|
+
# You can't use the name `default` for a custom event bus, as this name
|
771
|
+
# is already used for your account's default event bus.
|
764
772
|
#
|
765
773
|
# @option params [String] :event_source_name
|
766
774
|
# If you are creating a partner event bus, this specifies the partner
|
@@ -1888,7 +1896,7 @@ module Aws::EventBridge
|
|
1888
1896
|
#
|
1889
1897
|
# @option params [String] :next_token
|
1890
1898
|
# If `nextToken` is returned, there are more results available. The
|
1891
|
-
# value of nextToken is a unique pagination token for each page. Make
|
1899
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
1892
1900
|
# the call again using the returned token to retrieve the next page.
|
1893
1901
|
# Keep all other arguments unchanged. Each pagination token expires
|
1894
1902
|
# after 24 hours. Using an expired pagination token will return an HTTP
|
@@ -2423,6 +2431,8 @@ module Aws::EventBridge
|
|
2423
2431
|
# resp.targets[0].redshift_data_parameters.sql #=> String
|
2424
2432
|
# resp.targets[0].redshift_data_parameters.statement_name #=> String
|
2425
2433
|
# resp.targets[0].redshift_data_parameters.with_event #=> Boolean
|
2434
|
+
# resp.targets[0].redshift_data_parameters.sqls #=> Array
|
2435
|
+
# resp.targets[0].redshift_data_parameters.sqls[0] #=> String
|
2426
2436
|
# resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list #=> Array
|
2427
2437
|
# resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list[0].name #=> String
|
2428
2438
|
# resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list[0].value #=> String
|
@@ -2454,7 +2464,7 @@ module Aws::EventBridge
|
|
2454
2464
|
#
|
2455
2465
|
# @option params [String] :endpoint_id
|
2456
2466
|
# The URL subdomain of the endpoint. For example, if the URL for
|
2457
|
-
# Endpoint is abcde.veo.endpoints.event.amazonaws.com, then the
|
2467
|
+
# Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the
|
2458
2468
|
# EndpointId is `abcde.veo`.
|
2459
2469
|
#
|
2460
2470
|
# When using Java, you must include `auth-crt` on the class path.
|
@@ -2730,12 +2740,12 @@ module Aws::EventBridge
|
|
2730
2740
|
# "rate(5 minutes)".
|
2731
2741
|
#
|
2732
2742
|
# @option params [String] :event_pattern
|
2733
|
-
# The event pattern. For more information, see [EventBridge event
|
2743
|
+
# The event pattern. For more information, see [Amazon EventBridge event
|
2734
2744
|
# patterns][1] in the *Amazon EventBridge User Guide*.
|
2735
2745
|
#
|
2736
2746
|
#
|
2737
2747
|
#
|
2738
|
-
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html
|
2748
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html
|
2739
2749
|
#
|
2740
2750
|
# @option params [String] :state
|
2741
2751
|
# Indicates whether the rule is enabled or disabled.
|
@@ -2849,6 +2859,8 @@ module Aws::EventBridge
|
|
2849
2859
|
#
|
2850
2860
|
# * Redshift cluster
|
2851
2861
|
#
|
2862
|
+
# * Redshift Serverless workgroup
|
2863
|
+
#
|
2852
2864
|
# * SageMaker Pipeline
|
2853
2865
|
#
|
2854
2866
|
# * SNS topic
|
@@ -2878,10 +2890,10 @@ module Aws::EventBridge
|
|
2878
2890
|
# Amazon EventBridge needs the appropriate permissions. For Lambda and
|
2879
2891
|
# Amazon SNS resources, EventBridge relies on resource-based policies.
|
2880
2892
|
# For EC2 instances, Kinesis Data Streams, Step Functions state machines
|
2881
|
-
# and API Gateway
|
2882
|
-
#
|
2883
|
-
#
|
2884
|
-
#
|
2893
|
+
# and API Gateway APIs, EventBridge relies on IAM roles that you specify
|
2894
|
+
# in the `RoleARN` argument in `PutTargets`. For more information, see
|
2895
|
+
# [Authentication and Access Control][6] in the *Amazon EventBridge User
|
2896
|
+
# Guide*.
|
2885
2897
|
#
|
2886
2898
|
# If another Amazon Web Services account is in the same region and has
|
2887
2899
|
# granted you permission (using `PutPermission`), you can send events to
|
@@ -3068,9 +3080,10 @@ module Aws::EventBridge
|
|
3068
3080
|
# secret_manager_arn: "RedshiftSecretManagerArn",
|
3069
3081
|
# database: "Database", # required
|
3070
3082
|
# db_user: "DbUser",
|
3071
|
-
# sql: "Sql",
|
3083
|
+
# sql: "Sql",
|
3072
3084
|
# statement_name: "StatementName",
|
3073
3085
|
# with_event: false,
|
3086
|
+
# sqls: ["Sql"],
|
3074
3087
|
# },
|
3075
3088
|
# sage_maker_pipeline_parameters: {
|
3076
3089
|
# pipeline_parameter_list: [
|
@@ -3649,7 +3662,7 @@ module Aws::EventBridge
|
|
3649
3662
|
#
|
3650
3663
|
# @option params [Types::RoutingConfig] :routing_config
|
3651
3664
|
# Configure the routing policy, including the health check and secondary
|
3652
|
-
# Region
|
3665
|
+
# Region.
|
3653
3666
|
#
|
3654
3667
|
# @option params [Types::ReplicationConfig] :replication_config
|
3655
3668
|
# Whether event replication was enabled or disabled by this request.
|
@@ -3734,7 +3747,7 @@ module Aws::EventBridge
|
|
3734
3747
|
params: params,
|
3735
3748
|
config: config)
|
3736
3749
|
context[:gem_name] = 'aws-sdk-eventbridge'
|
3737
|
-
context[:gem_version] = '1.
|
3750
|
+
context[:gem_version] = '1.43.0'
|
3738
3751
|
Seahorse::Client::Request.new(handlers, context)
|
3739
3752
|
end
|
3740
3753
|
|
@@ -301,6 +301,7 @@ module Aws::EventBridge
|
|
301
301
|
Secondary = Shapes::StructureShape.new(name: 'Secondary')
|
302
302
|
SecretsManagerSecretArn = Shapes::StringShape.new(name: 'SecretsManagerSecretArn')
|
303
303
|
Sql = Shapes::StringShape.new(name: 'Sql')
|
304
|
+
Sqls = Shapes::ListShape.new(name: 'Sqls')
|
304
305
|
SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
|
305
306
|
StartReplayRequest = Shapes::StructureShape.new(name: 'StartReplayRequest')
|
306
307
|
StartReplayResponse = Shapes::StructureShape.new(name: 'StartReplayResponse')
|
@@ -1094,9 +1095,10 @@ module Aws::EventBridge
|
|
1094
1095
|
RedshiftDataParameters.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: RedshiftSecretManagerArn, location_name: "SecretManagerArn"))
|
1095
1096
|
RedshiftDataParameters.add_member(:database, Shapes::ShapeRef.new(shape: Database, required: true, location_name: "Database"))
|
1096
1097
|
RedshiftDataParameters.add_member(:db_user, Shapes::ShapeRef.new(shape: DbUser, location_name: "DbUser"))
|
1097
|
-
RedshiftDataParameters.add_member(:sql, Shapes::ShapeRef.new(shape: Sql,
|
1098
|
+
RedshiftDataParameters.add_member(:sql, Shapes::ShapeRef.new(shape: Sql, location_name: "Sql"))
|
1098
1099
|
RedshiftDataParameters.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, location_name: "StatementName"))
|
1099
1100
|
RedshiftDataParameters.add_member(:with_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithEvent"))
|
1101
|
+
RedshiftDataParameters.add_member(:sqls, Shapes::ShapeRef.new(shape: Sqls, location_name: "Sqls"))
|
1100
1102
|
RedshiftDataParameters.struct_class = Types::RedshiftDataParameters
|
1101
1103
|
|
1102
1104
|
RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, location_name: "StatementId"))
|
@@ -1192,6 +1194,8 @@ module Aws::EventBridge
|
|
1192
1194
|
Secondary.add_member(:route, Shapes::ShapeRef.new(shape: Route, required: true, location_name: "Route"))
|
1193
1195
|
Secondary.struct_class = Types::Secondary
|
1194
1196
|
|
1197
|
+
Sqls.member = Shapes::ShapeRef.new(shape: Sql)
|
1198
|
+
|
1195
1199
|
SqsParameters.add_member(:message_group_id, Shapes::ShapeRef.new(shape: MessageGroupId, location_name: "MessageGroupId"))
|
1196
1200
|
SqsParameters.struct_class = Types::SqsParameters
|
1197
1201
|
|
@@ -15,60 +15,63 @@ module Aws::EventBridge
|
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
17
|
endpoint_id = parameters.endpoint_id
|
18
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
19
|
-
if Aws::Endpoints::Matchers.
|
20
|
-
if Aws::Endpoints::Matchers.
|
21
|
-
if Aws::Endpoints::Matchers.
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
26
|
-
|
27
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{endpoint_id}.endpoint.events.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingRegionSet"=>["*"], "signingName"=>"events"}]})
|
28
|
-
end
|
29
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint_id) && Aws::Endpoints::Matchers.set?(region) && (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
19
|
+
if Aws::Endpoints::Matchers.valid_host_label?(endpoint_id, true)
|
20
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false)
|
21
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
22
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"events", "signingRegionSet"=>["*"]}]})
|
23
|
+
end
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
25
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
26
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{endpoint_id}.endpoint.events.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"events", "signingRegionSet"=>["*"]}]})
|
30
27
|
end
|
31
|
-
|
28
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
32
29
|
end
|
33
|
-
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{endpoint_id}.endpoint.events.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"events", "signingRegionSet"=>["*"]}]})
|
34
31
|
end
|
35
|
-
raise ArgumentError, "
|
32
|
+
raise ArgumentError, "Invalid Configuration: FIPS is not supported with EventBridge multi-region endpoints."
|
36
33
|
end
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
43
|
-
end
|
44
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
34
|
+
raise ArgumentError, "EndpointId must be a valid host label."
|
35
|
+
end
|
36
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
37
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
38
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
45
39
|
end
|
46
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
47
|
-
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://events-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
49
|
-
end
|
50
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
51
42
|
end
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
43
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
44
|
+
end
|
45
|
+
if Aws::Endpoints::Matchers.set?(region)
|
46
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
47
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
48
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://events-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
56
50
|
end
|
57
|
-
|
58
|
-
|
51
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
52
|
+
end
|
53
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
54
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
55
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
|
56
|
+
return Aws::Endpoints::Endpoint.new(url: "https://events.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
|
57
|
+
end
|
58
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
59
|
+
return Aws::Endpoints::Endpoint.new(url: "https://events.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
60
|
+
end
|
61
|
+
return Aws::Endpoints::Endpoint.new(url: "https://events-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
59
62
|
end
|
60
|
-
|
63
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
61
64
|
end
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
65
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
66
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
67
|
+
return Aws::Endpoints::Endpoint.new(url: "https://events.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
68
|
+
end
|
69
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
67
70
|
end
|
68
|
-
|
71
|
+
return Aws::Endpoints::Endpoint.new(url: "https://events.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
69
72
|
end
|
70
|
-
return Aws::Endpoints::Endpoint.new(url: "https://events.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
71
73
|
end
|
74
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
72
75
|
raise ArgumentError, 'No endpoint could be resolved'
|
73
76
|
|
74
77
|
end
|
@@ -316,7 +316,7 @@ module Aws::EventBridge
|
|
316
316
|
# the only supported condition is membership in a certain Amazon Web
|
317
317
|
# Services organization. The string must contain `Type`, `Key`, and
|
318
318
|
# `Value` fields. The `Value` field specifies the ID of the Amazon Web
|
319
|
-
# Services organization. Following is an example value for `Condition
|
319
|
+
# Services organization. Following is an example value for `Condition`:
|
320
320
|
#
|
321
321
|
# `'\{"Type" : "StringEquals", "Key": "aws:PrincipalOrgID", "Value":
|
322
322
|
# "o-1234567890"\}'`
|
@@ -366,6 +366,10 @@ module Aws::EventBridge
|
|
366
366
|
#
|
367
367
|
# @!attribute [rw] authorization_type
|
368
368
|
# The authorization type specified for the connection.
|
369
|
+
#
|
370
|
+
# <note markdown="1"> OAUTH tokens are refreshed when a 401 or 407 response is returned.
|
371
|
+
#
|
372
|
+
# </note>
|
369
373
|
# @return [String]
|
370
374
|
#
|
371
375
|
# @!attribute [rw] creation_time
|
@@ -874,6 +878,10 @@ module Aws::EventBridge
|
|
874
878
|
#
|
875
879
|
# @!attribute [rw] authorization_type
|
876
880
|
# The type of authorization to use for the connection.
|
881
|
+
#
|
882
|
+
# <note markdown="1"> OAUTH tokens are refreshed when a 401 or 407 response is returned.
|
883
|
+
#
|
884
|
+
# </note>
|
877
885
|
# @return [String]
|
878
886
|
#
|
879
887
|
# @!attribute [rw] auth_parameters
|
@@ -934,7 +942,10 @@ module Aws::EventBridge
|
|
934
942
|
# @return [Types::RoutingConfig]
|
935
943
|
#
|
936
944
|
# @!attribute [rw] replication_config
|
937
|
-
# Enable or disable event replication.
|
945
|
+
# Enable or disable event replication. The default state is `ENABLED`
|
946
|
+
# which means you must supply a `RoleArn`. If you don't have a
|
947
|
+
# `RoleArn` or you don't want event replication enabled, set the
|
948
|
+
# state to `DISABLED`.
|
938
949
|
# @return [Types::ReplicationConfig]
|
939
950
|
#
|
940
951
|
# @!attribute [rw] event_buses
|
@@ -1005,12 +1016,13 @@ module Aws::EventBridge
|
|
1005
1016
|
# @!attribute [rw] name
|
1006
1017
|
# The name of the new event bus.
|
1007
1018
|
#
|
1008
|
-
#
|
1009
|
-
#
|
1010
|
-
#
|
1019
|
+
# Custom event bus names can't contain the `/` character, but you can
|
1020
|
+
# use the `/` character in partner event bus names. In addition, for
|
1021
|
+
# partner event buses, the name must exactly match the name of the
|
1022
|
+
# partner event source that this event bus is matched to.
|
1011
1023
|
#
|
1012
|
-
#
|
1013
|
-
#
|
1024
|
+
# You can't use the name `default` for a custom event bus, as this
|
1025
|
+
# name is already used for your account's default event bus.
|
1014
1026
|
# @return [String]
|
1015
1027
|
#
|
1016
1028
|
# @!attribute [rw] event_source_name
|
@@ -2089,11 +2101,11 @@ module Aws::EventBridge
|
|
2089
2101
|
include Aws::Structure
|
2090
2102
|
end
|
2091
2103
|
|
2092
|
-
#
|
2104
|
+
# A global endpoint used to improve your application's availability by
|
2093
2105
|
# making it regional-fault tolerant. For more information about global
|
2094
2106
|
# endpoints, see [Making applications Regional-fault tolerant with
|
2095
2107
|
# global endpoints and event replication][1] in the Amazon EventBridge
|
2096
|
-
# User Guide
|
2108
|
+
# User Guide.
|
2097
2109
|
#
|
2098
2110
|
#
|
2099
2111
|
#
|
@@ -2117,6 +2129,9 @@ module Aws::EventBridge
|
|
2117
2129
|
#
|
2118
2130
|
# @!attribute [rw] replication_config
|
2119
2131
|
# Whether event replication was enabled or disabled for this endpoint.
|
2132
|
+
# The default state is `ENABLED` which means you must supply a
|
2133
|
+
# `RoleArn`. If you don't have a `RoleArn` or you don't want event
|
2134
|
+
# replication enabled, set the state to `DISABLED`.
|
2120
2135
|
# @return [Types::ReplicationConfig]
|
2121
2136
|
#
|
2122
2137
|
# @!attribute [rw] event_buses
|
@@ -2129,8 +2144,8 @@ module Aws::EventBridge
|
|
2129
2144
|
#
|
2130
2145
|
# @!attribute [rw] endpoint_id
|
2131
2146
|
# The URL subdomain of the endpoint. For example, if the URL for
|
2132
|
-
# Endpoint is abcde.veo.endpoints.event.amazonaws.com, then
|
2133
|
-
# EndpointId is `abcde.veo`.
|
2147
|
+
# Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then
|
2148
|
+
# the EndpointId is `abcde.veo`.
|
2134
2149
|
# @return [String]
|
2135
2150
|
#
|
2136
2151
|
# @!attribute [rw] endpoint_url
|
@@ -2187,13 +2202,13 @@ module Aws::EventBridge
|
|
2187
2202
|
include Aws::Structure
|
2188
2203
|
end
|
2189
2204
|
|
2190
|
-
# An event bus receives events from a source
|
2191
|
-
#
|
2192
|
-
#
|
2193
|
-
#
|
2194
|
-
#
|
2195
|
-
#
|
2196
|
-
# applications.
|
2205
|
+
# An event bus receives events from a source, uses rules to evaluate
|
2206
|
+
# them, applies any configured input transformation, and routes them to
|
2207
|
+
# the appropriate target(s). Your account's default event bus receives
|
2208
|
+
# events from Amazon Web Services services. A custom event bus can
|
2209
|
+
# receive events from your custom applications and services. A partner
|
2210
|
+
# event bus receives events from an event source created by an SaaS
|
2211
|
+
# partner. These events come from the partners services or applications.
|
2197
2212
|
#
|
2198
2213
|
# @!attribute [rw] name
|
2199
2214
|
# The name of the event bus.
|
@@ -2288,23 +2303,23 @@ module Aws::EventBridge
|
|
2288
2303
|
end
|
2289
2304
|
|
2290
2305
|
# These are custom parameter to be used when the target is an API
|
2291
|
-
# Gateway
|
2292
|
-
#
|
2293
|
-
#
|
2306
|
+
# Gateway APIs or EventBridge ApiDestinations. In the latter case, these
|
2307
|
+
# are merged with any InvocationParameters specified on the Connection,
|
2308
|
+
# with any values from the Connection taking precedence.
|
2294
2309
|
#
|
2295
2310
|
# @!attribute [rw] path_parameter_values
|
2296
|
-
# The path parameter values to be used to populate API Gateway
|
2297
|
-
#
|
2311
|
+
# The path parameter values to be used to populate API Gateway API or
|
2312
|
+
# EventBridge ApiDestination path wildcards ("*").
|
2298
2313
|
# @return [Array<String>]
|
2299
2314
|
#
|
2300
2315
|
# @!attribute [rw] header_parameters
|
2301
2316
|
# The headers that need to be sent as part of request invoking the API
|
2302
|
-
# Gateway
|
2317
|
+
# Gateway API or EventBridge ApiDestination.
|
2303
2318
|
# @return [Hash<String,String>]
|
2304
2319
|
#
|
2305
2320
|
# @!attribute [rw] query_string_parameters
|
2306
2321
|
# The query string keys/values that need to be sent as part of request
|
2307
|
-
# invoking the API Gateway
|
2322
|
+
# invoking the API Gateway API or EventBridge ApiDestination.
|
2308
2323
|
# @return [Hash<String,String>]
|
2309
2324
|
#
|
2310
2325
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/HttpParameters AWS API Documentation
|
@@ -2343,7 +2358,7 @@ module Aws::EventBridge
|
|
2343
2358
|
# Input template where you specify placeholders that will be filled
|
2344
2359
|
# with the values of the keys from `InputPathsMap` to customize the
|
2345
2360
|
# data sent to the target. Enclose each `InputPathsMaps` value in
|
2346
|
-
# brackets: <*value*>
|
2361
|
+
# brackets: <*value*>
|
2347
2362
|
#
|
2348
2363
|
# If `InputTemplate` is a JSON object (surrounded by curly braces),
|
2349
2364
|
# the following restrictions apply:
|
@@ -2616,11 +2631,11 @@ module Aws::EventBridge
|
|
2616
2631
|
#
|
2617
2632
|
# @!attribute [rw] next_token
|
2618
2633
|
# If `nextToken` is returned, there are more results available. The
|
2619
|
-
# value of nextToken is a unique pagination token for each page.
|
2620
|
-
# the call again using the returned token to retrieve the next
|
2621
|
-
# Keep all other arguments unchanged. Each pagination token
|
2622
|
-
# after 24 hours. Using an expired pagination token will
|
2623
|
-
# HTTP 400 InvalidToken error.
|
2634
|
+
# value of `nextToken` is a unique pagination token for each page.
|
2635
|
+
# Make the call again using the returned token to retrieve the next
|
2636
|
+
# page. Keep all other arguments unchanged. Each pagination token
|
2637
|
+
# expires after 24 hours. Using an expired pagination token will
|
2638
|
+
# return an HTTP 400 InvalidToken error.
|
2624
2639
|
# @return [String]
|
2625
2640
|
#
|
2626
2641
|
# @!attribute [rw] max_results
|
@@ -2644,11 +2659,11 @@ module Aws::EventBridge
|
|
2644
2659
|
#
|
2645
2660
|
# @!attribute [rw] next_token
|
2646
2661
|
# If `nextToken` is returned, there are more results available. The
|
2647
|
-
# value of nextToken is a unique pagination token for each page.
|
2648
|
-
# the call again using the returned token to retrieve the next
|
2649
|
-
# Keep all other arguments unchanged. Each pagination token
|
2650
|
-
# after 24 hours. Using an expired pagination token will
|
2651
|
-
# HTTP 400 InvalidToken error.
|
2662
|
+
# value of `nextToken` is a unique pagination token for each page.
|
2663
|
+
# Make the call again using the returned token to retrieve the next
|
2664
|
+
# page. Keep all other arguments unchanged. Each pagination token
|
2665
|
+
# expires after 24 hours. Using an expired pagination token will
|
2666
|
+
# return an HTTP 400 InvalidToken error.
|
2652
2667
|
# @return [String]
|
2653
2668
|
#
|
2654
2669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListEndpointsResponse AWS API Documentation
|
@@ -3252,8 +3267,8 @@ module Aws::EventBridge
|
|
3252
3267
|
#
|
3253
3268
|
# @!attribute [rw] endpoint_id
|
3254
3269
|
# The URL subdomain of the endpoint. For example, if the URL for
|
3255
|
-
# Endpoint is abcde.veo.endpoints.event.amazonaws.com, then
|
3256
|
-
# EndpointId is `abcde.veo`.
|
3270
|
+
# Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then
|
3271
|
+
# the EndpointId is `abcde.veo`.
|
3257
3272
|
#
|
3258
3273
|
# When using Java, you must include `auth-crt` on the class path.
|
3259
3274
|
# @return [String]
|
@@ -3290,8 +3305,8 @@ module Aws::EventBridge
|
|
3290
3305
|
# @return [Array<String>]
|
3291
3306
|
#
|
3292
3307
|
# @!attribute [rw] detail_type
|
3293
|
-
# Free-form string
|
3294
|
-
# detail.
|
3308
|
+
# Free-form string, with a maximum of 128 characters, used to decide
|
3309
|
+
# what fields to expect in the event detail.
|
3295
3310
|
# @return [String]
|
3296
3311
|
#
|
3297
3312
|
# @!attribute [rw] detail
|
@@ -3348,6 +3363,9 @@ module Aws::EventBridge
|
|
3348
3363
|
# ingestion was successful, the entry has the event ID in it.
|
3349
3364
|
# Otherwise, you can use the error code and error message to identify
|
3350
3365
|
# the problem with the entry.
|
3366
|
+
#
|
3367
|
+
# For each record, the index of the response element is the same as
|
3368
|
+
# the index in the request array.
|
3351
3369
|
# @return [Array<Types::PutEventsResultEntry>]
|
3352
3370
|
#
|
3353
3371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutEventsResponse AWS API Documentation
|
@@ -3417,8 +3435,8 @@ module Aws::EventBridge
|
|
3417
3435
|
# @return [Array<String>]
|
3418
3436
|
#
|
3419
3437
|
# @!attribute [rw] detail_type
|
3420
|
-
# A free-form string
|
3421
|
-
# detail.
|
3438
|
+
# A free-form string, with a maximum of 128 characters, used to decide
|
3439
|
+
# what fields to expect in the event detail.
|
3422
3440
|
# @return [String]
|
3423
3441
|
#
|
3424
3442
|
# @!attribute [rw] detail
|
@@ -3567,12 +3585,12 @@ module Aws::EventBridge
|
|
3567
3585
|
# @return [String]
|
3568
3586
|
#
|
3569
3587
|
# @!attribute [rw] event_pattern
|
3570
|
-
# The event pattern. For more information, see [EventBridge
|
3571
|
-
# patterns][1] in the *Amazon EventBridge User Guide*.
|
3588
|
+
# The event pattern. For more information, see [Amazon EventBridge
|
3589
|
+
# event patterns][1] in the *Amazon EventBridge User Guide*.
|
3572
3590
|
#
|
3573
3591
|
#
|
3574
3592
|
#
|
3575
|
-
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html
|
3593
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html
|
3576
3594
|
# @return [String]
|
3577
3595
|
#
|
3578
3596
|
# @!attribute [rw] state
|
@@ -3697,8 +3715,8 @@ module Aws::EventBridge
|
|
3697
3715
|
end
|
3698
3716
|
|
3699
3717
|
# These are custom parameters to be used when the target is a Amazon
|
3700
|
-
# Redshift cluster to invoke the Amazon
|
3701
|
-
# ExecuteStatement based on EventBridge events.
|
3718
|
+
# Redshift cluster or Redshift Serverless workgroup to invoke the Amazon
|
3719
|
+
# Redshift Data API ExecuteStatement based on EventBridge events.
|
3702
3720
|
#
|
3703
3721
|
# @!attribute [rw] secret_manager_arn
|
3704
3722
|
# The name or ARN of the secret that enables access to the database.
|
@@ -3714,6 +3732,9 @@ module Aws::EventBridge
|
|
3714
3732
|
# @!attribute [rw] db_user
|
3715
3733
|
# The database user name. Required when authenticating using temporary
|
3716
3734
|
# credentials.
|
3735
|
+
#
|
3736
|
+
# Do not provide this parameter when connecting to a Redshift
|
3737
|
+
# Serverless workgroup.
|
3717
3738
|
# @return [String]
|
3718
3739
|
#
|
3719
3740
|
# @!attribute [rw] sql
|
@@ -3730,6 +3751,10 @@ module Aws::EventBridge
|
|
3730
3751
|
# statement runs.
|
3731
3752
|
# @return [Boolean]
|
3732
3753
|
#
|
3754
|
+
# @!attribute [rw] sqls
|
3755
|
+
# A list of SQLs.
|
3756
|
+
# @return [Array<String>]
|
3757
|
+
#
|
3733
3758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/RedshiftDataParameters AWS API Documentation
|
3734
3759
|
#
|
3735
3760
|
class RedshiftDataParameters < Struct.new(
|
@@ -3738,8 +3763,9 @@ module Aws::EventBridge
|
|
3738
3763
|
:db_user,
|
3739
3764
|
:sql,
|
3740
3765
|
:statement_name,
|
3741
|
-
:with_event
|
3742
|
-
|
3766
|
+
:with_event,
|
3767
|
+
:sqls)
|
3768
|
+
SENSITIVE = [:sql, :sqls]
|
3743
3769
|
include Aws::Structure
|
3744
3770
|
end
|
3745
3771
|
|
@@ -4325,9 +4351,9 @@ module Aws::EventBridge
|
|
4325
4351
|
#
|
4326
4352
|
# @!attribute [rw] input_path
|
4327
4353
|
# The value of the JSONPath that is used for extracting part of the
|
4328
|
-
# matched event when passing it to the target. You
|
4329
|
-
# notation
|
4330
|
-
#
|
4354
|
+
# matched event when passing it to the target. You may use JSON dot
|
4355
|
+
# notation or bracket notation. For more information about JSON paths,
|
4356
|
+
# see [JSONPath][1].
|
4331
4357
|
#
|
4332
4358
|
#
|
4333
4359
|
#
|
@@ -4383,10 +4409,10 @@ module Aws::EventBridge
|
|
4383
4409
|
#
|
4384
4410
|
# @!attribute [rw] http_parameters
|
4385
4411
|
# Contains the HTTP parameters to use when the target is a API Gateway
|
4386
|
-
#
|
4412
|
+
# endpoint or EventBridge ApiDestination.
|
4387
4413
|
#
|
4388
|
-
# If you specify an API Gateway
|
4389
|
-
#
|
4414
|
+
# If you specify an API Gateway API or EventBridge ApiDestination as a
|
4415
|
+
# target, you can use this parameter to specify headers, path
|
4390
4416
|
# parameters, and query string keys/values as part of your target
|
4391
4417
|
# invoking request. If you're using ApiDestinations, the
|
4392
4418
|
# corresponding Connection can also have these values configured. In
|
@@ -4836,7 +4862,7 @@ module Aws::EventBridge
|
|
4836
4862
|
#
|
4837
4863
|
# @!attribute [rw] routing_config
|
4838
4864
|
# Configure the routing policy, including the health check and
|
4839
|
-
# secondary Region
|
4865
|
+
# secondary Region.
|
4840
4866
|
# @return [Types::RoutingConfig]
|
4841
4867
|
#
|
4842
4868
|
# @!attribute [rw] replication_config
|
data/lib/aws-sdk-eventbridge.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-eventbridge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|