Class: Aws::RedshiftServerless::Types::TargetAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::RedshiftServerless::Types::TargetAction
- Defined in:
- gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb
Overview
TargetAction is a union - when making an API calls you must set exactly one of the members.
TargetAction is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TargetAction corresponding to the set member.
A JSON format string of the Amazon Redshift Serverless API operation with input parameters. The following is an example of a target action.
"\{"CreateSnapshot": \{"NamespaceName":
"sampleNamespace","SnapshotName": "sampleSnapshot", "retentionPeriod":
"1"\}\}"
Direct Known Subclasses
Defined Under Namespace
Classes: CreateSnapshot, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#create_snapshot ⇒ Types::CreateSnapshotScheduleActionParameters
The parameters that you can use to configure a [scheduled action][1] to create a snapshot.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#create_snapshot ⇒ Types::CreateSnapshotScheduleActionParameters
The parameters that you can use to configure a scheduled action to create a snapshot. For more information about creating a scheduled action, see CreateScheduledAction.
2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2989 class TargetAction < Struct.new( :create_snapshot, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class CreateSnapshot < TargetAction; end class Unknown < TargetAction; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2989 2990 2991 |
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2989 def unknown @unknown end |