Class: Aws::CognitoIdentityProvider::Types::TermsType

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

Overview

The details of a set of terms documents. For more information, see Terms documents.

Constant Summary collapse

SENSITIVE =
[:client_id]

Instance Attribute Summary collapse

Instance Attribute Details

#client_idString

The ID of the app client that the terms documents are assigned to.

Returns:

  • (String)


10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10977

class TermsType < Struct.new(
  :terms_id,
  :user_pool_id,
  :client_id,
  :terms_name,
  :terms_source,
  :enforcement,
  :links,
  :creation_date,
  :last_modified_date)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

#creation_dateTime

The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.

Returns:

  • (Time)


10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10977

class TermsType < Struct.new(
  :terms_id,
  :user_pool_id,
  :client_id,
  :terms_name,
  :terms_source,
  :enforcement,
  :links,
  :creation_date,
  :last_modified_date)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

#enforcementString

This parameter is reserved for future use and currently accepts one value.

Returns:

  • (String)


10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10977

class TermsType < Struct.new(
  :terms_id,
  :user_pool_id,
  :client_id,
  :terms_name,
  :terms_source,
  :enforcement,
  :links,
  :creation_date,
  :last_modified_date)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

#last_modified_dateTime

The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.

Returns:

  • (Time)


10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10977

class TermsType < Struct.new(
  :terms_id,
  :user_pool_id,
  :client_id,
  :terms_name,
  :terms_source,
  :enforcement,
  :links,
  :creation_date,
  :last_modified_date)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

A map of URLs to languages. For each localized language that will view the requested TermsName, assign a URL. A selection of cognito:default displays for all languages that don't have a language-specific URL.

For example, "cognito:default": "https://terms.example.com", "cognito:spanish": "https://terms.example.com/es".

Returns:

  • (Hash<String,String>)


10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10977

class TermsType < Struct.new(
  :terms_id,
  :user_pool_id,
  :client_id,
  :terms_name,
  :terms_source,
  :enforcement,
  :links,
  :creation_date,
  :last_modified_date)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

#terms_idString

The ID of the terms documents.

Returns:

  • (String)


10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10977

class TermsType < Struct.new(
  :terms_id,
  :user_pool_id,
  :client_id,
  :terms_name,
  :terms_source,
  :enforcement,
  :links,
  :creation_date,
  :last_modified_date)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

#terms_nameString

The type and friendly name of the terms documents.

Returns:

  • (String)


10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10977

class TermsType < Struct.new(
  :terms_id,
  :user_pool_id,
  :client_id,
  :terms_name,
  :terms_source,
  :enforcement,
  :links,
  :creation_date,
  :last_modified_date)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

#terms_sourceString

This parameter is reserved for future use and currently accepts one value.

Returns:

  • (String)


10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10977

class TermsType < Struct.new(
  :terms_id,
  :user_pool_id,
  :client_id,
  :terms_name,
  :terms_source,
  :enforcement,
  :links,
  :creation_date,
  :last_modified_date)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

#user_pool_idString

The ID of the user pool that contains the terms documents.

Returns:

  • (String)


10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10977

class TermsType < Struct.new(
  :terms_id,
  :user_pool_id,
  :client_id,
  :terms_name,
  :terms_source,
  :enforcement,
  :links,
  :creation_date,
  :last_modified_date)
  SENSITIVE = [:client_id]
  include Aws::Structure
end