You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DynamoDBStreams::Types::AttributeValue

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb

Overview

Represents the data for an attribute. You can set one, and only one, of the elements.

Each attribute in an item is a name-value pair. An attribute can be single-valued or multi-valued set. For example, a book item can have title and authors attributes. Each book has one title but can have many authors. The multi-valued attribute is a set; duplicate values are not allowed.

Instance Attribute Summary collapse

Instance Attribute Details

#bString

A Binary data type.

Returns:

  • (String)


62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 62

class AttributeValue < Struct.new(
  :s,
  :n,
  :b,
  :ss,
  :ns,
  :bs,
  :m,
  :l,
  :null,
  :bool)
  include Aws::Structure
end

#boolBoolean

A Boolean data type.

Returns:

  • (Boolean)


62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 62

class AttributeValue < Struct.new(
  :s,
  :n,
  :b,
  :ss,
  :ns,
  :bs,
  :m,
  :l,
  :null,
  :bool)
  include Aws::Structure
end

#bsArray<String>

A Binary Set data type.

Returns:

  • (Array<String>)


62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 62

class AttributeValue < Struct.new(
  :s,
  :n,
  :b,
  :ss,
  :ns,
  :bs,
  :m,
  :l,
  :null,
  :bool)
  include Aws::Structure
end

#lArray<Types::AttributeValue>

A List data type.

Returns:



62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 62

class AttributeValue < Struct.new(
  :s,
  :n,
  :b,
  :ss,
  :ns,
  :bs,
  :m,
  :l,
  :null,
  :bool)
  include Aws::Structure
end

#mHash<String,Types::AttributeValue>

A Map data type.

Returns:



62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 62

class AttributeValue < Struct.new(
  :s,
  :n,
  :b,
  :ss,
  :ns,
  :bs,
  :m,
  :l,
  :null,
  :bool)
  include Aws::Structure
end

#nString

A Number data type.

Returns:

  • (String)


62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 62

class AttributeValue < Struct.new(
  :s,
  :n,
  :b,
  :ss,
  :ns,
  :bs,
  :m,
  :l,
  :null,
  :bool)
  include Aws::Structure
end

#nsArray<String>

A Number Set data type.

Returns:

  • (Array<String>)


62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 62

class AttributeValue < Struct.new(
  :s,
  :n,
  :b,
  :ss,
  :ns,
  :bs,
  :m,
  :l,
  :null,
  :bool)
  include Aws::Structure
end

#nullBoolean

A Null data type.

Returns:

  • (Boolean)


62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 62

class AttributeValue < Struct.new(
  :s,
  :n,
  :b,
  :ss,
  :ns,
  :bs,
  :m,
  :l,
  :null,
  :bool)
  include Aws::Structure
end

#sString

A String data type.

Returns:

  • (String)


62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 62

class AttributeValue < Struct.new(
  :s,
  :n,
  :b,
  :ss,
  :ns,
  :bs,
  :m,
  :l,
  :null,
  :bool)
  include Aws::Structure
end

#ssArray<String>

A String Set data type.

Returns:

  • (Array<String>)


62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 62

class AttributeValue < Struct.new(
  :s,
  :n,
  :b,
  :ss,
  :ns,
  :bs,
  :m,
  :l,
  :null,
  :bool)
  include Aws::Structure
end