Class: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Aws
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Aws
- Defined in:
- lib/openai/models/admin/organization/external_key_create_params.rb,
sig/openai/models/admin/organization/external_key_create_params.rbs
Defined Under Namespace
Modules: Purpose
Instance Attribute Summary collapse
-
#external_id ⇒ String
The ExternalID that OpenAI will pass in the AssumeRole call for the customer's AWS account.
-
#kms_arn ⇒ String
The Key Management System ARN for the master key you manage.
-
#name ⇒ String
A friendly name to identify this config.
- #purpose ⇒ Symbol, ...
-
#role_arn ⇒ String
The Role ARN that OpenAI will assume to call your KMS.
- #type ⇒ Symbol, :aws
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(external_id:, kms_arn:, name:, role_arn:, purpose: nil, type: :aws) ⇒ Aws
constructor
A new instance of Aws.
- #to_hash ⇒ { external_id: String, kms_arn: String, name: String, role_arn: String, ?type: :aws, ?purpose: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Aws::purpose }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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(external_id:, kms_arn:, name:, role_arn:, purpose: nil, type: :aws) ⇒ Aws
Returns a new instance of Aws.
|
|
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 71
|
Instance Attribute Details
#external_id ⇒ String
The ExternalID that OpenAI will pass in the AssumeRole call for the customer's AWS account. This must be the OpenAI organization ID or an API project ID that belongs to the organization.
41 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 41 required :external_id, String |
#kms_arn ⇒ String
The Key Management System ARN for the master key you manage
47 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 47 required :kms_arn, String |
#name ⇒ String
A friendly name to identify this config
53 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 53 required :name, String |
#purpose ⇒ Symbol, ...
69 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 69 optional :purpose, enum: -> { OpenAI::Admin::Organization::ExternalKeyCreateParams::Body::Aws::Purpose } |
#role_arn ⇒ String
The Role ARN that OpenAI will assume to call your KMS
59 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 59 required :role_arn, String |
#type ⇒ Symbol, :aws
64 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 64 required :type, const: :aws |
Instance Method Details
#to_hash ⇒ { external_id: String, kms_arn: String, name: String, role_arn: String, ?type: :aws, ?purpose: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Aws::purpose }
212 213 214 215 216 217 218 219 |
# File 'sig/openai/models/admin/organization/external_key_create_params.rbs', line 212
def to_hash: -> {
external_id: String,
kms_arn: String,
name: String,
role_arn: String,
?type: :aws,
?purpose: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Aws::purpose
}
|