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
- func LinuxSubscriptionsDiscovery_Values() []string
- func Operator_Values() []string
- func OrganizationIntegration_Values() []string
- func Status_Values() []string
- func SubscriptionProviderSource_Values() []string
- func SubscriptionProviderStatus_Values() []string
- type DeregisterSubscriptionProviderInput
- func (s DeregisterSubscriptionProviderInput) GoString() string
- func (s *DeregisterSubscriptionProviderInput) SetSubscriptionProviderArn(v string) *DeregisterSubscriptionProviderInput
- func (s DeregisterSubscriptionProviderInput) String() string
- func (s *DeregisterSubscriptionProviderInput) Validate() error
- type DeregisterSubscriptionProviderOutput
- type Filter
- type GetRegisteredSubscriptionProviderInput
- func (s GetRegisteredSubscriptionProviderInput) GoString() string
- func (s *GetRegisteredSubscriptionProviderInput) SetSubscriptionProviderArn(v string) *GetRegisteredSubscriptionProviderInput
- func (s GetRegisteredSubscriptionProviderInput) String() string
- func (s *GetRegisteredSubscriptionProviderInput) Validate() error
- type GetRegisteredSubscriptionProviderOutput
- func (s GetRegisteredSubscriptionProviderOutput) GoString() string
- func (s *GetRegisteredSubscriptionProviderOutput) SetLastSuccessfulDataRetrievalTime(v string) *GetRegisteredSubscriptionProviderOutput
- func (s *GetRegisteredSubscriptionProviderOutput) SetSecretArn(v string) *GetRegisteredSubscriptionProviderOutput
- func (s *GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderArn(v string) *GetRegisteredSubscriptionProviderOutput
- func (s *GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderSource(v string) *GetRegisteredSubscriptionProviderOutput
- func (s *GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderStatus(v string) *GetRegisteredSubscriptionProviderOutput
- func (s *GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderStatusMessage(v string) *GetRegisteredSubscriptionProviderOutput
- func (s GetRegisteredSubscriptionProviderOutput) String() string
- type GetServiceSettingsInput
- type GetServiceSettingsOutput
- func (s GetServiceSettingsOutput) GoString() string
- func (s *GetServiceSettingsOutput) SetHomeRegions(v []*string) *GetServiceSettingsOutput
- func (s *GetServiceSettingsOutput) SetLinuxSubscriptionsDiscovery(v string) *GetServiceSettingsOutput
- func (s *GetServiceSettingsOutput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *GetServiceSettingsOutput
- func (s *GetServiceSettingsOutput) SetStatus(v string) *GetServiceSettingsOutput
- func (s *GetServiceSettingsOutput) SetStatusMessage(v map[string]*string) *GetServiceSettingsOutput
- func (s GetServiceSettingsOutput) String() string
- type Instance
- func (s Instance) GoString() string
- func (s *Instance) SetAccountID(v string) *Instance
- func (s *Instance) SetAmiId(v string) *Instance
- func (s *Instance) SetDualSubscription(v string) *Instance
- func (s *Instance) SetInstanceID(v string) *Instance
- func (s *Instance) SetInstanceType(v string) *Instance
- func (s *Instance) SetLastUpdatedTime(v string) *Instance
- func (s *Instance) SetOsVersion(v string) *Instance
- func (s *Instance) SetProductCode(v []*string) *Instance
- func (s *Instance) SetRegion(v string) *Instance
- func (s *Instance) SetRegisteredWithSubscriptionProvider(v string) *Instance
- func (s *Instance) SetStatus(v string) *Instance
- func (s *Instance) SetSubscriptionName(v string) *Instance
- func (s *Instance) SetSubscriptionProviderCreateTime(v string) *Instance
- func (s *Instance) SetSubscriptionProviderUpdateTime(v string) *Instance
- func (s *Instance) SetUsageOperation(v string) *Instance
- func (s Instance) String() string
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type LicenseManagerLinuxSubscriptions
- func (c *LicenseManagerLinuxSubscriptions) DeregisterSubscriptionProvider(input *DeregisterSubscriptionProviderInput) (*DeregisterSubscriptionProviderOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) DeregisterSubscriptionProviderRequest(input *DeregisterSubscriptionProviderInput) (req *request.Request, output *DeregisterSubscriptionProviderOutput)
- func (c *LicenseManagerLinuxSubscriptions) DeregisterSubscriptionProviderWithContext(ctx aws.Context, input *DeregisterSubscriptionProviderInput, ...) (*DeregisterSubscriptionProviderOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) GetRegisteredSubscriptionProvider(input *GetRegisteredSubscriptionProviderInput) (*GetRegisteredSubscriptionProviderOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) GetRegisteredSubscriptionProviderRequest(input *GetRegisteredSubscriptionProviderInput) (req *request.Request, output *GetRegisteredSubscriptionProviderOutput)
- func (c *LicenseManagerLinuxSubscriptions) GetRegisteredSubscriptionProviderWithContext(ctx aws.Context, input *GetRegisteredSubscriptionProviderInput, ...) (*GetRegisteredSubscriptionProviderOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) GetServiceSettings(input *GetServiceSettingsInput) (*GetServiceSettingsOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) GetServiceSettingsRequest(input *GetServiceSettingsInput) (req *request.Request, output *GetServiceSettingsOutput)
- func (c *LicenseManagerLinuxSubscriptions) GetServiceSettingsWithContext(ctx aws.Context, input *GetServiceSettingsInput, opts ...request.Option) (*GetServiceSettingsOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstances(input *ListLinuxSubscriptionInstancesInput) (*ListLinuxSubscriptionInstancesOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesPages(input *ListLinuxSubscriptionInstancesInput, ...) error
- func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesPagesWithContext(ctx aws.Context, input *ListLinuxSubscriptionInstancesInput, ...) error
- func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesRequest(input *ListLinuxSubscriptionInstancesInput) (req *request.Request, output *ListLinuxSubscriptionInstancesOutput)
- func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesWithContext(ctx aws.Context, input *ListLinuxSubscriptionInstancesInput, ...) (*ListLinuxSubscriptionInstancesOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptions(input *ListLinuxSubscriptionsInput) (*ListLinuxSubscriptionsOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsPages(input *ListLinuxSubscriptionsInput, ...) error
- func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsPagesWithContext(ctx aws.Context, input *ListLinuxSubscriptionsInput, ...) error
- func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsRequest(input *ListLinuxSubscriptionsInput) (req *request.Request, output *ListLinuxSubscriptionsOutput)
- func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsWithContext(ctx aws.Context, input *ListLinuxSubscriptionsInput, opts ...request.Option) (*ListLinuxSubscriptionsOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProviders(input *ListRegisteredSubscriptionProvidersInput) (*ListRegisteredSubscriptionProvidersOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersPages(input *ListRegisteredSubscriptionProvidersInput, ...) error
- func (c *LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersPagesWithContext(ctx aws.Context, input *ListRegisteredSubscriptionProvidersInput, ...) error
- func (c *LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersRequest(input *ListRegisteredSubscriptionProvidersInput) (req *request.Request, output *ListRegisteredSubscriptionProvidersOutput)
- func (c *LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersWithContext(ctx aws.Context, input *ListRegisteredSubscriptionProvidersInput, ...) (*ListRegisteredSubscriptionProvidersOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *LicenseManagerLinuxSubscriptions) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) RegisterSubscriptionProvider(input *RegisterSubscriptionProviderInput) (*RegisterSubscriptionProviderOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) RegisterSubscriptionProviderRequest(input *RegisterSubscriptionProviderInput) (req *request.Request, output *RegisterSubscriptionProviderOutput)
- func (c *LicenseManagerLinuxSubscriptions) RegisterSubscriptionProviderWithContext(ctx aws.Context, input *RegisterSubscriptionProviderInput, ...) (*RegisterSubscriptionProviderOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *LicenseManagerLinuxSubscriptions) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *LicenseManagerLinuxSubscriptions) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) UpdateServiceSettings(input *UpdateServiceSettingsInput) (*UpdateServiceSettingsOutput, error)
- func (c *LicenseManagerLinuxSubscriptions) UpdateServiceSettingsRequest(input *UpdateServiceSettingsInput) (req *request.Request, output *UpdateServiceSettingsOutput)
- func (c *LicenseManagerLinuxSubscriptions) UpdateServiceSettingsWithContext(ctx aws.Context, input *UpdateServiceSettingsInput, opts ...request.Option) (*UpdateServiceSettingsOutput, error)
- type LinuxSubscriptionsDiscoverySettings
- func (s LinuxSubscriptionsDiscoverySettings) GoString() string
- func (s *LinuxSubscriptionsDiscoverySettings) SetOrganizationIntegration(v string) *LinuxSubscriptionsDiscoverySettings
- func (s *LinuxSubscriptionsDiscoverySettings) SetSourceRegions(v []*string) *LinuxSubscriptionsDiscoverySettings
- func (s LinuxSubscriptionsDiscoverySettings) String() string
- func (s *LinuxSubscriptionsDiscoverySettings) Validate() error
- type ListLinuxSubscriptionInstancesInput
- func (s ListLinuxSubscriptionInstancesInput) GoString() string
- func (s *ListLinuxSubscriptionInstancesInput) SetFilters(v []*Filter) *ListLinuxSubscriptionInstancesInput
- func (s *ListLinuxSubscriptionInstancesInput) SetMaxResults(v int64) *ListLinuxSubscriptionInstancesInput
- func (s *ListLinuxSubscriptionInstancesInput) SetNextToken(v string) *ListLinuxSubscriptionInstancesInput
- func (s ListLinuxSubscriptionInstancesInput) String() string
- func (s *ListLinuxSubscriptionInstancesInput) Validate() error
- type ListLinuxSubscriptionInstancesOutput
- func (s ListLinuxSubscriptionInstancesOutput) GoString() string
- func (s *ListLinuxSubscriptionInstancesOutput) SetInstances(v []*Instance) *ListLinuxSubscriptionInstancesOutput
- func (s *ListLinuxSubscriptionInstancesOutput) SetNextToken(v string) *ListLinuxSubscriptionInstancesOutput
- func (s ListLinuxSubscriptionInstancesOutput) String() string
- type ListLinuxSubscriptionsInput
- func (s ListLinuxSubscriptionsInput) GoString() string
- func (s *ListLinuxSubscriptionsInput) SetFilters(v []*Filter) *ListLinuxSubscriptionsInput
- func (s *ListLinuxSubscriptionsInput) SetMaxResults(v int64) *ListLinuxSubscriptionsInput
- func (s *ListLinuxSubscriptionsInput) SetNextToken(v string) *ListLinuxSubscriptionsInput
- func (s ListLinuxSubscriptionsInput) String() string
- func (s *ListLinuxSubscriptionsInput) Validate() error
- type ListLinuxSubscriptionsOutput
- func (s ListLinuxSubscriptionsOutput) GoString() string
- func (s *ListLinuxSubscriptionsOutput) SetNextToken(v string) *ListLinuxSubscriptionsOutput
- func (s *ListLinuxSubscriptionsOutput) SetSubscriptions(v []*Subscription) *ListLinuxSubscriptionsOutput
- func (s ListLinuxSubscriptionsOutput) String() string
- type ListRegisteredSubscriptionProvidersInput
- func (s ListRegisteredSubscriptionProvidersInput) GoString() string
- func (s *ListRegisteredSubscriptionProvidersInput) SetMaxResults(v int64) *ListRegisteredSubscriptionProvidersInput
- func (s *ListRegisteredSubscriptionProvidersInput) SetNextToken(v string) *ListRegisteredSubscriptionProvidersInput
- func (s *ListRegisteredSubscriptionProvidersInput) SetSubscriptionProviderSources(v []*string) *ListRegisteredSubscriptionProvidersInput
- func (s ListRegisteredSubscriptionProvidersInput) String() string
- func (s *ListRegisteredSubscriptionProvidersInput) Validate() error
- type ListRegisteredSubscriptionProvidersOutput
- func (s ListRegisteredSubscriptionProvidersOutput) GoString() string
- func (s *ListRegisteredSubscriptionProvidersOutput) SetNextToken(v string) *ListRegisteredSubscriptionProvidersOutput
- func (s *ListRegisteredSubscriptionProvidersOutput) SetRegisteredSubscriptionProviders(v []*RegisteredSubscriptionProvider) *ListRegisteredSubscriptionProvidersOutput
- func (s ListRegisteredSubscriptionProvidersOutput) String() string
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type RegisterSubscriptionProviderInput
- func (s RegisterSubscriptionProviderInput) GoString() string
- func (s *RegisterSubscriptionProviderInput) SetSecretArn(v string) *RegisterSubscriptionProviderInput
- func (s *RegisterSubscriptionProviderInput) SetSubscriptionProviderSource(v string) *RegisterSubscriptionProviderInput
- func (s *RegisterSubscriptionProviderInput) SetTags(v map[string]*string) *RegisterSubscriptionProviderInput
- func (s RegisterSubscriptionProviderInput) String() string
- func (s *RegisterSubscriptionProviderInput) Validate() error
- type RegisterSubscriptionProviderOutput
- func (s RegisterSubscriptionProviderOutput) GoString() string
- func (s *RegisterSubscriptionProviderOutput) SetSubscriptionProviderArn(v string) *RegisterSubscriptionProviderOutput
- func (s *RegisterSubscriptionProviderOutput) SetSubscriptionProviderSource(v string) *RegisterSubscriptionProviderOutput
- func (s *RegisterSubscriptionProviderOutput) SetSubscriptionProviderStatus(v string) *RegisterSubscriptionProviderOutput
- func (s RegisterSubscriptionProviderOutput) String() string
- type RegisteredSubscriptionProvider
- func (s RegisteredSubscriptionProvider) GoString() string
- func (s *RegisteredSubscriptionProvider) SetLastSuccessfulDataRetrievalTime(v string) *RegisteredSubscriptionProvider
- func (s *RegisteredSubscriptionProvider) SetSecretArn(v string) *RegisteredSubscriptionProvider
- func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderArn(v string) *RegisteredSubscriptionProvider
- func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderSource(v string) *RegisteredSubscriptionProvider
- func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderStatus(v string) *RegisteredSubscriptionProvider
- func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderStatusMessage(v string) *RegisteredSubscriptionProvider
- func (s RegisteredSubscriptionProvider) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type Subscription
- type TagResourceInput
- type TagResourceOutput
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateServiceSettingsInput
- func (s UpdateServiceSettingsInput) GoString() string
- func (s *UpdateServiceSettingsInput) SetAllowUpdate(v bool) *UpdateServiceSettingsInput
- func (s *UpdateServiceSettingsInput) SetLinuxSubscriptionsDiscovery(v string) *UpdateServiceSettingsInput
- func (s *UpdateServiceSettingsInput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *UpdateServiceSettingsInput
- func (s UpdateServiceSettingsInput) String() string
- func (s *UpdateServiceSettingsInput) Validate() error
- type UpdateServiceSettingsOutput
- func (s UpdateServiceSettingsOutput) GoString() string
- func (s *UpdateServiceSettingsOutput) SetHomeRegions(v []*string) *UpdateServiceSettingsOutput
- func (s *UpdateServiceSettingsOutput) SetLinuxSubscriptionsDiscovery(v string) *UpdateServiceSettingsOutput
- func (s *UpdateServiceSettingsOutput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *UpdateServiceSettingsOutput
- func (s *UpdateServiceSettingsOutput) SetStatus(v string) *UpdateServiceSettingsOutput
- func (s *UpdateServiceSettingsOutput) SetStatusMessage(v map[string]*string) *UpdateServiceSettingsOutput
- func (s UpdateServiceSettingsOutput) String() string
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
const ( // LinuxSubscriptionsDiscoveryEnabled is a LinuxSubscriptionsDiscovery enum value LinuxSubscriptionsDiscoveryEnabled = "Enabled" // LinuxSubscriptionsDiscoveryDisabled is a LinuxSubscriptionsDiscovery enum value LinuxSubscriptionsDiscoveryDisabled = "Disabled" )
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" )
const ( // OrganizationIntegrationEnabled is a OrganizationIntegration enum value OrganizationIntegrationEnabled = "Enabled" // OrganizationIntegrationDisabled is a OrganizationIntegration enum value OrganizationIntegrationDisabled = "Disabled" )
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" )
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" )
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" )
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
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 ¶ added in v1.54.18
func SubscriptionProviderSource_Values() []string
SubscriptionProviderSource_Values returns all elements of the SubscriptionProviderSource enum
func SubscriptionProviderStatus_Values ¶ added in v1.54.18
func SubscriptionProviderStatus_Values() []string
SubscriptionProviderStatus_Values returns all elements of the SubscriptionProviderStatus enum
Types ¶
type DeregisterSubscriptionProviderInput ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s DeregisterSubscriptionProviderInput) 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 (*DeregisterSubscriptionProviderInput) SetSubscriptionProviderArn ¶ added in v1.54.18
func (s *DeregisterSubscriptionProviderInput) SetSubscriptionProviderArn(v string) *DeregisterSubscriptionProviderInput
SetSubscriptionProviderArn sets the SubscriptionProviderArn field's value.
func (DeregisterSubscriptionProviderInput) String ¶ added in v1.54.18
func (s DeregisterSubscriptionProviderInput) 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 (*DeregisterSubscriptionProviderInput) Validate ¶ added in v1.54.18
func (s *DeregisterSubscriptionProviderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeregisterSubscriptionProviderOutput ¶ added in v1.54.18
type DeregisterSubscriptionProviderOutput struct {
// contains filtered or unexported fields
}
func (DeregisterSubscriptionProviderOutput) GoString ¶ added in v1.54.18
func (s DeregisterSubscriptionProviderOutput) 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 (DeregisterSubscriptionProviderOutput) String ¶ added in v1.54.18
func (s DeregisterSubscriptionProviderOutput) 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 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 ¶
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) SetOperator ¶
SetOperator sets the Operator field's value.
type GetRegisteredSubscriptionProviderInput ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s GetRegisteredSubscriptionProviderInput) 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 (*GetRegisteredSubscriptionProviderInput) SetSubscriptionProviderArn ¶ added in v1.54.18
func (s *GetRegisteredSubscriptionProviderInput) SetSubscriptionProviderArn(v string) *GetRegisteredSubscriptionProviderInput
SetSubscriptionProviderArn sets the SubscriptionProviderArn field's value.
func (GetRegisteredSubscriptionProviderInput) String ¶ added in v1.54.18
func (s GetRegisteredSubscriptionProviderInput) 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 (*GetRegisteredSubscriptionProviderInput) Validate ¶ added in v1.54.18
func (s *GetRegisteredSubscriptionProviderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRegisteredSubscriptionProviderOutput ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s GetRegisteredSubscriptionProviderOutput) 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 (*GetRegisteredSubscriptionProviderOutput) SetLastSuccessfulDataRetrievalTime ¶ added in v1.54.18
func (s *GetRegisteredSubscriptionProviderOutput) SetLastSuccessfulDataRetrievalTime(v string) *GetRegisteredSubscriptionProviderOutput
SetLastSuccessfulDataRetrievalTime sets the LastSuccessfulDataRetrievalTime field's value.
func (*GetRegisteredSubscriptionProviderOutput) SetSecretArn ¶ added in v1.54.18
func (s *GetRegisteredSubscriptionProviderOutput) SetSecretArn(v string) *GetRegisteredSubscriptionProviderOutput
SetSecretArn sets the SecretArn field's value.
func (*GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderArn ¶ added in v1.54.18
func (s *GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderArn(v string) *GetRegisteredSubscriptionProviderOutput
SetSubscriptionProviderArn sets the SubscriptionProviderArn field's value.
func (*GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderSource ¶ added in v1.54.18
func (s *GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderSource(v string) *GetRegisteredSubscriptionProviderOutput
SetSubscriptionProviderSource sets the SubscriptionProviderSource field's value.
func (*GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderStatus ¶ added in v1.54.18
func (s *GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderStatus(v string) *GetRegisteredSubscriptionProviderOutput
SetSubscriptionProviderStatus sets the SubscriptionProviderStatus field's value.
func (*GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderStatusMessage ¶ added in v1.54.18
func (s *GetRegisteredSubscriptionProviderOutput) SetSubscriptionProviderStatusMessage(v string) *GetRegisteredSubscriptionProviderOutput
SetSubscriptionProviderStatusMessage sets the SubscriptionProviderStatusMessage field's value.
func (GetRegisteredSubscriptionProviderOutput) String ¶ added in v1.54.18
func (s GetRegisteredSubscriptionProviderOutput) 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 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 ¶
func (s *GetServiceSettingsOutput) SetStatus(v string) *GetServiceSettingsOutput
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 ¶
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 ¶
SetAccountID sets the AccountID field's value.
func (*Instance) SetDualSubscription ¶ added in v1.54.18
SetDualSubscription sets the DualSubscription field's value.
func (*Instance) SetInstanceID ¶
SetInstanceID sets the InstanceID field's value.
func (*Instance) SetInstanceType ¶
SetInstanceType sets the InstanceType field's value.
func (*Instance) SetLastUpdatedTime ¶
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (*Instance) SetOsVersion ¶ added in v1.54.18
SetOsVersion sets the OsVersion field's value.
func (*Instance) SetProductCode ¶
SetProductCode sets the ProductCode field's value.
func (*Instance) SetRegisteredWithSubscriptionProvider ¶ added in v1.54.18
SetRegisteredWithSubscriptionProvider sets the RegisteredWithSubscriptionProvider field's value.
func (*Instance) SetSubscriptionName ¶
SetSubscriptionName sets the SubscriptionName field's value.
func (*Instance) SetSubscriptionProviderCreateTime ¶ added in v1.54.18
SetSubscriptionProviderCreateTime sets the SubscriptionProviderCreateTime field's value.
func (*Instance) SetSubscriptionProviderUpdateTime ¶ added in v1.54.18
SetSubscriptionProviderUpdateTime sets the SubscriptionProviderUpdateTime field's value.
func (*Instance) SetUsageOperation ¶
SetUsageOperation sets the UsageOperation field's value.
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 ¶
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 ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *LicenseManagerLinuxSubscriptions
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 ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) DeregisterSubscriptionProvider(input *DeregisterSubscriptionProviderInput) (*DeregisterSubscriptionProviderOutput, error)
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.
func (*LicenseManagerLinuxSubscriptions) DeregisterSubscriptionProviderRequest ¶ added in v1.54.18
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) }
func (*LicenseManagerLinuxSubscriptions) DeregisterSubscriptionProviderWithContext ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) DeregisterSubscriptionProviderWithContext(ctx aws.Context, input *DeregisterSubscriptionProviderInput, opts ...request.Option) (*DeregisterSubscriptionProviderOutput, error)
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 ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) GetRegisteredSubscriptionProvider(input *GetRegisteredSubscriptionProviderInput) (*GetRegisteredSubscriptionProviderOutput, error)
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.
func (*LicenseManagerLinuxSubscriptions) GetRegisteredSubscriptionProviderRequest ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) GetRegisteredSubscriptionProviderRequest(input *GetRegisteredSubscriptionProviderInput) (req *request.Request, output *GetRegisteredSubscriptionProviderOutput)
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) }
func (*LicenseManagerLinuxSubscriptions) GetRegisteredSubscriptionProviderWithContext ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) GetRegisteredSubscriptionProviderWithContext(ctx aws.Context, input *GetRegisteredSubscriptionProviderInput, opts ...request.Option) (*GetRegisteredSubscriptionProviderOutput, error)
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 ¶
func (c *LicenseManagerLinuxSubscriptions) GetServiceSettings(input *GetServiceSettingsInput) (*GetServiceSettingsOutput, error)
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.
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) }
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 ¶
func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstances(input *ListLinuxSubscriptionInstancesInput) (*ListLinuxSubscriptionInstancesOutput, error)
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.
func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesPages ¶
func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesPages(input *ListLinuxSubscriptionInstancesInput, fn func(*ListLinuxSubscriptionInstancesOutput, bool) bool) error
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) }
func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesWithContext ¶
func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionInstancesWithContext(ctx aws.Context, input *ListLinuxSubscriptionInstancesInput, opts ...request.Option) (*ListLinuxSubscriptionInstancesOutput, error)
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 ¶
func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptions(input *ListLinuxSubscriptionsInput) (*ListLinuxSubscriptionsOutput, error)
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.
func (*LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsPages ¶
func (c *LicenseManagerLinuxSubscriptions) ListLinuxSubscriptionsPages(input *ListLinuxSubscriptionsInput, fn func(*ListLinuxSubscriptionsOutput, bool) bool) error
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) }
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 ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProviders(input *ListRegisteredSubscriptionProvidersInput) (*ListRegisteredSubscriptionProvidersOutput, error)
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.
func (*LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersPages ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersPages(input *ListRegisteredSubscriptionProvidersInput, fn func(*ListRegisteredSubscriptionProvidersOutput, bool) bool) error
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersRequest(input *ListRegisteredSubscriptionProvidersInput) (req *request.Request, output *ListRegisteredSubscriptionProvidersOutput)
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) }
func (*LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersWithContext ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) ListRegisteredSubscriptionProvidersWithContext(ctx aws.Context, input *ListRegisteredSubscriptionProvidersInput, opts ...request.Option) (*ListRegisteredSubscriptionProvidersOutput, error)
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 ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
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.
func (*LicenseManagerLinuxSubscriptions) ListTagsForResourceRequest ¶ added in v1.54.18
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) }
func (*LicenseManagerLinuxSubscriptions) ListTagsForResourceWithContext ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) RegisterSubscriptionProvider(input *RegisterSubscriptionProviderInput) (*RegisterSubscriptionProviderOutput, error)
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.
func (*LicenseManagerLinuxSubscriptions) RegisterSubscriptionProviderRequest ¶ added in v1.54.18
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) }
func (*LicenseManagerLinuxSubscriptions) RegisterSubscriptionProviderWithContext ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (c *LicenseManagerLinuxSubscriptions) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
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 ¶
func (c *LicenseManagerLinuxSubscriptions) UpdateServiceSettings(input *UpdateServiceSettingsInput) (*UpdateServiceSettingsOutput, error)
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.
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) }
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 ¶
func (s LinuxSubscriptionsDiscoverySettings) 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 (*LinuxSubscriptionsDiscoverySettings) SetOrganizationIntegration ¶
func (s *LinuxSubscriptionsDiscoverySettings) SetOrganizationIntegration(v string) *LinuxSubscriptionsDiscoverySettings
SetOrganizationIntegration sets the OrganizationIntegration field's value.
func (*LinuxSubscriptionsDiscoverySettings) SetSourceRegions ¶
func (s *LinuxSubscriptionsDiscoverySettings) SetSourceRegions(v []*string) *LinuxSubscriptionsDiscoverySettings
SetSourceRegions sets the SourceRegions field's value.
func (LinuxSubscriptionsDiscoverySettings) String ¶
func (s LinuxSubscriptionsDiscoverySettings) 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 (*LinuxSubscriptionsDiscoverySettings) Validate ¶
func (s *LinuxSubscriptionsDiscoverySettings) Validate() error
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 ¶
func (s ListLinuxSubscriptionInstancesInput) 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 (*ListLinuxSubscriptionInstancesInput) SetFilters ¶
func (s *ListLinuxSubscriptionInstancesInput) SetFilters(v []*Filter) *ListLinuxSubscriptionInstancesInput
SetFilters sets the Filters field's value.
func (*ListLinuxSubscriptionInstancesInput) SetMaxResults ¶
func (s *ListLinuxSubscriptionInstancesInput) SetMaxResults(v int64) *ListLinuxSubscriptionInstancesInput
SetMaxResults sets the MaxResults field's value.
func (*ListLinuxSubscriptionInstancesInput) SetNextToken ¶
func (s *ListLinuxSubscriptionInstancesInput) SetNextToken(v string) *ListLinuxSubscriptionInstancesInput
SetNextToken sets the NextToken field's value.
func (ListLinuxSubscriptionInstancesInput) String ¶
func (s ListLinuxSubscriptionInstancesInput) 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 (*ListLinuxSubscriptionInstancesInput) Validate ¶
func (s *ListLinuxSubscriptionInstancesInput) Validate() error
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 ¶
func (s ListLinuxSubscriptionInstancesOutput) 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 (*ListLinuxSubscriptionInstancesOutput) SetInstances ¶
func (s *ListLinuxSubscriptionInstancesOutput) SetInstances(v []*Instance) *ListLinuxSubscriptionInstancesOutput
SetInstances sets the Instances field's value.
func (*ListLinuxSubscriptionInstancesOutput) SetNextToken ¶
func (s *ListLinuxSubscriptionInstancesOutput) SetNextToken(v string) *ListLinuxSubscriptionInstancesOutput
SetNextToken sets the NextToken field's value.
func (ListLinuxSubscriptionInstancesOutput) String ¶
func (s ListLinuxSubscriptionInstancesOutput) 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 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 ¶
func (s *ListLinuxSubscriptionsInput) SetFilters(v []*Filter) *ListLinuxSubscriptionsInput
SetFilters sets the Filters field's value.
func (*ListLinuxSubscriptionsInput) SetMaxResults ¶
func (s *ListLinuxSubscriptionsInput) SetMaxResults(v int64) *ListLinuxSubscriptionsInput
SetMaxResults sets the MaxResults field's value.
func (*ListLinuxSubscriptionsInput) SetNextToken ¶
func (s *ListLinuxSubscriptionsInput) SetNextToken(v string) *ListLinuxSubscriptionsInput
SetNextToken sets the NextToken field's value.
func (ListLinuxSubscriptionsInput) String ¶
func (s ListLinuxSubscriptionsInput) 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 (*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 ¶
func (s *ListLinuxSubscriptionsOutput) SetNextToken(v string) *ListLinuxSubscriptionsOutput
SetNextToken sets the NextToken field's value.
func (*ListLinuxSubscriptionsOutput) SetSubscriptions ¶
func (s *ListLinuxSubscriptionsOutput) SetSubscriptions(v []*Subscription) *ListLinuxSubscriptionsOutput
SetSubscriptions sets the Subscriptions field's value.
func (ListLinuxSubscriptionsOutput) String ¶
func (s ListLinuxSubscriptionsOutput) 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 ListRegisteredSubscriptionProvidersInput ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s ListRegisteredSubscriptionProvidersInput) 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 (*ListRegisteredSubscriptionProvidersInput) SetMaxResults ¶ added in v1.54.18
func (s *ListRegisteredSubscriptionProvidersInput) SetMaxResults(v int64) *ListRegisteredSubscriptionProvidersInput
SetMaxResults sets the MaxResults field's value.
func (*ListRegisteredSubscriptionProvidersInput) SetNextToken ¶ added in v1.54.18
func (s *ListRegisteredSubscriptionProvidersInput) SetNextToken(v string) *ListRegisteredSubscriptionProvidersInput
SetNextToken sets the NextToken field's value.
func (*ListRegisteredSubscriptionProvidersInput) SetSubscriptionProviderSources ¶ added in v1.54.18
func (s *ListRegisteredSubscriptionProvidersInput) SetSubscriptionProviderSources(v []*string) *ListRegisteredSubscriptionProvidersInput
SetSubscriptionProviderSources sets the SubscriptionProviderSources field's value.
func (ListRegisteredSubscriptionProvidersInput) String ¶ added in v1.54.18
func (s ListRegisteredSubscriptionProvidersInput) 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 (*ListRegisteredSubscriptionProvidersInput) Validate ¶ added in v1.54.18
func (s *ListRegisteredSubscriptionProvidersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRegisteredSubscriptionProvidersOutput ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s ListRegisteredSubscriptionProvidersOutput) 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 (*ListRegisteredSubscriptionProvidersOutput) SetNextToken ¶ added in v1.54.18
func (s *ListRegisteredSubscriptionProvidersOutput) SetNextToken(v string) *ListRegisteredSubscriptionProvidersOutput
SetNextToken sets the NextToken field's value.
func (*ListRegisteredSubscriptionProvidersOutput) SetRegisteredSubscriptionProviders ¶ added in v1.54.18
func (s *ListRegisteredSubscriptionProvidersOutput) SetRegisteredSubscriptionProviders(v []*RegisteredSubscriptionProvider) *ListRegisteredSubscriptionProvidersOutput
SetRegisteredSubscriptionProviders sets the RegisteredSubscriptionProviders field's value.
func (ListRegisteredSubscriptionProvidersOutput) String ¶ added in v1.54.18
func (s ListRegisteredSubscriptionProvidersOutput) 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 ListTagsForResourceInput ¶ added in v1.54.18
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶ added in v1.54.18
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶ added in v1.54.18
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s RegisterSubscriptionProviderInput) 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 (*RegisterSubscriptionProviderInput) SetSecretArn ¶ added in v1.54.18
func (s *RegisterSubscriptionProviderInput) SetSecretArn(v string) *RegisterSubscriptionProviderInput
SetSecretArn sets the SecretArn field's value.
func (*RegisterSubscriptionProviderInput) SetSubscriptionProviderSource ¶ added in v1.54.18
func (s *RegisterSubscriptionProviderInput) SetSubscriptionProviderSource(v string) *RegisterSubscriptionProviderInput
SetSubscriptionProviderSource sets the SubscriptionProviderSource field's value.
func (*RegisterSubscriptionProviderInput) SetTags ¶ added in v1.54.18
func (s *RegisterSubscriptionProviderInput) SetTags(v map[string]*string) *RegisterSubscriptionProviderInput
SetTags sets the Tags field's value.
func (RegisterSubscriptionProviderInput) String ¶ added in v1.54.18
func (s RegisterSubscriptionProviderInput) 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 (*RegisterSubscriptionProviderInput) Validate ¶ added in v1.54.18
func (s *RegisterSubscriptionProviderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterSubscriptionProviderOutput ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s RegisterSubscriptionProviderOutput) 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 (*RegisterSubscriptionProviderOutput) SetSubscriptionProviderArn ¶ added in v1.54.18
func (s *RegisterSubscriptionProviderOutput) SetSubscriptionProviderArn(v string) *RegisterSubscriptionProviderOutput
SetSubscriptionProviderArn sets the SubscriptionProviderArn field's value.
func (*RegisterSubscriptionProviderOutput) SetSubscriptionProviderSource ¶ added in v1.54.18
func (s *RegisterSubscriptionProviderOutput) SetSubscriptionProviderSource(v string) *RegisterSubscriptionProviderOutput
SetSubscriptionProviderSource sets the SubscriptionProviderSource field's value.
func (*RegisterSubscriptionProviderOutput) SetSubscriptionProviderStatus ¶ added in v1.54.18
func (s *RegisterSubscriptionProviderOutput) SetSubscriptionProviderStatus(v string) *RegisterSubscriptionProviderOutput
SetSubscriptionProviderStatus sets the SubscriptionProviderStatus field's value.
func (RegisterSubscriptionProviderOutput) String ¶ added in v1.54.18
func (s RegisterSubscriptionProviderOutput) 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 RegisteredSubscriptionProvider ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s RegisteredSubscriptionProvider) 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 (*RegisteredSubscriptionProvider) SetLastSuccessfulDataRetrievalTime ¶ added in v1.54.18
func (s *RegisteredSubscriptionProvider) SetLastSuccessfulDataRetrievalTime(v string) *RegisteredSubscriptionProvider
SetLastSuccessfulDataRetrievalTime sets the LastSuccessfulDataRetrievalTime field's value.
func (*RegisteredSubscriptionProvider) SetSecretArn ¶ added in v1.54.18
func (s *RegisteredSubscriptionProvider) SetSecretArn(v string) *RegisteredSubscriptionProvider
SetSecretArn sets the SecretArn field's value.
func (*RegisteredSubscriptionProvider) SetSubscriptionProviderArn ¶ added in v1.54.18
func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderArn(v string) *RegisteredSubscriptionProvider
SetSubscriptionProviderArn sets the SubscriptionProviderArn field's value.
func (*RegisteredSubscriptionProvider) SetSubscriptionProviderSource ¶ added in v1.54.18
func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderSource(v string) *RegisteredSubscriptionProvider
SetSubscriptionProviderSource sets the SubscriptionProviderSource field's value.
func (*RegisteredSubscriptionProvider) SetSubscriptionProviderStatus ¶ added in v1.54.18
func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderStatus(v string) *RegisteredSubscriptionProvider
SetSubscriptionProviderStatus sets the SubscriptionProviderStatus field's value.
func (*RegisteredSubscriptionProvider) SetSubscriptionProviderStatusMessage ¶ added in v1.54.18
func (s *RegisteredSubscriptionProvider) SetSubscriptionProviderStatusMessage(v string) *RegisteredSubscriptionProvider
SetSubscriptionProviderStatusMessage sets the SubscriptionProviderStatusMessage field's value.
func (RegisteredSubscriptionProvider) String ¶ added in v1.54.18
func (s RegisteredSubscriptionProvider) 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 ResourceNotFoundException ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶ added in v1.54.18
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶ added in v1.54.18
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶ added in v1.54.18
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶ added in v1.54.18
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶ added in v1.54.18
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶ added in v1.54.18
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶ added in v1.54.18
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶ added in v1.54.18
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶ added in v1.54.18
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶ added in v1.54.18
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 ¶ added in v1.54.18
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶ added in v1.54.18
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶ added in v1.54.18
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 ¶ added in v1.54.18
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 ¶
func (s *UpdateServiceSettingsInput) SetAllowUpdate(v bool) *UpdateServiceSettingsInput
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 ¶
func (s UpdateServiceSettingsInput) 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 (*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 ¶
func (s *UpdateServiceSettingsOutput) SetHomeRegions(v []*string) *UpdateServiceSettingsOutput
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 ¶
func (s *UpdateServiceSettingsOutput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *UpdateServiceSettingsOutput
SetLinuxSubscriptionsDiscoverySettings sets the LinuxSubscriptionsDiscoverySettings field's value.
func (*UpdateServiceSettingsOutput) SetStatus ¶
func (s *UpdateServiceSettingsOutput) SetStatus(v string) *UpdateServiceSettingsOutput
SetStatus sets the Status field's value.
func (*UpdateServiceSettingsOutput) SetStatusMessage ¶
func (s *UpdateServiceSettingsOutput) SetStatusMessage(v map[string]*string) *UpdateServiceSettingsOutput
SetStatusMessage sets the StatusMessage field's value.
func (UpdateServiceSettingsOutput) String ¶
func (s UpdateServiceSettingsOutput) 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 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. |