Class: Aws::AmplifyUIBuilder::Types::CreateThemeRequest

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

Overview

Note:

When making an API call, you may pass CreateThemeRequest data as a hash:

{
  app_id: "String", # required
  client_token: "String",
  environment_name: "String", # required
  theme_to_create: { # required
    name: "ThemeName", # required
    overrides: [
      {
        key: "String",
        value: {
          children: {
            # recursive ThemeValuesList
          },
          value: "String",
        },
      },
    ],
    tags: {
      "TagKey" => "TagValue",
    },
    values: [ # required
      {
        key: "String",
        value: {
          children: {
            # recursive ThemeValuesList
          },
          value: "String",
        },
      },
    ],
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

The unique ID of the Amplify app associated with the theme.

Returns:

  • (String)


4607
4608
4609
4610
4611
4612
4613
4614
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 4607

class CreateThemeRequest < Struct.new(
  :app_id,
  :client_token,
  :environment_name,
  :theme_to_create)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

The unique client token.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


4607
4608
4609
4610
4611
4612
4613
4614
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 4607

class CreateThemeRequest < Struct.new(
  :app_id,
  :client_token,
  :environment_name,
  :theme_to_create)
  SENSITIVE = []
  include Aws::Structure
end

#environment_nameString

The name of the backend environment that is a part of the Amplify app.

Returns:

  • (String)


4607
4608
4609
4610
4611
4612
4613
4614
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 4607

class CreateThemeRequest < Struct.new(
  :app_id,
  :client_token,
  :environment_name,
  :theme_to_create)
  SENSITIVE = []
  include Aws::Structure
end

#theme_to_createTypes::CreateThemeData

Represents the configuration of the theme to create.



4607
4608
4609
4610
4611
4612
4613
4614
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 4607

class CreateThemeRequest < Struct.new(
  :app_id,
  :client_token,
  :environment_name,
  :theme_to_create)
  SENSITIVE = []
  include Aws::Structure
end