func LinuxSubscriptionsDiscovery_Values() []string
LinuxSubscriptionsDiscovery_Values returns all elements of the LinuxSubscriptionsDiscovery enum
func Operator_Values() []string
Operator_Values returns all elements of the Operator enum
func OrganizationIntegration_Values() []string
OrganizationIntegration_Values returns all elements of the OrganizationIntegration enum
func Status_Values() []string
Status_Values returns all elements of the Status enum
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 (s Filter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Filter) SetName(v string) *Filter
SetName sets the Name field's value.
func (s *Filter) SetOperator(v string) *Filter
SetOperator sets the Operator field's value.
func (s *Filter) SetValues(v []*string) *Filter
SetValues sets the Values field's value.
func (s Filter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Filter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetServiceSettingsInput struct {
// contains filtered or unexported fields
}
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 (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 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 (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 (s *GetServiceSettingsOutput) SetHomeRegions(v []*string) *GetServiceSettingsOutput
SetHomeRegions sets the HomeRegions field's value.
func (s *GetServiceSettingsOutput) SetLinuxSubscriptionsDiscovery(v string) *GetServiceSettingsOutput
SetLinuxSubscriptionsDiscovery sets the LinuxSubscriptionsDiscovery field's value.
func (s *GetServiceSettingsOutput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *GetServiceSettingsOutput
SetLinuxSubscriptionsDiscoverySettings sets the LinuxSubscriptionsDiscoverySettings field's value.
func (s *GetServiceSettingsOutput) SetStatus(v string) *GetServiceSettingsOutput
SetStatus sets the Status field's value.
func (s *GetServiceSettingsOutput) SetStatusMessage(v map[string]*string) *GetServiceSettingsOutput
SetStatusMessage sets the StatusMessage field's value.
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 struct { // The account ID which owns the instance. AccountID *string `type:"string"` // The AMI ID used to launch the instance. AmiId *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 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"` // The status of the instance. Status *string `type:"string"` // The name of the subscription being used by the instance. SubscriptionName *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 (s Instance) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Instance) SetAccountID(v string) *Instance
SetAccountID sets the AccountID field's value.
func (s *Instance) SetAmiId(v string) *Instance
SetAmiId sets the AmiId field's value.
func (s *Instance) SetInstanceID(v string) *Instance
SetInstanceID sets the InstanceID field's value.
func (s *Instance) SetInstanceType(v string) *Instance
SetInstanceType sets the InstanceType field's value.
func (s *Instance) SetLastUpdatedTime(v string) *Instance
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (s *Instance) SetProductCode(v []*string) *Instance
SetProductCode sets the ProductCode field's value.
func (s *Instance) SetRegion(v string) *Instance
SetRegion sets the Region field's value.
func (s *Instance) SetStatus(v string) *Instance
SetStatus sets the Status field's value.
func (s *Instance) SetSubscriptionName(v string) *Instance
SetSubscriptionName sets the SubscriptionName field's value.
func (s *Instance) SetUsageOperation(v string) *Instance
SetUsageOperation sets the UsageOperation field's value.
func (s Instance) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
An exception occurred with the service.
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
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 (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 struct { *client.Client }
LicenseManagerLinuxSubscriptions provides the API operation methods for making requests to AWS License Manager Linux Subscriptions. See this package's package overview docs for details on the service.
LicenseManagerLinuxSubscriptions methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New(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 (c *LicenseManagerLinuxSubscriptions) GetServiceSettings(input *GetServiceSettingsInput) (*GetServiceSettingsOutput, error)
GetServiceSettings API operation for AWS License Manager Linux Subscriptions.
Lists the Linux subscriptions service settings.
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 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 (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 (s *LinuxSubscriptionsDiscoverySettings) SetOrganizationIntegration(v string) *LinuxSubscriptionsDiscoverySettings
SetOrganizationIntegration sets the OrganizationIntegration field's value.
func (s *LinuxSubscriptionsDiscoverySettings) SetSourceRegions(v []*string) *LinuxSubscriptionsDiscoverySettings
SetSourceRegions sets the SourceRegions field's value.
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 (s *LinuxSubscriptionsDiscoverySettings) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLinuxSubscriptionInstancesInput 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 AmiID with an optional operator to see subscriptions // that match, partially match, or don't match a certain Amazon Machine Image // (AMI) ID. // // The valid names for this filter are: // // * AmiID // // * InstanceID // // * AccountID // // * Status // // * Region // // * UsageOperation // // * ProductCode // // * InstanceType // // The valid Operators for this filter are: // // * contains // // * equals // // * Notequal Filters []*Filter `type:"list"` // Maximum number of results to return in a single call. MaxResults *int64 `type:"integer"` // Token for the next set of results. 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 (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 (s *ListLinuxSubscriptionInstancesInput) SetFilters(v []*Filter) *ListLinuxSubscriptionInstancesInput
SetFilters sets the Filters field's value.
func (s *ListLinuxSubscriptionInstancesInput) SetMaxResults(v int64) *ListLinuxSubscriptionInstancesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListLinuxSubscriptionInstancesInput) SetNextToken(v string) *ListLinuxSubscriptionInstancesInput
SetNextToken sets the NextToken field's value.
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 (s *ListLinuxSubscriptionInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLinuxSubscriptionInstancesOutput struct { // An array that contains instance objects. Instances []*Instance `type:"list"` // Token for the next set of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
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 (s *ListLinuxSubscriptionInstancesOutput) SetInstances(v []*Instance) *ListLinuxSubscriptionInstancesOutput
SetInstances sets the Instances field's value.
func (s *ListLinuxSubscriptionInstancesOutput) SetNextToken(v string) *ListLinuxSubscriptionInstancesOutput
SetNextToken sets the NextToken field's value.
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 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"` // Maximum number of results to return in a single call. MaxResults *int64 `type:"integer"` // Token for the next set of results. 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 (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 (s *ListLinuxSubscriptionsInput) SetFilters(v []*Filter) *ListLinuxSubscriptionsInput
SetFilters sets the Filters field's value.
func (s *ListLinuxSubscriptionsInput) SetMaxResults(v int64) *ListLinuxSubscriptionsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListLinuxSubscriptionsInput) SetNextToken(v string) *ListLinuxSubscriptionsInput
SetNextToken sets the NextToken field's value.
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 (s *ListLinuxSubscriptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLinuxSubscriptionsOutput struct { // Token for the next set of results. NextToken *string `type:"string"` // An array that contains subscription objects. Subscriptions []*Subscription `type:"list"` // contains filtered or unexported fields }
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 (s *ListLinuxSubscriptionsOutput) SetNextToken(v string) *ListLinuxSubscriptionsOutput
SetNextToken sets the NextToken field's value.
func (s *ListLinuxSubscriptionsOutput) SetSubscriptions(v []*Subscription) *ListLinuxSubscriptionsOutput
SetSubscriptions sets the Subscriptions field's value.
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 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 (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 (s *Subscription) SetInstanceCount(v int64) *Subscription
SetInstanceCount sets the InstanceCount field's value.
func (s *Subscription) SetName(v string) *Subscription
SetName sets the Name field's value.
func (s *Subscription) SetType(v string) *Subscription
SetType sets the Type field's value.
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 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 (s *ThrottlingException) Code() string
Code returns the exception type name.
func (s *ThrottlingException) Error() string
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 (s *ThrottlingException) Message() string
Message returns the exception's message.
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *UpdateServiceSettingsInput) SetAllowUpdate(v bool) *UpdateServiceSettingsInput
SetAllowUpdate sets the AllowUpdate field's value.
func (s *UpdateServiceSettingsInput) SetLinuxSubscriptionsDiscovery(v string) *UpdateServiceSettingsInput
SetLinuxSubscriptionsDiscovery sets the LinuxSubscriptionsDiscovery field's value.
func (s *UpdateServiceSettingsInput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *UpdateServiceSettingsInput
SetLinuxSubscriptionsDiscoverySettings sets the LinuxSubscriptionsDiscoverySettings field's value.
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 (s *UpdateServiceSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *UpdateServiceSettingsOutput) SetHomeRegions(v []*string) *UpdateServiceSettingsOutput
SetHomeRegions sets the HomeRegions field's value.
func (s *UpdateServiceSettingsOutput) SetLinuxSubscriptionsDiscovery(v string) *UpdateServiceSettingsOutput
SetLinuxSubscriptionsDiscovery sets the LinuxSubscriptionsDiscovery field's value.
func (s *UpdateServiceSettingsOutput) SetLinuxSubscriptionsDiscoverySettings(v *LinuxSubscriptionsDiscoverySettings) *UpdateServiceSettingsOutput
SetLinuxSubscriptionsDiscoverySettings sets the LinuxSubscriptionsDiscoverySettings field's value.
func (s *UpdateServiceSettingsOutput) SetStatus(v string) *UpdateServiceSettingsOutput
SetStatus sets the Status field's value.
func (s *UpdateServiceSettingsOutput) SetStatusMessage(v map[string]*string) *UpdateServiceSettingsOutput
SetStatusMessage sets the StatusMessage field's value.
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 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 (s *ValidationException) Code() string
Code returns the exception type name.
func (s *ValidationException) Error() string
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 (s *ValidationException) Message() string
Message returns the exception's message.
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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".