aws-sdk-redshift 1.108.0 → 1.109.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshift/client.rb +81 -1
- data/lib/aws-sdk-redshift/client_api.rb +66 -0
- data/lib/aws-sdk-redshift/endpoints.rb +14 -0
- data/lib/aws-sdk-redshift/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-redshift/types.rb +192 -0
- data/lib/aws-sdk-redshift.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/types.rbs +44 -0
- 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: c4e36255e0be1926d6a4e36698d1ec20423c2f3622ae0559b64af4d67d54e2bb
|
4
|
+
data.tar.gz: c092abc59fb002a4eb8889830cb700f8ba31cb71be6659080eaec049bcc69eb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c124523ea354c4235966822855e7870969f63e7f8d41ca3c5c10b59fda9817123da21faf7223895c9922a331045e7cc65b81ff5c20bdecd140080f76db7dd52
|
7
|
+
data.tar.gz: 9e04c76eb07d9de343081a0fd0f3193adcbc673b26193fcf7366a383543c8578aae8d91de1427de7f7877663904327e5b106cd9557eeeb219756bcba4297d21d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.109.0
|
@@ -8319,6 +8319,86 @@ module Aws::Redshift
|
|
8319
8319
|
req.send_request(options)
|
8320
8320
|
end
|
8321
8321
|
|
8322
|
+
# List the Amazon Redshift Advisor recommendations for one or multiple
|
8323
|
+
# Amazon Redshift clusters in an Amazon Web Services account.
|
8324
|
+
#
|
8325
|
+
# @option params [String] :cluster_identifier
|
8326
|
+
# The unique identifier of the Amazon Redshift cluster for which the
|
8327
|
+
# list of Advisor recommendations is returned. If the neither the
|
8328
|
+
# cluster identifier and the cluster namespace ARN parameters are
|
8329
|
+
# specified, then recommendations for all clusters in the account are
|
8330
|
+
# returned.
|
8331
|
+
#
|
8332
|
+
# @option params [String] :namespace_arn
|
8333
|
+
# The Amazon Redshift cluster namespace Amazon Resource Name (ARN) for
|
8334
|
+
# which the list of Advisor recommendations is returned. If the neither
|
8335
|
+
# the cluster identifier and the cluster namespace ARN parameters are
|
8336
|
+
# specified, then recommendations for all clusters in the account are
|
8337
|
+
# returned.
|
8338
|
+
#
|
8339
|
+
# @option params [Integer] :max_records
|
8340
|
+
# The maximum number of response records to return in each call. If the
|
8341
|
+
# number of remaining response records exceeds the specified MaxRecords
|
8342
|
+
# value, a value is returned in a marker field of the response. You can
|
8343
|
+
# retrieve the next set of records by retrying the command with the
|
8344
|
+
# returned marker value.
|
8345
|
+
#
|
8346
|
+
# @option params [String] :marker
|
8347
|
+
# A value that indicates the starting point for the next set of response
|
8348
|
+
# records in a subsequent request. If a value is returned in a response,
|
8349
|
+
# you can retrieve the next set of records by providing this returned
|
8350
|
+
# marker value in the Marker parameter and retrying the command. If the
|
8351
|
+
# Marker field is empty, all response records have been retrieved for
|
8352
|
+
# the request.
|
8353
|
+
#
|
8354
|
+
# @return [Types::ListRecommendationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8355
|
+
#
|
8356
|
+
# * {Types::ListRecommendationsResult#recommendations #recommendations} => Array<Types::Recommendation>
|
8357
|
+
# * {Types::ListRecommendationsResult#marker #marker} => String
|
8358
|
+
#
|
8359
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
8360
|
+
#
|
8361
|
+
# @example Request syntax with placeholder values
|
8362
|
+
#
|
8363
|
+
# resp = client.list_recommendations({
|
8364
|
+
# cluster_identifier: "String",
|
8365
|
+
# namespace_arn: "String",
|
8366
|
+
# max_records: 1,
|
8367
|
+
# marker: "String",
|
8368
|
+
# })
|
8369
|
+
#
|
8370
|
+
# @example Response structure
|
8371
|
+
#
|
8372
|
+
# resp.recommendations #=> Array
|
8373
|
+
# resp.recommendations[0].id #=> String
|
8374
|
+
# resp.recommendations[0].cluster_identifier #=> String
|
8375
|
+
# resp.recommendations[0].namespace_arn #=> String
|
8376
|
+
# resp.recommendations[0].created_at #=> Time
|
8377
|
+
# resp.recommendations[0].recommendation_type #=> String
|
8378
|
+
# resp.recommendations[0].title #=> String
|
8379
|
+
# resp.recommendations[0].description #=> String
|
8380
|
+
# resp.recommendations[0].observation #=> String
|
8381
|
+
# resp.recommendations[0].impact_ranking #=> String, one of "HIGH", "MEDIUM", "LOW"
|
8382
|
+
# resp.recommendations[0].recommendation_text #=> String
|
8383
|
+
# resp.recommendations[0].recommended_actions #=> Array
|
8384
|
+
# resp.recommendations[0].recommended_actions[0].text #=> String
|
8385
|
+
# resp.recommendations[0].recommended_actions[0].database #=> String
|
8386
|
+
# resp.recommendations[0].recommended_actions[0].command #=> String
|
8387
|
+
# resp.recommendations[0].recommended_actions[0].type #=> String, one of "SQL", "CLI"
|
8388
|
+
# resp.recommendations[0].reference_links #=> Array
|
8389
|
+
# resp.recommendations[0].reference_links[0].text #=> String
|
8390
|
+
# resp.recommendations[0].reference_links[0].link #=> String
|
8391
|
+
# resp.marker #=> String
|
8392
|
+
#
|
8393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ListRecommendations AWS API Documentation
|
8394
|
+
#
|
8395
|
+
# @overload list_recommendations(params = {})
|
8396
|
+
# @param [Hash] params ({})
|
8397
|
+
def list_recommendations(params = {}, options = {})
|
8398
|
+
req = build_request(:list_recommendations, params)
|
8399
|
+
req.send_request(options)
|
8400
|
+
end
|
8401
|
+
|
8322
8402
|
# This operation is retired. Calling this operation does not change AQUA
|
8323
8403
|
# configuration. Amazon Redshift automatically determines whether to use
|
8324
8404
|
# AQUA (Advanced Query Accelerator).
|
@@ -12285,7 +12365,7 @@ module Aws::Redshift
|
|
12285
12365
|
params: params,
|
12286
12366
|
config: config)
|
12287
12367
|
context[:gem_name] = 'aws-sdk-redshift'
|
12288
|
-
context[:gem_version] = '1.
|
12368
|
+
context[:gem_version] = '1.109.0'
|
12289
12369
|
Seahorse::Client::Request.new(handlers, context)
|
12290
12370
|
end
|
12291
12371
|
|
@@ -312,6 +312,7 @@ module Aws::Redshift
|
|
312
312
|
IamRoleArnList = Shapes::ListShape.new(name: 'IamRoleArnList')
|
313
313
|
IdcDisplayNameString = Shapes::StringShape.new(name: 'IdcDisplayNameString')
|
314
314
|
IdentityNamespaceString = Shapes::StringShape.new(name: 'IdentityNamespaceString')
|
315
|
+
ImpactRankingType = Shapes::StringShape.new(name: 'ImpactRankingType')
|
315
316
|
ImportTablesCompleted = Shapes::ListShape.new(name: 'ImportTablesCompleted')
|
316
317
|
ImportTablesInProgress = Shapes::ListShape.new(name: 'ImportTablesInProgress')
|
317
318
|
ImportTablesNotStarted = Shapes::ListShape.new(name: 'ImportTablesNotStarted')
|
@@ -363,6 +364,8 @@ module Aws::Redshift
|
|
363
364
|
LakeFormationScopeUnion = Shapes::UnionShape.new(name: 'LakeFormationScopeUnion')
|
364
365
|
LakeFormationServiceIntegrations = Shapes::ListShape.new(name: 'LakeFormationServiceIntegrations')
|
365
366
|
LimitExceededFault = Shapes::StructureShape.new(name: 'LimitExceededFault')
|
367
|
+
ListRecommendationsMessage = Shapes::StructureShape.new(name: 'ListRecommendationsMessage')
|
368
|
+
ListRecommendationsResult = Shapes::StructureShape.new(name: 'ListRecommendationsResult')
|
366
369
|
LogDestinationType = Shapes::StringShape.new(name: 'LogDestinationType')
|
367
370
|
LogTypeList = Shapes::ListShape.new(name: 'LogTypeList')
|
368
371
|
LoggingStatus = Shapes::StructureShape.new(name: 'LoggingStatus')
|
@@ -439,6 +442,11 @@ module Aws::Redshift
|
|
439
442
|
PutResourcePolicyResult = Shapes::StructureShape.new(name: 'PutResourcePolicyResult')
|
440
443
|
RebootClusterMessage = Shapes::StructureShape.new(name: 'RebootClusterMessage')
|
441
444
|
RebootClusterResult = Shapes::StructureShape.new(name: 'RebootClusterResult')
|
445
|
+
Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
|
446
|
+
RecommendationList = Shapes::ListShape.new(name: 'RecommendationList')
|
447
|
+
RecommendedAction = Shapes::StructureShape.new(name: 'RecommendedAction')
|
448
|
+
RecommendedActionList = Shapes::ListShape.new(name: 'RecommendedActionList')
|
449
|
+
RecommendedActionType = Shapes::StringShape.new(name: 'RecommendedActionType')
|
442
450
|
RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
|
443
451
|
RecurringChargeList = Shapes::ListShape.new(name: 'RecurringChargeList')
|
444
452
|
RedshiftIdcApplication = Shapes::StructureShape.new(name: 'RedshiftIdcApplication')
|
@@ -447,6 +455,8 @@ module Aws::Redshift
|
|
447
455
|
RedshiftIdcApplicationName = Shapes::StringShape.new(name: 'RedshiftIdcApplicationName')
|
448
456
|
RedshiftIdcApplicationNotExistsFault = Shapes::StructureShape.new(name: 'RedshiftIdcApplicationNotExistsFault')
|
449
457
|
RedshiftIdcApplicationQuotaExceededFault = Shapes::StructureShape.new(name: 'RedshiftIdcApplicationQuotaExceededFault')
|
458
|
+
ReferenceLink = Shapes::StructureShape.new(name: 'ReferenceLink')
|
459
|
+
ReferenceLinkList = Shapes::ListShape.new(name: 'ReferenceLinkList')
|
450
460
|
RejectDataShareMessage = Shapes::StructureShape.new(name: 'RejectDataShareMessage')
|
451
461
|
ReservedNode = Shapes::StructureShape.new(name: 'ReservedNode')
|
452
462
|
ReservedNodeAlreadyExistsFault = Shapes::StructureShape.new(name: 'ReservedNodeAlreadyExistsFault')
|
@@ -1960,6 +1970,16 @@ module Aws::Redshift
|
|
1960
1970
|
|
1961
1971
|
LimitExceededFault.struct_class = Types::LimitExceededFault
|
1962
1972
|
|
1973
|
+
ListRecommendationsMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
1974
|
+
ListRecommendationsMessage.add_member(:namespace_arn, Shapes::ShapeRef.new(shape: String, location_name: "NamespaceArn"))
|
1975
|
+
ListRecommendationsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
1976
|
+
ListRecommendationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1977
|
+
ListRecommendationsMessage.struct_class = Types::ListRecommendationsMessage
|
1978
|
+
|
1979
|
+
ListRecommendationsResult.add_member(:recommendations, Shapes::ShapeRef.new(shape: RecommendationList, location_name: "Recommendations"))
|
1980
|
+
ListRecommendationsResult.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1981
|
+
ListRecommendationsResult.struct_class = Types::ListRecommendationsResult
|
1982
|
+
|
1963
1983
|
LogTypeList.member = Shapes::ShapeRef.new(shape: String)
|
1964
1984
|
|
1965
1985
|
LoggingStatus.add_member(:logging_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "LoggingEnabled"))
|
@@ -2265,6 +2285,30 @@ module Aws::Redshift
|
|
2265
2285
|
RebootClusterResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
2266
2286
|
RebootClusterResult.struct_class = Types::RebootClusterResult
|
2267
2287
|
|
2288
|
+
Recommendation.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
2289
|
+
Recommendation.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
|
2290
|
+
Recommendation.add_member(:namespace_arn, Shapes::ShapeRef.new(shape: String, location_name: "NamespaceArn"))
|
2291
|
+
Recommendation.add_member(:created_at, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreatedAt"))
|
2292
|
+
Recommendation.add_member(:recommendation_type, Shapes::ShapeRef.new(shape: String, location_name: "RecommendationType"))
|
2293
|
+
Recommendation.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "Title"))
|
2294
|
+
Recommendation.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
2295
|
+
Recommendation.add_member(:observation, Shapes::ShapeRef.new(shape: String, location_name: "Observation"))
|
2296
|
+
Recommendation.add_member(:impact_ranking, Shapes::ShapeRef.new(shape: ImpactRankingType, location_name: "ImpactRanking"))
|
2297
|
+
Recommendation.add_member(:recommendation_text, Shapes::ShapeRef.new(shape: String, location_name: "RecommendationText"))
|
2298
|
+
Recommendation.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActionList, location_name: "RecommendedActions"))
|
2299
|
+
Recommendation.add_member(:reference_links, Shapes::ShapeRef.new(shape: ReferenceLinkList, location_name: "ReferenceLinks"))
|
2300
|
+
Recommendation.struct_class = Types::Recommendation
|
2301
|
+
|
2302
|
+
RecommendationList.member = Shapes::ShapeRef.new(shape: Recommendation, location_name: "Recommendation")
|
2303
|
+
|
2304
|
+
RecommendedAction.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
|
2305
|
+
RecommendedAction.add_member(:database, Shapes::ShapeRef.new(shape: String, location_name: "Database"))
|
2306
|
+
RecommendedAction.add_member(:command, Shapes::ShapeRef.new(shape: String, location_name: "Command"))
|
2307
|
+
RecommendedAction.add_member(:type, Shapes::ShapeRef.new(shape: RecommendedActionType, location_name: "Type"))
|
2308
|
+
RecommendedAction.struct_class = Types::RecommendedAction
|
2309
|
+
|
2310
|
+
RecommendedActionList.member = Shapes::ShapeRef.new(shape: RecommendedAction, location_name: "RecommendedAction")
|
2311
|
+
|
2268
2312
|
RecurringCharge.add_member(:recurring_charge_amount, Shapes::ShapeRef.new(shape: Double, location_name: "RecurringChargeAmount"))
|
2269
2313
|
RecurringCharge.add_member(:recurring_charge_frequency, Shapes::ShapeRef.new(shape: String, location_name: "RecurringChargeFrequency"))
|
2270
2314
|
RecurringCharge.struct_class = Types::RecurringCharge
|
@@ -2291,6 +2335,12 @@ module Aws::Redshift
|
|
2291
2335
|
|
2292
2336
|
RedshiftIdcApplicationQuotaExceededFault.struct_class = Types::RedshiftIdcApplicationQuotaExceededFault
|
2293
2337
|
|
2338
|
+
ReferenceLink.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
|
2339
|
+
ReferenceLink.add_member(:link, Shapes::ShapeRef.new(shape: String, location_name: "Link"))
|
2340
|
+
ReferenceLink.struct_class = Types::ReferenceLink
|
2341
|
+
|
2342
|
+
ReferenceLinkList.member = Shapes::ShapeRef.new(shape: ReferenceLink, location_name: "ReferenceLink")
|
2343
|
+
|
2294
2344
|
RejectDataShareMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataShareArn"))
|
2295
2345
|
RejectDataShareMessage.struct_class = Types::RejectDataShareMessage
|
2296
2346
|
|
@@ -4194,6 +4244,22 @@ module Aws::Redshift
|
|
4194
4244
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
4195
4245
|
end)
|
4196
4246
|
|
4247
|
+
api.add_operation(:list_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
4248
|
+
o.name = "ListRecommendations"
|
4249
|
+
o.http_method = "POST"
|
4250
|
+
o.http_request_uri = "/"
|
4251
|
+
o.input = Shapes::ShapeRef.new(shape: ListRecommendationsMessage)
|
4252
|
+
o.output = Shapes::ShapeRef.new(shape: ListRecommendationsResult)
|
4253
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
|
4254
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
4255
|
+
o[:pager] = Aws::Pager.new(
|
4256
|
+
limit_key: "max_records",
|
4257
|
+
tokens: {
|
4258
|
+
"marker" => "marker"
|
4259
|
+
}
|
4260
|
+
)
|
4261
|
+
end)
|
4262
|
+
|
4197
4263
|
api.add_operation(:modify_aqua_configuration, Seahorse::Model::Operation.new.tap do |o|
|
4198
4264
|
o.name = "ModifyAquaConfiguration"
|
4199
4265
|
o.http_method = "POST"
|
@@ -1398,6 +1398,20 @@ module Aws::Redshift
|
|
1398
1398
|
end
|
1399
1399
|
end
|
1400
1400
|
|
1401
|
+
class ListRecommendations
|
1402
|
+
def self.build(context)
|
1403
|
+
unless context.config.regional_endpoint
|
1404
|
+
endpoint = context.config.endpoint.to_s
|
1405
|
+
end
|
1406
|
+
Aws::Redshift::EndpointParameters.new(
|
1407
|
+
region: context.config.region,
|
1408
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1409
|
+
use_fips: context.config.use_fips_endpoint,
|
1410
|
+
endpoint: endpoint,
|
1411
|
+
)
|
1412
|
+
end
|
1413
|
+
end
|
1414
|
+
|
1401
1415
|
class ModifyAquaConfiguration
|
1402
1416
|
def self.build(context)
|
1403
1417
|
unless context.config.regional_endpoint
|
@@ -256,6 +256,8 @@ module Aws::Redshift
|
|
256
256
|
Aws::Redshift::Endpoints::GetReservedNodeExchangeOfferings.build(context)
|
257
257
|
when :get_resource_policy
|
258
258
|
Aws::Redshift::Endpoints::GetResourcePolicy.build(context)
|
259
|
+
when :list_recommendations
|
260
|
+
Aws::Redshift::Endpoints::ListRecommendations.build(context)
|
259
261
|
when :modify_aqua_configuration
|
260
262
|
Aws::Redshift::Endpoints::ModifyAquaConfiguration.build(context)
|
261
263
|
when :modify_authentication_profile
|
@@ -7513,6 +7513,73 @@ module Aws::Redshift
|
|
7513
7513
|
#
|
7514
7514
|
class LimitExceededFault < Aws::EmptyStructure; end
|
7515
7515
|
|
7516
|
+
# @!attribute [rw] cluster_identifier
|
7517
|
+
# The unique identifier of the Amazon Redshift cluster for which the
|
7518
|
+
# list of Advisor recommendations is returned. If the neither the
|
7519
|
+
# cluster identifier and the cluster namespace ARN parameters are
|
7520
|
+
# specified, then recommendations for all clusters in the account are
|
7521
|
+
# returned.
|
7522
|
+
# @return [String]
|
7523
|
+
#
|
7524
|
+
# @!attribute [rw] namespace_arn
|
7525
|
+
# The Amazon Redshift cluster namespace Amazon Resource Name (ARN) for
|
7526
|
+
# which the list of Advisor recommendations is returned. If the
|
7527
|
+
# neither the cluster identifier and the cluster namespace ARN
|
7528
|
+
# parameters are specified, then recommendations for all clusters in
|
7529
|
+
# the account are returned.
|
7530
|
+
# @return [String]
|
7531
|
+
#
|
7532
|
+
# @!attribute [rw] max_records
|
7533
|
+
# The maximum number of response records to return in each call. If
|
7534
|
+
# the number of remaining response records exceeds the specified
|
7535
|
+
# MaxRecords value, a value is returned in a marker field of the
|
7536
|
+
# response. You can retrieve the next set of records by retrying the
|
7537
|
+
# command with the returned marker value.
|
7538
|
+
# @return [Integer]
|
7539
|
+
#
|
7540
|
+
# @!attribute [rw] marker
|
7541
|
+
# A value that indicates the starting point for the next set of
|
7542
|
+
# response records in a subsequent request. If a value is returned in
|
7543
|
+
# a response, you can retrieve the next set of records by providing
|
7544
|
+
# this returned marker value in the Marker parameter and retrying the
|
7545
|
+
# command. If the Marker field is empty, all response records have
|
7546
|
+
# been retrieved for the request.
|
7547
|
+
# @return [String]
|
7548
|
+
#
|
7549
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ListRecommendationsMessage AWS API Documentation
|
7550
|
+
#
|
7551
|
+
class ListRecommendationsMessage < Struct.new(
|
7552
|
+
:cluster_identifier,
|
7553
|
+
:namespace_arn,
|
7554
|
+
:max_records,
|
7555
|
+
:marker)
|
7556
|
+
SENSITIVE = []
|
7557
|
+
include Aws::Structure
|
7558
|
+
end
|
7559
|
+
|
7560
|
+
# @!attribute [rw] recommendations
|
7561
|
+
# The Advisor recommendations for action on the Amazon Redshift
|
7562
|
+
# cluster.
|
7563
|
+
# @return [Array<Types::Recommendation>]
|
7564
|
+
#
|
7565
|
+
# @!attribute [rw] marker
|
7566
|
+
# A value that indicates the starting point for the next set of
|
7567
|
+
# response records in a subsequent request. If a value is returned in
|
7568
|
+
# a response, you can retrieve the next set of records by providing
|
7569
|
+
# this returned marker value in the Marker parameter and retrying the
|
7570
|
+
# command. If the Marker field is empty, all response records have
|
7571
|
+
# been retrieved for the request.
|
7572
|
+
# @return [String]
|
7573
|
+
#
|
7574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ListRecommendationsResult AWS API Documentation
|
7575
|
+
#
|
7576
|
+
class ListRecommendationsResult < Struct.new(
|
7577
|
+
:recommendations,
|
7578
|
+
:marker)
|
7579
|
+
SENSITIVE = []
|
7580
|
+
include Aws::Structure
|
7581
|
+
end
|
7582
|
+
|
7516
7583
|
# Describes the status of logging for a cluster.
|
7517
7584
|
#
|
7518
7585
|
# @!attribute [rw] logging_enabled
|
@@ -9204,6 +9271,111 @@ module Aws::Redshift
|
|
9204
9271
|
include Aws::Structure
|
9205
9272
|
end
|
9206
9273
|
|
9274
|
+
# An Amazon Redshift Advisor recommended action on the Amazon Redshift
|
9275
|
+
# cluster.
|
9276
|
+
#
|
9277
|
+
# @!attribute [rw] id
|
9278
|
+
# A unique identifier of the Advisor recommendation.
|
9279
|
+
# @return [String]
|
9280
|
+
#
|
9281
|
+
# @!attribute [rw] cluster_identifier
|
9282
|
+
# The unique identifier of the cluster for which the recommendation is
|
9283
|
+
# returned.
|
9284
|
+
# @return [String]
|
9285
|
+
#
|
9286
|
+
# @!attribute [rw] namespace_arn
|
9287
|
+
# The Amazon Redshift cluster namespace ARN for which the
|
9288
|
+
# recommendations is returned.
|
9289
|
+
# @return [String]
|
9290
|
+
#
|
9291
|
+
# @!attribute [rw] created_at
|
9292
|
+
# The date and time (UTC) that the recommendation was created.
|
9293
|
+
# @return [Time]
|
9294
|
+
#
|
9295
|
+
# @!attribute [rw] recommendation_type
|
9296
|
+
# The type of Advisor recommendation.
|
9297
|
+
# @return [String]
|
9298
|
+
#
|
9299
|
+
# @!attribute [rw] title
|
9300
|
+
# The title of the recommendation.
|
9301
|
+
# @return [String]
|
9302
|
+
#
|
9303
|
+
# @!attribute [rw] description
|
9304
|
+
# The description of the recommendation.
|
9305
|
+
# @return [String]
|
9306
|
+
#
|
9307
|
+
# @!attribute [rw] observation
|
9308
|
+
# The description of what was observed about your cluster.
|
9309
|
+
# @return [String]
|
9310
|
+
#
|
9311
|
+
# @!attribute [rw] impact_ranking
|
9312
|
+
# The scale of the impact that the Advisor recommendation has to the
|
9313
|
+
# performance and cost of the cluster.
|
9314
|
+
# @return [String]
|
9315
|
+
#
|
9316
|
+
# @!attribute [rw] recommendation_text
|
9317
|
+
# The description of the recommendation.
|
9318
|
+
# @return [String]
|
9319
|
+
#
|
9320
|
+
# @!attribute [rw] recommended_actions
|
9321
|
+
# List of Amazon Redshift recommended actions.
|
9322
|
+
# @return [Array<Types::RecommendedAction>]
|
9323
|
+
#
|
9324
|
+
# @!attribute [rw] reference_links
|
9325
|
+
# List of helpful links for more information about the Advisor
|
9326
|
+
# recommendation.
|
9327
|
+
# @return [Array<Types::ReferenceLink>]
|
9328
|
+
#
|
9329
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Recommendation AWS API Documentation
|
9330
|
+
#
|
9331
|
+
class Recommendation < Struct.new(
|
9332
|
+
:id,
|
9333
|
+
:cluster_identifier,
|
9334
|
+
:namespace_arn,
|
9335
|
+
:created_at,
|
9336
|
+
:recommendation_type,
|
9337
|
+
:title,
|
9338
|
+
:description,
|
9339
|
+
:observation,
|
9340
|
+
:impact_ranking,
|
9341
|
+
:recommendation_text,
|
9342
|
+
:recommended_actions,
|
9343
|
+
:reference_links)
|
9344
|
+
SENSITIVE = []
|
9345
|
+
include Aws::Structure
|
9346
|
+
end
|
9347
|
+
|
9348
|
+
# The recommended action from the Amazon Redshift Advisor
|
9349
|
+
# recommendation.
|
9350
|
+
#
|
9351
|
+
# @!attribute [rw] text
|
9352
|
+
# The specific instruction about the command.
|
9353
|
+
# @return [String]
|
9354
|
+
#
|
9355
|
+
# @!attribute [rw] database
|
9356
|
+
# The database name to perform the action on. Only applicable if the
|
9357
|
+
# type of command is SQL.
|
9358
|
+
# @return [String]
|
9359
|
+
#
|
9360
|
+
# @!attribute [rw] command
|
9361
|
+
# The command to run.
|
9362
|
+
# @return [String]
|
9363
|
+
#
|
9364
|
+
# @!attribute [rw] type
|
9365
|
+
# The type of command.
|
9366
|
+
# @return [String]
|
9367
|
+
#
|
9368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RecommendedAction AWS API Documentation
|
9369
|
+
#
|
9370
|
+
class RecommendedAction < Struct.new(
|
9371
|
+
:text,
|
9372
|
+
:database,
|
9373
|
+
:command,
|
9374
|
+
:type)
|
9375
|
+
SENSITIVE = []
|
9376
|
+
include Aws::Structure
|
9377
|
+
end
|
9378
|
+
|
9207
9379
|
# Describes a recurring charge.
|
9208
9380
|
#
|
9209
9381
|
# @!attribute [rw] recurring_charge_amount
|
@@ -9312,6 +9484,26 @@ module Aws::Redshift
|
|
9312
9484
|
#
|
9313
9485
|
class RedshiftIdcApplicationQuotaExceededFault < Aws::EmptyStructure; end
|
9314
9486
|
|
9487
|
+
# A link to an Amazon Redshift Advisor reference for more information
|
9488
|
+
# about a recommendation.
|
9489
|
+
#
|
9490
|
+
# @!attribute [rw] text
|
9491
|
+
# The hyperlink text that describes the link to more information.
|
9492
|
+
# @return [String]
|
9493
|
+
#
|
9494
|
+
# @!attribute [rw] link
|
9495
|
+
# The URL address to find more information.
|
9496
|
+
# @return [String]
|
9497
|
+
#
|
9498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReferenceLink AWS API Documentation
|
9499
|
+
#
|
9500
|
+
class ReferenceLink < Struct.new(
|
9501
|
+
:text,
|
9502
|
+
:link)
|
9503
|
+
SENSITIVE = []
|
9504
|
+
include Aws::Structure
|
9505
|
+
end
|
9506
|
+
|
9315
9507
|
# @!attribute [rw] data_share_arn
|
9316
9508
|
# The Amazon Resource Name (ARN) of the datashare to reject.
|
9317
9509
|
# @return [String]
|
data/lib/aws-sdk-redshift.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1563,6 +1563,20 @@ module Aws
|
|
1563
1563
|
) -> _GetResourcePolicyResponseSuccess
|
1564
1564
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
1565
1565
|
|
1566
|
+
interface _ListRecommendationsResponseSuccess
|
1567
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendationsResult]
|
1568
|
+
def recommendations: () -> ::Array[Types::Recommendation]
|
1569
|
+
def marker: () -> ::String
|
1570
|
+
end
|
1571
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#list_recommendations-instance_method
|
1572
|
+
def list_recommendations: (
|
1573
|
+
?cluster_identifier: ::String,
|
1574
|
+
?namespace_arn: ::String,
|
1575
|
+
?max_records: ::Integer,
|
1576
|
+
?marker: ::String
|
1577
|
+
) -> _ListRecommendationsResponseSuccess
|
1578
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecommendationsResponseSuccess
|
1579
|
+
|
1566
1580
|
interface _ModifyAquaConfigurationResponseSuccess
|
1567
1581
|
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyAquaOutputMessage]
|
1568
1582
|
def aqua_configuration: () -> Types::AquaConfiguration
|
data/sig/types.rbs
CHANGED
@@ -1755,6 +1755,20 @@ module Aws::Redshift
|
|
1755
1755
|
class LimitExceededFault < Aws::EmptyStructure
|
1756
1756
|
end
|
1757
1757
|
|
1758
|
+
class ListRecommendationsMessage
|
1759
|
+
attr_accessor cluster_identifier: ::String
|
1760
|
+
attr_accessor namespace_arn: ::String
|
1761
|
+
attr_accessor max_records: ::Integer
|
1762
|
+
attr_accessor marker: ::String
|
1763
|
+
SENSITIVE: []
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
class ListRecommendationsResult
|
1767
|
+
attr_accessor recommendations: ::Array[Types::Recommendation]
|
1768
|
+
attr_accessor marker: ::String
|
1769
|
+
SENSITIVE: []
|
1770
|
+
end
|
1771
|
+
|
1758
1772
|
class LoggingStatus
|
1759
1773
|
attr_accessor logging_enabled: bool
|
1760
1774
|
attr_accessor bucket_name: ::String
|
@@ -2147,6 +2161,30 @@ module Aws::Redshift
|
|
2147
2161
|
SENSITIVE: []
|
2148
2162
|
end
|
2149
2163
|
|
2164
|
+
class Recommendation
|
2165
|
+
attr_accessor id: ::String
|
2166
|
+
attr_accessor cluster_identifier: ::String
|
2167
|
+
attr_accessor namespace_arn: ::String
|
2168
|
+
attr_accessor created_at: ::Time
|
2169
|
+
attr_accessor recommendation_type: ::String
|
2170
|
+
attr_accessor title: ::String
|
2171
|
+
attr_accessor description: ::String
|
2172
|
+
attr_accessor observation: ::String
|
2173
|
+
attr_accessor impact_ranking: ("HIGH" | "MEDIUM" | "LOW")
|
2174
|
+
attr_accessor recommendation_text: ::String
|
2175
|
+
attr_accessor recommended_actions: ::Array[Types::RecommendedAction]
|
2176
|
+
attr_accessor reference_links: ::Array[Types::ReferenceLink]
|
2177
|
+
SENSITIVE: []
|
2178
|
+
end
|
2179
|
+
|
2180
|
+
class RecommendedAction
|
2181
|
+
attr_accessor text: ::String
|
2182
|
+
attr_accessor database: ::String
|
2183
|
+
attr_accessor command: ::String
|
2184
|
+
attr_accessor type: ("SQL" | "CLI")
|
2185
|
+
SENSITIVE: []
|
2186
|
+
end
|
2187
|
+
|
2150
2188
|
class RecurringCharge
|
2151
2189
|
attr_accessor recurring_charge_amount: ::Float
|
2152
2190
|
attr_accessor recurring_charge_frequency: ::String
|
@@ -2176,6 +2214,12 @@ module Aws::Redshift
|
|
2176
2214
|
class RedshiftIdcApplicationQuotaExceededFault < Aws::EmptyStructure
|
2177
2215
|
end
|
2178
2216
|
|
2217
|
+
class ReferenceLink
|
2218
|
+
attr_accessor text: ::String
|
2219
|
+
attr_accessor link: ::String
|
2220
|
+
SENSITIVE: []
|
2221
|
+
end
|
2222
|
+
|
2179
2223
|
class RejectDataShareMessage
|
2180
2224
|
attr_accessor data_share_arn: ::String
|
2181
2225
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-redshift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.109.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: 2024-
|
11
|
+
date: 2024-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|