types

package
v0.0.0-...-68f2935 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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

	// 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 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

	// The status of the instance.
	Status *string

	// The name of the subscription being used by the instance.
	SubscriptionName *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

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
const (
	// Equal operator
	OperatorEqual Operator = "Equal"
	// Not equal operator
	OperatorNotEqual Operator = "NotEqual"
	// Contains operator
	OperatorContains Operator = "Contains"
)

Enum values for Operator

func (Operator) Values

func (Operator) Values() []Operator

Values returns all known values for Operator. 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 OrganizationIntegration

type OrganizationIntegration string
const (
	// Enabled OrganizationIntegration
	OrganizationIntegrationEnabled OrganizationIntegration = "Enabled"
	// Disabled OrganizationIntegration
	OrganizationIntegrationDisabled OrganizationIntegration = "Disabled"
)

Enum values for OrganizationIntegration

func (OrganizationIntegration) Values

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 Status

type Status string
const (
	// InProgress status
	StatusInProgress Status = "InProgress"
	// Completed status
	StatusCompleted Status = "Completed"
	// Successful status
	StatusSuccessful Status = "Successful"
	// Failed status
	StatusFailed Status = "Failed"
)

Enum values for Status

func (Status) Values

func (Status) Values() []Status

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

Jump to

Keyboard shortcuts

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