aws-sdk-eventbridge 1.13.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bda78cb8b309a4b56b74ce3ab822f85990320d71cd46b0909926dcb85c8457da
4
- data.tar.gz: 54d4b22bfd3ceaa8f2cec8845b65046235222321c4423409d15062f29232e40a
3
+ metadata.gz: 6a8a575a0d1f759e9150f3ddedf354ec9f23cf9d1639bb862f4f23c89dc33f8e
4
+ data.tar.gz: 4dd8ea9be418506c884fe497e56275ee96f6d8dfb3d2a0e4a8891d79563ec4f7
5
5
  SHA512:
6
- metadata.gz: d8c31936d36181790a768ce33430fed6fdf6d6617f08e0fd386c9d98340dadf623327ea922986ce2f4fed52d049fb726cfdcb873c15d918fa6728925ce4acc7e
7
- data.tar.gz: dc55f541ec8c4f0c94905de7cfd2bbb68765b6b2acb8b7546238d75165028ae6a3e77db6f534b0b2c6e6ffc9040135ca30af845a462edc8ff7d0ce50b37e971c
6
+ metadata.gz: 1bdae47aa10b8086cc46403fcfac7f512e8e5042f6739cbd39cb2607d6d14f37f2badf5d31081afbe5febcc0aadddc4896e97779806f4782ca61a76584a7a434
7
+ data.tar.gz: 9a8a2d5c8452b44a864c2c9619ff2ac453080bca1c0e31079c9615c3969c1a53e504e138365f3d5582a88d21c550aa59bbaa1a34bf9a4ee7bbe8abc04c37b404
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-eventbridge/customizations'
48
48
  # @!group service
49
49
  module Aws::EventBridge
50
50
 
51
- GEM_VERSION = '1.13.0'
51
+ GEM_VERSION = '1.14.0'
52
52
 
53
53
  end
@@ -1231,6 +1231,12 @@ module Aws::EventBridge
1231
1231
  # resp.targets[0].http_parameters.header_parameters["HeaderKey"] #=> String
1232
1232
  # resp.targets[0].http_parameters.query_string_parameters #=> Hash
1233
1233
  # resp.targets[0].http_parameters.query_string_parameters["QueryStringKey"] #=> String
1234
+ # resp.targets[0].redshift_data_parameters.secret_manager_arn #=> String
1235
+ # resp.targets[0].redshift_data_parameters.database #=> String
1236
+ # resp.targets[0].redshift_data_parameters.db_user #=> String
1237
+ # resp.targets[0].redshift_data_parameters.sql #=> String
1238
+ # resp.targets[0].redshift_data_parameters.statement_name #=> String
1239
+ # resp.targets[0].redshift_data_parameters.with_event #=> Boolean
1234
1240
  # resp.next_token #=> String
1235
1241
  #
1236
1242
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListTargetsByRule AWS API Documentation
@@ -1597,6 +1603,8 @@ module Aws::EventBridge
1597
1603
  #
1598
1604
  # * Amazon API Gateway REST APIs
1599
1605
  #
1606
+ # * Redshift Clusters to invoke Data API ExecuteStatement on
1607
+ #
1600
1608
  # Creating rules with built-in targets is supported only in the AWS
1601
1609
  # Management Console. The built-in targets are `EC2 CreateSnapshot API
1602
1610
  # call`, `EC2 RebootInstances API call`, `EC2 StopInstances API call`,
@@ -1762,6 +1770,14 @@ module Aws::EventBridge
1762
1770
  # "QueryStringKey" => "QueryStringValue",
1763
1771
  # },
1764
1772
  # },
1773
+ # redshift_data_parameters: {
1774
+ # secret_manager_arn: "RedshiftSecretManagerArn",
1775
+ # database: "Database", # required
1776
+ # db_user: "DbUser",
1777
+ # sql: "Sql", # required
1778
+ # statement_name: "StatementName",
1779
+ # with_event: false,
1780
+ # },
1765
1781
  # },
1766
1782
  # ],
1767
1783
  # })
@@ -2004,7 +2020,7 @@ module Aws::EventBridge
2004
2020
  params: params,
2005
2021
  config: config)
2006
2022
  context[:gem_name] = 'aws-sdk-eventbridge'
2007
- context[:gem_version] = '1.13.0'
2023
+ context[:gem_version] = '1.14.0'
2008
2024
  Seahorse::Client::Request.new(handlers, context)
2009
2025
  end
2010
2026
 
@@ -29,6 +29,8 @@ module Aws::EventBridge
29
29
  CreateEventBusResponse = Shapes::StructureShape.new(name: 'CreateEventBusResponse')
30
30
  CreatePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceRequest')
31
31
  CreatePartnerEventSourceResponse = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceResponse')
32
+ Database = Shapes::StringShape.new(name: 'Database')
33
+ DbUser = Shapes::StringShape.new(name: 'DbUser')
32
34
  DeactivateEventSourceRequest = Shapes::StructureShape.new(name: 'DeactivateEventSourceRequest')
33
35
  DeleteEventBusRequest = Shapes::StructureShape.new(name: 'DeleteEventBusRequest')
34
36
  DeletePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DeletePartnerEventSourceRequest')
@@ -128,6 +130,8 @@ module Aws::EventBridge
128
130
  QueryStringKey = Shapes::StringShape.new(name: 'QueryStringKey')
129
131
  QueryStringParametersMap = Shapes::MapShape.new(name: 'QueryStringParametersMap')
130
132
  QueryStringValue = Shapes::StringShape.new(name: 'QueryStringValue')
133
+ RedshiftDataParameters = Shapes::StructureShape.new(name: 'RedshiftDataParameters')
134
+ RedshiftSecretManagerArn = Shapes::StringShape.new(name: 'RedshiftSecretManagerArn')
131
135
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
132
136
  RemoveTargetsRequest = Shapes::StructureShape.new(name: 'RemoveTargetsRequest')
133
137
  RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
@@ -150,8 +154,10 @@ module Aws::EventBridge
150
154
  RunCommandTargetValues = Shapes::ListShape.new(name: 'RunCommandTargetValues')
151
155
  RunCommandTargets = Shapes::ListShape.new(name: 'RunCommandTargets')
152
156
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
157
+ Sql = Shapes::StringShape.new(name: 'Sql')
153
158
  SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
154
159
  StatementId = Shapes::StringShape.new(name: 'StatementId')
160
+ StatementName = Shapes::StringShape.new(name: 'StatementName')
155
161
  String = Shapes::StringShape.new(name: 'String')
156
162
  StringList = Shapes::ListShape.new(name: 'StringList')
157
163
  Tag = Shapes::StructureShape.new(name: 'Tag')
@@ -516,6 +522,14 @@ module Aws::EventBridge
516
522
  QueryStringParametersMap.key = Shapes::ShapeRef.new(shape: QueryStringKey)
517
523
  QueryStringParametersMap.value = Shapes::ShapeRef.new(shape: QueryStringValue)
518
524
 
525
+ RedshiftDataParameters.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: RedshiftSecretManagerArn, location_name: "SecretManagerArn"))
526
+ RedshiftDataParameters.add_member(:database, Shapes::ShapeRef.new(shape: Database, required: true, location_name: "Database"))
527
+ RedshiftDataParameters.add_member(:db_user, Shapes::ShapeRef.new(shape: DbUser, location_name: "DbUser"))
528
+ RedshiftDataParameters.add_member(:sql, Shapes::ShapeRef.new(shape: Sql, required: true, location_name: "Sql"))
529
+ RedshiftDataParameters.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, location_name: "StatementName"))
530
+ RedshiftDataParameters.add_member(:with_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithEvent"))
531
+ RedshiftDataParameters.struct_class = Types::RedshiftDataParameters
532
+
519
533
  RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
520
534
  RemovePermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
521
535
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
@@ -598,6 +612,7 @@ module Aws::EventBridge
598
612
  Target.add_member(:batch_parameters, Shapes::ShapeRef.new(shape: BatchParameters, location_name: "BatchParameters"))
599
613
  Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
600
614
  Target.add_member(:http_parameters, Shapes::ShapeRef.new(shape: HttpParameters, location_name: "HttpParameters"))
615
+ Target.add_member(:redshift_data_parameters, Shapes::ShapeRef.new(shape: RedshiftDataParameters, location_name: "RedshiftDataParameters"))
601
616
  Target.struct_class = Types::Target
602
617
 
603
618
  TargetIdList.member = Shapes::ShapeRef.new(shape: TargetId)
@@ -2047,6 +2047,14 @@ module Aws::EventBridge
2047
2047
  # "QueryStringKey" => "QueryStringValue",
2048
2048
  # },
2049
2049
  # },
2050
+ # redshift_data_parameters: {
2051
+ # secret_manager_arn: "RedshiftSecretManagerArn",
2052
+ # database: "Database", # required
2053
+ # db_user: "DbUser",
2054
+ # sql: "Sql", # required
2055
+ # statement_name: "StatementName",
2056
+ # with_event: false,
2057
+ # },
2050
2058
  # },
2051
2059
  # ],
2052
2060
  # }
@@ -2117,6 +2125,64 @@ module Aws::EventBridge
2117
2125
  include Aws::Structure
2118
2126
  end
2119
2127
 
2128
+ # These are custom parameters to be used when the target is a Redshift
2129
+ # cluster to invoke the Redshift Data API ExecuteStatement based on
2130
+ # EventBridge events.
2131
+ #
2132
+ # @note When making an API call, you may pass RedshiftDataParameters
2133
+ # data as a hash:
2134
+ #
2135
+ # {
2136
+ # secret_manager_arn: "RedshiftSecretManagerArn",
2137
+ # database: "Database", # required
2138
+ # db_user: "DbUser",
2139
+ # sql: "Sql", # required
2140
+ # statement_name: "StatementName",
2141
+ # with_event: false,
2142
+ # }
2143
+ #
2144
+ # @!attribute [rw] secret_manager_arn
2145
+ # The name or ARN of the secret that enables access to the database.
2146
+ # Required when authenticating using AWS Secrets Manager.
2147
+ # @return [String]
2148
+ #
2149
+ # @!attribute [rw] database
2150
+ # The name of the database. Required when authenticating using
2151
+ # temporary credentials.
2152
+ # @return [String]
2153
+ #
2154
+ # @!attribute [rw] db_user
2155
+ # The database user name. Required when authenticating using temporary
2156
+ # credentials.
2157
+ # @return [String]
2158
+ #
2159
+ # @!attribute [rw] sql
2160
+ # The SQL statement text to run.
2161
+ # @return [String]
2162
+ #
2163
+ # @!attribute [rw] statement_name
2164
+ # The name of the SQL statement. You can name the SQL statement when
2165
+ # you create it to identify the query.
2166
+ # @return [String]
2167
+ #
2168
+ # @!attribute [rw] with_event
2169
+ # Indicates whether to send an event back to EventBridge after the SQL
2170
+ # statement runs.
2171
+ # @return [Boolean]
2172
+ #
2173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/RedshiftDataParameters AWS API Documentation
2174
+ #
2175
+ class RedshiftDataParameters < Struct.new(
2176
+ :secret_manager_arn,
2177
+ :database,
2178
+ :db_user,
2179
+ :sql,
2180
+ :statement_name,
2181
+ :with_event)
2182
+ SENSITIVE = []
2183
+ include Aws::Structure
2184
+ end
2185
+
2120
2186
  # @note When making an API call, you may pass RemovePermissionRequest
2121
2187
  # data as a hash:
2122
2188
  #
@@ -2524,6 +2590,14 @@ module Aws::EventBridge
2524
2590
  # "QueryStringKey" => "QueryStringValue",
2525
2591
  # },
2526
2592
  # },
2593
+ # redshift_data_parameters: {
2594
+ # secret_manager_arn: "RedshiftSecretManagerArn",
2595
+ # database: "Database", # required
2596
+ # db_user: "DbUser",
2597
+ # sql: "Sql", # required
2598
+ # statement_name: "StatementName",
2599
+ # with_event: false,
2600
+ # },
2527
2601
  # }
2528
2602
  #
2529
2603
  # @!attribute [rw] id
@@ -2617,6 +2691,15 @@ module Aws::EventBridge
2617
2691
  # keys/values as part of your target invoking request.
2618
2692
  # @return [Types::HttpParameters]
2619
2693
  #
2694
+ # @!attribute [rw] redshift_data_parameters
2695
+ # Contains the Redshift Data API parameters to use when the target is
2696
+ # a Redshift cluster.
2697
+ #
2698
+ # If you specify a Redshift Cluster as a Target, you can use this to
2699
+ # specify parameters to invoke the Redshift Data API ExecuteStatement
2700
+ # based on EventBridge events.
2701
+ # @return [Types::RedshiftDataParameters]
2702
+ #
2620
2703
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/Target AWS API Documentation
2621
2704
  #
2622
2705
  class Target < Struct.new(
@@ -2631,7 +2714,8 @@ module Aws::EventBridge
2631
2714
  :ecs_parameters,
2632
2715
  :batch_parameters,
2633
2716
  :sqs_parameters,
2634
- :http_parameters)
2717
+ :http_parameters,
2718
+ :redshift_data_parameters)
2635
2719
  SENSITIVE = []
2636
2720
  include Aws::Structure
2637
2721
  end
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.13.0
4
+ version: 1.14.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: 2020-09-15 00:00:00.000000000 Z
11
+ date: 2020-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core