Documentation
¶
Index ¶
- type Filter
- type Instance
- type InternalServerException
- type LinuxSubscriptionsDiscovery
- type LinuxSubscriptionsDiscoverySettings
- type Operator
- type OrganizationIntegration
- type RegisteredSubscriptionProvider
- type ResourceNotFoundException
- type Status
- type Subscription
- type SubscriptionProviderSource
- type SubscriptionProviderStatus
- type ThrottlingException
- type ValidationException
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
// The type of name to filter by.
Name *string
// An operator for filtering results.
Operator Operator
// One or more values for the name to filter by.
Values []string
// contains filtered or unexported fields
}
A filter object 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.
type Instance ¶
type Instance struct {
// The account ID which owns the instance.
AccountID *string
// The AMI ID used to launch the instance.
AmiId *string
// Indicates that you have two different license subscriptions for the same
// software on your instance.
DualSubscription *string
// The instance ID of the resource.
InstanceID *string
// The instance type of the resource.
InstanceType *string
// The time in which the last discovery updated the instance details.
LastUpdatedTime *string
// The operating system software version that runs on your instance.
OsVersion *string
// The product code for the instance. For more information, see [Usage operation values] in the License
// Manager User Guide .
//
// [Usage operation values]: https://docs.aws.amazon.com/license-manager/latest/userguide/linux-subscriptions-usage-operation.html
ProductCode []string
// The Region the instance is running in.
Region *string
// Indicates that your instance uses a BYOL license subscription from a
// third-party Linux subscription provider that you've registered with License
// Manager.
RegisteredWithSubscriptionProvider *string
// The status of the instance.
Status *string
// The name of the license subscription that the instance uses.
SubscriptionName *string
// The timestamp when you registered the third-party Linux subscription provider
// for the subscription that the instance uses.
SubscriptionProviderCreateTime *string
// The timestamp from the last time that the instance synced with the registered
// third-party Linux subscription provider.
SubscriptionProviderUpdateTime *string
// The usage operation of the instance. For more information, see For more
// information, see [Usage operation values]in the License Manager User Guide.
//
// [Usage operation values]: https://docs.aws.amazon.com/license-manager/latest/userguide/linux-subscriptions-usage-operation.html
UsageOperation *string
// contains filtered or unexported fields
}
Details discovered information about a running instance using Linux subscriptions.
type InternalServerException ¶
type InternalServerException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
An exception occurred with the service.
func (*InternalServerException) Error ¶
func (e *InternalServerException) Error() string
func (*InternalServerException) ErrorCode ¶
func (e *InternalServerException) ErrorCode() string
func (*InternalServerException) ErrorFault ¶
func (e *InternalServerException) ErrorFault() smithy.ErrorFault
func (*InternalServerException) ErrorMessage ¶
func (e *InternalServerException) ErrorMessage() string
type LinuxSubscriptionsDiscovery ¶
type LinuxSubscriptionsDiscovery string
const ( // Enabled LinuxSubscriptionsDiscovery LinuxSubscriptionsDiscoveryEnabled LinuxSubscriptionsDiscovery = "Enabled" // Disabled LinuxSubscriptionsDiscovery LinuxSubscriptionsDiscoveryDisabled LinuxSubscriptionsDiscovery = "Disabled" )
Enum values for LinuxSubscriptionsDiscovery
func (LinuxSubscriptionsDiscovery) Values ¶
func (LinuxSubscriptionsDiscovery) Values() []LinuxSubscriptionsDiscovery
Values returns all known values for LinuxSubscriptionsDiscovery. 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 LinuxSubscriptionsDiscoverySettings ¶
type LinuxSubscriptionsDiscoverySettings struct {
// Details if you have enabled resource discovery across your accounts in
// Organizations.
//
// This member is required.
OrganizationIntegration OrganizationIntegration
// The Regions in which to discover data for Linux subscriptions.
//
// This member is required.
SourceRegions []string
// contains filtered or unexported fields
}
Lists the settings defined for discovering Linux subscriptions.
type Operator ¶
type Operator string
type OrganizationIntegration ¶
type OrganizationIntegration string
const ( // Enabled OrganizationIntegration OrganizationIntegrationEnabled OrganizationIntegration = "Enabled" // Disabled OrganizationIntegration OrganizationIntegrationDisabled OrganizationIntegration = "Disabled" )
Enum values for OrganizationIntegration
func (OrganizationIntegration) Values ¶
func (OrganizationIntegration) Values() []OrganizationIntegration
Values returns all known values for OrganizationIntegration. 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 RegisteredSubscriptionProvider ¶ added in v1.11.0
type RegisteredSubscriptionProvider struct {
// The timestamp from the last time that License Manager accessed third-party
// subscription data for your account from your registered Linux subscription
// provider.
LastSuccessfulDataRetrievalTime *string
// The Amazon Resource Name (ARN) of the Secrets Manager secret that stores your
// registered Linux subscription provider access token. For RHEL account
// subscriptions, this is the offline token.
SecretArn *string
// The Amazon Resource Name (ARN) of the Linux subscription provider resource that
// you registered.
SubscriptionProviderArn *string
// A supported third-party Linux subscription provider. License Manager currently
// supports Red Hat subscriptions.
SubscriptionProviderSource SubscriptionProviderSource
// Indicates the status of your registered Linux subscription provider access
// token from the last time License Manager retrieved subscription data. For RHEL
// account subscriptions, this is the status of the offline token.
SubscriptionProviderStatus SubscriptionProviderStatus
// A detailed message that's associated with your BYOL subscription provider token
// status.
SubscriptionProviderStatusMessage *string
// contains filtered or unexported fields
}
A third-party provider for operating system (OS) platform software and license subscriptions, such as Red Hat. When you register a third-party Linux subscription provider, License Manager can get subscription data from the registered provider.
type ResourceNotFoundException ¶ added in v1.11.0
type ResourceNotFoundException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
Unable to find the requested Amazon Web Services resource.
func (*ResourceNotFoundException) Error ¶ added in v1.11.0
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶ added in v1.11.0
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶ added in v1.11.0
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶ added in v1.11.0
func (e *ResourceNotFoundException) ErrorMessage() string
type Status ¶
type Status string
type Subscription ¶
type Subscription struct {
// The total amount of running instances using this subscription.
InstanceCount *int64
// The name of the subscription.
Name *string
// The type of subscription. The type can be subscription-included with Amazon
// EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services
// Marketplace. Certain subscriptions may use licensing from the Amazon Web
// Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.
Type *string
// contains filtered or unexported fields
}
An object which details a discovered Linux subscription.
type SubscriptionProviderSource ¶ added in v1.11.0
type SubscriptionProviderSource string
const ( // RedHat subscription provider namespace SubscriptionProviderSourceRedHat SubscriptionProviderSource = "RedHat" )
Enum values for SubscriptionProviderSource
func (SubscriptionProviderSource) Values ¶ added in v1.11.0
func (SubscriptionProviderSource) Values() []SubscriptionProviderSource
Values returns all known values for SubscriptionProviderSource. 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 SubscriptionProviderStatus ¶ added in v1.11.0
type SubscriptionProviderStatus string
const ( // ACTIVE status SubscriptionProviderStatusActive SubscriptionProviderStatus = "ACTIVE" // INVALID status SubscriptionProviderStatusInvalid SubscriptionProviderStatus = "INVALID" // PENDING status SubscriptionProviderStatusPending SubscriptionProviderStatus = "PENDING" )
Enum values for SubscriptionProviderStatus
func (SubscriptionProviderStatus) Values ¶ added in v1.11.0
func (SubscriptionProviderStatus) Values() []SubscriptionProviderStatus
Values returns all known values for SubscriptionProviderStatus. 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 ThrottlingException ¶
type ThrottlingException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
The request was denied due to request throttling.
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 ValidationException ¶
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 ¶
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