Class: Anthropic::Models::Beta::Organization::BetaAWSExternalStorageConfigParam

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/organization/beta_aws_external_storage_config_param.rb,
sig/anthropic/models/beta/organization/beta_aws_external_storage_config_param.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(account_id:, bucket_name:, region:, type: :aws) ⇒ BetaAWSExternalStorageConfigParam

An Amazon S3 bucket.

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaAWSExternalStorageConfigParam for more details.

Parameters:

  • account_id (String) —

    12-digit ID of the AWS account that owns the bucket.

  • bucket_name (String) —

    The bucket's name, without s3://: 3 to 63 lower-case letters, digits and hyphe

  • region (String) —

    The bucket's AWS region. Activating the storage fails if Anthropic can't use buc

  • type (Symbol, :aws) (defaults to: :aws)
  • account_id: (String)
  • bucket_name: (String)
  • region: (String)
  • type: (:aws) (defaults to: :aws)


# File 'lib/anthropic/models/beta/organization/beta_aws_external_storage_config_param.rb', line 33

Instance Attribute Details

#account_id ⇒ String

12-digit ID of the AWS account that owns the bucket.

Parameters:

  • value (String)

Returns:

  • (String)


12
# File 'lib/anthropic/models/beta/organization/beta_aws_external_storage_config_param.rb', line 12

required :account_id, String

#bucket_name ⇒ String

The bucket's name, without s3://: 3 to 63 lower-case letters, digits and hyphens, starting and ending with a letter or digit.

Parameters:

  • value (String)

Returns:

  • (String)


19
# File 'lib/anthropic/models/beta/organization/beta_aws_external_storage_config_param.rb', line 19

required :bucket_name, String

#region ⇒ String

The bucket's AWS region. Activating the storage fails if Anthropic can't use buckets in that region.

Parameters:

  • value (String)

Returns:

  • (String)


26
# File 'lib/anthropic/models/beta/organization/beta_aws_external_storage_config_param.rb', line 26

required :region, String

#type ⇒ Symbol, :aws

Parameters:

  • value (:aws)

Returns:

  • (Symbol, :aws)


31
# File 'lib/anthropic/models/beta/organization/beta_aws_external_storage_config_param.rb', line 31

required :type, const: :aws

Instance Method Details

#to_hash ⇒ { account_id: String, bucket_name: String, region: String, type: :aws }

Returns:

  • ({ account_id: String, bucket_name: String, region: String, type: :aws })


29
30
31
32
33
34
# File 'sig/anthropic/models/beta/organization/beta_aws_external_storage_config_param.rbs', line 29

def to_hash: -> {
  account_id: String,
  bucket_name: String,
  region: String,
  type: :aws
}