Class: Aws::WorkSpacesWeb::Types::WallpaperImageInput

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

Overview

Note:

WallpaperImageInput is a union - when making an API calls you must set exactly one of the members.

The input for a wallpaper image. Provide the image as either a binary image file or an S3 URI. Maximum 5 MB in JPEG or PNG format.

Direct Known Subclasses

Blob, S3Uri, Unknown

Defined Under Namespace

Classes: Blob, S3Uri, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#blobString

The image provided as a binary image file.

Returns:

  • (String)


4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
# File 'gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb', line 4852

class WallpaperImageInput < Struct.new(
  :blob,
  :s3_uri,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Blob < WallpaperImageInput; end
  class S3Uri < WallpaperImageInput; end
  class Unknown < WallpaperImageInput; end
end

#s3_uriString

The S3 URI pointing to the image file. The URI must use the format s3://bucket-name/key-name. You must have read access to the S3 object.

Returns:

  • (String)


4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
# File 'gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb', line 4852

class WallpaperImageInput < Struct.new(
  :blob,
  :s3_uri,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Blob < WallpaperImageInput; end
  class S3Uri < WallpaperImageInput; end
  class Unknown < WallpaperImageInput; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



4852
4853
4854
# File 'gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb', line 4852

def unknown
  @unknown
end