licensemanagerlinuxsubscriptions

package
v0.0.0-...-b4884ed Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package licensemanagerlinuxsubscriptions provides the client and types for making API requests to AWS License Manager Linux Subscriptions.

With License Manager, you can discover and track your commercial Linux subscriptions on running Amazon EC2 instances.

See https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10 for more information on this service.

See licensemanagerlinuxsubscriptions package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/licensemanagerlinuxsubscriptions/

Using the Client

To contact AWS License Manager Linux Subscriptions with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS License Manager Linux Subscriptions client LicenseManagerLinuxSubscriptions for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/licensemanagerlinuxsubscriptions/#New

Index

Constants

View Source
const (
	// LinuxSubscriptionsDiscoveryEnabled is a LinuxSubscriptionsDiscovery enum value
	LinuxSubscriptionsDiscoveryEnabled = "Enabled"

	// LinuxSubscriptionsDiscoveryDisabled is a LinuxSubscriptionsDiscovery enum value
	LinuxSubscriptionsDiscoveryDisabled = "Disabled"
)
View Source
const (
	// OperatorEqual is a Operator enum value
	OperatorEqual = "Equal"

	// OperatorNotEqual is a Operator enum value
	OperatorNotEqual = "NotEqual"

	// OperatorContains is a Operator enum value
	OperatorContains = "Contains"
)
View Source
const (
	// OrganizationIntegrationEnabled is a OrganizationIntegration enum value
	OrganizationIntegrationEnabled = "Enabled"

	// OrganizationIntegrationDisabled is a OrganizationIntegration enum value
	OrganizationIntegrationDisabled = "Disabled"
)
View Source
const (
	// StatusInProgress is a Status enum value
	StatusInProgress = "InProgress"

	// StatusCompleted is a Status enum value
	StatusCompleted = "Completed"

	// StatusSuccessful is a Status enum value
	StatusSuccessful = "Successful"

	// StatusFailed is a Status enum value
	StatusFailed = "Failed"
)
View Source
const (
	// SubscriptionProviderStatusActive is a SubscriptionProviderStatus enum value
	SubscriptionProviderStatusActive = "ACTIVE"

	// SubscriptionProviderStatusInvalid is a SubscriptionProviderStatus enum value
	SubscriptionProviderStatusInvalid = "INVALID"

	// SubscriptionProviderStatusPending is a SubscriptionProviderStatus enum value
	SubscriptionProviderStatusPending = "PENDING"
)
View Source
const (

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An exception occurred with the service.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// Unable to find the requested Amazon Web Services resource.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was denied due to request throttling.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The provided input is not valid. Try your request again.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "License Manager Linux Subscriptions" // Name of service.
	EndpointsID = "license-manager-linux-subscriptions" // ID to lookup a service endpoint with.
	ServiceID   = "License Manager Linux Subscriptions" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// SubscriptionProviderSourceRedHat is a SubscriptionProviderSource enum value
	SubscriptionProviderSourceRedHat = "RedHat"
)

Variables

This section is empty.

Functions

func LinuxSubscriptionsDiscovery_Values

func LinuxSubscriptionsDiscovery_Values() []string

LinuxSubscriptionsDiscovery_Values returns all elements of the LinuxSubscriptionsDiscovery enum

func Operator_Values

func Operator_Values() []string

Operator_Values returns all elements of the Operator enum

func OrganizationIntegration_Values

func OrganizationIntegration_Values() []string

OrganizationIntegration_Values returns all elements of the OrganizationIntegration enum

func Status_Values

func Status_Values() []string

Status_Values returns all elements of the Status enum

func SubscriptionProviderSource_Values

func SubscriptionProviderSource_Values() []string

SubscriptionProviderSource_Values returns all elements of the SubscriptionProviderSource enum

func SubscriptionProviderStatus_Values

func SubscriptionProviderStatus_Values() []string

SubscriptionProviderStatus_Values returns all elements of the SubscriptionProviderStatus enum

Types

type DeregisterSubscriptionProviderInput

type DeregisterSubscriptionProviderInput struct {

	// The Amazon Resource Name (ARN) of the subscription provider resource to deregister.
	//
	// SubscriptionProviderArn is a required field
	SubscriptionProviderArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterSubscriptionProviderInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterSubscriptionProviderInput) SetSubscriptionProviderArn

SetSubscriptionProviderArn sets the SubscriptionProviderArn field's value.

func (DeregisterSubscriptionProviderInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterSubscriptionProviderInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeregisterSubscriptionProviderOutput

type DeregisterSubscriptionProviderOutput struct {
	// contains filtered or unexported fields
}

func (DeregisterSubscriptionProviderOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeregisterSubscriptionProviderOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Filter

type Filter struct {

	// The type of name to filter by.
	Name *string `type:"string"`

	// An operator for filtering results.
	Operator *string `min:"1" type:"string" enum:"Operator"`

	// One or more values for the name to filter by.
	Values []*string `min:"1" type:"list"`
	// 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.

func (Filter) GoString

func (s Filter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Filter) SetName

func (s *Filter) SetName(v string) *Filter

SetName sets the Name field's value.

func (*Filter) SetOperator

func (s *Filter) SetOperator(v string) *Filter

SetOperator sets the Operator field's value.

func (*Filter) SetValues

func (s *Filter) SetValues(v []*string) *Filter

SetValues sets the Values field's value.

func (Filter) String

func (s Filter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Filter) Validate

func (s *Filter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRegisteredSubscriptionProviderInput

type GetRegisteredSubscriptionProviderInput struct {

	// The Amazon Resource Name (ARN) of the BYOL registration resource to get details
	// for.
	//
	// SubscriptionProviderArn is a required field
	SubscriptionProviderArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRegisteredSubscriptionProviderInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRegisteredSubscriptionProviderInput) SetSubscriptionProviderArn

SetSubscriptionProviderArn sets the SubscriptionProviderArn field's value.

func (GetRegisteredSubscriptionProviderInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRegisteredSubscriptionProviderInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetRegisteredSubscriptionProviderOutput

type GetRegisteredSubscriptionProviderOutput struct {

	// The timestamp from the last time License Manager retrieved subscription details
	// from your registered third-party Linux subscription provider.
	LastSuccessfulDataRetrievalTime *string `type:"string"`

	// The Amazon Resource Name (ARN) of the third-party access secret stored in
	// Secrets Manager for the BYOL registration resource specified in the request.
	SecretArn *string `type:"string"`

	// The Amazon Resource Name (ARN) for the BYOL registration resource specified
	// in the request.
	SubscriptionProviderArn *string `type:"string"`

	// The subscription provider for the BYOL registration resource specified in
	// the request.
	SubscriptionProviderSource *string `type:"string" enum:"SubscriptionProviderSource"`

	// The status of the Linux subscription provider access token from the last
	// successful subscription data request.
	SubscriptionProviderStatus *string `type:"string" enum:"SubscriptionProviderStatus"`

	// The detailed message from your subscription provider token status.
	SubscriptionProviderStatusMessage *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetRegisteredSubscriptionProviderOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRegisteredSubscriptionProviderOutput) SetLastSuccessfulDataRetrievalTime

SetLastSuccessfulDataRetrievalTime sets the LastSuccessfulDataRetrievalTime field's value.

func (*GetRegisteredSubscriptionProviderOutput) SetSecretArn

SetSecretArn sets the SecretArn field's value.

func (*GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderArn

SetSubscriptionProviderArn sets the SubscriptionProviderArn field's value.

func (*GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderSource

SetSubscriptionProviderSource sets the SubscriptionProviderSource field's value.

func (*GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderStatus

SetSubscriptionProviderStatus sets the SubscriptionProviderStatus field's value.

func (*GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderStatusMessage

SetSubscriptionProviderStatusMessage sets the SubscriptionProviderStatusMessage field's value.

func (GetRegisteredSubscriptionProviderOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetServiceSettingsInput

type GetServiceSettingsInput struct {
	// contains filtered or unexported fields
}

func (GetServiceSettingsInput) GoString

func (s GetServiceSettingsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetServiceSettingsInput) String

func (s GetServiceSettingsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetServiceSettingsOutput

type GetServiceSettingsOutput struct {

	// The Region in which License Manager displays the aggregated data for Linux
	// subscriptions.
	HomeRegions []*string `min:"1" type:"list"`

	// Lists if discovery has been enabled for Linux subscriptions.
	LinuxSubscriptionsDiscovery *string `type:"string" enum:"LinuxSubscriptionsDiscovery"`

	// Lists the settings defined for Linux subscriptions discovery. The settings
	// include if Organizations integration has been enabled, and which Regions
	// data will be aggregated from.
	LinuxSubscriptionsDiscoverySettings *LinuxSubscriptionsDiscoverySettings `type:"structure"`

	// Indicates the status of Linux subscriptions settings being applied.
	Status *string `type:"string" enum:"Status"`

	// A message which details the Linux subscriptions service settings current
	// status.
	StatusMessage map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (GetServiceSettingsOutput) GoString

func (s GetServiceSettingsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetServiceSettingsOutput) SetHomeRegions

func (s *GetServiceSettingsOutput) SetHomeRegions(v []*string) *GetServiceSettingsOutput

SetHomeRegions sets the HomeRegions field's value.

func (*GetServiceSettingsOutput) SetLinuxSubscriptionsDiscovery

func (s *GetServiceSettingsOutput) SetLinuxSubscriptionsDiscovery(v string) *GetServiceSettingsOutput

SetLinuxSubscriptionsDiscovery sets the LinuxSubscriptionsDiscovery field's value.

func (*GetServiceSettingsOutput) SetLinuxSubscriptionsDiscoverySettings

func (s *GetServiceSettingsOutput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *GetServiceSettingsOutput

SetLinuxSubscriptionsDiscoverySettings sets the LinuxSubscriptionsDiscoverySettings field's value.

func (*GetServiceSettingsOutput) SetStatus

SetStatus sets the Status field's value.

func (*GetServiceSettingsOutput) SetStatusMessage

func (s *GetServiceSettingsOutput) SetStatusMessage(v map[string]*string) *GetServiceSettingsOutput

SetStatusMessage sets the StatusMessage field's value.

func (GetServiceSettingsOutput) String

func (s GetServiceSettingsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Instance

type Instance struct {

	// The account ID which owns the instance.
	AccountID *string `type:"string"`

	// The AMI ID used to launch the instance.
	AmiId *string `type:"string"`

	// Indicates that you have two different license subscriptions for the same
	// software on your instance.
	DualSubscription *string `type:"string"`

	// The instance ID of the resource.
	InstanceID *string `type:"string"`

	// The instance type of the resource.
	InstanceType *string `type:"string"`

	// The time in which the last discovery updated the instance details.
	LastUpdatedTime *string `type:"string"`

	// The operating system software version that runs on your instance.
	OsVersion *string `type:"string"`

	// The product code for the instance. For more information, see Usage operation
	// values (https://docs.aws.amazon.com/license-manager/latest/userguide/linux-subscriptions-usage-operation.html)
	// in the License Manager User Guide .
	ProductCode []*string `type:"list"`

	// The Region the instance is running in.
	Region *string `type:"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 `type:"string"`

	// The status of the instance.
	Status *string `type:"string"`

	// The name of the license subscription that the instance uses.
	SubscriptionName *string `type:"string"`

	// The timestamp when you registered the third-party Linux subscription provider
	// for the subscription that the instance uses.
	SubscriptionProviderCreateTime *string `type:"string"`

	// The timestamp from the last time that the instance synced with the registered
	// third-party Linux subscription provider.
	SubscriptionProviderUpdateTime *string `type:"string"`

	// The usage operation of the instance. For more information, see For more information,
	// see Usage operation values (https://docs.aws.amazon.com/license-manager/latest/userguide/linux-subscriptions-usage-operation.html)
	// in the License Manager User Guide.
	UsageOperation *string `type:"string"`
	// contains filtered or unexported fields
}

Details discovered information about a running instance using Linux subscriptions.

func (Instance) GoString

func (s Instance) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Instance) SetAccountID

func (s *Instance) SetAccountID(v string) *Instance

SetAccountID sets the AccountID field's value.

func (*Instance) SetAmiId

func (s *Instance) SetAmiId(v string) *Instance

SetAmiId sets the AmiId field's value.

func (*Instance) SetDualSubscription

func (s *Instance) SetDualSubscription(v string) *Instance

SetDualSubscription sets the DualSubscription field's value.

func (*Instance) SetInstanceID

func (s *Instance) SetInstanceID(v string) *Instance

SetInstanceID sets the InstanceID field's value.

func (*Instance) SetInstanceType

func (s *Instance) SetInstanceType(v string) *Instance

SetInstanceType sets the InstanceType field's value.

func (*Instance) SetLastUpdatedTime

func (s *Instance) SetLastUpdatedTime(v string) *Instance

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Instance) SetOsVersion

func (s *Instance) SetOsVersion(v string) *Instance

SetOsVersion sets the OsVersion field's value.

func (*Instance) SetProductCode

func (s *Instance) SetProductCode(v []*string) *Instance

SetProductCode sets the ProductCode field's value.

func (*Instance) SetRegion

func (s *Instance) SetRegion(v string) *Instance

SetRegion sets the Region field's value.

func (*Instance) SetRegisteredWithSubscriptionProvider

func (s *Instance) SetRegisteredWithSubscriptionProvider(v string) *Instance

SetRegisteredWithSubscriptionProvider sets the RegisteredWithSubscriptionProvider field's value.

func (*Instance) SetStatus

func (s *Instance) SetStatus(v string) *Instance

SetStatus sets the Status field's value.

func (*Instance) SetSubscriptionName

func (s *Instance) SetSubscriptionName(v string) *Instance

SetSubscriptionName sets the SubscriptionName field's value.

func (*Instance) SetSubscriptionProviderCreateTime

func (s *Instance) SetSubscriptionProviderCreateTime(v string) *Instance

SetSubscriptionProviderCreateTime sets the SubscriptionProviderCreateTime field's value.

func (*Instance) SetSubscriptionProviderUpdateTime

func (s *Instance) SetSubscriptionProviderUpdateTime(v string) *Instance

SetSubscriptionProviderUpdateTime sets the SubscriptionProviderUpdateTime field's value.

func (*Instance) SetUsageOperation

func (s *Instance) SetUsageOperation(v string) *Instance

SetUsageOperation sets the UsageOperation field's value.

func (Instance) String

func (s Instance) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An exception occurred with the service.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LicenseManagerLinuxSubscriptions

type LicenseManagerLinuxSubscriptions struct {
	*client.Client
}

LicenseManagerLinuxSubscriptions provides the API operation methods for making requests to AWS License Manager Linux Subscriptions. See this package's package overview docs for details on the service.

LicenseManagerLinuxSubscriptions methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New creates a new instance of the LicenseManagerLinuxSubscriptions client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a LicenseManagerLinuxSubscriptions client from just a session.
svc := licensemanagerlinuxsubscriptions.New(mySession)

// Create a LicenseManagerLinuxSubscriptions client with additional configuration
svc := licensemanagerlinuxsubscriptions.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*LicenseManagerLinuxSubscriptions) DeregisterSubscriptionProvider

DeregisterSubscriptionProvider API operation for AWS License Manager Linux Subscriptions.

Remove a third-party subscription provider from the Bring Your Own License (BYOL) subscriptions registered to your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS License Manager Linux Subscriptions's API operation DeregisterSubscriptionProvider for usage and error information.

Returned Error Types:

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The provided input is not valid. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/DeregisterSubscriptionProvider

func (*LicenseManagerLinuxSubscriptions) DeregisterSubscriptionProviderRequest

func (c *LicenseManagerLinuxSubscriptions) DeregisterSubscriptionProviderRequest(input *DeregisterSubscriptionProviderInput) (req *request.Request, output *DeregisterSubscriptionProviderOutput)

DeregisterSubscriptionProviderRequest generates a "aws/request.Request" representing the client's request for the DeregisterSubscriptionProvider operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeregisterSubscriptionProvider for more information on using the DeregisterSubscriptionProvider API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeregisterSubscriptionProviderRequest method.
req, resp := client.DeregisterSubscriptionProviderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/DeregisterSubscriptionProvider

func (*LicenseManagerLinuxSubscriptions) DeregisterSubscriptionProviderWithContext

DeregisterSubscriptionProviderWithContext is the same as DeregisterSubscriptionProvider with the addition of the ability to pass a context and additional request options.

See DeregisterSubscriptionProvider for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) GetRegisteredSubscriptionProvider

GetRegisteredSubscriptionProvider API operation for AWS License Manager Linux Subscriptions.

Get details for a Bring Your Own License (BYOL) subscription that's registered to your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS License Manager Linux Subscriptions's API operation GetRegisteredSubscriptionProvider for usage and error information.

Returned Error Types:

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The provided input is not valid. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/GetRegisteredSubscriptionProvider

func (*LicenseManagerLinuxSubscriptions) GetRegisteredSubscriptionProviderRequest

GetRegisteredSubscriptionProviderRequest generates a "aws/request.Request" representing the client's request for the GetRegisteredSubscriptionProvider operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRegisteredSubscriptionProvider for more information on using the GetRegisteredSubscriptionProvider API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRegisteredSubscriptionProviderRequest method.
req, resp := client.GetRegisteredSubscriptionProviderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/GetRegisteredSubscriptionProvider

func (*LicenseManagerLinuxSubscriptions) GetRegisteredSubscriptionProviderWithContext

GetRegisteredSubscriptionProviderWithContext is the same as GetRegisteredSubscriptionProvider with the addition of the ability to pass a context and additional request options.

See GetRegisteredSubscriptionProvider for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) GetServiceSettings

GetServiceSettings API operation for AWS License Manager Linux Subscriptions.

Lists the Linux subscriptions service settings for your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS License Manager Linux Subscriptions's API operation GetServiceSettings for usage and error information.

Returned Error Types:

  • InternalServerException An exception occurred with the service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The provided input is not valid. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/GetServiceSettings

func (*LicenseManagerLinuxSubscriptions) GetServiceSettingsRequest

func (c *LicenseManagerLinuxSubscriptions) GetServiceSettingsRequest(input *GetServiceSettingsInput) (req *request.Request, output *GetServiceSettingsOutput)

GetServiceSettingsRequest generates a "aws/request.Request" representing the client's request for the GetServiceSettings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetServiceSettings for more information on using the GetServiceSettings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetServiceSettingsRequest method.
req, resp := client.GetServiceSettingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/GetServiceSettings

func (*LicenseManagerLinuxSubscriptions) GetServiceSettingsWithContext

func (c *LicenseManagerLinuxSubscriptions) GetServiceSettingsWithContext(ctx aws.Context, input *GetServiceSettingsInput, opts ...request.Option) (*GetServiceSettingsOutput, error)

GetServiceSettingsWithContext is the same as GetServiceSettings with the addition of the ability to pass a context and additional request options.

See GetServiceSettings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstances

ListLinuxSubscriptionInstances API operation for AWS License Manager Linux Subscriptions.

Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS License Manager Linux Subscriptions's API operation ListLinuxSubscriptionInstances for usage and error information.

Returned Error Types:

  • InternalServerException An exception occurred with the service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The provided input is not valid. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListLinuxSubscriptionInstances

func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesPages

ListLinuxSubscriptionInstancesPages iterates over the pages of a ListLinuxSubscriptionInstances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListLinuxSubscriptionInstances method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListLinuxSubscriptionInstances operation.
pageNum := 0
err := client.ListLinuxSubscriptionInstancesPages(params,
    func(page *licensemanagerlinuxsubscriptions.ListLinuxSubscriptionInstancesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesPagesWithContext

func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesPagesWithContext(ctx aws.Context, input *ListLinuxSubscriptionInstancesInput, fn func(*ListLinuxSubscriptionInstancesOutput, bool) bool, opts ...request.Option) error

ListLinuxSubscriptionInstancesPagesWithContext same as ListLinuxSubscriptionInstancesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesRequest

func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesRequest(input *ListLinuxSubscriptionInstancesInput) (req *request.Request, output *ListLinuxSubscriptionInstancesOutput)

ListLinuxSubscriptionInstancesRequest generates a "aws/request.Request" representing the client's request for the ListLinuxSubscriptionInstances operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListLinuxSubscriptionInstances for more information on using the ListLinuxSubscriptionInstances API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListLinuxSubscriptionInstancesRequest method.
req, resp := client.ListLinuxSubscriptionInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListLinuxSubscriptionInstances

func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesWithContext

ListLinuxSubscriptionInstancesWithContext is the same as ListLinuxSubscriptionInstances with the addition of the ability to pass a context and additional request options.

See ListLinuxSubscriptionInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptions

ListLinuxSubscriptions API operation for AWS License Manager Linux Subscriptions.

Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS License Manager Linux Subscriptions's API operation ListLinuxSubscriptions for usage and error information.

Returned Error Types:

  • InternalServerException An exception occurred with the service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The provided input is not valid. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListLinuxSubscriptions

func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsPages

ListLinuxSubscriptionsPages iterates over the pages of a ListLinuxSubscriptions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListLinuxSubscriptions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListLinuxSubscriptions operation.
pageNum := 0
err := client.ListLinuxSubscriptionsPages(params,
    func(page *licensemanagerlinuxsubscriptions.ListLinuxSubscriptionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsPagesWithContext

func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsPagesWithContext(ctx aws.Context, input *ListLinuxSubscriptionsInput, fn func(*ListLinuxSubscriptionsOutput, bool) bool, opts ...request.Option) error

ListLinuxSubscriptionsPagesWithContext same as ListLinuxSubscriptionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsRequest

func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsRequest(input *ListLinuxSubscriptionsInput) (req *request.Request, output *ListLinuxSubscriptionsOutput)

ListLinuxSubscriptionsRequest generates a "aws/request.Request" representing the client's request for the ListLinuxSubscriptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListLinuxSubscriptions for more information on using the ListLinuxSubscriptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListLinuxSubscriptionsRequest method.
req, resp := client.ListLinuxSubscriptionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListLinuxSubscriptions

func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsWithContext

func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsWithContext(ctx aws.Context, input *ListLinuxSubscriptionsInput, opts ...request.Option) (*ListLinuxSubscriptionsOutput, error)

ListLinuxSubscriptionsWithContext is the same as ListLinuxSubscriptions with the addition of the ability to pass a context and additional request options.

See ListLinuxSubscriptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProviders

ListRegisteredSubscriptionProviders API operation for AWS License Manager Linux Subscriptions.

List Bring Your Own License (BYOL) subscription registration resources for your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS License Manager Linux Subscriptions's API operation ListRegisteredSubscriptionProviders for usage and error information.

Returned Error Types:

  • InternalServerException An exception occurred with the service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The provided input is not valid. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListRegisteredSubscriptionProviders

func (*LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersPages

ListRegisteredSubscriptionProvidersPages iterates over the pages of a ListRegisteredSubscriptionProviders operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRegisteredSubscriptionProviders method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRegisteredSubscriptionProviders operation.
pageNum := 0
err := client.ListRegisteredSubscriptionProvidersPages(params,
    func(page *licensemanagerlinuxsubscriptions.ListRegisteredSubscriptionProvidersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersPagesWithContext

func (c *LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersPagesWithContext(ctx aws.Context, input *ListRegisteredSubscriptionProvidersInput, fn func(*ListRegisteredSubscriptionProvidersOutput, bool) bool, opts ...request.Option) error

ListRegisteredSubscriptionProvidersPagesWithContext same as ListRegisteredSubscriptionProvidersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersRequest

ListRegisteredSubscriptionProvidersRequest generates a "aws/request.Request" representing the client's request for the ListRegisteredSubscriptionProviders operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRegisteredSubscriptionProviders for more information on using the ListRegisteredSubscriptionProviders API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRegisteredSubscriptionProvidersRequest method.
req, resp := client.ListRegisteredSubscriptionProvidersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListRegisteredSubscriptionProviders

func (*LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersWithContext

ListRegisteredSubscriptionProvidersWithContext is the same as ListRegisteredSubscriptionProviders with the addition of the ability to pass a context and additional request options.

See ListRegisteredSubscriptionProviders for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) ListTagsForResource

ListTagsForResource API operation for AWS License Manager Linux Subscriptions.

List the metadata tags that are assigned to the specified Amazon Web Services resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS License Manager Linux Subscriptions's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.

  • ValidationException The provided input is not valid. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListTagsForResource

func (*LicenseManagerLinuxSubscriptions) ListTagsForResourceRequest

func (c *LicenseManagerLinuxSubscriptions) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/ListTagsForResource

func (*LicenseManagerLinuxSubscriptions) ListTagsForResourceWithContext

func (c *LicenseManagerLinuxSubscriptions) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) RegisterSubscriptionProvider

RegisterSubscriptionProvider API operation for AWS License Manager Linux Subscriptions.

Register the supported third-party subscription provider for your Bring Your Own License (BYOL) subscription.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS License Manager Linux Subscriptions's API operation RegisterSubscriptionProvider for usage and error information.

Returned Error Types:

  • InternalServerException An exception occurred with the service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The provided input is not valid. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/RegisterSubscriptionProvider

func (*LicenseManagerLinuxSubscriptions) RegisterSubscriptionProviderRequest

func (c *LicenseManagerLinuxSubscriptions) RegisterSubscriptionProviderRequest(input *RegisterSubscriptionProviderInput) (req *request.Request, output *RegisterSubscriptionProviderOutput)

RegisterSubscriptionProviderRequest generates a "aws/request.Request" representing the client's request for the RegisterSubscriptionProvider operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RegisterSubscriptionProvider for more information on using the RegisterSubscriptionProvider API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RegisterSubscriptionProviderRequest method.
req, resp := client.RegisterSubscriptionProviderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/RegisterSubscriptionProvider

func (*LicenseManagerLinuxSubscriptions) RegisterSubscriptionProviderWithContext

func (c *LicenseManagerLinuxSubscriptions) RegisterSubscriptionProviderWithContext(ctx aws.Context, input *RegisterSubscriptionProviderInput, opts ...request.Option) (*RegisterSubscriptionProviderOutput, error)

RegisterSubscriptionProviderWithContext is the same as RegisterSubscriptionProvider with the addition of the ability to pass a context and additional request options.

See RegisterSubscriptionProvider for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) TagResource

TagResource API operation for AWS License Manager Linux Subscriptions.

Add metadata tags to the specified Amazon Web Services resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS License Manager Linux Subscriptions's API operation TagResource for usage and error information.

Returned Error Types:

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.

  • ValidationException The provided input is not valid. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/TagResource

func (*LicenseManagerLinuxSubscriptions) TagResourceRequest

func (c *LicenseManagerLinuxSubscriptions) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/TagResource

func (*LicenseManagerLinuxSubscriptions) TagResourceWithContext

func (c *LicenseManagerLinuxSubscriptions) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) UntagResource

UntagResource API operation for AWS License Manager Linux Subscriptions.

Remove one or more metadata tag from the specified Amazon Web Services resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS License Manager Linux Subscriptions's API operation UntagResource for usage and error information.

Returned Error Types:

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/UntagResource

func (*LicenseManagerLinuxSubscriptions) UntagResourceRequest

func (c *LicenseManagerLinuxSubscriptions) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/UntagResource

func (*LicenseManagerLinuxSubscriptions) UntagResourceWithContext

func (c *LicenseManagerLinuxSubscriptions) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LicenseManagerLinuxSubscriptions) UpdateServiceSettings

UpdateServiceSettings API operation for AWS License Manager Linux Subscriptions.

Updates the service settings for Linux subscriptions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS License Manager Linux Subscriptions's API operation UpdateServiceSettings for usage and error information.

Returned Error Types:

  • InternalServerException An exception occurred with the service.

  • ThrottlingException The request was denied due to request throttling.

  • ValidationException The provided input is not valid. Try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/UpdateServiceSettings

func (*LicenseManagerLinuxSubscriptions) UpdateServiceSettingsRequest

func (c *LicenseManagerLinuxSubscriptions) UpdateServiceSettingsRequest(input *UpdateServiceSettingsInput) (req *request.Request, output *UpdateServiceSettingsOutput)

UpdateServiceSettingsRequest generates a "aws/request.Request" representing the client's request for the UpdateServiceSettings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateServiceSettings for more information on using the UpdateServiceSettings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateServiceSettingsRequest method.
req, resp := client.UpdateServiceSettingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-linux-subscriptions-2018-05-10/UpdateServiceSettings

func (*LicenseManagerLinuxSubscriptions) UpdateServiceSettingsWithContext

func (c *LicenseManagerLinuxSubscriptions) UpdateServiceSettingsWithContext(ctx aws.Context, input *UpdateServiceSettingsInput, opts ...request.Option) (*UpdateServiceSettingsOutput, error)

UpdateServiceSettingsWithContext is the same as UpdateServiceSettings with the addition of the ability to pass a context and additional request options.

See UpdateServiceSettings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type LinuxSubscriptionsDiscoverySettings

type LinuxSubscriptionsDiscoverySettings struct {

	// Details if you have enabled resource discovery across your accounts in Organizations.
	//
	// OrganizationIntegration is a required field
	OrganizationIntegration *string `type:"string" required:"true" enum:"OrganizationIntegration"`

	// The Regions in which to discover data for Linux subscriptions.
	//
	// SourceRegions is a required field
	SourceRegions []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Lists the settings defined for discovering Linux subscriptions.

func (LinuxSubscriptionsDiscoverySettings) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LinuxSubscriptionsDiscoverySettings) SetOrganizationIntegration

SetOrganizationIntegration sets the OrganizationIntegration field's value.

func (*LinuxSubscriptionsDiscoverySettings) SetSourceRegions

SetSourceRegions sets the SourceRegions field's value.

func (LinuxSubscriptionsDiscoverySettings) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LinuxSubscriptionsDiscoverySettings) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListLinuxSubscriptionInstancesInput

type ListLinuxSubscriptionInstancesInput struct {

	// An array of structures that you can use to filter the results by your specified
	// criteria. For example, you can specify Region in the Name, with the contains
	// operator to list all subscriptions that match a partial string in the Value,
	// such as us-west.
	//
	// For each filter, you can specify one of the following values for the Name
	// key to streamline results:
	//
	//    * AccountID
	//
	//    * AmiID
	//
	//    * DualSubscription
	//
	//    * InstanceID
	//
	//    * InstanceType
	//
	//    * ProductCode
	//
	//    * Region
	//
	//    * Status
	//
	//    * UsageOperation
	//
	// For each filter, you can use one of the following Operator values to define
	// the behavior of the filter:
	//
	//    * contains
	//
	//    * equals
	//
	//    * Notequal
	Filters []*Filter `type:"list"`

	// The maximum items to return in a request.
	MaxResults *int64 `type:"integer"`

	// A token to specify where to start paginating. This is the nextToken from
	// a previously truncated response.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.

func (ListLinuxSubscriptionInstancesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListLinuxSubscriptionInstancesInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListLinuxSubscriptionInstancesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListLinuxSubscriptionInstancesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListLinuxSubscriptionInstancesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListLinuxSubscriptionInstancesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListLinuxSubscriptionInstancesOutput

type ListLinuxSubscriptionInstancesOutput struct {

	// An array that contains instance objects.
	Instances []*Instance `type:"list"`

	// The next token used for paginated responses. When this field isn't empty,
	// there are additional elements that the service hasn't included in this request.
	// Use this token with the next request to retrieve additional objects.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListLinuxSubscriptionInstancesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListLinuxSubscriptionInstancesOutput) SetInstances

SetInstances sets the Instances field's value.

func (*ListLinuxSubscriptionInstancesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListLinuxSubscriptionInstancesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListLinuxSubscriptionsInput

type ListLinuxSubscriptionsInput struct {

	// An array of structures that you can use to filter the results to those that
	// match one or more sets of key-value pairs that you specify. For example,
	// you can filter by the name of Subscription with an optional operator to see
	// subscriptions that match, partially match, or don't match a certain subscription's
	// name.
	//
	// The valid names for this filter are:
	//
	//    * Subscription
	//
	// The valid Operators for this filter are:
	//
	//    * contains
	//
	//    * equals
	//
	//    * Notequal
	Filters []*Filter `type:"list"`

	// The maximum items to return in a request.
	MaxResults *int64 `type:"integer"`

	// A token to specify where to start paginating. This is the nextToken from
	// a previously truncated response.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.

func (ListLinuxSubscriptionsInput) GoString

func (s ListLinuxSubscriptionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListLinuxSubscriptionsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListLinuxSubscriptionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListLinuxSubscriptionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListLinuxSubscriptionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListLinuxSubscriptionsInput) Validate

func (s *ListLinuxSubscriptionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListLinuxSubscriptionsOutput

type ListLinuxSubscriptionsOutput struct {

	// The next token used for paginated responses. When this field isn't empty,
	// there are additional elements that the service hasn't included in this request.
	// Use this token with the next request to retrieve additional objects.
	NextToken *string `type:"string"`

	// An array that contains subscription objects.
	Subscriptions []*Subscription `type:"list"`
	// contains filtered or unexported fields
}

func (ListLinuxSubscriptionsOutput) GoString

func (s ListLinuxSubscriptionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListLinuxSubscriptionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListLinuxSubscriptionsOutput) SetSubscriptions

SetSubscriptions sets the Subscriptions field's value.

func (ListLinuxSubscriptionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListRegisteredSubscriptionProvidersInput

type ListRegisteredSubscriptionProvidersInput struct {

	// The maximum items to return in a request.
	MaxResults *int64 `min:"1" type:"integer"`

	// A token to specify where to start paginating. This is the nextToken from
	// a previously truncated response.
	NextToken *string `type:"string"`

	// To filter your results, specify which subscription providers to return in
	// the list.
	SubscriptionProviderSources []*string `type:"list" enum:"SubscriptionProviderSource"`
	// contains filtered or unexported fields
}

func (ListRegisteredSubscriptionProvidersInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRegisteredSubscriptionProvidersInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRegisteredSubscriptionProvidersInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRegisteredSubscriptionProvidersInput) SetSubscriptionProviderSources

SetSubscriptionProviderSources sets the SubscriptionProviderSources field's value.

func (ListRegisteredSubscriptionProvidersInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRegisteredSubscriptionProvidersInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListRegisteredSubscriptionProvidersOutput

type ListRegisteredSubscriptionProvidersOutput struct {

	// The next token used for paginated responses. When this field isn't empty,
	// there are additional elements that the service hasn't included in this request.
	// Use this token with the next request to retrieve additional objects.
	NextToken *string `type:"string"`

	// The list of BYOL registration resources that fit the criteria you specified
	// in the request.
	RegisteredSubscriptionProviders []*RegisteredSubscriptionProvider `type:"list"`
	// contains filtered or unexported fields
}

func (ListRegisteredSubscriptionProvidersOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRegisteredSubscriptionProvidersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRegisteredSubscriptionProvidersOutput) SetRegisteredSubscriptionProviders

SetRegisteredSubscriptionProviders sets the RegisteredSubscriptionProviders field's value.

func (ListRegisteredSubscriptionProvidersOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource for which to list metadata
	// tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The metadata tags for the requested resource.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ListTagsForResourceOutput's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegisterSubscriptionProviderInput

type RegisterSubscriptionProviderInput struct {

	// The Amazon Resource Name (ARN) of the secret where you've stored your subscription
	// provider's access token. For RHEL subscriptions managed through the Red Hat
	// Subscription Manager (RHSM), the secret contains your Red Hat Offline token.
	//
	// SecretArn is a required field
	SecretArn *string `type:"string" required:"true"`

	// The supported Linux subscription provider to register.
	//
	// SubscriptionProviderSource is a required field
	SubscriptionProviderSource *string `type:"string" required:"true" enum:"SubscriptionProviderSource"`

	// The metadata tags to assign to your registered Linux subscription provider
	// resource.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by RegisterSubscriptionProviderInput's
	// String and GoString methods.
	Tags map[string]*string `type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

func (RegisterSubscriptionProviderInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterSubscriptionProviderInput) SetSecretArn

SetSecretArn sets the SecretArn field's value.

func (*RegisterSubscriptionProviderInput) SetSubscriptionProviderSource

func (s *RegisterSubscriptionProviderInput) SetSubscriptionProviderSource(v string) *RegisterSubscriptionProviderInput

SetSubscriptionProviderSource sets the SubscriptionProviderSource field's value.

func (*RegisterSubscriptionProviderInput) SetTags

SetTags sets the Tags field's value.

func (RegisterSubscriptionProviderInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterSubscriptionProviderInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type RegisterSubscriptionProviderOutput

type RegisterSubscriptionProviderOutput struct {

	// The Amazon Resource Name (ARN) of the Linux subscription provider resource
	// that you registered.
	SubscriptionProviderArn *string `type:"string"`

	// The Linux subscription provider that you registered.
	SubscriptionProviderSource *string `type:"string" enum:"SubscriptionProviderSource"`

	// Indicates the status of the registration action for the Linux subscription
	// provider that you requested.
	SubscriptionProviderStatus *string `type:"string" enum:"SubscriptionProviderStatus"`
	// contains filtered or unexported fields
}

func (RegisterSubscriptionProviderOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterSubscriptionProviderOutput) SetSubscriptionProviderArn

SetSubscriptionProviderArn sets the SubscriptionProviderArn field's value.

func (*RegisterSubscriptionProviderOutput) SetSubscriptionProviderSource

SetSubscriptionProviderSource sets the SubscriptionProviderSource field's value.

func (*RegisterSubscriptionProviderOutput) SetSubscriptionProviderStatus

SetSubscriptionProviderStatus sets the SubscriptionProviderStatus field's value.

func (RegisterSubscriptionProviderOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegisteredSubscriptionProvider

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 `type:"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 `type:"string"`

	// The Amazon Resource Name (ARN) of the Linux subscription provider resource
	// that you registered.
	SubscriptionProviderArn *string `type:"string"`

	// A supported third-party Linux subscription provider. License Manager currently
	// supports Red Hat subscriptions.
	SubscriptionProviderSource *string `type:"string" enum:"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 *string `type:"string" enum:"SubscriptionProviderStatus"`

	// A detailed message that's associated with your BYOL subscription provider
	// token status.
	SubscriptionProviderStatusMessage *string `type:"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.

func (RegisteredSubscriptionProvider) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisteredSubscriptionProvider) SetLastSuccessfulDataRetrievalTime

func (s *RegisteredSubscriptionProvider) SetLastSuccessfulDataRetrievalTime(v string) *RegisteredSubscriptionProvider

SetLastSuccessfulDataRetrievalTime sets the LastSuccessfulDataRetrievalTime field's value.

func (*RegisteredSubscriptionProvider) SetSecretArn

SetSecretArn sets the SecretArn field's value.

func (*RegisteredSubscriptionProvider) SetSubscriptionProviderArn

func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderArn(v string) *RegisteredSubscriptionProvider

SetSubscriptionProviderArn sets the SubscriptionProviderArn field's value.

func (*RegisteredSubscriptionProvider) SetSubscriptionProviderSource

func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderSource(v string) *RegisteredSubscriptionProvider

SetSubscriptionProviderSource sets the SubscriptionProviderSource field's value.

func (*RegisteredSubscriptionProvider) SetSubscriptionProviderStatus

func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderStatus(v string) *RegisteredSubscriptionProvider

SetSubscriptionProviderStatus sets the SubscriptionProviderStatus field's value.

func (*RegisteredSubscriptionProvider) SetSubscriptionProviderStatusMessage

func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderStatusMessage(v string) *RegisteredSubscriptionProvider

SetSubscriptionProviderStatusMessage sets the SubscriptionProviderStatusMessage field's value.

func (RegisteredSubscriptionProvider) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Unable to find the requested Amazon Web Services resource.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Subscription

type Subscription struct {

	// The total amount of running instances using this subscription.
	InstanceCount *int64 `type:"long"`

	// The name of the subscription.
	Name *string `type:"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 `type:"string"`
	// contains filtered or unexported fields
}

An object which details a discovered Linux subscription.

func (Subscription) GoString

func (s Subscription) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Subscription) SetInstanceCount

func (s *Subscription) SetInstanceCount(v int64) *Subscription

SetInstanceCount sets the InstanceCount field's value.

func (*Subscription) SetName

func (s *Subscription) SetName(v string) *Subscription

SetName sets the Name field's value.

func (*Subscription) SetType

func (s *Subscription) SetType(v string) *Subscription

SetType sets the Type field's value.

func (Subscription) String

func (s Subscription) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the Amazon Web Services resource to which
	// to add the specified metadata tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// The metadata tags to assign to the Amazon Web Services resource. Tags are
	// formatted as key value pairs.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by TagResourceInput's
	// String and GoString methods.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" type:"map" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request was denied due to request throttling.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the Amazon Web Services resource to remove
	// the metadata tags from.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// A list of metadata tag keys to remove from the requested resource.
	//
	// TagKeys is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UntagResourceInput's
	// String and GoString methods.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateServiceSettingsInput

type UpdateServiceSettingsInput struct {

	// Describes if updates are allowed to the service settings for Linux subscriptions.
	// If you allow updates, you can aggregate Linux subscription data in more than
	// one home Region.
	AllowUpdate *bool `type:"boolean"`

	// Describes if the discovery of Linux subscriptions is enabled.
	//
	// LinuxSubscriptionsDiscovery is a required field
	LinuxSubscriptionsDiscovery *string `type:"string" required:"true" enum:"LinuxSubscriptionsDiscovery"`

	// The settings defined for Linux subscriptions discovery. The settings include
	// if Organizations integration has been enabled, and which Regions data will
	// be aggregated from.
	//
	// LinuxSubscriptionsDiscoverySettings is a required field
	LinuxSubscriptionsDiscoverySettings *LinuxSubscriptionsDiscoverySettings `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateServiceSettingsInput) GoString

func (s UpdateServiceSettingsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateServiceSettingsInput) SetAllowUpdate

SetAllowUpdate sets the AllowUpdate field's value.

func (*UpdateServiceSettingsInput) SetLinuxSubscriptionsDiscovery

func (s *UpdateServiceSettingsInput) SetLinuxSubscriptionsDiscovery(v string) *UpdateServiceSettingsInput

SetLinuxSubscriptionsDiscovery sets the LinuxSubscriptionsDiscovery field's value.

func (*UpdateServiceSettingsInput) SetLinuxSubscriptionsDiscoverySettings

func (s *UpdateServiceSettingsInput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *UpdateServiceSettingsInput

SetLinuxSubscriptionsDiscoverySettings sets the LinuxSubscriptionsDiscoverySettings field's value.

func (UpdateServiceSettingsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateServiceSettingsInput) Validate

func (s *UpdateServiceSettingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateServiceSettingsOutput

type UpdateServiceSettingsOutput struct {

	// The Region in which License Manager displays the aggregated data for Linux
	// subscriptions.
	HomeRegions []*string `min:"1" type:"list"`

	// Lists if discovery has been enabled for Linux subscriptions.
	LinuxSubscriptionsDiscovery *string `type:"string" enum:"LinuxSubscriptionsDiscovery"`

	// The settings defined for Linux subscriptions discovery. The settings include
	// if Organizations integration has been enabled, and which Regions data will
	// be aggregated from.
	LinuxSubscriptionsDiscoverySettings *LinuxSubscriptionsDiscoverySettings `type:"structure"`

	// Indicates the status of Linux subscriptions settings being applied.
	Status *string `type:"string" enum:"Status"`

	// A message which details the Linux subscriptions service settings current
	// status.
	StatusMessage map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (UpdateServiceSettingsOutput) GoString

func (s UpdateServiceSettingsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateServiceSettingsOutput) SetHomeRegions

SetHomeRegions sets the HomeRegions field's value.

func (*UpdateServiceSettingsOutput) SetLinuxSubscriptionsDiscovery

func (s *UpdateServiceSettingsOutput) SetLinuxSubscriptionsDiscovery(v string) *UpdateServiceSettingsOutput

SetLinuxSubscriptionsDiscovery sets the LinuxSubscriptionsDiscovery field's value.

func (*UpdateServiceSettingsOutput) SetLinuxSubscriptionsDiscoverySettings

SetLinuxSubscriptionsDiscoverySettings sets the LinuxSubscriptionsDiscoverySettings field's value.

func (*UpdateServiceSettingsOutput) SetStatus

SetStatus sets the Status field's value.

func (*UpdateServiceSettingsOutput) SetStatusMessage

SetStatusMessage sets the StatusMessage field's value.

func (UpdateServiceSettingsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The provided input is not valid. Try your request again.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package licensemanagerlinuxsubscriptionsiface provides an interface to enable mocking the AWS License Manager Linux Subscriptions service client for testing your code.
Package licensemanagerlinuxsubscriptionsiface provides an interface to enable mocking the AWS License Manager Linux Subscriptions service client for testing your code.

Jump to

Keyboard shortcuts

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