Documentation ¶
Index ¶
- type AccessDeniedException
- type ActivationOverrideBehavior
- type AllowedOperation
- type AuthorizationException
- type AutomatedDiscoveryInformation
- type BorrowConfiguration
- type CheckoutType
- type ConflictException
- type ConsumedLicenseSummary
- type ConsumptionConfiguration
- type DatetimeRange
- type DigitalSignatureMethod
- type Entitlement
- type EntitlementData
- type EntitlementDataUnit
- type EntitlementNotAllowedException
- type EntitlementUnit
- type EntitlementUsage
- type FailedDependencyException
- type Filter
- type FilterLimitExceededException
- type Grant
- type GrantStatus
- type GrantedLicense
- type InvalidParameterValueException
- type InvalidResourceStateException
- type InventoryFilter
- type InventoryFilterCondition
- type Issuer
- type IssuerDetails
- type License
- type LicenseConfiguration
- type LicenseConfigurationAssociation
- type LicenseConfigurationStatus
- type LicenseConfigurationUsage
- type LicenseConversionContext
- type LicenseConversionTask
- type LicenseConversionTaskStatus
- type LicenseCountingType
- type LicenseDeletionStatus
- type LicenseOperationFailure
- type LicenseSpecification
- type LicenseStatus
- type LicenseUsage
- type LicenseUsageException
- type ManagedResourceSummary
- type Metadata
- type NoEntitlementsAllowedException
- type Options
- type OrganizationConfiguration
- type ProductInformation
- type ProductInformationFilter
- type ProvisionalConfiguration
- type RateLimitExceededException
- type ReceivedMetadata
- type ReceivedStatus
- type RedirectException
- type RenewType
- type ReportContext
- type ReportFrequency
- type ReportFrequencyType
- type ReportGenerator
- type ReportType
- type ResourceInventory
- type ResourceLimitExceededException
- type ResourceNotFoundException
- type ResourceType
- type S3Location
- type ServerInternalException
- type Tag
- type TokenData
- type TokenType
- type UnsupportedDigitalSignatureMethodException
- type ValidationException
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 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 ActivationOverrideBehavior ¶ added in v1.18.0
type ActivationOverrideBehavior string
const ( ActivationOverrideBehaviorDistributedGrantsOnly ActivationOverrideBehavior = "DISTRIBUTED_GRANTS_ONLY" ActivationOverrideBehaviorAllGrantsPermittedByIssuer ActivationOverrideBehavior = "ALL_GRANTS_PERMITTED_BY_ISSUER" )
Enum values for ActivationOverrideBehavior
func (ActivationOverrideBehavior) Values ¶ added in v1.18.0
func (ActivationOverrideBehavior) Values() []ActivationOverrideBehavior
Values returns all known values for ActivationOverrideBehavior. 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 AllowedOperation ¶ added in v0.31.0
type AllowedOperation string
const ( AllowedOperationCreateGrant AllowedOperation = "CreateGrant" AllowedOperationCheckoutLicense AllowedOperation = "CheckoutLicense" AllowedOperationCheckoutBorrowLicense AllowedOperation = "CheckoutBorrowLicense" AllowedOperationCheckInLicense AllowedOperation = "CheckInLicense" AllowedOperationExtendConsumptionLicense AllowedOperation = "ExtendConsumptionLicense" AllowedOperationListPurchasedLicenses AllowedOperation = "ListPurchasedLicenses" AllowedOperationCreateToken AllowedOperation = "CreateToken" )
Enum values for AllowedOperation
func (AllowedOperation) Values ¶ added in v0.31.0
func (AllowedOperation) Values() []AllowedOperation
Values returns all known values for AllowedOperation. 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 AuthorizationException ¶
type AuthorizationException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The Amazon Web Services 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 // contains filtered or unexported fields }
Describes automated discovery.
type BorrowConfiguration ¶ added in v0.31.0
type BorrowConfiguration struct { // Indicates whether early check-ins are allowed. // // This member is required. AllowEarlyCheckIn *bool // Maximum time for the borrow configuration, in minutes. // // This member is required. MaxTimeToLiveInMinutes *int32 // contains filtered or unexported fields }
Details about a borrow configuration.
type CheckoutType ¶ added in v0.31.0
type CheckoutType string
const ( CheckoutTypeProvisional CheckoutType = "PROVISIONAL" CheckoutTypePerpetual CheckoutType = "PERPETUAL" )
Enum values for CheckoutType
func (CheckoutType) Values ¶ added in v0.31.0
func (CheckoutType) Values() []CheckoutType
Values returns all known values for CheckoutType. 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 ConflictException ¶ added in v0.31.0
type ConflictException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
There was a conflict processing the request. Try your request again.
func (*ConflictException) Error ¶ added in v0.31.0
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶ added in v0.31.0
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶ added in v0.31.0
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶ added in v0.31.0
func (e *ConflictException) ErrorMessage() string
type ConsumedLicenseSummary ¶
type ConsumedLicenseSummary struct { // Number of licenses consumed by the resource. ConsumedLicenses *int64 // Resource type of the resource consuming a license. ResourceType ResourceType // contains filtered or unexported fields }
Details about license consumption.
type ConsumptionConfiguration ¶ added in v0.31.0
type ConsumptionConfiguration struct { // Details about a borrow configuration. BorrowConfiguration *BorrowConfiguration // Details about a provisional configuration. ProvisionalConfiguration *ProvisionalConfiguration // Renewal frequency. RenewType RenewType // contains filtered or unexported fields }
Details about a consumption configuration.
type DatetimeRange ¶ added in v0.31.0
type DatetimeRange struct { // Start of the time range. // // This member is required. Begin *string // End of the time range. End *string // contains filtered or unexported fields }
Describes a time range, in ISO8601-UTC format.
type DigitalSignatureMethod ¶ added in v0.31.0
type DigitalSignatureMethod string
const (
DigitalSignatureMethodJwtPs384 DigitalSignatureMethod = "JWT_PS384"
)
Enum values for DigitalSignatureMethod
func (DigitalSignatureMethod) Values ¶ added in v0.31.0
func (DigitalSignatureMethod) Values() []DigitalSignatureMethod
Values returns all known values for DigitalSignatureMethod. 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 Entitlement ¶ added in v0.31.0
type Entitlement struct { // Entitlement name. // // This member is required. Name *string // Entitlement unit. // // This member is required. Unit EntitlementUnit // Indicates whether check-ins are allowed. AllowCheckIn *bool // Maximum entitlement count. Use if the unit is not None. MaxCount *int64 // Indicates whether overages are allowed. Overage *bool // Entitlement resource. Use only if the unit is None. Value *string // contains filtered or unexported fields }
Describes a resource entitled for use with a license.
type EntitlementData ¶ added in v0.31.0
type EntitlementData struct { // Entitlement data name. // // This member is required. Name *string // Entitlement data unit. // // This member is required. Unit EntitlementDataUnit // Entitlement data value. Value *string // contains filtered or unexported fields }
Data associated with an entitlement resource.
type EntitlementDataUnit ¶ added in v0.31.0
type EntitlementDataUnit string
const ( EntitlementDataUnitCount EntitlementDataUnit = "Count" EntitlementDataUnitNone EntitlementDataUnit = "None" EntitlementDataUnitSeconds EntitlementDataUnit = "Seconds" EntitlementDataUnitMicroseconds EntitlementDataUnit = "Microseconds" EntitlementDataUnitMilliseconds EntitlementDataUnit = "Milliseconds" EntitlementDataUnitBytes EntitlementDataUnit = "Bytes" EntitlementDataUnitKilobytes EntitlementDataUnit = "Kilobytes" EntitlementDataUnitMegabytes EntitlementDataUnit = "Megabytes" EntitlementDataUnitGigabytes EntitlementDataUnit = "Gigabytes" EntitlementDataUnitTerabytes EntitlementDataUnit = "Terabytes" EntitlementDataUnitBits EntitlementDataUnit = "Bits" EntitlementDataUnitKilobits EntitlementDataUnit = "Kilobits" EntitlementDataUnitMegabits EntitlementDataUnit = "Megabits" EntitlementDataUnitGigabits EntitlementDataUnit = "Gigabits" EntitlementDataUnitTerabits EntitlementDataUnit = "Terabits" EntitlementDataUnitPercent EntitlementDataUnit = "Percent" EntitlementDataUnitBytesPerSecond EntitlementDataUnit = "Bytes/Second" EntitlementDataUnitKilobytesPerSecond EntitlementDataUnit = "Kilobytes/Second" EntitlementDataUnitMegabytesPerSecond EntitlementDataUnit = "Megabytes/Second" EntitlementDataUnitGigabytesPerSecond EntitlementDataUnit = "Gigabytes/Second" EntitlementDataUnitTerabytesPerSecond EntitlementDataUnit = "Terabytes/Second" EntitlementDataUnitBitsPerSecond EntitlementDataUnit = "Bits/Second" EntitlementDataUnitKilobitsPerSecond EntitlementDataUnit = "Kilobits/Second" EntitlementDataUnitMegabitsPerSecond EntitlementDataUnit = "Megabits/Second" EntitlementDataUnitGigabitsPerSecond EntitlementDataUnit = "Gigabits/Second" EntitlementDataUnitTerabitsPerSecond EntitlementDataUnit = "Terabits/Second" EntitlementDataUnitCountPerSecond EntitlementDataUnit = "Count/Second" )
Enum values for EntitlementDataUnit
func (EntitlementDataUnit) Values ¶ added in v0.31.0
func (EntitlementDataUnit) Values() []EntitlementDataUnit
Values returns all known values for EntitlementDataUnit. 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 EntitlementNotAllowedException ¶ added in v0.31.0
type EntitlementNotAllowedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The entitlement is not allowed.
func (*EntitlementNotAllowedException) Error ¶ added in v0.31.0
func (e *EntitlementNotAllowedException) Error() string
func (*EntitlementNotAllowedException) ErrorCode ¶ added in v0.31.0
func (e *EntitlementNotAllowedException) ErrorCode() string
func (*EntitlementNotAllowedException) ErrorFault ¶ added in v0.31.0
func (e *EntitlementNotAllowedException) ErrorFault() smithy.ErrorFault
func (*EntitlementNotAllowedException) ErrorMessage ¶ added in v0.31.0
func (e *EntitlementNotAllowedException) ErrorMessage() string
type EntitlementUnit ¶ added in v0.31.0
type EntitlementUnit string
const ( EntitlementUnitCount EntitlementUnit = "Count" EntitlementUnitNone EntitlementUnit = "None" EntitlementUnitSeconds EntitlementUnit = "Seconds" EntitlementUnitMicroseconds EntitlementUnit = "Microseconds" EntitlementUnitMilliseconds EntitlementUnit = "Milliseconds" EntitlementUnitBytes EntitlementUnit = "Bytes" EntitlementUnitKilobytes EntitlementUnit = "Kilobytes" EntitlementUnitMegabytes EntitlementUnit = "Megabytes" EntitlementUnitGigabytes EntitlementUnit = "Gigabytes" EntitlementUnitTerabytes EntitlementUnit = "Terabytes" EntitlementUnitBits EntitlementUnit = "Bits" EntitlementUnitKilobits EntitlementUnit = "Kilobits" EntitlementUnitMegabits EntitlementUnit = "Megabits" EntitlementUnitGigabits EntitlementUnit = "Gigabits" EntitlementUnitTerabits EntitlementUnit = "Terabits" EntitlementUnitPercent EntitlementUnit = "Percent" EntitlementUnitBytesPerSecond EntitlementUnit = "Bytes/Second" EntitlementUnitKilobytesPerSecond EntitlementUnit = "Kilobytes/Second" EntitlementUnitMegabytesPerSecond EntitlementUnit = "Megabytes/Second" EntitlementUnitGigabytesPerSecond EntitlementUnit = "Gigabytes/Second" EntitlementUnitTerabytesPerSecond EntitlementUnit = "Terabytes/Second" EntitlementUnitBitsPerSecond EntitlementUnit = "Bits/Second" EntitlementUnitKilobitsPerSecond EntitlementUnit = "Kilobits/Second" EntitlementUnitMegabitsPerSecond EntitlementUnit = "Megabits/Second" EntitlementUnitGigabitsPerSecond EntitlementUnit = "Gigabits/Second" EntitlementUnitTerabitsPerSecond EntitlementUnit = "Terabits/Second" EntitlementUnitCountPerSecond EntitlementUnit = "Count/Second" )
Enum values for EntitlementUnit
func (EntitlementUnit) Values ¶ added in v0.31.0
func (EntitlementUnit) Values() []EntitlementUnit
Values returns all known values for EntitlementUnit. 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 EntitlementUsage ¶ added in v0.31.0
type EntitlementUsage struct { // Resource usage consumed. // // This member is required. ConsumedValue *string // Entitlement usage name. // // This member is required. Name *string // Entitlement usage unit. // // This member is required. Unit EntitlementDataUnit // Maximum entitlement usage count. MaxCount *string // contains filtered or unexported fields }
Usage associated with an entitlement resource.
type FailedDependencyException ¶
type FailedDependencyException struct { Message *string ErrorCodeOverride *string ErrorCode_ *string // contains filtered or unexported fields }
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 (e *FailedDependencyException) ErrorFault() smithy.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 // The value of the filter, which is case-sensitive. You can only specify one // value for the filter. Values []string // contains filtered or unexported fields }
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 ErrorCodeOverride *string // contains filtered or unexported fields }
The request uses too many filters or too many filter values.
func (*FilterLimitExceededException) Error ¶
func (e *FilterLimitExceededException) Error() string
func (*FilterLimitExceededException) ErrorCode ¶
func (e *FilterLimitExceededException) ErrorCode() string
func (*FilterLimitExceededException) ErrorFault ¶
func (e *FilterLimitExceededException) ErrorFault() smithy.ErrorFault
func (*FilterLimitExceededException) ErrorMessage ¶
func (e *FilterLimitExceededException) ErrorMessage() string
type Grant ¶ added in v0.31.0
type Grant struct { // Amazon Resource Name (ARN) of the grant. // // This member is required. GrantArn *string // Grant name. // // This member is required. GrantName *string // Grant status. // // This member is required. GrantStatus GrantStatus // Granted operations. // // This member is required. GrantedOperations []AllowedOperation // The grantee principal ARN. // // This member is required. GranteePrincipalArn *string // Home Region of the grant. // // This member is required. HomeRegion *string // License ARN. // // This member is required. LicenseArn *string // Parent ARN. // // This member is required. ParentArn *string // Grant version. // // This member is required. Version *string // The options specified for the grant. Options *Options // Grant status reason. StatusReason *string // contains filtered or unexported fields }
Describes a grant.
type GrantStatus ¶ added in v0.31.0
type GrantStatus string
const ( GrantStatusPendingWorkflow GrantStatus = "PENDING_WORKFLOW" GrantStatusPendingAccept GrantStatus = "PENDING_ACCEPT" GrantStatusRejected GrantStatus = "REJECTED" GrantStatusActive GrantStatus = "ACTIVE" GrantStatusFailedWorkflow GrantStatus = "FAILED_WORKFLOW" GrantStatusDeleted GrantStatus = "DELETED" GrantStatusPendingDelete GrantStatus = "PENDING_DELETE" GrantStatusDisabled GrantStatus = "DISABLED" GrantStatusWorkflowCompleted GrantStatus = "WORKFLOW_COMPLETED" )
Enum values for GrantStatus
func (GrantStatus) Values ¶ added in v0.31.0
func (GrantStatus) Values() []GrantStatus
Values returns all known values for GrantStatus. 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 GrantedLicense ¶ added in v0.31.0
type GrantedLicense struct { // Granted license beneficiary. Beneficiary *string // Configuration for consumption of the license. ConsumptionConfiguration *ConsumptionConfiguration // Creation time of the granted license. CreateTime *string // License entitlements. Entitlements []Entitlement // Home Region of the granted license. HomeRegion *string // Granted license issuer. Issuer *IssuerDetails // Amazon Resource Name (ARN) of the license. LicenseArn *string // Granted license metadata. LicenseMetadata []Metadata // License name. LicenseName *string // Product name. ProductName *string // Product SKU. ProductSKU *string // Granted license received metadata. ReceivedMetadata *ReceivedMetadata // Granted license status. Status LicenseStatus // Date and time range during which the granted license is valid, in ISO8601-UTC // format. Validity *DatetimeRange // Version of the granted license. Version *string // contains filtered or unexported fields }
Describes a license that is granted to a grantee.
type InvalidParameterValueException ¶
type InvalidParameterValueException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
One or more parameter values are not valid.
func (*InvalidParameterValueException) Error ¶
func (e *InvalidParameterValueException) Error() string
func (*InvalidParameterValueException) ErrorCode ¶
func (e *InvalidParameterValueException) ErrorCode() string
func (*InvalidParameterValueException) ErrorFault ¶
func (e *InvalidParameterValueException) ErrorFault() smithy.ErrorFault
func (*InvalidParameterValueException) ErrorMessage ¶
func (e *InvalidParameterValueException) ErrorMessage() string
type InvalidResourceStateException ¶
type InvalidResourceStateException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 (e *InvalidResourceStateException) Error() string
func (*InvalidResourceStateException) ErrorCode ¶
func (e *InvalidResourceStateException) ErrorCode() string
func (*InvalidResourceStateException) ErrorFault ¶
func (e *InvalidResourceStateException) ErrorFault() smithy.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 // contains filtered or unexported fields }
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 ¶ added in v0.29.0
func (InventoryFilterCondition) Values() []InventoryFilterCondition
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 Issuer ¶ added in v0.31.0
type Issuer struct { // Issuer name. // // This member is required. Name *string // Asymmetric KMS key from Key Management Service. The KMS key must have a key // usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm. SignKey *string // contains filtered or unexported fields }
Details about the issuer of a license.
type IssuerDetails ¶ added in v0.31.0
type IssuerDetails struct { // Issuer key fingerprint. KeyFingerprint *string // Issuer name. Name *string // Asymmetric KMS key from Key Management Service. The KMS key must have a key // usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm. SignKey *string // contains filtered or unexported fields }
Details associated with the issuer of a license.
type License ¶ added in v0.31.0
type License struct { // License beneficiary. Beneficiary *string // Configuration for consumption of the license. ConsumptionConfiguration *ConsumptionConfiguration // License creation time. CreateTime *string // License entitlements. Entitlements []Entitlement // Home Region of the license. HomeRegion *string // License issuer. Issuer *IssuerDetails // Amazon Resource Name (ARN) of the license. LicenseArn *string // License metadata. LicenseMetadata []Metadata // License name. LicenseName *string // Product name. ProductName *string // Product SKU. ProductSKU *string // License status. Status LicenseStatus // Date and time range during which the license is valid, in ISO8601-UTC format. Validity *DatetimeRange // License version. Version *string // contains filtered or unexported fields }
Software license that is managed in License Manager.
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 // When true, disassociates a resource when software is uninstalled. DisassociateWhenNotFound *bool // 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 // contains filtered or unexported fields }
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 { // Scope of AMI associations. The possible value is cross-account . AmiAssociationScope *string // 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 Amazon Web Services account that owns the resource consuming licenses. ResourceOwnerId *string // Type of server resource. ResourceType ResourceType // contains filtered or unexported fields }
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 ¶ added in v0.29.0
func (LicenseConfigurationStatus) Values() []LicenseConfigurationStatus
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 // contains filtered or unexported fields }
Details about the usage of a resource associated with a license configuration.
type LicenseConversionContext ¶ added in v1.8.0
type LicenseConversionContext struct { // The Usage operation value that corresponds to the license type you are // converting your resource from. For more information about which platforms // correspond to which usage operation values see [Sample data: usage operation by platform] // // [Sample data: usage operation by platform]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html#billing-info UsageOperation *string // contains filtered or unexported fields }
Information about a license type conversion task.
type LicenseConversionTask ¶ added in v1.8.0
type LicenseConversionTask struct { // Information about the license type this conversion task converted to. DestinationLicenseContext *LicenseConversionContext // The time the conversion task was completed. EndTime *time.Time // The ID of the license type conversion task. LicenseConversionTaskId *string // The time the usage operation value of the resource was changed. LicenseConversionTime *time.Time // The Amazon Resource Name (ARN) of the resource associated with the license type // conversion task. ResourceArn *string // Information about the license type this conversion task converted from. SourceLicenseContext *LicenseConversionContext // The time the conversion task was started at. StartTime *time.Time // The status of the conversion task. Status LicenseConversionTaskStatus // The status message for the conversion task. StatusMessage *string // contains filtered or unexported fields }
Information about a license type conversion task.
type LicenseConversionTaskStatus ¶ added in v1.8.0
type LicenseConversionTaskStatus string
const ( LicenseConversionTaskStatusInProgress LicenseConversionTaskStatus = "IN_PROGRESS" LicenseConversionTaskStatusSucceeded LicenseConversionTaskStatus = "SUCCEEDED" LicenseConversionTaskStatusFailed LicenseConversionTaskStatus = "FAILED" )
Enum values for LicenseConversionTaskStatus
func (LicenseConversionTaskStatus) Values ¶ added in v1.8.0
func (LicenseConversionTaskStatus) Values() []LicenseConversionTaskStatus
Values returns all known values for LicenseConversionTaskStatus. 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 LicenseCountingType ¶
type LicenseCountingType string
const ( LicenseCountingTypeVcpu LicenseCountingType = "vCPU" LicenseCountingTypeInstance LicenseCountingType = "Instance" LicenseCountingTypeCore LicenseCountingType = "Core" LicenseCountingTypeSocket LicenseCountingType = "Socket" )
Enum values for LicenseCountingType
func (LicenseCountingType) Values ¶ added in v0.29.0
func (LicenseCountingType) Values() []LicenseCountingType
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 LicenseDeletionStatus ¶ added in v0.31.0
type LicenseDeletionStatus string
const ( LicenseDeletionStatusPendingDelete LicenseDeletionStatus = "PENDING_DELETE" LicenseDeletionStatusDeleted LicenseDeletionStatus = "DELETED" )
Enum values for LicenseDeletionStatus
func (LicenseDeletionStatus) Values ¶ added in v0.31.0
func (LicenseDeletionStatus) Values() []LicenseDeletionStatus
Values returns all known values for LicenseDeletionStatus. 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 Amazon Web Services account that owns the resource. ResourceOwnerId *string // Resource type. ResourceType ResourceType // contains filtered or unexported fields }
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 // Scope of AMI associations. The possible value is cross-account . AmiAssociationScope *string // contains filtered or unexported fields }
Details for associating a license configuration with a resource.
type LicenseStatus ¶ added in v0.31.0
type LicenseStatus string
const ( LicenseStatusAvailable LicenseStatus = "AVAILABLE" LicenseStatusPendingAvailable LicenseStatus = "PENDING_AVAILABLE" LicenseStatusDeactivated LicenseStatus = "DEACTIVATED" LicenseStatusSuspended LicenseStatus = "SUSPENDED" LicenseStatusExpired LicenseStatus = "EXPIRED" LicenseStatusPendingDelete LicenseStatus = "PENDING_DELETE" LicenseStatusDeleted LicenseStatus = "DELETED" )
Enum values for LicenseStatus
func (LicenseStatus) Values ¶ added in v0.31.0
func (LicenseStatus) Values() []LicenseStatus
Values returns all known values for LicenseStatus. 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 LicenseUsage ¶ added in v0.31.0
type LicenseUsage struct { // License entitlement usages. EntitlementUsages []EntitlementUsage // contains filtered or unexported fields }
Describes the entitlement usage associated with a license.
type LicenseUsageException ¶
type LicenseUsageException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
Summary information about a managed resource.
type Metadata ¶
type Metadata struct { // The key name. Name *string // The value. Value *string // contains filtered or unexported fields }
Describes key/value pairs.
type NoEntitlementsAllowedException ¶ added in v0.31.0
type NoEntitlementsAllowedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
There are no entitlements found for this license, or the entitlement maximum count is reached.
func (*NoEntitlementsAllowedException) Error ¶ added in v0.31.0
func (e *NoEntitlementsAllowedException) Error() string
func (*NoEntitlementsAllowedException) ErrorCode ¶ added in v0.31.0
func (e *NoEntitlementsAllowedException) ErrorCode() string
func (*NoEntitlementsAllowedException) ErrorFault ¶ added in v0.31.0
func (e *NoEntitlementsAllowedException) ErrorFault() smithy.ErrorFault
func (*NoEntitlementsAllowedException) ErrorMessage ¶ added in v0.31.0
func (e *NoEntitlementsAllowedException) ErrorMessage() string
type Options ¶ added in v1.18.0
type Options struct { // An activation option for your grant that determines the behavior of activating // a grant. Activation options can only be used with granted licenses sourced from // the Amazon Web Services Marketplace. Additionally, the operation must specify // the value of ACTIVE for the Status parameter. // // - As a license administrator, you can optionally specify an // ActivationOverrideBehavior when activating a grant. // // - As a grantor, you can optionally specify an ActivationOverrideBehavior when // you activate a grant for a grantee account in your organization. // // - As a grantee, if the grantor creating the distributed grant doesn’t specify // an ActivationOverrideBehavior , you can optionally specify one when you are // activating the grant. // // DISTRIBUTED_GRANTS_ONLY Use this value to activate a grant without replacing // any member account’s active grants for the same product. // // ALL_GRANTS_PERMITTED_BY_ISSUER Use this value to activate a grant and disable // other active grants in any member accounts for the same product. This action // will also replace their previously activated grants with this activated grant. ActivationOverrideBehavior ActivationOverrideBehavior // contains filtered or unexported fields }
The options you can specify when you create a new version of a grant, such as activation override behavior. For more information, see Granted licenses in License Managerin the License Manager User Guide.
type OrganizationConfiguration ¶
type OrganizationConfiguration struct { // Enables Organizations integration. // // This member is required. EnableIntegration bool // contains filtered or unexported fields }
Configuration information for Organizations.
type ProductInformation ¶
type ProductInformation struct { // A Product information filter consists of a ProductInformationFilterComparator // which is a logical operator, a ProductInformationFilterName which specifies the // type of filter being declared, and a ProductInformationFilterValue that // specifies the value to filter on. // // Accepted values for ProductInformationFilterName are listed here along with // descriptions and valid options for ProductInformationFilterComparator . // // The following filters and 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 . // // - Tag:key - The key of a tag attached to an Amazon Web Services resource you // wish to exclude from automated discovery. Logical operator is NOT_EQUALS . The // key for your tag must be appended to Tag: following the example: // Tag:name-of-your-key . ProductInformationFilterValue is optional if you are // not using values for the key. // // - AccountId - The 12-digit ID of an Amazon Web Services account you wish to // exclude from automated discovery. Logical operator is NOT_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 // contains filtered or unexported fields }
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. ProductInformationFilterValue []string // contains filtered or unexported fields }
Describes product information filters.
type ProvisionalConfiguration ¶ added in v0.31.0
type ProvisionalConfiguration struct { // Maximum time for the provisional configuration, in minutes. // // This member is required. MaxTimeToLiveInMinutes *int32 // contains filtered or unexported fields }
Details about a provisional configuration.
type RateLimitExceededException ¶
type RateLimitExceededException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
Too many requests have been submitted. Try again after a brief wait.
func (*RateLimitExceededException) Error ¶
func (e *RateLimitExceededException) Error() string
func (*RateLimitExceededException) ErrorCode ¶
func (e *RateLimitExceededException) ErrorCode() string
func (*RateLimitExceededException) ErrorFault ¶
func (e *RateLimitExceededException) ErrorFault() smithy.ErrorFault
func (*RateLimitExceededException) ErrorMessage ¶
func (e *RateLimitExceededException) ErrorMessage() string
type ReceivedMetadata ¶ added in v0.31.0
type ReceivedMetadata struct { // Allowed operations. AllowedOperations []AllowedOperation // Received status. ReceivedStatus ReceivedStatus // Received status reason. ReceivedStatusReason *string // contains filtered or unexported fields }
Metadata associated with received licenses and grants.
type ReceivedStatus ¶ added in v0.31.0
type ReceivedStatus string
const ( ReceivedStatusPendingWorkflow ReceivedStatus = "PENDING_WORKFLOW" ReceivedStatusPendingAccept ReceivedStatus = "PENDING_ACCEPT" ReceivedStatusRejected ReceivedStatus = "REJECTED" ReceivedStatusActive ReceivedStatus = "ACTIVE" ReceivedStatusFailedWorkflow ReceivedStatus = "FAILED_WORKFLOW" ReceivedStatusDeleted ReceivedStatus = "DELETED" ReceivedStatusDisabled ReceivedStatus = "DISABLED" ReceivedStatusWorkflowCompleted ReceivedStatus = "WORKFLOW_COMPLETED" )
Enum values for ReceivedStatus
func (ReceivedStatus) Values ¶ added in v0.31.0
func (ReceivedStatus) Values() []ReceivedStatus
Values returns all known values for ReceivedStatus. 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 RedirectException ¶ added in v0.31.0
type RedirectException struct { Message *string ErrorCodeOverride *string Location *string // contains filtered or unexported fields }
This is not the correct Region for the resource. Try again.
func (*RedirectException) Error ¶ added in v0.31.0
func (e *RedirectException) Error() string
func (*RedirectException) ErrorCode ¶ added in v0.31.0
func (e *RedirectException) ErrorCode() string
func (*RedirectException) ErrorFault ¶ added in v0.31.0
func (e *RedirectException) ErrorFault() smithy.ErrorFault
func (*RedirectException) ErrorMessage ¶ added in v0.31.0
func (e *RedirectException) ErrorMessage() string
type RenewType ¶ added in v0.31.0
type RenewType string
type ReportContext ¶ added in v1.4.0
type ReportContext struct { // Amazon Resource Name (ARN) of the license configuration that this generator // reports on. // // This member is required. LicenseConfigurationArns []string // contains filtered or unexported fields }
Details of the license configuration that this generator reports on.
type ReportFrequency ¶ added in v1.4.0
type ReportFrequency struct { // Time period between each report. The period can be daily, weekly, or monthly. Period ReportFrequencyType // Number of times within the frequency period that a report is generated. The // only supported value is 1 . Value *int32 // contains filtered or unexported fields }
Details about how frequently reports are generated.
type ReportFrequencyType ¶ added in v1.4.0
type ReportFrequencyType string
const ( ReportFrequencyTypeDay ReportFrequencyType = "DAY" ReportFrequencyTypeWeek ReportFrequencyType = "WEEK" ReportFrequencyTypeMonth ReportFrequencyType = "MONTH" )
Enum values for ReportFrequencyType
func (ReportFrequencyType) Values ¶ added in v1.4.0
func (ReportFrequencyType) Values() []ReportFrequencyType
Values returns all known values for ReportFrequencyType. 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 ReportGenerator ¶ added in v1.4.0
type ReportGenerator struct { // Time the report was created. CreateTime *string // Description of the report generator. Description *string // Time the last report was generated at. LastReportGenerationTime *string // Failure message for the last report generation attempt. LastRunFailureReason *string // Status of the last report generation attempt. LastRunStatus *string // Amazon Resource Name (ARN) of the report generator. LicenseManagerReportGeneratorArn *string // License configuration type for this generator. ReportContext *ReportContext // The Amazon Web Services account ID used to create the report generator. ReportCreatorAccount *string // Details about how frequently reports are generated. ReportFrequency *ReportFrequency // Name of the report generator. ReportGeneratorName *string // Type of reports that are generated. ReportType []ReportType // Details of the S3 bucket that report generator reports are published to. S3Location *S3Location // Tags associated with the report generator. Tags []Tag // contains filtered or unexported fields }
Describe the details of a report generator.
type ReportType ¶ added in v1.4.0
type ReportType string
const ( ReportTypeLicenseConfigurationSummaryReport ReportType = "LicenseConfigurationSummaryReport" ReportTypeLicenseConfigurationUsageReport ReportType = "LicenseConfigurationUsageReport" )
Enum values for ReportType
func (ReportType) Values ¶ added in v1.4.0
func (ReportType) Values() []ReportType
Values returns all known values for ReportType. 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 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 // contains filtered or unexported fields }
Details about a resource.
type ResourceLimitExceededException ¶
type ResourceLimitExceededException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
Your resource limits have been exceeded.
func (*ResourceLimitExceededException) Error ¶
func (e *ResourceLimitExceededException) Error() string
func (*ResourceLimitExceededException) ErrorCode ¶
func (e *ResourceLimitExceededException) ErrorCode() string
func (*ResourceLimitExceededException) ErrorFault ¶
func (e *ResourceLimitExceededException) ErrorFault() smithy.ErrorFault
func (*ResourceLimitExceededException) ErrorMessage ¶
func (e *ResourceLimitExceededException) ErrorMessage() string
type ResourceNotFoundException ¶ added in v0.31.0
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The resource cannot be found.
func (*ResourceNotFoundException) Error ¶ added in v0.31.0
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶ added in v0.31.0
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶ added in v0.31.0
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶ added in v0.31.0
func (e *ResourceNotFoundException) 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 ¶ added in v0.29.0
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 S3Location ¶ added in v1.4.0
type S3Location struct { // Name of the S3 bucket reports are published to. Bucket *string // Prefix of the S3 bucket reports are published to. KeyPrefix *string // contains filtered or unexported fields }
Details of the S3 bucket that report generator reports are published to.
type ServerInternalException ¶
type ServerInternalException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
Details about a tag for a license configuration.
type TokenData ¶ added in v0.31.0
type TokenData struct { // Token expiration time, in ISO8601-UTC format. ExpirationTime *string // Amazon Resource Name (ARN) of the license. LicenseArn *string // Amazon Resource Names (ARN) of the roles included in the token. RoleArns []string // Token status. The possible values are AVAILABLE and DELETED . Status *string // Token ID. TokenId *string // Data specified by the caller. TokenProperties []string // Type of token generated. The supported value is REFRESH_TOKEN . TokenType *string // contains filtered or unexported fields }
Describes a token.
type TokenType ¶ added in v0.31.0
type TokenType string
const (
TokenTypeRefreshToken TokenType = "REFRESH_TOKEN"
)
Enum values for TokenType
type UnsupportedDigitalSignatureMethodException ¶ added in v0.31.0
type UnsupportedDigitalSignatureMethodException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The digital signature method is unsupported. Try your request again.
func (*UnsupportedDigitalSignatureMethodException) Error ¶ added in v0.31.0
func (e *UnsupportedDigitalSignatureMethodException) Error() string
func (*UnsupportedDigitalSignatureMethodException) ErrorCode ¶ added in v0.31.0
func (e *UnsupportedDigitalSignatureMethodException) ErrorCode() string
func (*UnsupportedDigitalSignatureMethodException) ErrorFault ¶ added in v0.31.0
func (e *UnsupportedDigitalSignatureMethodException) ErrorFault() smithy.ErrorFault
func (*UnsupportedDigitalSignatureMethodException) ErrorMessage ¶ added in v0.31.0
func (e *UnsupportedDigitalSignatureMethodException) ErrorMessage() string
type ValidationException ¶ added in v0.31.0
type ValidationException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The provided input is not valid. Try your request again.
func (*ValidationException) Error ¶ added in v0.31.0
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶ added in v0.31.0
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶ added in v0.31.0
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶ added in v0.31.0
func (e *ValidationException) ErrorMessage() string