Class: Aws::Continuum::Types::IssueArtifactBody
- Inherits:
-
Struct
- Object
- Struct
- Aws::Continuum::Types::IssueArtifactBody
- Defined in:
- gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb
Overview
IssueArtifactBody is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of IssueArtifactBody corresponding to the set member.
The projected body of an artifact. The active member is selected by
the artifact's artifactType, and for a type that carries more than
one payload kind by the stored content's own discriminator; raw
carries content for types with no defined shape yet and for content
that did not match its shape.
Defined Under Namespace
Classes: Patch, PrevalidationSignals, Raw, RemediationProposal, Unknown, ValidationEvidence
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#patch ⇒ Types::PatchBody
Projected PATCH content: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository.
-
#prevalidation_signals ⇒ Types::PrevalidationSignalsBody
Projected EVIDENCE content whose stored envelope declares
artifact_kind: prevalidation_signals— the severity signals prioritization uses. -
#raw ⇒ String
The producer's content verbatim, for an artifactType with no defined shape or content that failed to parse against its shape.
-
#remediation_proposal ⇒ Types::RemediationProposalBody
Projected REMEDIATION_PROPOSAL content: a patch the remediation agent produced, with the descriptors needed to apply and verify it.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#validation_evidence ⇒ Types::ValidationEvidenceBody
Projected VALIDATION_EVIDENCE content.
Instance Attribute Details
#patch ⇒ Types::PatchBody
Projected PATCH content: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository.
Every PATCH projects here. The descriptors come from members Control
Plane computes or owns when it stores the patch, not from producer
metadata, so this member is the whole PATCH contract and metadata
is omitted for it.
2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2619 class IssueArtifactBody < Struct.new( :validation_evidence, :prevalidation_signals, :remediation_proposal, :patch, :raw, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ValidationEvidence < IssueArtifactBody; end class PrevalidationSignals < IssueArtifactBody; end class RemediationProposal < IssueArtifactBody; end class Patch < IssueArtifactBody; end class Raw < IssueArtifactBody; end class Unknown < IssueArtifactBody; end end |
#prevalidation_signals ⇒ Types::PrevalidationSignalsBody
Projected EVIDENCE content whose stored envelope declares
artifact_kind: prevalidation_signals — the severity signals
prioritization uses.
One artifactType can select different members here: EVIDENCE also
carries the prioritization markdown narrative, which is not JSON and
so returns through raw. The member is therefore chosen by
artifactType AND, for a type that carries more than one payload
kind, the content's own discriminator.
2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2619 class IssueArtifactBody < Struct.new( :validation_evidence, :prevalidation_signals, :remediation_proposal, :patch, :raw, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ValidationEvidence < IssueArtifactBody; end class PrevalidationSignals < IssueArtifactBody; end class RemediationProposal < IssueArtifactBody; end class Patch < IssueArtifactBody; end class Raw < IssueArtifactBody; end class Unknown < IssueArtifactBody; end end |
#raw ⇒ String
The producer's content verbatim, for an artifactType with no defined shape or content that failed to parse against its shape.
2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2619 class IssueArtifactBody < Struct.new( :validation_evidence, :prevalidation_signals, :remediation_proposal, :patch, :raw, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ValidationEvidence < IssueArtifactBody; end class PrevalidationSignals < IssueArtifactBody; end class RemediationProposal < IssueArtifactBody; end class Patch < IssueArtifactBody; end class Raw < IssueArtifactBody; end class Unknown < IssueArtifactBody; end end |
#remediation_proposal ⇒ Types::RemediationProposalBody
Projected REMEDIATION_PROPOSAL content: a patch the remediation agent produced, with the descriptors needed to apply and verify it.
REMEDIATION_PROPOSAL content that does not match this shape is
returned through raw.
2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2619 class IssueArtifactBody < Struct.new( :validation_evidence, :prevalidation_signals, :remediation_proposal, :patch, :raw, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ValidationEvidence < IssueArtifactBody; end class PrevalidationSignals < IssueArtifactBody; end class RemediationProposal < IssueArtifactBody; end class Patch < IssueArtifactBody; end class Raw < IssueArtifactBody; end class Unknown < IssueArtifactBody; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2619 2620 2621 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2619 def unknown @unknown end |
#validation_evidence ⇒ Types::ValidationEvidenceBody
Projected VALIDATION_EVIDENCE content.
2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2619 class IssueArtifactBody < Struct.new( :validation_evidence, :prevalidation_signals, :remediation_proposal, :patch, :raw, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ValidationEvidence < IssueArtifactBody; end class PrevalidationSignals < IssueArtifactBody; end class RemediationProposal < IssueArtifactBody; end class Patch < IssueArtifactBody; end class Raw < IssueArtifactBody; end class Unknown < IssueArtifactBody; end end |