package types

import "github.com/aws/aws-sdk-go-v2/service/licensemanager/types"

Index

Types

type AccessDeniedException

type AccessDeniedException struct {
	Message *string
}

Access to resource denied.

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 AuthorizationException

type AuthorizationException struct {
	Message *string
}

The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

func (*AuthorizationException) Error

func (e *AuthorizationException) Error() string

func (*AuthorizationException) ErrorCode

func (e *AuthorizationException) ErrorCode() string

func (*AuthorizationException) ErrorFault

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

func (*AuthorizationException) ErrorMessage

func (e *AuthorizationException) ErrorMessage() string

type AutomatedDiscoveryInformation

type AutomatedDiscoveryInformation struct {

	// Time that automated discovery last ran.
	LastRunTime *time.Time
}

Describes automated discovery.

type ConsumedLicenseSummary

type ConsumedLicenseSummary struct {

	// Number of licenses consumed by the resource.
	ConsumedLicenses *int64

	// Resource type of the resource consuming a license.
	ResourceType ResourceType
}

Details about license consumption.

type FailedDependencyException

type FailedDependencyException struct {
	Message *string
}

A dependency required to run the API is missing.

func (*FailedDependencyException) Error

func (e *FailedDependencyException) Error() string

func (*FailedDependencyException) ErrorCode

func (e *FailedDependencyException) ErrorCode() string

func (*FailedDependencyException) ErrorFault

func (*FailedDependencyException) ErrorMessage

func (e *FailedDependencyException) ErrorMessage() string

type Filter

type Filter struct {

	// Name of the filter. Filter names are case-sensitive.
	Name *string

	// Filter values. Filter values are case-sensitive.
	Values []string
}

A filter name and value pair that is used to return more specific results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.

type FilterLimitExceededException

type FilterLimitExceededException struct {
	Message *string
}

The request uses too many filters or too many filter values.

func (*FilterLimitExceededException) Error

func (*FilterLimitExceededException) ErrorCode

func (e *FilterLimitExceededException) ErrorCode() string

func (*FilterLimitExceededException) ErrorFault

func (*FilterLimitExceededException) ErrorMessage

func (e *FilterLimitExceededException) ErrorMessage() string

type InvalidParameterValueException

type InvalidParameterValueException struct {
	Message *string
}

One or more parameter values are not valid.

func (*InvalidParameterValueException) Error

func (*InvalidParameterValueException) ErrorCode

func (e *InvalidParameterValueException) ErrorCode() string

func (*InvalidParameterValueException) ErrorFault

func (*InvalidParameterValueException) ErrorMessage

func (e *InvalidParameterValueException) ErrorMessage() string

type InvalidResourceStateException

type InvalidResourceStateException struct {
	Message *string
}

License Manager cannot allocate a license to a resource because of its state. For example, you cannot allocate a license to an instance in the process of shutting down.

func (*InvalidResourceStateException) Error

func (*InvalidResourceStateException) ErrorCode

func (e *InvalidResourceStateException) ErrorCode() string

func (*InvalidResourceStateException) ErrorFault

func (*InvalidResourceStateException) ErrorMessage

func (e *InvalidResourceStateException) ErrorMessage() string

type InventoryFilter

type InventoryFilter struct {

	// Condition of the filter.
	//
	// This member is required.
	Condition InventoryFilterCondition

	// Name of the filter.
	//
	// This member is required.
	Name *string

	// Value of the filter.
	Value *string
}

An inventory filter.

type InventoryFilterCondition

type InventoryFilterCondition string
const (
	InventoryFilterConditionEquals     InventoryFilterCondition = "EQUALS"
	InventoryFilterConditionNotEquals  InventoryFilterCondition = "NOT_EQUALS"
	InventoryFilterConditionBeginsWith InventoryFilterCondition = "BEGINS_WITH"
	InventoryFilterConditionContains   InventoryFilterCondition = "CONTAINS"
)

Enum values for InventoryFilterCondition

func (InventoryFilterCondition) Values

Values returns all known values for InventoryFilterCondition. 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 LicenseConfiguration

type LicenseConfiguration struct {

	// Automated discovery information.
	AutomatedDiscoveryInformation *AutomatedDiscoveryInformation

	// Summaries for licenses consumed by various resources.
	ConsumedLicenseSummaryList []ConsumedLicenseSummary

	// Number of licenses consumed.
	ConsumedLicenses *int64

	// Description of the license configuration.
	Description *string

	// Amazon Resource Name (ARN) of the license configuration.
	LicenseConfigurationArn *string

	// Unique ID of the license configuration.
	LicenseConfigurationId *string

	// Number of licenses managed by the license configuration.
	LicenseCount *int64

	// Number of available licenses as a hard limit.
	LicenseCountHardLimit *bool

	// Dimension to use to track the license inventory.
	LicenseCountingType LicenseCountingType

	// License rules.
	LicenseRules []string

	// Summaries for managed resources.
	ManagedResourceSummaryList []ManagedResourceSummary

	// Name of the license configuration.
	Name *string

	// Account ID of the license configuration's owner.
	OwnerAccountId *string

	// Product information.
	ProductInformationList []ProductInformation

	// Status of the license configuration.
	Status *string
}

A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), host affinity (how long a VM must be associated with a host), and the number of licenses purchased and used.

type LicenseConfigurationAssociation

type LicenseConfigurationAssociation struct {

	// Time when the license configuration was associated with the resource.
	AssociationTime *time.Time

	// Amazon Resource Name (ARN) of the resource.
	ResourceArn *string

	// ID of the AWS account that owns the resource consuming licenses.
	ResourceOwnerId *string

	// Type of server resource.
	ResourceType ResourceType
}

Describes an association with a license configuration.

type LicenseConfigurationStatus

type LicenseConfigurationStatus string
const (
	LicenseConfigurationStatusAvailable LicenseConfigurationStatus = "AVAILABLE"
	LicenseConfigurationStatusDisabled  LicenseConfigurationStatus = "DISABLED"
)

Enum values for LicenseConfigurationStatus

func (LicenseConfigurationStatus) Values

Values returns all known values for LicenseConfigurationStatus. 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 LicenseConfigurationUsage

type LicenseConfigurationUsage struct {

	// Time when the license configuration was initially associated with the resource.
	AssociationTime *time.Time

	// Number of licenses consumed by the resource.
	ConsumedLicenses *int64

	// Amazon Resource Name (ARN) of the resource.
	ResourceArn *string

	// ID of the account that owns the resource.
	ResourceOwnerId *string

	// Status of the resource.
	ResourceStatus *string

	// Type of resource.
	ResourceType ResourceType
}

Details about the usage of a resource associated with a license configuration.

type LicenseCountingType

type LicenseCountingType string
const (
	LicenseCountingTypeVcpu     LicenseCountingType = "vCPU"
	LicenseCountingTypeInstance LicenseCountingType = "Instance"
	LicenseCountingTypeCore     LicenseCountingType = "Core"
	LicenseCountingTypeSocket   LicenseCountingType = "Socket"
)

Enum values for LicenseCountingType

func (LicenseCountingType) Values

Values returns all known values for LicenseCountingType. 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 LicenseOperationFailure

type LicenseOperationFailure struct {

	// Error message.
	ErrorMessage *string

	// Failure time.
	FailureTime *time.Time

	// Reserved.
	MetadataList []Metadata

	// Name of the operation.
	OperationName *string

	// The requester is "License Manager Automated Discovery".
	OperationRequestedBy *string

	// Amazon Resource Name (ARN) of the resource.
	ResourceArn *string

	// ID of the AWS account that owns the resource.
	ResourceOwnerId *string

	// Resource type.
	ResourceType ResourceType
}

Describes the failure of a license operation.

type LicenseSpecification

type LicenseSpecification struct {

	// Amazon Resource Name (ARN) of the license configuration.
	//
	// This member is required.
	LicenseConfigurationArn *string
}

Details for associating a license configuration with a resource.

type LicenseUsageException

type LicenseUsageException struct {
	Message *string
}

You do not have enough licenses available to support a new resource launch.

func (*LicenseUsageException) Error

func (e *LicenseUsageException) Error() string

func (*LicenseUsageException) ErrorCode

func (e *LicenseUsageException) ErrorCode() string

func (*LicenseUsageException) ErrorFault

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

func (*LicenseUsageException) ErrorMessage

func (e *LicenseUsageException) ErrorMessage() string

type ManagedResourceSummary

type ManagedResourceSummary struct {

	// Number of resources associated with licenses.
	AssociationCount *int64

	// Type of resource associated with a license.
	ResourceType ResourceType
}

Summary information about a managed resource.

type Metadata

type Metadata struct {

	// Reserved.
	Name *string

	// Reserved.
	Value *string
}

Reserved.

type OrganizationConfiguration

type OrganizationConfiguration struct {

	// Enables AWS Organization integration.
	//
	// This member is required.
	EnableIntegration bool
}

Configuration information for AWS Organizations.

type ProductInformation

type ProductInformation struct {

	// Product information filters. The following filters and logical operators are
	// supported when the resource type is SSM_MANAGED:
	//
	// * Application Name - The name
	// of the application. Logical operator is EQUALS.
	//
	// * Application Publisher - The
	// publisher of the application. Logical operator is EQUALS.
	//
	// * Application Version
	// - The version of the application. Logical operator is EQUALS.
	//
	// * Platform Name -
	// The name of the platform. Logical operator is EQUALS.
	//
	// * Platform Type - The
	// platform type. Logical operator is EQUALS.
	//
	// * License Included - The type of
	// license included. Logical operators are EQUALS and NOT_EQUALS. Possible values
	// are: sql-server-enterprise | sql-server-standard | sql-server-web |
	// windows-server-datacenter.
	//
	// The following filters and logical operators are
	// supported when the resource type is RDS:
	//
	// * Engine Edition - The edition of the
	// database engine. Logical operator is EQUALS. Possible values are: oracle-ee |
	// oracle-se | oracle-se1 | oracle-se2.
	//
	// * License Pack - The license pack. Logical
	// operator is EQUALS. Possible values are: data guard | diagnostic pack sqlt |
	// tuning pack sqlt | ols | olap.
	//
	// This member is required.
	ProductInformationFilterList []ProductInformationFilter

	// Resource type. The possible values are SSM_MANAGED | RDS.
	//
	// This member is required.
	ResourceType *string
}

Describes product information for a license configuration.

type ProductInformationFilter

type ProductInformationFilter struct {

	// Logical operator.
	//
	// This member is required.
	ProductInformationFilterComparator *string

	// Filter name.
	//
	// This member is required.
	ProductInformationFilterName *string

	// Filter value.
	//
	// This member is required.
	ProductInformationFilterValue []string
}

Describes product information filters.

type RateLimitExceededException

type RateLimitExceededException struct {
	Message *string
}

Too many requests have been submitted. Try again after a brief wait.

func (*RateLimitExceededException) Error

func (*RateLimitExceededException) ErrorCode

func (e *RateLimitExceededException) ErrorCode() string

func (*RateLimitExceededException) ErrorFault

func (*RateLimitExceededException) ErrorMessage

func (e *RateLimitExceededException) ErrorMessage() string

type ResourceInventory

type ResourceInventory struct {

	// Platform of the resource.
	Platform *string

	// Platform version of the resource in the inventory.
	PlatformVersion *string

	// Amazon Resource Name (ARN) of the resource.
	ResourceArn *string

	// ID of the resource.
	ResourceId *string

	// ID of the account that owns the resource.
	ResourceOwningAccountId *string

	// Type of resource.
	ResourceType ResourceType
}

Details about a resource.

type ResourceLimitExceededException

type ResourceLimitExceededException struct {
	Message *string
}

Your resource limits have been exceeded.

func (*ResourceLimitExceededException) Error

func (*ResourceLimitExceededException) ErrorCode

func (e *ResourceLimitExceededException) ErrorCode() string

func (*ResourceLimitExceededException) ErrorFault

func (*ResourceLimitExceededException) ErrorMessage

func (e *ResourceLimitExceededException) ErrorMessage() string

type ResourceType

type ResourceType string
const (
	ResourceTypeEc2Instance                   ResourceType = "EC2_INSTANCE"
	ResourceTypeEc2Host                       ResourceType = "EC2_HOST"
	ResourceTypeEc2Ami                        ResourceType = "EC2_AMI"
	ResourceTypeRds                           ResourceType = "RDS"
	ResourceTypeSystemsManagerManagedInstance ResourceType = "SYSTEMS_MANAGER_MANAGED_INSTANCE"
)

Enum values for ResourceType

func (ResourceType) Values

func (ResourceType) Values() []ResourceType

Values returns all known values for ResourceType. 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 ServerInternalException

type ServerInternalException struct {
	Message *string
}

The server experienced an internal error. Try again.

func (*ServerInternalException) Error

func (e *ServerInternalException) Error() string

func (*ServerInternalException) ErrorCode

func (e *ServerInternalException) ErrorCode() string

func (*ServerInternalException) ErrorFault

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

func (*ServerInternalException) ErrorMessage

func (e *ServerInternalException) ErrorMessage() string

type Tag

type Tag struct {

	// Tag key.
	Key *string

	// Tag value.
	Value *string
}

Details about a tag for a license configuration.

Source Files

enums.go errors.go types.go

Version
v0.30.0
Published
Nov 30, 2020
Platform
js/wasm
Imports
3 packages
Last checked
6 hours ago

Tools for package owners.