types

package
v1.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException

type AccessDeniedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Access is denied. HTTP status code: 403

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type AmiProductEntityIdFilter added in v1.22.0

type AmiProductEntityIdFilter struct {

	// A string array of unique entity id values to be filtered on.
	ValueList []string
	// contains filtered or unexported fields
}

Object that allows filtering on entity id of an AMI product.

type AmiProductFilters added in v1.22.0

type AmiProductFilters struct {

	// Unique identifier for the AMI product.
	EntityId *AmiProductEntityIdFilter

	// The last date on which the AMI product was modified.
	LastModifiedDate *AmiProductLastModifiedDateFilter

	// The title of the AMI product.
	ProductTitle *AmiProductTitleFilter

	// The visibility of the AMI product.
	Visibility *AmiProductVisibilityFilter
	// contains filtered or unexported fields
}

Object containing all the filter fields for AMI products. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

type AmiProductLastModifiedDateFilter added in v1.22.0

type AmiProductLastModifiedDateFilter struct {

	// Dates between which the AMI product was last modified.
	DateRange *AmiProductLastModifiedDateFilterDateRange
	// contains filtered or unexported fields
}

Object that allows filtering based on the last modified date of AMI products.

type AmiProductLastModifiedDateFilterDateRange added in v1.22.0

type AmiProductLastModifiedDateFilterDateRange struct {

	// Date after which the AMI product was last modified.
	AfterValue *string

	// Date before which the AMI product was last modified.
	BeforeValue *string
	// contains filtered or unexported fields
}

Object that contains date range of the last modified date to be filtered on. You can optionally provide a BeforeValue and/or AfterValue . Both are inclusive.

type AmiProductSort added in v1.22.0

type AmiProductSort struct {

	// Field to sort the AMI products by.
	SortBy AmiProductSortBy

	// The sorting order. Can be ASCENDING or DESCENDING . The default value is
	// DESCENDING .
	SortOrder SortOrder
	// contains filtered or unexported fields
}

Objects that allows sorting on AMI products based on certain fields and sorting order.

type AmiProductSortBy added in v1.22.0

type AmiProductSortBy string
const (
	AmiProductSortByEntityId         AmiProductSortBy = "EntityId"
	AmiProductSortByLastModifiedDate AmiProductSortBy = "LastModifiedDate"
	AmiProductSortByProductTitle     AmiProductSortBy = "ProductTitle"
	AmiProductSortByVisibility       AmiProductSortBy = "Visibility"
)

Enum values for AmiProductSortBy

func (AmiProductSortBy) Values added in v1.22.0

Values returns all known values for AmiProductSortBy. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type AmiProductSummary added in v1.22.0

type AmiProductSummary struct {

	// The title of the AMI product.
	ProductTitle *string

	// The lifecycle of the AMI product.
	Visibility AmiProductVisibilityString
	// contains filtered or unexported fields
}

Object that contains summarized information about an AMI product.

type AmiProductTitleFilter added in v1.22.0

type AmiProductTitleFilter struct {

	// A string array of unique product title values to be filtered on.
	ValueList []string

	// A string that will be the wildCard input for product tile filter. It matches
	// the provided value as a substring in the actual value.
	WildCardValue *string
	// contains filtered or unexported fields
}

Object that allows filtering on product title.

type AmiProductVisibilityFilter added in v1.22.0

type AmiProductVisibilityFilter struct {

	// A string array of unique visibility values to be filtered on.
	ValueList []AmiProductVisibilityString
	// contains filtered or unexported fields
}

Object that allows filtering on the visibility of the product in the AWS Marketplace.

type AmiProductVisibilityString added in v1.22.0

type AmiProductVisibilityString string
const (
	AmiProductVisibilityStringLimited    AmiProductVisibilityString = "Limited"
	AmiProductVisibilityStringPublic     AmiProductVisibilityString = "Public"
	AmiProductVisibilityStringRestricted AmiProductVisibilityString = "Restricted"
	AmiProductVisibilityStringDraft      AmiProductVisibilityString = "Draft"
)

Enum values for AmiProductVisibilityString

func (AmiProductVisibilityString) Values added in v1.22.0

Values returns all known values for AmiProductVisibilityString. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type BatchDescribeErrorDetail added in v1.23.0

type BatchDescribeErrorDetail struct {

	// The error code returned.
	ErrorCode *string

	// The error message returned.
	ErrorMessage *string
	// contains filtered or unexported fields
}

An object that contains an error code and error message.

type Change

type Change struct {

	// Change types are single string values that describe your intention for the
	// change. Each change type is unique for each EntityType provided in the change's
	// scope. For more information about change types available for single-AMI
	// products, see Working with single-AMI products (https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products)
	// . Also, for more information about change types available for container-based
	// products, see Working with container products (https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products)
	// .
	//
	// This member is required.
	ChangeType *string

	// The entity to be changed.
	//
	// This member is required.
	Entity *Entity

	// Optional name for the change.
	ChangeName *string

	// This object contains details specific to the change type of the requested
	// change. For more information about change types available for single-AMI
	// products, see Working with single-AMI products (https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products)
	// . Also, for more information about change types available for container-based
	// products, see Working with container products (https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products)
	// .
	Details *string

	// Alternative field that accepts a JSON value instead of a string for ChangeType
	// details. You can use either Details or DetailsDocument , but not both.
	DetailsDocument document.Interface

	// The tags associated with the change.
	EntityTags []Tag
	// contains filtered or unexported fields
}

An object that contains the ChangeType , Details , and Entity .

type ChangeSetSummaryListItem

type ChangeSetSummaryListItem struct {

	// The ARN associated with the unique identifier for the change set referenced in
	// this request.
	ChangeSetArn *string

	// The unique identifier for a change set.
	ChangeSetId *string

	// The non-unique name for the change set.
	ChangeSetName *string

	// The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was
	// finished.
	EndTime *string

	// This object is a list of entity IDs (string) that are a part of a change set.
	// The entity ID list is a maximum of 20 entities. It must contain at least one
	// entity.
	EntityIdList []string

	// Returned if the change set is in FAILED status. Can be either CLIENT_ERROR ,
	// which means that there are issues with the request (see the ErrorDetailList of
	// DescribeChangeSet ), or SERVER_FAULT , which means that there is a problem in
	// the system, and you should retry your request.
	FailureCode FailureCode

	// The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was
	// started.
	StartTime *string

	// The current status of the change set.
	Status ChangeStatus
	// contains filtered or unexported fields
}

A summary of a change set returned in a list of change sets when the ListChangeSets action is called.

type ChangeStatus

type ChangeStatus string
const (
	ChangeStatusPreparing ChangeStatus = "PREPARING"
	ChangeStatusApplying  ChangeStatus = "APPLYING"
	ChangeStatusSucceeded ChangeStatus = "SUCCEEDED"
	ChangeStatusCancelled ChangeStatus = "CANCELLED"
	ChangeStatusFailed    ChangeStatus = "FAILED"
)

Enum values for ChangeStatus

func (ChangeStatus) Values added in v0.29.0

func (ChangeStatus) Values() []ChangeStatus

Values returns all known values for ChangeStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ChangeSummary

type ChangeSummary struct {

	// Optional name for the change.
	ChangeName *string

	// The type of the change.
	ChangeType *string

	// This object contains details specific to the change type of the requested
	// change.
	Details *string

	// The JSON value of the details specific to the change type of the requested
	// change.
	DetailsDocument document.Interface

	// The entity to be changed.
	Entity *Entity

	// An array of ErrorDetail objects associated with the change.
	ErrorDetailList []ErrorDetail
	// contains filtered or unexported fields
}

This object is a container for common summary information about the change. The summary doesn't contain the whole change structure.

type ContainerProductEntityIdFilter added in v1.22.0

type ContainerProductEntityIdFilter struct {

	// A string array of unique entity id values to be filtered on.
	ValueList []string
	// contains filtered or unexported fields
}

Object that allows filtering on entity id of a container product.

type ContainerProductFilters added in v1.22.0

type ContainerProductFilters struct {

	// Unique identifier for the container product.
	EntityId *ContainerProductEntityIdFilter

	// The last date on which the container product was modified.
	LastModifiedDate *ContainerProductLastModifiedDateFilter

	// The title of the container product.
	ProductTitle *ContainerProductTitleFilter

	// The visibility of the container product.
	Visibility *ContainerProductVisibilityFilter
	// contains filtered or unexported fields
}

Object containing all the filter fields for container products. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

type ContainerProductLastModifiedDateFilter added in v1.22.0

type ContainerProductLastModifiedDateFilter struct {

	// Dates between which the container product was last modified.
	DateRange *ContainerProductLastModifiedDateFilterDateRange
	// contains filtered or unexported fields
}

Object that allows filtering based on the last modified date of container products.

type ContainerProductLastModifiedDateFilterDateRange added in v1.22.0

type ContainerProductLastModifiedDateFilterDateRange struct {

	// Date after which the container product was last modified.
	AfterValue *string

	// Date before which the container product was last modified.
	BeforeValue *string
	// contains filtered or unexported fields
}

Object that contains date range of the last modified date to be filtered on. You can optionally provide a BeforeValue and/or AfterValue . Both are inclusive.

type ContainerProductSort added in v1.22.0

type ContainerProductSort struct {

	// Field to sort the container products by.
	SortBy ContainerProductSortBy

	// The sorting order. Can be ASCENDING or DESCENDING . The default value is
	// DESCENDING .
	SortOrder SortOrder
	// contains filtered or unexported fields
}

Objects that allows sorting on container products based on certain fields and sorting order.

type ContainerProductSortBy added in v1.22.0

type ContainerProductSortBy string
const (
	ContainerProductSortByEntityId         ContainerProductSortBy = "EntityId"
	ContainerProductSortByLastModifiedDate ContainerProductSortBy = "LastModifiedDate"
	ContainerProductSortByProductTitle     ContainerProductSortBy = "ProductTitle"
	ContainerProductSortByVisibility       ContainerProductSortBy = "Visibility"
)

Enum values for ContainerProductSortBy

func (ContainerProductSortBy) Values added in v1.22.0

Values returns all known values for ContainerProductSortBy. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ContainerProductSummary added in v1.22.0

type ContainerProductSummary struct {

	// The title of the container product.
	ProductTitle *string

	// The lifecycle of the product.
	Visibility ContainerProductVisibilityString
	// contains filtered or unexported fields
}

Object that contains summarized information about a container product.

type ContainerProductTitleFilter added in v1.22.0

type ContainerProductTitleFilter struct {

	// A string array of unique product title values to be filtered on.
	ValueList []string

	// A string that will be the wildCard input for product tile filter. It matches
	// the provided value as a substring in the actual value.
	WildCardValue *string
	// contains filtered or unexported fields
}

Object that allows filtering on product title.

type ContainerProductVisibilityFilter added in v1.22.0

type ContainerProductVisibilityFilter struct {

	// A string array of unique visibility values to be filtered on.
	ValueList []ContainerProductVisibilityString
	// contains filtered or unexported fields
}

Object that allows filtering on the visibility of the product in the AWS Marketplace.

type ContainerProductVisibilityString added in v1.22.0

type ContainerProductVisibilityString string
const (
	ContainerProductVisibilityStringLimited    ContainerProductVisibilityString = "Limited"
	ContainerProductVisibilityStringPublic     ContainerProductVisibilityString = "Public"
	ContainerProductVisibilityStringRestricted ContainerProductVisibilityString = "Restricted"
	ContainerProductVisibilityStringDraft      ContainerProductVisibilityString = "Draft"
)

Enum values for ContainerProductVisibilityString

func (ContainerProductVisibilityString) Values added in v1.22.0

Values returns all known values for ContainerProductVisibilityString. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type DataProductEntityIdFilter added in v1.22.0

type DataProductEntityIdFilter struct {

	// A string array of unique entity id values to be filtered on.
	ValueList []string
	// contains filtered or unexported fields
}

Object that allows filtering on entity id of a data product.

type DataProductFilters added in v1.22.0

type DataProductFilters struct {

	// Unique identifier for the data product.
	EntityId *DataProductEntityIdFilter

	// The last date on which the data product was modified.
	LastModifiedDate *DataProductLastModifiedDateFilter

	// The title of the data product.
	ProductTitle *DataProductTitleFilter

	// The visibility of the data product.
	Visibility *DataProductVisibilityFilter
	// contains filtered or unexported fields
}

Object containing all the filter fields for data products. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

type DataProductLastModifiedDateFilter added in v1.22.0

type DataProductLastModifiedDateFilter struct {

	// Dates between which the data product was last modified.
	DateRange *DataProductLastModifiedDateFilterDateRange
	// contains filtered or unexported fields
}

Object that allows filtering based on the last modified date of data products.

type DataProductLastModifiedDateFilterDateRange added in v1.22.0

type DataProductLastModifiedDateFilterDateRange struct {

	// Date after which the data product was last modified.
	AfterValue *string

	// Date before which the data product was last modified.
	BeforeValue *string
	// contains filtered or unexported fields
}

Object that contains date range of the last modified date to be filtered on. You can optionally provide a BeforeValue and/or AfterValue . Both are inclusive.

type DataProductSort added in v1.22.0

type DataProductSort struct {

	// Field to sort the data products by.
	SortBy DataProductSortBy

	// The sorting order. Can be ASCENDING or DESCENDING . The default value is
	// DESCENDING .
	SortOrder SortOrder
	// contains filtered or unexported fields
}

Objects that allows sorting on data products based on certain fields and sorting order.

type DataProductSortBy added in v1.22.0

type DataProductSortBy string
const (
	DataProductSortByEntityId         DataProductSortBy = "EntityId"
	DataProductSortByProductTitle     DataProductSortBy = "ProductTitle"
	DataProductSortByVisibility       DataProductSortBy = "Visibility"
	DataProductSortByLastModifiedDate DataProductSortBy = "LastModifiedDate"
)

Enum values for DataProductSortBy

func (DataProductSortBy) Values added in v1.22.0

Values returns all known values for DataProductSortBy. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type DataProductSummary added in v1.22.0

type DataProductSummary struct {

	// The title of the data product.
	ProductTitle *string

	// The lifecycle of the data product.
	Visibility DataProductVisibilityString
	// contains filtered or unexported fields
}

Object that contains summarized information about a data product.

type DataProductTitleFilter added in v1.22.0

type DataProductTitleFilter struct {

	// A string array of unique product title values to be filtered on.
	ValueList []string

	// A string that will be the wildCard input for product tile filter. It matches
	// the provided value as a substring in the actual value.
	WildCardValue *string
	// contains filtered or unexported fields
}

Object that allows filtering on product title.

type DataProductVisibilityFilter added in v1.22.0

type DataProductVisibilityFilter struct {

	// A string array of unique visibility values to be filtered on.
	ValueList []DataProductVisibilityString
	// contains filtered or unexported fields
}

Object that allows filtering on the visibility of the product in the AWS Marketplace.

type DataProductVisibilityString added in v1.22.0

type DataProductVisibilityString string
const (
	DataProductVisibilityStringLimited     DataProductVisibilityString = "Limited"
	DataProductVisibilityStringPublic      DataProductVisibilityString = "Public"
	DataProductVisibilityStringRestricted  DataProductVisibilityString = "Restricted"
	DataProductVisibilityStringUnavailable DataProductVisibilityString = "Unavailable"
	DataProductVisibilityStringDraft       DataProductVisibilityString = "Draft"
)

Enum values for DataProductVisibilityString

func (DataProductVisibilityString) Values added in v1.22.0

Values returns all known values for DataProductVisibilityString. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Entity

type Entity struct {

	// The type of entity.
	//
	// This member is required.
	Type *string

	// The identifier for the entity.
	Identifier *string
	// contains filtered or unexported fields
}

An entity contains data that describes your product, its supported features, and how it can be used or launched by your customer.

type EntityDetail added in v1.23.0

type EntityDetail struct {

	// An object that contains all the details of the entity.
	DetailsDocument document.Interface

	// The Amazon Resource Name (ARN) of the entity.
	EntityArn *string

	// The ID of the entity, in the format of EntityId@RevisionId .
	EntityIdentifier *string

	// The entity type of the entity, in the format of EntityType@Version .
	EntityType *string

	// The last time the entity was modified.
	LastModifiedDate *string
	// contains filtered or unexported fields
}

An object that contains metadata and details about the entity.

type EntityRequest added in v1.23.0

type EntityRequest struct {

	// The name of the catalog the entity is present in. The only value at this time
	// is AWSMarketplace .
	//
	// This member is required.
	Catalog *string

	// The ID of the entity.
	//
	// This member is required.
	EntityId *string
	// contains filtered or unexported fields
}

An object that contains entity ID and the catalog in which the entity is present.

type EntitySummary

type EntitySummary struct {

	// An object that contains summary information about the AMI product.
	AmiProductSummary *AmiProductSummary

	// An object that contains summary information about the container product.
	ContainerProductSummary *ContainerProductSummary

	// An object that contains summary information about the data product.
	DataProductSummary *DataProductSummary

	// The ARN associated with the unique identifier for the entity.
	EntityArn *string

	// The unique identifier for the entity.
	EntityId *string

	// The type of the entity.
	EntityType *string

	// The last time the entity was published, using ISO 8601 format
	// (2018-02-27T13:45:22Z).
	LastModifiedDate *string

	// The name for the entity. This value is not unique. It is defined by the seller.
	Name *string

	// An object that contains summary information about the offer.
	OfferSummary *OfferSummary

	// An object that contains summary information about the Resale Authorization.
	ResaleAuthorizationSummary *ResaleAuthorizationSummary

	// An object that contains summary information about the SaaS product.
	SaaSProductSummary *SaaSProductSummary

	// The visibility status of the entity to buyers. This value can be Public
	// (everyone can view the entity), Limited (the entity is visible to limited
	// accounts only), or Restricted (the entity was published and then unpublished
	// and only existing buyers can view it).
	Visibility *string
	// contains filtered or unexported fields
}

This object is a container for common summary information about the entity. The summary doesn't contain the whole entity structure, but it does contain information common across all entities.

type EntityTypeFilters added in v1.22.0

type EntityTypeFilters interface {
	// contains filtered or unexported methods
}

Object containing all the filter fields per entity type.

The following types satisfy this interface:

EntityTypeFiltersMemberAmiProductFilters
EntityTypeFiltersMemberContainerProductFilters
EntityTypeFiltersMemberDataProductFilters
EntityTypeFiltersMemberOfferFilters
EntityTypeFiltersMemberResaleAuthorizationFilters
EntityTypeFiltersMemberSaaSProductFilters
Example (OutputUsage)
package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/marketplacecatalog/types"
)

func main() {
	var union types.EntityTypeFilters
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.EntityTypeFiltersMemberAmiProductFilters:
		_ = v.Value // Value is types.AmiProductFilters

	case *types.EntityTypeFiltersMemberContainerProductFilters:
		_ = v.Value // Value is types.ContainerProductFilters

	case *types.EntityTypeFiltersMemberDataProductFilters:
		_ = v.Value // Value is types.DataProductFilters

	case *types.EntityTypeFiltersMemberOfferFilters:
		_ = v.Value // Value is types.OfferFilters

	case *types.EntityTypeFiltersMemberResaleAuthorizationFilters:
		_ = v.Value // Value is types.ResaleAuthorizationFilters

	case *types.EntityTypeFiltersMemberSaaSProductFilters:
		_ = v.Value // Value is types.SaaSProductFilters

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}
Output:

type EntityTypeFiltersMemberAmiProductFilters added in v1.22.0

type EntityTypeFiltersMemberAmiProductFilters struct {
	Value AmiProductFilters
	// contains filtered or unexported fields
}

A filter for AMI products.

type EntityTypeFiltersMemberContainerProductFilters added in v1.22.0

type EntityTypeFiltersMemberContainerProductFilters struct {
	Value ContainerProductFilters
	// contains filtered or unexported fields
}

A filter for container products.

type EntityTypeFiltersMemberDataProductFilters added in v1.22.0

type EntityTypeFiltersMemberDataProductFilters struct {
	Value DataProductFilters
	// contains filtered or unexported fields
}

A filter for data products.

type EntityTypeFiltersMemberOfferFilters added in v1.22.0

type EntityTypeFiltersMemberOfferFilters struct {
	Value OfferFilters
	// contains filtered or unexported fields
}

A filter for offers.

type EntityTypeFiltersMemberResaleAuthorizationFilters added in v1.22.0

type EntityTypeFiltersMemberResaleAuthorizationFilters struct {
	Value ResaleAuthorizationFilters
	// contains filtered or unexported fields
}

A filter for Resale Authorizations.

type EntityTypeFiltersMemberSaaSProductFilters added in v1.22.0

type EntityTypeFiltersMemberSaaSProductFilters struct {
	Value SaaSProductFilters
	// contains filtered or unexported fields
}

A filter for SaaS products.

type EntityTypeSort added in v1.22.0

type EntityTypeSort interface {
	// contains filtered or unexported methods
}

Object containing all the sort fields per entity type.

The following types satisfy this interface:

EntityTypeSortMemberAmiProductSort
EntityTypeSortMemberContainerProductSort
EntityTypeSortMemberDataProductSort
EntityTypeSortMemberOfferSort
EntityTypeSortMemberResaleAuthorizationSort
EntityTypeSortMemberSaaSProductSort
Example (OutputUsage)
package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/marketplacecatalog/types"
)

func main() {
	var union types.EntityTypeSort
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.EntityTypeSortMemberAmiProductSort:
		_ = v.Value // Value is types.AmiProductSort

	case *types.EntityTypeSortMemberContainerProductSort:
		_ = v.Value // Value is types.ContainerProductSort

	case *types.EntityTypeSortMemberDataProductSort:
		_ = v.Value // Value is types.DataProductSort

	case *types.EntityTypeSortMemberOfferSort:
		_ = v.Value // Value is types.OfferSort

	case *types.EntityTypeSortMemberResaleAuthorizationSort:
		_ = v.Value // Value is types.ResaleAuthorizationSort

	case *types.EntityTypeSortMemberSaaSProductSort:
		_ = v.Value // Value is types.SaaSProductSort

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}
Output:

type EntityTypeSortMemberAmiProductSort added in v1.22.0

type EntityTypeSortMemberAmiProductSort struct {
	Value AmiProductSort
	// contains filtered or unexported fields
}

A sort for AMI products.

type EntityTypeSortMemberContainerProductSort added in v1.22.0

type EntityTypeSortMemberContainerProductSort struct {
	Value ContainerProductSort
	// contains filtered or unexported fields
}

A sort for container products.

type EntityTypeSortMemberDataProductSort added in v1.22.0

type EntityTypeSortMemberDataProductSort struct {
	Value DataProductSort
	// contains filtered or unexported fields
}

A sort for data products.

type EntityTypeSortMemberOfferSort added in v1.22.0

type EntityTypeSortMemberOfferSort struct {
	Value OfferSort
	// contains filtered or unexported fields
}

A sort for offers.

type EntityTypeSortMemberResaleAuthorizationSort added in v1.22.0

type EntityTypeSortMemberResaleAuthorizationSort struct {
	Value ResaleAuthorizationSort
	// contains filtered or unexported fields
}

A sort for Resale Authorizations.

type EntityTypeSortMemberSaaSProductSort added in v1.22.0

type EntityTypeSortMemberSaaSProductSort struct {
	Value SaaSProductSort
	// contains filtered or unexported fields
}

A sort for SaaS products.

type ErrorDetail

type ErrorDetail struct {

	// The error code that identifies the type of error.
	ErrorCode *string

	// The message for the error.
	ErrorMessage *string
	// contains filtered or unexported fields
}

Details about the error.

type FailureCode added in v0.29.0

type FailureCode string
const (
	FailureCodeClientError FailureCode = "CLIENT_ERROR"
	FailureCodeServerFault FailureCode = "SERVER_FAULT"
)

Enum values for FailureCode

func (FailureCode) Values added in v0.29.0

func (FailureCode) Values() []FailureCode

Values returns all known values for FailureCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Filter

type Filter struct {

	// For ListEntities , the supported value for this is an EntityId . For
	// ListChangeSets , the supported values are as follows:
	Name *string

	// ListEntities - This is a list of unique EntityId s. ListChangeSets - The
	// supported filter names and associated ValueList s is as follows:
	//   - ChangeSetName - The supported ValueList is a list of non-unique
	//   ChangeSetName s. These are defined when you call the StartChangeSet action.
	//   - Status - The supported ValueList is a list of statuses for all change set
	//   requests.
	//   - EntityId - The supported ValueList is a list of unique EntityId s.
	//   - BeforeStartTime - The supported ValueList is a list of all change sets that
	//   started before the filter value.
	//   - AfterStartTime - The supported ValueList is a list of all change sets that
	//   started after the filter value.
	//   - BeforeEndTime - The supported ValueList is a list of all change sets that
	//   ended before the filter value.
	//   - AfterEndTime - The supported ValueList is a list of all change sets that
	//   ended after the filter value.
	ValueList []string
	// contains filtered or unexported fields
}

A filter object, used to optionally filter results from calls to the ListEntities and ListChangeSets actions.

type Intent added in v1.24.0

type Intent string
const (
	IntentValidate Intent = "VALIDATE"
	IntentApply    Intent = "APPLY"
)

Enum values for Intent

func (Intent) Values added in v1.24.0

func (Intent) Values() []Intent

Values returns all known values for Intent. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type InternalServiceException

type InternalServiceException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

There was an internal service exception. HTTP status code: 500

func (*InternalServiceException) Error

func (e *InternalServiceException) Error() string

func (*InternalServiceException) ErrorCode

func (e *InternalServiceException) ErrorCode() string

func (*InternalServiceException) ErrorFault

func (e *InternalServiceException) ErrorFault() smithy.ErrorFault

func (*InternalServiceException) ErrorMessage

func (e *InternalServiceException) ErrorMessage() string

type OfferAvailabilityEndDateFilter added in v1.22.0

type OfferAvailabilityEndDateFilter struct {

	// Allows filtering on the AvailabilityEndDate of an offer with date range as
	// input.
	DateRange *OfferAvailabilityEndDateFilterDateRange
	// contains filtered or unexported fields
}

Allows filtering on the AvailabilityEndDate of an offer.

type OfferAvailabilityEndDateFilterDateRange added in v1.22.0

type OfferAvailabilityEndDateFilterDateRange struct {

	// Allows filtering on the AvailabilityEndDate of an offer after a date.
	AfterValue *string

	// Allows filtering on the AvailabilityEndDate of an offer before a date.
	BeforeValue *string
	// contains filtered or unexported fields
}

Allows filtering on the AvailabilityEndDate of an offer with date range as input.

type OfferBuyerAccountsFilter added in v1.22.0

type OfferBuyerAccountsFilter struct {

	// Allows filtering on the BuyerAccounts of an offer with wild card input.
	WildCardValue *string
	// contains filtered or unexported fields
}

Allows filtering on the BuyerAccounts of an offer.

type OfferEntityIdFilter added in v1.22.0

type OfferEntityIdFilter struct {

	// Allows filtering on entity id of an offer with list input.
	ValueList []string
	// contains filtered or unexported fields
}

Allows filtering on the entity id of an offer.

type OfferFilters added in v1.22.0

type OfferFilters struct {

	// Allows filtering on the AvailabilityEndDate of an offer.
	AvailabilityEndDate *OfferAvailabilityEndDateFilter

	// Allows filtering on the BuyerAccounts of an offer.
	BuyerAccounts *OfferBuyerAccountsFilter

	// Allows filtering on EntityId of an offer.
	EntityId *OfferEntityIdFilter

	// Allows filtering on the LastModifiedDate of an offer.
	LastModifiedDate *OfferLastModifiedDateFilter

	// Allows filtering on the Name of an offer.
	Name *OfferNameFilter

	// Allows filtering on the ProductId of an offer.
	ProductId *OfferProductIdFilter

	// Allows filtering on the ReleaseDate of an offer.
	ReleaseDate *OfferReleaseDateFilter

	// Allows filtering on the ResaleAuthorizationId of an offer. Not all offers have
	// a ResaleAuthorizationId . The response will only include offers for which you
	// have permissions.
	ResaleAuthorizationId *OfferResaleAuthorizationIdFilter

	// Allows filtering on the State of an offer.
	State *OfferStateFilter

	// Allows filtering on the Targeting of an offer.
	Targeting *OfferTargetingFilter
	// contains filtered or unexported fields
}

Object containing all the filter fields for offers entity. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

type OfferLastModifiedDateFilter added in v1.22.0

type OfferLastModifiedDateFilter struct {

	// Allows filtering on the LastModifiedDate of an offer with date range as input.
	DateRange *OfferLastModifiedDateFilterDateRange
	// contains filtered or unexported fields
}

Allows filtering on the LastModifiedDate of an offer.

type OfferLastModifiedDateFilterDateRange added in v1.22.0

type OfferLastModifiedDateFilterDateRange struct {

	// Allows filtering on the LastModifiedDate of an offer after a date.
	AfterValue *string

	// Allows filtering on the LastModifiedDate of an offer before a date.
	BeforeValue *string
	// contains filtered or unexported fields
}

Allows filtering on the LastModifiedDate of an offer with date range as input.

type OfferNameFilter added in v1.22.0

type OfferNameFilter struct {

	// Allows filtering on the Name of an offer with list input.
	ValueList []string

	// Allows filtering on the Name of an offer with wild card input.
	WildCardValue *string
	// contains filtered or unexported fields
}

Allows filtering on the Name of an offer.

type OfferProductIdFilter added in v1.22.0

type OfferProductIdFilter struct {

	// Allows filtering on the ProductId of an offer with list input.
	ValueList []string
	// contains filtered or unexported fields
}

Allows filtering on the ProductId of an offer.

type OfferReleaseDateFilter added in v1.22.0

type OfferReleaseDateFilter struct {

	// Allows filtering on the ReleaseDate of an offer with date range as input.
	DateRange *OfferReleaseDateFilterDateRange
	// contains filtered or unexported fields
}

Allows filtering on the ReleaseDate of an offer.

type OfferReleaseDateFilterDateRange added in v1.22.0

type OfferReleaseDateFilterDateRange struct {

	// Allows filtering on the ReleaseDate of offers after a date.
	AfterValue *string

	// Allows filtering on the ReleaseDate of offers before a date.
	BeforeValue *string
	// contains filtered or unexported fields
}

Allows filtering on the ReleaseDate of an offer with date range as input.

type OfferResaleAuthorizationIdFilter added in v1.26.0

type OfferResaleAuthorizationIdFilter struct {

	// Allows filtering on the ResaleAuthorizationId of an offer with list input.
	ValueList []string
	// contains filtered or unexported fields
}

Allows filtering on the ResaleAuthorizationId of an offer. Not all offers have a ResaleAuthorizationId . The response will only include offers for which you have permissions.

type OfferSort added in v1.22.0

type OfferSort struct {

	// Allows to sort offers.
	SortBy OfferSortBy

	// Allows to sort offers.
	SortOrder SortOrder
	// contains filtered or unexported fields
}

Allows to sort offers.

type OfferSortBy added in v1.22.0

type OfferSortBy string
const (
	OfferSortByEntityId              OfferSortBy = "EntityId"
	OfferSortByName                  OfferSortBy = "Name"
	OfferSortByProductId             OfferSortBy = "ProductId"
	OfferSortByResaleAuthorizationId OfferSortBy = "ResaleAuthorizationId"
	OfferSortByReleaseDate           OfferSortBy = "ReleaseDate"
	OfferSortByAvailabilityEndDate   OfferSortBy = "AvailabilityEndDate"
	OfferSortByBuyerAccounts         OfferSortBy = "BuyerAccounts"
	OfferSortByState                 OfferSortBy = "State"
	OfferSortByTargeting             OfferSortBy = "Targeting"
	OfferSortByLastModifiedDate      OfferSortBy = "LastModifiedDate"
)

Enum values for OfferSortBy

func (OfferSortBy) Values added in v1.22.0

func (OfferSortBy) Values() []OfferSortBy

Values returns all known values for OfferSortBy. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type OfferStateFilter added in v1.22.0

type OfferStateFilter struct {

	// Allows filtering on the State of an offer with list input.
	ValueList []OfferStateString
	// contains filtered or unexported fields
}

Allows filtering on the State of an offer.

type OfferStateString added in v1.22.0

type OfferStateString string
const (
	OfferStateStringDraft    OfferStateString = "Draft"
	OfferStateStringReleased OfferStateString = "Released"
)

Enum values for OfferStateString

func (OfferStateString) Values added in v1.22.0

Values returns all known values for OfferStateString. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type OfferSummary added in v1.22.0

type OfferSummary struct {

	// The availability end date of the offer.
	AvailabilityEndDate *string

	// The buyer accounts in the offer.
	BuyerAccounts []string

	// The name of the offer.
	Name *string

	// The product ID of the offer.
	ProductId *string

	// The release date of the offer.
	ReleaseDate *string

	// The ResaleAuthorizationId of the offer.
	ResaleAuthorizationId *string

	// The status of the offer.
	State OfferStateString

	// The targeting in the offer.
	Targeting []OfferTargetingString
	// contains filtered or unexported fields
}

Summarized information about an offer.

type OfferTargetingFilter added in v1.22.0

type OfferTargetingFilter struct {

	// Allows filtering on the Targeting of an offer with list input.
	ValueList []OfferTargetingString
	// contains filtered or unexported fields
}

Allows filtering on the Targeting of an offer.

type OfferTargetingString added in v1.22.0

type OfferTargetingString string
const (
	OfferTargetingStringBuyerAccounts         OfferTargetingString = "BuyerAccounts"
	OfferTargetingStringParticipatingPrograms OfferTargetingString = "ParticipatingPrograms"
	OfferTargetingStringCountryCodes          OfferTargetingString = "CountryCodes"
	OfferTargetingStringNone                  OfferTargetingString = "None"
)

Enum values for OfferTargetingString

func (OfferTargetingString) Values added in v1.22.0

Values returns all known values for OfferTargetingString. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type OwnershipType added in v1.16.0

type OwnershipType string
const (
	OwnershipTypeSelf   OwnershipType = "SELF"
	OwnershipTypeShared OwnershipType = "SHARED"
)

Enum values for OwnershipType

func (OwnershipType) Values added in v1.16.0

func (OwnershipType) Values() []OwnershipType

Values returns all known values for OwnershipType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ResaleAuthorizationAvailabilityEndDateFilter added in v1.22.0

type ResaleAuthorizationAvailabilityEndDateFilter struct {

	// Allows filtering on AvailabilityEndDate of a ResaleAuthorization with date
	// range as input
	DateRange *ResaleAuthorizationAvailabilityEndDateFilterDateRange

	// Allows filtering on AvailabilityEndDate of a ResaleAuthorization with date
	// value as input.
	ValueList []string
	// contains filtered or unexported fields
}

Allows filtering on AvailabilityEndDate of a ResaleAuthorization.

type ResaleAuthorizationAvailabilityEndDateFilterDateRange added in v1.22.0

type ResaleAuthorizationAvailabilityEndDateFilterDateRange struct {

	// Allows filtering on AvailabilityEndDate of a ResaleAuthorization after a date.
	AfterValue *string

	// Allows filtering on AvailabilityEndDate of a ResaleAuthorization before a date.
	BeforeValue *string
	// contains filtered or unexported fields
}

Allows filtering on AvailabilityEndDate of a ResaleAuthorization with date range as input.

type ResaleAuthorizationCreatedDateFilter added in v1.22.0

type ResaleAuthorizationCreatedDateFilter struct {

	// Allows filtering on CreatedDate of a ResaleAuthorization with date range as
	// input.
	DateRange *ResaleAuthorizationCreatedDateFilterDateRange

	// Allows filtering on CreatedDate of a ResaleAuthorization with date value as
	// input.
	ValueList []string
	// contains filtered or unexported fields
}

Allows filtering on CreatedDate of a ResaleAuthorization.

type ResaleAuthorizationCreatedDateFilterDateRange added in v1.22.0

type ResaleAuthorizationCreatedDateFilterDateRange struct {

	// Allows filtering on CreatedDate of a ResaleAuthorization after a date.
	AfterValue *string

	// Allows filtering on CreatedDate of a ResaleAuthorization before a date.
	BeforeValue *string
	// contains filtered or unexported fields
}

Allows filtering on CreatedDate of a ResaleAuthorization with date range as input.

type ResaleAuthorizationEntityIdFilter added in v1.22.0

type ResaleAuthorizationEntityIdFilter struct {

	// Allows filtering on EntityId of a ResaleAuthorization with list input.
	ValueList []string
	// contains filtered or unexported fields
}

Allows filtering on EntityId of a ResaleAuthorization.

type ResaleAuthorizationFilters added in v1.22.0

type ResaleAuthorizationFilters struct {

	// Allows filtering on the AvailabilityEndDate of a ResaleAuthorization.
	AvailabilityEndDate *ResaleAuthorizationAvailabilityEndDateFilter

	// Allows filtering on the CreatedDate of a ResaleAuthorization.
	CreatedDate *ResaleAuthorizationCreatedDateFilter

	// Allows filtering on the EntityId of a ResaleAuthorization.
	EntityId *ResaleAuthorizationEntityIdFilter

	// Allows filtering on the LastModifiedDate of a ResaleAuthorization.
	LastModifiedDate *ResaleAuthorizationLastModifiedDateFilter

	// Allows filtering on the ManufacturerAccountId of a ResaleAuthorization.
	ManufacturerAccountId *ResaleAuthorizationManufacturerAccountIdFilter

	// Allows filtering on the ManufacturerLegalName of a ResaleAuthorization.
	ManufacturerLegalName *ResaleAuthorizationManufacturerLegalNameFilter

	// Allows filtering on the Name of a ResaleAuthorization.
	Name *ResaleAuthorizationNameFilter

	// Allows filtering on the OfferExtendedStatus of a ResaleAuthorization.
	OfferExtendedStatus *ResaleAuthorizationOfferExtendedStatusFilter

	// Allows filtering on the ProductId of a ResaleAuthorization.
	ProductId *ResaleAuthorizationProductIdFilter

	// Allows filtering on the ProductName of a ResaleAuthorization.
	ProductName *ResaleAuthorizationProductNameFilter

	// Allows filtering on the ResellerAccountID of a ResaleAuthorization.
	ResellerAccountID *ResaleAuthorizationResellerAccountIDFilter

	// Allows filtering on the ResellerLegalName of a ResaleAuthorization.
	ResellerLegalName *ResaleAuthorizationResellerLegalNameFilter

	// Allows filtering on the Status of a ResaleAuthorization.
	Status *ResaleAuthorizationStatusFilter
	// contains filtered or unexported fields
}

Object containing all the filter fields for resale authorization entity. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

type ResaleAuthorizationLastModifiedDateFilter added in v1.22.0

type ResaleAuthorizationLastModifiedDateFilter struct {

	// Allows filtering on the LastModifiedDate of a ResaleAuthorization with date
	// range as input.
	DateRange *ResaleAuthorizationLastModifiedDateFilterDateRange
	// contains filtered or unexported fields
}

Allows filtering on the LastModifiedDate of a ResaleAuthorization.

type ResaleAuthorizationLastModifiedDateFilterDateRange added in v1.22.0

type ResaleAuthorizationLastModifiedDateFilterDateRange struct {

	// Allows filtering on the LastModifiedDate of a ResaleAuthorization after a date.
	AfterValue *string

	// Allows filtering on the LastModifiedDate of a ResaleAuthorization before a date.
	BeforeValue *string
	// contains filtered or unexported fields
}

Allows filtering on the LastModifiedDate of a ResaleAuthorization with date range as input.

type ResaleAuthorizationManufacturerAccountIdFilter added in v1.22.0

type ResaleAuthorizationManufacturerAccountIdFilter struct {

	// Allows filtering on the ManufacturerAccountId of a ResaleAuthorization with
	// list input.
	ValueList []string

	// Allows filtering on the ManufacturerAccountId of a ResaleAuthorization with
	// wild card input.
	WildCardValue *string
	// contains filtered or unexported fields
}

Allows filtering on the ManufacturerAccountId of a ResaleAuthorization.

type ResaleAuthorizationManufacturerLegalNameFilter added in v1.22.0

type ResaleAuthorizationManufacturerLegalNameFilter struct {

	// Allows filtering on the ManufacturerLegalName of a ResaleAuthorization with
	// list input.
	ValueList []string

	// Allows filtering on the ManufacturerLegalName of a ResaleAuthorization with
	// wild card input.
	WildCardValue *string
	// contains filtered or unexported fields
}

Allows filtering on the ManufacturerLegalName of a ResaleAuthorization.

type ResaleAuthorizationNameFilter added in v1.22.0

type ResaleAuthorizationNameFilter struct {

	// Allows filtering on the Name of a ResaleAuthorization with list input.
	ValueList []string

	// Allows filtering on the Name of a ResaleAuthorization with wild card input.
	WildCardValue *string
	// contains filtered or unexported fields
}

Allows filtering on the Name of a ResaleAuthorization.

type ResaleAuthorizationOfferExtendedStatusFilter added in v1.22.0

type ResaleAuthorizationOfferExtendedStatusFilter struct {

	// Allows filtering on the OfferExtendedStatus of a ResaleAuthorization with list
	// input.
	ValueList []string
	// contains filtered or unexported fields
}

Allows filtering on the OfferExtendedStatus of a ResaleAuthorization.

type ResaleAuthorizationProductIdFilter added in v1.22.0

type ResaleAuthorizationProductIdFilter struct {

	// Allows filtering on the ProductId of a ResaleAuthorization with list input.
	ValueList []string

	// Allows filtering on the ProductId of a ResaleAuthorization with wild card input.
	WildCardValue *string
	// contains filtered or unexported fields
}

Allows filtering on the ProductId of a ResaleAuthorization.

type ResaleAuthorizationProductNameFilter added in v1.22.0

type ResaleAuthorizationProductNameFilter struct {

	// Allows filtering on the ProductName of a ResaleAuthorization with list input.
	ValueList []string

	// Allows filtering on the ProductName of a ResaleAuthorization with wild card
	// input.
	WildCardValue *string
	// contains filtered or unexported fields
}

Allows filtering on the ProductName of a ResaleAuthorization.

type ResaleAuthorizationResellerAccountIDFilter added in v1.22.0

type ResaleAuthorizationResellerAccountIDFilter struct {

	// Allows filtering on the ResellerAccountID of a ResaleAuthorization with list
	// input.
	ValueList []string

	// Allows filtering on the ResellerAccountID of a ResaleAuthorization with wild
	// card input.
	WildCardValue *string
	// contains filtered or unexported fields
}

Allows filtering on the ResellerAccountID of a ResaleAuthorization.

type ResaleAuthorizationResellerLegalNameFilter added in v1.22.0

type ResaleAuthorizationResellerLegalNameFilter struct {

	// Allows filtering on the ResellerLegalNameProductName of a ResaleAuthorization
	// with list input.
	ValueList []string

	// Allows filtering on the ResellerLegalName of a ResaleAuthorization with wild
	// card input.
	WildCardValue *string
	// contains filtered or unexported fields
}

Allows filtering on the ResellerLegalName of a ResaleAuthorization.

type ResaleAuthorizationSort added in v1.22.0

type ResaleAuthorizationSort struct {

	// Allows to sort ResaleAuthorization.
	SortBy ResaleAuthorizationSortBy

	// Allows to sort ResaleAuthorization.
	SortOrder SortOrder
	// contains filtered or unexported fields
}

Allows to sort ResaleAuthorization.

type ResaleAuthorizationSortBy added in v1.22.0

type ResaleAuthorizationSortBy string
const (
	ResaleAuthorizationSortByEntityId              ResaleAuthorizationSortBy = "EntityId"
	ResaleAuthorizationSortByName                  ResaleAuthorizationSortBy = "Name"
	ResaleAuthorizationSortByProductId             ResaleAuthorizationSortBy = "ProductId"
	ResaleAuthorizationSortByProductName           ResaleAuthorizationSortBy = "ProductName"
	ResaleAuthorizationSortByManufacturerAccountId ResaleAuthorizationSortBy = "ManufacturerAccountId"
	ResaleAuthorizationSortByManufacturerLegalName ResaleAuthorizationSortBy = "ManufacturerLegalName"
	ResaleAuthorizationSortByResellerAccountID     ResaleAuthorizationSortBy = "ResellerAccountID"
	ResaleAuthorizationSortByResellerLegalName     ResaleAuthorizationSortBy = "ResellerLegalName"
	ResaleAuthorizationSortByStatus                ResaleAuthorizationSortBy = "Status"
	ResaleAuthorizationSortByOfferExtendedStatus   ResaleAuthorizationSortBy = "OfferExtendedStatus"
	ResaleAuthorizationSortByCreatedDate           ResaleAuthorizationSortBy = "CreatedDate"
	ResaleAuthorizationSortByAvailabilityEndDate   ResaleAuthorizationSortBy = "AvailabilityEndDate"
	ResaleAuthorizationSortByLastModifiedDate      ResaleAuthorizationSortBy = "LastModifiedDate"
)

Enum values for ResaleAuthorizationSortBy

func (ResaleAuthorizationSortBy) Values added in v1.22.0

Values returns all known values for ResaleAuthorizationSortBy. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ResaleAuthorizationStatusFilter added in v1.22.0

type ResaleAuthorizationStatusFilter struct {

	// Allows filtering on the Status of a ResaleAuthorization with list input.
	ValueList []ResaleAuthorizationStatusString
	// contains filtered or unexported fields
}

Allows filtering on the Status of a ResaleAuthorization.

type ResaleAuthorizationStatusString added in v1.22.0

type ResaleAuthorizationStatusString string
const (
	ResaleAuthorizationStatusStringDraft      ResaleAuthorizationStatusString = "Draft"
	ResaleAuthorizationStatusStringActive     ResaleAuthorizationStatusString = "Active"
	ResaleAuthorizationStatusStringRestricted ResaleAuthorizationStatusString = "Restricted"
)

Enum values for ResaleAuthorizationStatusString

func (ResaleAuthorizationStatusString) Values added in v1.22.0

Values returns all known values for ResaleAuthorizationStatusString. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ResaleAuthorizationSummary added in v1.22.0

type ResaleAuthorizationSummary struct {

	// The availability end date of the ResaleAuthorization.
	AvailabilityEndDate *string

	// The created date of the ResaleAuthorization.
	CreatedDate *string

	// The manufacturer account ID of the ResaleAuthorization.
	ManufacturerAccountId *string

	// The manufacturer legal name of the ResaleAuthorization.
	ManufacturerLegalName *string

	// The name of the ResaleAuthorization.
	Name *string

	// The offer extended status of the ResaleAuthorization
	OfferExtendedStatus *string

	// The product ID of the ResaleAuthorization.
	ProductId *string

	// The product name of the ResaleAuthorization.
	ProductName *string

	// The reseller account ID of the ResaleAuthorization.
	ResellerAccountID *string

	// The reseller legal name of the ResaleAuthorization
	ResellerLegalName *string

	// The status of the ResaleAuthorization.
	Status ResaleAuthorizationStatusString
	// contains filtered or unexported fields
}

Summarized information about a Resale Authorization.

type ResourceInUseException

type ResourceInUseException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The resource is currently in use.

func (*ResourceInUseException) Error

func (e *ResourceInUseException) Error() string

func (*ResourceInUseException) ErrorCode

func (e *ResourceInUseException) ErrorCode() string

func (*ResourceInUseException) ErrorFault

func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault

func (*ResourceInUseException) ErrorMessage

func (e *ResourceInUseException) ErrorMessage() string

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified resource wasn't found. HTTP status code: 404

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type ResourceNotSupportedException

type ResourceNotSupportedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Currently, the specified resource is not supported.

func (*ResourceNotSupportedException) Error

func (*ResourceNotSupportedException) ErrorCode

func (e *ResourceNotSupportedException) ErrorCode() string

func (*ResourceNotSupportedException) ErrorFault

func (*ResourceNotSupportedException) ErrorMessage

func (e *ResourceNotSupportedException) ErrorMessage() string

type SaaSProductEntityIdFilter added in v1.22.0

type SaaSProductEntityIdFilter struct {

	// A string array of unique entity id values to be filtered on.
	ValueList []string
	// contains filtered or unexported fields
}

Object that allows filtering on entity id of a SaaS product.

type SaaSProductFilters added in v1.22.0

type SaaSProductFilters struct {

	// Unique identifier for the SaaS product.
	EntityId *SaaSProductEntityIdFilter

	// The last date on which the SaaS product was modified.
	LastModifiedDate *SaaSProductLastModifiedDateFilter

	// The title of the SaaS product.
	ProductTitle *SaaSProductTitleFilter

	// The visibility of the SaaS product.
	Visibility *SaaSProductVisibilityFilter
	// contains filtered or unexported fields
}

Object containing all the filter fields for SaaS products. Client can add only one wildcard filter and a maximum of 8 filters in a single ListEntities request.

type SaaSProductLastModifiedDateFilter added in v1.22.0

type SaaSProductLastModifiedDateFilter struct {

	// Dates between which the SaaS product was last modified.
	DateRange *SaaSProductLastModifiedDateFilterDateRange
	// contains filtered or unexported fields
}

Object that allows filtering based on the last modified date of SaaS products

type SaaSProductLastModifiedDateFilterDateRange added in v1.22.0

type SaaSProductLastModifiedDateFilterDateRange struct {

	// Date after which the SaaS product was last modified.
	AfterValue *string

	// Date before which the SaaS product was last modified.
	BeforeValue *string
	// contains filtered or unexported fields
}

Object that contains date range of the last modified date to be filtered on. You can optionally provide a BeforeValue and/or AfterValue . Both are inclusive.

type SaaSProductSort added in v1.22.0

type SaaSProductSort struct {

	// Field to sort the SaaS products by.
	SortBy SaaSProductSortBy

	// The sorting order. Can be ASCENDING or DESCENDING . The default value is
	// DESCENDING .
	SortOrder SortOrder
	// contains filtered or unexported fields
}

Objects that allows sorting on SaaS products based on certain fields and sorting order.

type SaaSProductSortBy added in v1.22.0

type SaaSProductSortBy string
const (
	SaaSProductSortByEntityId         SaaSProductSortBy = "EntityId"
	SaaSProductSortByProductTitle     SaaSProductSortBy = "ProductTitle"
	SaaSProductSortByVisibility       SaaSProductSortBy = "Visibility"
	SaaSProductSortByLastModifiedDate SaaSProductSortBy = "LastModifiedDate"
)

Enum values for SaaSProductSortBy

func (SaaSProductSortBy) Values added in v1.22.0

Values returns all known values for SaaSProductSortBy. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type SaaSProductSummary added in v1.22.0

type SaaSProductSummary struct {

	// The title of the SaaS product.
	ProductTitle *string

	// The lifecycle of the SaaS product.
	Visibility SaaSProductVisibilityString
	// contains filtered or unexported fields
}

Object that contains summarized information about a SaaS product.

type SaaSProductTitleFilter added in v1.22.0

type SaaSProductTitleFilter struct {

	// A string array of unique product title values to be filtered on.
	ValueList []string

	// A string that will be the wildCard input for product tile filter. It matches
	// the provided value as a substring in the actual value.
	WildCardValue *string
	// contains filtered or unexported fields
}

Object that allows filtering on product title.

type SaaSProductVisibilityFilter added in v1.22.0

type SaaSProductVisibilityFilter struct {

	// A string array of unique visibility values to be filtered on.
	ValueList []SaaSProductVisibilityString
	// contains filtered or unexported fields
}

Object that allows filtering on the visibility of the product in the AWS Marketplace.

type SaaSProductVisibilityString added in v1.22.0

type SaaSProductVisibilityString string
const (
	SaaSProductVisibilityStringLimited    SaaSProductVisibilityString = "Limited"
	SaaSProductVisibilityStringPublic     SaaSProductVisibilityString = "Public"
	SaaSProductVisibilityStringRestricted SaaSProductVisibilityString = "Restricted"
	SaaSProductVisibilityStringDraft      SaaSProductVisibilityString = "Draft"
)

Enum values for SaaSProductVisibilityString

func (SaaSProductVisibilityString) Values added in v1.22.0

Values returns all known values for SaaSProductVisibilityString. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The maximum number of open requests per account has been exceeded.

func (*ServiceQuotaExceededException) Error

func (*ServiceQuotaExceededException) ErrorCode

func (e *ServiceQuotaExceededException) ErrorCode() string

func (*ServiceQuotaExceededException) ErrorFault

func (*ServiceQuotaExceededException) ErrorMessage

func (e *ServiceQuotaExceededException) ErrorMessage() string

type Sort

type Sort struct {

	// For ListEntities , supported attributes include LastModifiedDate (default) and
	// EntityId . In addition to LastModifiedDate and EntityId , each EntityType might
	// support additional fields. For ListChangeSets , supported attributes include
	// StartTime and EndTime .
	SortBy *string

	// The sorting order. Can be ASCENDING or DESCENDING . The default value is
	// DESCENDING .
	SortOrder SortOrder
	// contains filtered or unexported fields
}

An object that contains two attributes, SortBy and SortOrder .

type SortOrder

type SortOrder string
const (
	SortOrderAscending  SortOrder = "ASCENDING"
	SortOrderDescending SortOrder = "DESCENDING"
)

Enum values for SortOrder

func (SortOrder) Values added in v0.29.0

func (SortOrder) Values() []SortOrder

Values returns all known values for SortOrder. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Tag added in v1.14.0

type Tag struct {

	// The key associated with the tag.
	//
	// This member is required.
	Key *string

	// The value associated with the tag.
	//
	// This member is required.
	Value *string
	// contains filtered or unexported fields
}

A list of objects specifying each key name and value.

type ThrottlingException

type ThrottlingException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Too many requests. HTTP status code: 429

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

func (e *ThrottlingException) ErrorFault() smithy.ErrorFault

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type UnknownUnionMember added in v1.22.0

type UnknownUnionMember struct {
	Tag   string
	Value []byte
	// contains filtered or unexported fields
}

UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.

type ValidationException

type ValidationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An error occurred during validation. HTTP status code: 422

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

func (e *ValidationException) ErrorFault() smithy.ErrorFault

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL