Class: Aws::BedrockRuntime::Types::ApplyGuardrailRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockruntime/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentArray<Types::GuardrailContentBlock>

The content details used in the request to apply the guardrail.

Returns:



53
54
55
56
57
58
59
60
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 53

class ApplyGuardrailRequest < Struct.new(
  :guardrail_identifier,
  :guardrail_version,
  :source,
  :content)
  SENSITIVE = []
  include Aws::Structure
end

#guardrail_identifierString

The guardrail identifier used in the request to apply the guardrail.

Returns:

  • (String)


53
54
55
56
57
58
59
60
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 53

class ApplyGuardrailRequest < Struct.new(
  :guardrail_identifier,
  :guardrail_version,
  :source,
  :content)
  SENSITIVE = []
  include Aws::Structure
end

#guardrail_versionString

The guardrail version used in the request to apply the guardrail.

Returns:

  • (String)


53
54
55
56
57
58
59
60
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 53

class ApplyGuardrailRequest < Struct.new(
  :guardrail_identifier,
  :guardrail_version,
  :source,
  :content)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

The source of data used in the request to apply the guardrail.

Returns:

  • (String)


53
54
55
56
57
58
59
60
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 53

class ApplyGuardrailRequest < Struct.new(
  :guardrail_identifier,
  :guardrail_version,
  :source,
  :content)
  SENSITIVE = []
  include Aws::Structure
end