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:



59
60
61
62
63
64
65
66
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 59

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)


59
60
61
62
63
64
65
66
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 59

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)


59
60
61
62
63
64
65
66
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 59

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)


59
60
61
62
63
64
65
66
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 59

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