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

func (*AccessDeniedException) GetMessage

func (e *AccessDeniedException) GetMessage() string

func (*AccessDeniedException) HasMessage

func (e *AccessDeniedException) HasMessage() bool

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

func (*AuthorizationException) GetMessage

func (e *AuthorizationException) GetMessage() string

func (*AuthorizationException) HasMessage

func (e *AuthorizationException) HasMessage() bool

type AutomatedDiscoveryInformation

type AutomatedDiscoveryInformation struct {
	// Time that automated discovery last ran.
	LastRunTime *time.Time
}

Describes automated discovery.

type ConsumedLicenseSummary

type ConsumedLicenseSummary struct {
	// Resource type of the resource consuming a license.
	ResourceType ResourceType
	// Number of licenses consumed by the resource.
	ConsumedLicenses *int64
}

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

func (*FailedDependencyException) GetMessage

func (e *FailedDependencyException) GetMessage() string

func (*FailedDependencyException) HasMessage

func (e *FailedDependencyException) HasMessage() bool

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

func (*FilterLimitExceededException) GetMessage

func (e *FilterLimitExceededException) GetMessage() string

func (*FilterLimitExceededException) HasMessage

func (e *FilterLimitExceededException) HasMessage() bool

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

func (*InvalidParameterValueException) GetMessage

func (e *InvalidParameterValueException) GetMessage() string

func (*InvalidParameterValueException) HasMessage

func (e *InvalidParameterValueException) HasMessage() bool

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

func (*InvalidResourceStateException) GetMessage

func (e *InvalidResourceStateException) GetMessage() string

func (*InvalidResourceStateException) HasMessage

func (e *InvalidResourceStateException) HasMessage() bool

type InventoryFilter

type InventoryFilter struct {
	// Value of the filter.
	Value *string
	// Name of the filter.
	Name *string
	// Condition of the filter.
	Condition InventoryFilterCondition
}

An inventory filter.

type InventoryFilterCondition

type InventoryFilterCondition string
const (
	InventoryFilterConditionEquals      InventoryFilterCondition = "EQUALS"
	InventoryFilterConditionNot_equals  InventoryFilterCondition = "NOT_EQUALS"
	InventoryFilterConditionBegins_with InventoryFilterCondition = "BEGINS_WITH"
	InventoryFilterConditionContains    InventoryFilterCondition = "CONTAINS"
)

Enum values for InventoryFilterCondition

type LicenseConfiguration

type LicenseConfiguration struct {
	// Number of available licenses as a hard limit.
	LicenseCountHardLimit *bool
	// Description of the license configuration.
	Description *string
	// Amazon Resource Name (ARN) of the license configuration.
	LicenseConfigurationArn *string
	// Number of licenses consumed.
	ConsumedLicenses *int64
	// Unique ID of the license configuration.
	LicenseConfigurationId *string
	// Summaries for licenses consumed by various resources.
	ConsumedLicenseSummaryList []*ConsumedLicenseSummary
	// Dimension to use to track the license inventory.
	LicenseCountingType LicenseCountingType
	// Account ID of the license configuration's owner.
	OwnerAccountId *string
	// Product information.
	ProductInformationList []*ProductInformation
	// Name of the license configuration.
	Name *string
	// Summaries for managed resources.
	ManagedResourceSummaryList []*ManagedResourceSummary
	// License rules.
	LicenseRules []*string
	// Number of licenses managed by the license configuration.
	LicenseCount *int64
	// Automated discovery information.
	AutomatedDiscoveryInformation *AutomatedDiscoveryInformation
	// 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 {
	// ID of the AWS account that owns the resource consuming licenses.
	ResourceOwnerId *string
	// Amazon Resource Name (ARN) of the resource.
	ResourceArn *string
	// Type of server resource.
	ResourceType ResourceType
	// Time when the license configuration was associated with the resource.
	AssociationTime *time.Time
}

Describes an association with a license configuration.

type LicenseConfigurationStatus

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

Enum values for LicenseConfigurationStatus

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
	// ID of the account that owns the resource.
	ResourceOwnerId *string
	// Amazon Resource Name (ARN) of the resource.
	ResourceArn *string
	// Type of resource.
	ResourceType ResourceType
	// Status of the resource.
	ResourceStatus *string
}

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

type LicenseOperationFailure

type LicenseOperationFailure struct {
	// Name of the operation.
	OperationName *string
	// Error message.
	ErrorMessage *string
	// Failure time.
	FailureTime *time.Time
	// ID of the AWS account that owns the resource.
	ResourceOwnerId *string
	// Amazon Resource Name (ARN) of the resource.
	ResourceArn *string
	// The requester is "License Manager Automated Discovery".
	OperationRequestedBy *string
	// Resource type.
	ResourceType ResourceType
	// Reserved.
	MetadataList []*Metadata
}

Describes the failure of a license operation.

type LicenseSpecification

type LicenseSpecification struct {
	// Amazon Resource Name (ARN) of the license configuration.
	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

func (*LicenseUsageException) GetMessage

func (e *LicenseUsageException) GetMessage() string

func (*LicenseUsageException) HasMessage

func (e *LicenseUsageException) HasMessage() bool

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.
	Value *string
	// Reserved.
	Name *string
}

Reserved.

type OrganizationConfiguration

type OrganizationConfiguration struct {
	// Enables AWS Organization integration.
	EnableIntegration *bool
}

Configuration information for AWS Organizations.

type ProductInformation

type ProductInformation struct {
	// Product information filters. The following filters and logical operators are
	// supported:
	//
	//     * 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.
	ProductInformationFilterList []*ProductInformationFilter
	// Resource type. The value is SSM_MANAGED.
	ResourceType *string
}

Describes product information for a license configuration.

type ProductInformationFilter

type ProductInformationFilter struct {
	// Logical operator.
	ProductInformationFilterComparator *string
	// Filter value.
	ProductInformationFilterValue []*string
	// Filter name.
	ProductInformationFilterName *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

func (*RateLimitExceededException) GetMessage

func (e *RateLimitExceededException) GetMessage() string

func (*RateLimitExceededException) HasMessage

func (e *RateLimitExceededException) HasMessage() bool

type ResourceInventory

type ResourceInventory struct {
	// ID of the account that owns the resource.
	ResourceOwningAccountId *string
	// Amazon Resource Name (ARN) of the resource.
	ResourceArn *string
	// ID of the resource.
	ResourceId *string
	// Type of resource.
	ResourceType ResourceType
	// Platform version of the resource in the inventory.
	PlatformVersion *string
	// Platform of the resource.
	Platform *string
}

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

func (*ResourceLimitExceededException) GetMessage

func (e *ResourceLimitExceededException) GetMessage() string

func (*ResourceLimitExceededException) HasMessage

func (e *ResourceLimitExceededException) HasMessage() bool

type ResourceType

type ResourceType string
const (
	ResourceTypeEc2_instance                     ResourceType = "EC2_INSTANCE"
	ResourceTypeEc2_host                         ResourceType = "EC2_HOST"
	ResourceTypeEc2_ami                          ResourceType = "EC2_AMI"
	ResourceTypeRds                              ResourceType = "RDS"
	ResourceTypeSystems_manager_managed_instance ResourceType = "SYSTEMS_MANAGER_MANAGED_INSTANCE"
)

Enum values for ResourceType

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

func (*ServerInternalException) GetMessage

func (e *ServerInternalException) GetMessage() string

func (*ServerInternalException) HasMessage

func (e *ServerInternalException) HasMessage() bool

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.1.0
Published
Sep 29, 2020
Platform
js/wasm
Imports
4 packages
Last checked
6 hours ago

Tools for package owners.