ResourceSnapshotPayload
Represents the payload of a resource snapshot. This structure is designed to accommodate different types of resource snapshots, currently supporting opportunity summaries.
Inheritors
Types
Provides a comprehensive view of AwsOpportunitySummaryFullView template.
An object that contains an opportunity's subset of fields.
Functions
Casts this ResourceSnapshotPayload as a AwsOpportunitySummaryFullView and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.AwsOpportunitySummaryFullView value. Throws an exception if the ResourceSnapshotPayload is not a AwsOpportunitySummaryFullView.
Casts this ResourceSnapshotPayload as a AwsOpportunitySummaryFullView and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.AwsOpportunitySummaryFullView value. Returns null if the ResourceSnapshotPayload is not a AwsOpportunitySummaryFullView.
Casts this ResourceSnapshotPayload as a OpportunitySummary and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.OpportunitySummaryView value. Throws an exception if the ResourceSnapshotPayload is not a OpportunitySummary.
Casts this ResourceSnapshotPayload as a OpportunitySummary and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.OpportunitySummaryView value. Returns null if the ResourceSnapshotPayload is not a OpportunitySummary.