aws-sdk-go: github.com/aws/aws-sdk-go/service/licensemanager Index | Files | Directories

package licensemanager

import "github.com/aws/aws-sdk-go/service/licensemanager"

Package licensemanager provides the client and types for making API requests to AWS License Manager.

AWS License Manager makes it easier to manage licenses from software vendors across multiple AWS accounts and on-premises servers.

See https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01 for more information on this service.

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

Using the Client

To contact AWS License Manager 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 client LicenseManager for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/licensemanager/#New

Index

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // InventoryFilterConditionEquals is a InventoryFilterCondition enum value
    InventoryFilterConditionEquals = "EQUALS"

    // InventoryFilterConditionNotEquals is a InventoryFilterCondition enum value
    InventoryFilterConditionNotEquals = "NOT_EQUALS"

    // InventoryFilterConditionBeginsWith is a InventoryFilterCondition enum value
    InventoryFilterConditionBeginsWith = "BEGINS_WITH"

    // InventoryFilterConditionContains is a InventoryFilterCondition enum value
    InventoryFilterConditionContains = "CONTAINS"
)
const (
    // LicenseConfigurationStatusAvailable is a LicenseConfigurationStatus enum value
    LicenseConfigurationStatusAvailable = "AVAILABLE"

    // LicenseConfigurationStatusDisabled is a LicenseConfigurationStatus enum value
    LicenseConfigurationStatusDisabled = "DISABLED"
)
const (
    // LicenseCountingTypeVCpu is a LicenseCountingType enum value
    LicenseCountingTypeVCpu = "vCPU"

    // LicenseCountingTypeInstance is a LicenseCountingType enum value
    LicenseCountingTypeInstance = "Instance"

    // LicenseCountingTypeCore is a LicenseCountingType enum value
    LicenseCountingTypeCore = "Core"

    // LicenseCountingTypeSocket is a LicenseCountingType enum value
    LicenseCountingTypeSocket = "Socket"
)
const (
    // ResourceTypeEc2Instance is a ResourceType enum value
    ResourceTypeEc2Instance = "EC2_INSTANCE"

    // ResourceTypeEc2Host is a ResourceType enum value
    ResourceTypeEc2Host = "EC2_HOST"

    // ResourceTypeEc2Ami is a ResourceType enum value
    ResourceTypeEc2Ami = "EC2_AMI"

    // ResourceTypeRds is a ResourceType enum value
    ResourceTypeRds = "RDS"

    // ResourceTypeSystemsManagerManagedInstance is a ResourceType enum value
    ResourceTypeSystemsManagerManagedInstance = "SYSTEMS_MANAGER_MANAGED_INSTANCE"
)
const (

    // ErrCodeAccessDeniedException for service response error code
    // "AccessDeniedException".
    //
    // Access to resource denied.
    ErrCodeAccessDeniedException = "AccessDeniedException"

    // ErrCodeAuthorizationException for service response error code
    // "AuthorizationException".
    //
    // The AWS user account does not have permission to perform the action. Check
    // the IAM policy associated with this account.
    ErrCodeAuthorizationException = "AuthorizationException"

    // ErrCodeFailedDependencyException for service response error code
    // "FailedDependencyException".
    //
    // A dependency required to run the API is missing.
    ErrCodeFailedDependencyException = "FailedDependencyException"

    // ErrCodeFilterLimitExceededException for service response error code
    // "FilterLimitExceededException".
    //
    // The request uses too many filters or too many filter values.
    ErrCodeFilterLimitExceededException = "FilterLimitExceededException"

    // ErrCodeInvalidParameterValueException for service response error code
    // "InvalidParameterValueException".
    //
    // One or more parameter values are not valid.
    ErrCodeInvalidParameterValueException = "InvalidParameterValueException"

    // ErrCodeInvalidResourceStateException for service response error code
    // "InvalidResourceStateException".
    //
    // License Manager cannot allocate a license to a resource because of its state.
    //
    // For example, you cannot allocate a license to an instance in the process
    // of shutting down.
    ErrCodeInvalidResourceStateException = "InvalidResourceStateException"

    // ErrCodeLicenseUsageException for service response error code
    // "LicenseUsageException".
    //
    // You do not have enough licenses available to support a new resource launch.
    ErrCodeLicenseUsageException = "LicenseUsageException"

    // ErrCodeRateLimitExceededException for service response error code
    // "RateLimitExceededException".
    //
    // Too many requests have been submitted. Try again after a brief wait.
    ErrCodeRateLimitExceededException = "RateLimitExceededException"

    // ErrCodeResourceLimitExceededException for service response error code
    // "ResourceLimitExceededException".
    //
    // Your resource limits have been exceeded.
    ErrCodeResourceLimitExceededException = "ResourceLimitExceededException"

    // ErrCodeServerInternalException for service response error code
    // "ServerInternalException".
    //
    // The server experienced an internal error. Try again.
    ErrCodeServerInternalException = "ServerInternalException"
)
const (
    ServiceName = "License Manager" // Name of service.
    EndpointsID = "license-manager" // ID to lookup a service endpoint with.
    ServiceID   = "License Manager" // ServiceID is a unique identifier of a specific service.
)

Service information constants

type AccessDeniedException Uses

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

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

Access to resource denied.

func (*AccessDeniedException) Code Uses

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error Uses

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString Uses

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message Uses

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr Uses

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID Uses

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode Uses

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String Uses

func (s AccessDeniedException) String() string

String returns the string representation

type AuthorizationException Uses

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

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

The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

func (*AuthorizationException) Code Uses

func (s *AuthorizationException) Code() string

Code returns the exception type name.

func (*AuthorizationException) Error Uses

func (s *AuthorizationException) Error() string

func (AuthorizationException) GoString Uses

func (s AuthorizationException) GoString() string

GoString returns the string representation

func (*AuthorizationException) Message Uses

func (s *AuthorizationException) Message() string

Message returns the exception's message.

func (*AuthorizationException) OrigErr Uses

func (s *AuthorizationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AuthorizationException) RequestID Uses

func (s *AuthorizationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AuthorizationException) StatusCode Uses

func (s *AuthorizationException) StatusCode() int

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

func (AuthorizationException) String Uses

func (s AuthorizationException) String() string

String returns the string representation

type AutomatedDiscoveryInformation Uses

type AutomatedDiscoveryInformation struct {

    // Time that automated discovery last ran.
    LastRunTime *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

Describes automated discovery.

func (AutomatedDiscoveryInformation) GoString Uses

func (s AutomatedDiscoveryInformation) GoString() string

GoString returns the string representation

func (*AutomatedDiscoveryInformation) SetLastRunTime Uses

func (s *AutomatedDiscoveryInformation) SetLastRunTime(v time.Time) *AutomatedDiscoveryInformation

SetLastRunTime sets the LastRunTime field's value.

func (AutomatedDiscoveryInformation) String Uses

func (s AutomatedDiscoveryInformation) String() string

String returns the string representation

type ConsumedLicenseSummary Uses

type ConsumedLicenseSummary struct {

    // Number of licenses consumed by the resource.
    ConsumedLicenses *int64 `type:"long"`

    // Resource type of the resource consuming a license.
    ResourceType *string `type:"string" enum:"ResourceType"`
    // contains filtered or unexported fields
}

Details about license consumption.

func (ConsumedLicenseSummary) GoString Uses

func (s ConsumedLicenseSummary) GoString() string

GoString returns the string representation

func (*ConsumedLicenseSummary) SetConsumedLicenses Uses

func (s *ConsumedLicenseSummary) SetConsumedLicenses(v int64) *ConsumedLicenseSummary

SetConsumedLicenses sets the ConsumedLicenses field's value.

func (*ConsumedLicenseSummary) SetResourceType Uses

func (s *ConsumedLicenseSummary) SetResourceType(v string) *ConsumedLicenseSummary

SetResourceType sets the ResourceType field's value.

func (ConsumedLicenseSummary) String Uses

func (s ConsumedLicenseSummary) String() string

String returns the string representation

type CreateLicenseConfigurationInput Uses

type CreateLicenseConfigurationInput struct {

    // Description of the license configuration.
    Description *string `type:"string"`

    // Number of licenses managed by the license configuration.
    LicenseCount *int64 `type:"long"`

    // Indicates whether hard or soft license enforcement is used. Exceeding a hard
    // limit blocks the launch of new instances.
    LicenseCountHardLimit *bool `type:"boolean"`

    // Dimension used to track the license inventory.
    //
    // LicenseCountingType is a required field
    LicenseCountingType *string `type:"string" required:"true" enum:"LicenseCountingType"`

    // License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost).
    // Available rules vary by dimension.
    //
    //    * Cores dimension: allowedTenancy | maximumCores | minimumCores
    //
    //    * Instances dimension: allowedTenancy | maximumCores | minimumCores |
    //    maximumSockets | minimumSockets | maximumVcpus | minimumVcpus
    //
    //    * Sockets dimension: allowedTenancy | maximumSockets | minimumSockets
    //
    //    * vCPUs dimension: allowedTenancy | honorVcpuOptimization | maximumVcpus
    //    | minimumVcpus
    LicenseRules []*string `type:"list"`

    // Name of the license configuration.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`

    // Product information.
    ProductInformationList []*ProductInformation `type:"list"`

    // Tags to add to the license configuration.
    Tags []*Tag `type:"list"`
    // contains filtered or unexported fields
}

func (CreateLicenseConfigurationInput) GoString Uses

func (s CreateLicenseConfigurationInput) GoString() string

GoString returns the string representation

func (*CreateLicenseConfigurationInput) SetDescription Uses

func (s *CreateLicenseConfigurationInput) SetDescription(v string) *CreateLicenseConfigurationInput

SetDescription sets the Description field's value.

func (*CreateLicenseConfigurationInput) SetLicenseCount Uses

func (s *CreateLicenseConfigurationInput) SetLicenseCount(v int64) *CreateLicenseConfigurationInput

SetLicenseCount sets the LicenseCount field's value.

func (*CreateLicenseConfigurationInput) SetLicenseCountHardLimit Uses

func (s *CreateLicenseConfigurationInput) SetLicenseCountHardLimit(v bool) *CreateLicenseConfigurationInput

SetLicenseCountHardLimit sets the LicenseCountHardLimit field's value.

func (*CreateLicenseConfigurationInput) SetLicenseCountingType Uses

func (s *CreateLicenseConfigurationInput) SetLicenseCountingType(v string) *CreateLicenseConfigurationInput

SetLicenseCountingType sets the LicenseCountingType field's value.

func (*CreateLicenseConfigurationInput) SetLicenseRules Uses

func (s *CreateLicenseConfigurationInput) SetLicenseRules(v []*string) *CreateLicenseConfigurationInput

SetLicenseRules sets the LicenseRules field's value.

func (*CreateLicenseConfigurationInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateLicenseConfigurationInput) SetProductInformationList Uses

func (s *CreateLicenseConfigurationInput) SetProductInformationList(v []*ProductInformation) *CreateLicenseConfigurationInput

SetProductInformationList sets the ProductInformationList field's value.

func (*CreateLicenseConfigurationInput) SetTags Uses

func (s *CreateLicenseConfigurationInput) SetTags(v []*Tag) *CreateLicenseConfigurationInput

SetTags sets the Tags field's value.

func (CreateLicenseConfigurationInput) String Uses

func (s CreateLicenseConfigurationInput) String() string

String returns the string representation

func (*CreateLicenseConfigurationInput) Validate Uses

func (s *CreateLicenseConfigurationInput) Validate() error

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

type CreateLicenseConfigurationOutput Uses

type CreateLicenseConfigurationOutput struct {

    // Amazon Resource Name (ARN) of the license configuration.
    LicenseConfigurationArn *string `type:"string"`
    // contains filtered or unexported fields
}

func (CreateLicenseConfigurationOutput) GoString Uses

func (s CreateLicenseConfigurationOutput) GoString() string

GoString returns the string representation

func (*CreateLicenseConfigurationOutput) SetLicenseConfigurationArn Uses

func (s *CreateLicenseConfigurationOutput) SetLicenseConfigurationArn(v string) *CreateLicenseConfigurationOutput

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (CreateLicenseConfigurationOutput) String Uses

func (s CreateLicenseConfigurationOutput) String() string

String returns the string representation

type DeleteLicenseConfigurationInput Uses

type DeleteLicenseConfigurationInput struct {

    // ID of the license configuration.
    //
    // LicenseConfigurationArn is a required field
    LicenseConfigurationArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteLicenseConfigurationInput) GoString Uses

func (s DeleteLicenseConfigurationInput) GoString() string

GoString returns the string representation

func (*DeleteLicenseConfigurationInput) SetLicenseConfigurationArn Uses

func (s *DeleteLicenseConfigurationInput) SetLicenseConfigurationArn(v string) *DeleteLicenseConfigurationInput

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (DeleteLicenseConfigurationInput) String Uses

func (s DeleteLicenseConfigurationInput) String() string

String returns the string representation

func (*DeleteLicenseConfigurationInput) Validate Uses

func (s *DeleteLicenseConfigurationInput) Validate() error

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

type DeleteLicenseConfigurationOutput Uses

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

func (DeleteLicenseConfigurationOutput) GoString Uses

func (s DeleteLicenseConfigurationOutput) GoString() string

GoString returns the string representation

func (DeleteLicenseConfigurationOutput) String Uses

func (s DeleteLicenseConfigurationOutput) String() string

String returns the string representation

type FailedDependencyException Uses

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

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

A dependency required to run the API is missing.

func (*FailedDependencyException) Code Uses

func (s *FailedDependencyException) Code() string

Code returns the exception type name.

func (*FailedDependencyException) Error Uses

func (s *FailedDependencyException) Error() string

func (FailedDependencyException) GoString Uses

func (s FailedDependencyException) GoString() string

GoString returns the string representation

func (*FailedDependencyException) Message Uses

func (s *FailedDependencyException) Message() string

Message returns the exception's message.

func (*FailedDependencyException) OrigErr Uses

func (s *FailedDependencyException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FailedDependencyException) RequestID Uses

func (s *FailedDependencyException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*FailedDependencyException) StatusCode Uses

func (s *FailedDependencyException) StatusCode() int

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

func (FailedDependencyException) String Uses

func (s FailedDependencyException) String() string

String returns the string representation

type Filter Uses

type Filter struct {

    // Name of the filter. Filter names are case-sensitive.
    Name *string `type:"string"`

    // Filter values. Filter values are case-sensitive.
    Values []*string `type:"list"`
    // contains filtered or unexported fields
}

A filter name and value pair 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, such as tags, attributes, or IDs.

func (Filter) GoString Uses

func (s Filter) GoString() string

GoString returns the string representation

func (*Filter) SetName Uses

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

SetName sets the Name field's value.

func (*Filter) SetValues Uses

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

SetValues sets the Values field's value.

func (Filter) String Uses

func (s Filter) String() string

String returns the string representation

type FilterLimitExceededException Uses

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

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

The request uses too many filters or too many filter values.

func (*FilterLimitExceededException) Code Uses

func (s *FilterLimitExceededException) Code() string

Code returns the exception type name.

func (*FilterLimitExceededException) Error Uses

func (s *FilterLimitExceededException) Error() string

func (FilterLimitExceededException) GoString Uses

func (s FilterLimitExceededException) GoString() string

GoString returns the string representation

func (*FilterLimitExceededException) Message Uses

func (s *FilterLimitExceededException) Message() string

Message returns the exception's message.

func (*FilterLimitExceededException) OrigErr Uses

func (s *FilterLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FilterLimitExceededException) RequestID Uses

func (s *FilterLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*FilterLimitExceededException) StatusCode Uses

func (s *FilterLimitExceededException) StatusCode() int

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

func (FilterLimitExceededException) String Uses

func (s FilterLimitExceededException) String() string

String returns the string representation

type GetLicenseConfigurationInput Uses

type GetLicenseConfigurationInput struct {

    // Amazon Resource Name (ARN) of the license configuration.
    //
    // LicenseConfigurationArn is a required field
    LicenseConfigurationArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetLicenseConfigurationInput) GoString Uses

func (s GetLicenseConfigurationInput) GoString() string

GoString returns the string representation

func (*GetLicenseConfigurationInput) SetLicenseConfigurationArn Uses

func (s *GetLicenseConfigurationInput) SetLicenseConfigurationArn(v string) *GetLicenseConfigurationInput

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (GetLicenseConfigurationInput) String Uses

func (s GetLicenseConfigurationInput) String() string

String returns the string representation

func (*GetLicenseConfigurationInput) Validate Uses

func (s *GetLicenseConfigurationInput) Validate() error

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

type GetLicenseConfigurationOutput Uses

type GetLicenseConfigurationOutput struct {

    // Automated discovery information.
    AutomatedDiscoveryInformation *AutomatedDiscoveryInformation `type:"structure"`

    // Summaries of the licenses consumed by resources.
    ConsumedLicenseSummaryList []*ConsumedLicenseSummary `type:"list"`

    // Number of licenses assigned to resources.
    ConsumedLicenses *int64 `type:"long"`

    // Description of the license configuration.
    Description *string `type:"string"`

    // Amazon Resource Name (ARN) of the license configuration.
    LicenseConfigurationArn *string `type:"string"`

    // Unique ID for the license configuration.
    LicenseConfigurationId *string `type:"string"`

    // Number of available licenses.
    LicenseCount *int64 `type:"long"`

    // Sets the number of available licenses as a hard limit.
    LicenseCountHardLimit *bool `type:"boolean"`

    // Dimension on which the licenses are counted.
    LicenseCountingType *string `type:"string" enum:"LicenseCountingType"`

    // License rules.
    LicenseRules []*string `type:"list"`

    // Summaries of the managed resources.
    ManagedResourceSummaryList []*ManagedResourceSummary `type:"list"`

    // Name of the license configuration.
    Name *string `type:"string"`

    // Account ID of the owner of the license configuration.
    OwnerAccountId *string `type:"string"`

    // Product information.
    ProductInformationList []*ProductInformation `type:"list"`

    // License configuration status.
    Status *string `type:"string"`

    // Tags for the license configuration.
    Tags []*Tag `type:"list"`
    // contains filtered or unexported fields
}

func (GetLicenseConfigurationOutput) GoString Uses

func (s GetLicenseConfigurationOutput) GoString() string

GoString returns the string representation

func (*GetLicenseConfigurationOutput) SetAutomatedDiscoveryInformation Uses

func (s *GetLicenseConfigurationOutput) SetAutomatedDiscoveryInformation(v *AutomatedDiscoveryInformation) *GetLicenseConfigurationOutput

SetAutomatedDiscoveryInformation sets the AutomatedDiscoveryInformation field's value.

func (*GetLicenseConfigurationOutput) SetConsumedLicenseSummaryList Uses

func (s *GetLicenseConfigurationOutput) SetConsumedLicenseSummaryList(v []*ConsumedLicenseSummary) *GetLicenseConfigurationOutput

SetConsumedLicenseSummaryList sets the ConsumedLicenseSummaryList field's value.

func (*GetLicenseConfigurationOutput) SetConsumedLicenses Uses

func (s *GetLicenseConfigurationOutput) SetConsumedLicenses(v int64) *GetLicenseConfigurationOutput

SetConsumedLicenses sets the ConsumedLicenses field's value.

func (*GetLicenseConfigurationOutput) SetDescription Uses

func (s *GetLicenseConfigurationOutput) SetDescription(v string) *GetLicenseConfigurationOutput

SetDescription sets the Description field's value.

func (*GetLicenseConfigurationOutput) SetLicenseConfigurationArn Uses

func (s *GetLicenseConfigurationOutput) SetLicenseConfigurationArn(v string) *GetLicenseConfigurationOutput

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*GetLicenseConfigurationOutput) SetLicenseConfigurationId Uses

func (s *GetLicenseConfigurationOutput) SetLicenseConfigurationId(v string) *GetLicenseConfigurationOutput

SetLicenseConfigurationId sets the LicenseConfigurationId field's value.

func (*GetLicenseConfigurationOutput) SetLicenseCount Uses

func (s *GetLicenseConfigurationOutput) SetLicenseCount(v int64) *GetLicenseConfigurationOutput

SetLicenseCount sets the LicenseCount field's value.

func (*GetLicenseConfigurationOutput) SetLicenseCountHardLimit Uses

func (s *GetLicenseConfigurationOutput) SetLicenseCountHardLimit(v bool) *GetLicenseConfigurationOutput

SetLicenseCountHardLimit sets the LicenseCountHardLimit field's value.

func (*GetLicenseConfigurationOutput) SetLicenseCountingType Uses

func (s *GetLicenseConfigurationOutput) SetLicenseCountingType(v string) *GetLicenseConfigurationOutput

SetLicenseCountingType sets the LicenseCountingType field's value.

func (*GetLicenseConfigurationOutput) SetLicenseRules Uses

func (s *GetLicenseConfigurationOutput) SetLicenseRules(v []*string) *GetLicenseConfigurationOutput

SetLicenseRules sets the LicenseRules field's value.

func (*GetLicenseConfigurationOutput) SetManagedResourceSummaryList Uses

func (s *GetLicenseConfigurationOutput) SetManagedResourceSummaryList(v []*ManagedResourceSummary) *GetLicenseConfigurationOutput

SetManagedResourceSummaryList sets the ManagedResourceSummaryList field's value.

func (*GetLicenseConfigurationOutput) SetName Uses

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

SetName sets the Name field's value.

func (*GetLicenseConfigurationOutput) SetOwnerAccountId Uses

func (s *GetLicenseConfigurationOutput) SetOwnerAccountId(v string) *GetLicenseConfigurationOutput

SetOwnerAccountId sets the OwnerAccountId field's value.

func (*GetLicenseConfigurationOutput) SetProductInformationList Uses

func (s *GetLicenseConfigurationOutput) SetProductInformationList(v []*ProductInformation) *GetLicenseConfigurationOutput

SetProductInformationList sets the ProductInformationList field's value.

func (*GetLicenseConfigurationOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*GetLicenseConfigurationOutput) SetTags Uses

func (s *GetLicenseConfigurationOutput) SetTags(v []*Tag) *GetLicenseConfigurationOutput

SetTags sets the Tags field's value.

func (GetLicenseConfigurationOutput) String Uses

func (s GetLicenseConfigurationOutput) String() string

String returns the string representation

type GetServiceSettingsInput Uses

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

func (GetServiceSettingsInput) GoString Uses

func (s GetServiceSettingsInput) GoString() string

GoString returns the string representation

func (GetServiceSettingsInput) String Uses

func (s GetServiceSettingsInput) String() string

String returns the string representation

type GetServiceSettingsOutput Uses

type GetServiceSettingsOutput struct {

    // Indicates whether cross-account discovery has been enabled.
    EnableCrossAccountsDiscovery *bool `type:"boolean"`

    // Amazon Resource Name (ARN) of the AWS resource share. The License Manager
    // master account will provide member accounts with access to this share.
    LicenseManagerResourceShareArn *string `type:"string"`

    // Indicates whether AWS Organizations has been integrated with License Manager
    // for cross-account discovery.
    OrganizationConfiguration *OrganizationConfiguration `type:"structure"`

    // Regional S3 bucket path for storing reports, license trail event data, discovery
    // data, and so on.
    S3BucketArn *string `type:"string"`

    // SNS topic configured to receive notifications from License Manager.
    SnsTopicArn *string `type:"string"`
    // contains filtered or unexported fields
}

func (GetServiceSettingsOutput) GoString Uses

func (s GetServiceSettingsOutput) GoString() string

GoString returns the string representation

func (*GetServiceSettingsOutput) SetEnableCrossAccountsDiscovery Uses

func (s *GetServiceSettingsOutput) SetEnableCrossAccountsDiscovery(v bool) *GetServiceSettingsOutput

SetEnableCrossAccountsDiscovery sets the EnableCrossAccountsDiscovery field's value.

func (*GetServiceSettingsOutput) SetLicenseManagerResourceShareArn Uses

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

SetLicenseManagerResourceShareArn sets the LicenseManagerResourceShareArn field's value.

func (*GetServiceSettingsOutput) SetOrganizationConfiguration Uses

func (s *GetServiceSettingsOutput) SetOrganizationConfiguration(v *OrganizationConfiguration) *GetServiceSettingsOutput

SetOrganizationConfiguration sets the OrganizationConfiguration field's value.

func (*GetServiceSettingsOutput) SetS3BucketArn Uses

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

SetS3BucketArn sets the S3BucketArn field's value.

func (*GetServiceSettingsOutput) SetSnsTopicArn Uses

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

SetSnsTopicArn sets the SnsTopicArn field's value.

func (GetServiceSettingsOutput) String Uses

func (s GetServiceSettingsOutput) String() string

String returns the string representation

type InvalidParameterValueException Uses

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

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

One or more parameter values are not valid.

func (*InvalidParameterValueException) Code Uses

func (s *InvalidParameterValueException) Code() string

Code returns the exception type name.

func (*InvalidParameterValueException) Error Uses

func (s *InvalidParameterValueException) Error() string

func (InvalidParameterValueException) GoString Uses

func (s InvalidParameterValueException) GoString() string

GoString returns the string representation

func (*InvalidParameterValueException) Message Uses

func (s *InvalidParameterValueException) Message() string

Message returns the exception's message.

func (*InvalidParameterValueException) OrigErr Uses

func (s *InvalidParameterValueException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParameterValueException) RequestID Uses

func (s *InvalidParameterValueException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidParameterValueException) StatusCode Uses

func (s *InvalidParameterValueException) StatusCode() int

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

func (InvalidParameterValueException) String Uses

func (s InvalidParameterValueException) String() string

String returns the string representation

type InvalidResourceStateException Uses

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

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

License Manager cannot allocate a license to a resource because of its state.

For example, you cannot allocate a license to an instance in the process of shutting down.

func (*InvalidResourceStateException) Code Uses

func (s *InvalidResourceStateException) Code() string

Code returns the exception type name.

func (*InvalidResourceStateException) Error Uses

func (s *InvalidResourceStateException) Error() string

func (InvalidResourceStateException) GoString Uses

func (s InvalidResourceStateException) GoString() string

GoString returns the string representation

func (*InvalidResourceStateException) Message Uses

func (s *InvalidResourceStateException) Message() string

Message returns the exception's message.

func (*InvalidResourceStateException) OrigErr Uses

func (s *InvalidResourceStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidResourceStateException) RequestID Uses

func (s *InvalidResourceStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidResourceStateException) StatusCode Uses

func (s *InvalidResourceStateException) StatusCode() int

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

func (InvalidResourceStateException) String Uses

func (s InvalidResourceStateException) String() string

String returns the string representation

type InventoryFilter Uses

type InventoryFilter struct {

    // Condition of the filter.
    //
    // Condition is a required field
    Condition *string `type:"string" required:"true" enum:"InventoryFilterCondition"`

    // Name of the filter.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`

    // Value of the filter.
    Value *string `type:"string"`
    // contains filtered or unexported fields
}

An inventory filter.

func (InventoryFilter) GoString Uses

func (s InventoryFilter) GoString() string

GoString returns the string representation

func (*InventoryFilter) SetCondition Uses

func (s *InventoryFilter) SetCondition(v string) *InventoryFilter

SetCondition sets the Condition field's value.

func (*InventoryFilter) SetName Uses

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

SetName sets the Name field's value.

func (*InventoryFilter) SetValue Uses

func (s *InventoryFilter) SetValue(v string) *InventoryFilter

SetValue sets the Value field's value.

func (InventoryFilter) String Uses

func (s InventoryFilter) String() string

String returns the string representation

func (*InventoryFilter) Validate Uses

func (s *InventoryFilter) Validate() error

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

type LicenseConfiguration Uses

type LicenseConfiguration struct {

    // Automated discovery information.
    AutomatedDiscoveryInformation *AutomatedDiscoveryInformation `type:"structure"`

    // Summaries for licenses consumed by various resources.
    ConsumedLicenseSummaryList []*ConsumedLicenseSummary `type:"list"`

    // Number of licenses consumed.
    ConsumedLicenses *int64 `type:"long"`

    // Description of the license configuration.
    Description *string `type:"string"`

    // Amazon Resource Name (ARN) of the license configuration.
    LicenseConfigurationArn *string `type:"string"`

    // Unique ID of the license configuration.
    LicenseConfigurationId *string `type:"string"`

    // Number of licenses managed by the license configuration.
    LicenseCount *int64 `type:"long"`

    // Number of available licenses as a hard limit.
    LicenseCountHardLimit *bool `type:"boolean"`

    // Dimension to use to track the license inventory.
    LicenseCountingType *string `type:"string" enum:"LicenseCountingType"`

    // License rules.
    LicenseRules []*string `type:"list"`

    // Summaries for managed resources.
    ManagedResourceSummaryList []*ManagedResourceSummary `type:"list"`

    // Name of the license configuration.
    Name *string `type:"string"`

    // Account ID of the license configuration's owner.
    OwnerAccountId *string `type:"string"`

    // Product information.
    ProductInformationList []*ProductInformation `type:"list"`

    // Status of the license configuration.
    Status *string `type:"string"`
    // contains filtered or unexported fields
}

A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), host affinity (how long a VM must be associated with a host), and the number of licenses purchased and used.

func (LicenseConfiguration) GoString Uses

func (s LicenseConfiguration) GoString() string

GoString returns the string representation

func (*LicenseConfiguration) SetAutomatedDiscoveryInformation Uses

func (s *LicenseConfiguration) SetAutomatedDiscoveryInformation(v *AutomatedDiscoveryInformation) *LicenseConfiguration

SetAutomatedDiscoveryInformation sets the AutomatedDiscoveryInformation field's value.

func (*LicenseConfiguration) SetConsumedLicenseSummaryList Uses

func (s *LicenseConfiguration) SetConsumedLicenseSummaryList(v []*ConsumedLicenseSummary) *LicenseConfiguration

SetConsumedLicenseSummaryList sets the ConsumedLicenseSummaryList field's value.

func (*LicenseConfiguration) SetConsumedLicenses Uses

func (s *LicenseConfiguration) SetConsumedLicenses(v int64) *LicenseConfiguration

SetConsumedLicenses sets the ConsumedLicenses field's value.

func (*LicenseConfiguration) SetDescription Uses

func (s *LicenseConfiguration) SetDescription(v string) *LicenseConfiguration

SetDescription sets the Description field's value.

func (*LicenseConfiguration) SetLicenseConfigurationArn Uses

func (s *LicenseConfiguration) SetLicenseConfigurationArn(v string) *LicenseConfiguration

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*LicenseConfiguration) SetLicenseConfigurationId Uses

func (s *LicenseConfiguration) SetLicenseConfigurationId(v string) *LicenseConfiguration

SetLicenseConfigurationId sets the LicenseConfigurationId field's value.

func (*LicenseConfiguration) SetLicenseCount Uses

func (s *LicenseConfiguration) SetLicenseCount(v int64) *LicenseConfiguration

SetLicenseCount sets the LicenseCount field's value.

func (*LicenseConfiguration) SetLicenseCountHardLimit Uses

func (s *LicenseConfiguration) SetLicenseCountHardLimit(v bool) *LicenseConfiguration

SetLicenseCountHardLimit sets the LicenseCountHardLimit field's value.

func (*LicenseConfiguration) SetLicenseCountingType Uses

func (s *LicenseConfiguration) SetLicenseCountingType(v string) *LicenseConfiguration

SetLicenseCountingType sets the LicenseCountingType field's value.

func (*LicenseConfiguration) SetLicenseRules Uses

func (s *LicenseConfiguration) SetLicenseRules(v []*string) *LicenseConfiguration

SetLicenseRules sets the LicenseRules field's value.

func (*LicenseConfiguration) SetManagedResourceSummaryList Uses

func (s *LicenseConfiguration) SetManagedResourceSummaryList(v []*ManagedResourceSummary) *LicenseConfiguration

SetManagedResourceSummaryList sets the ManagedResourceSummaryList field's value.

func (*LicenseConfiguration) SetName Uses

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

SetName sets the Name field's value.

func (*LicenseConfiguration) SetOwnerAccountId Uses

func (s *LicenseConfiguration) SetOwnerAccountId(v string) *LicenseConfiguration

SetOwnerAccountId sets the OwnerAccountId field's value.

func (*LicenseConfiguration) SetProductInformationList Uses

func (s *LicenseConfiguration) SetProductInformationList(v []*ProductInformation) *LicenseConfiguration

SetProductInformationList sets the ProductInformationList field's value.

func (*LicenseConfiguration) SetStatus Uses

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

SetStatus sets the Status field's value.

func (LicenseConfiguration) String Uses

func (s LicenseConfiguration) String() string

String returns the string representation

type LicenseConfigurationAssociation Uses

type LicenseConfigurationAssociation struct {

    // Time when the license configuration was associated with the resource.
    AssociationTime *time.Time `type:"timestamp"`

    // Amazon Resource Name (ARN) of the resource.
    ResourceArn *string `type:"string"`

    // ID of the AWS account that owns the resource consuming licenses.
    ResourceOwnerId *string `type:"string"`

    // Type of server resource.
    ResourceType *string `type:"string" enum:"ResourceType"`
    // contains filtered or unexported fields
}

Describes an association with a license configuration.

func (LicenseConfigurationAssociation) GoString Uses

func (s LicenseConfigurationAssociation) GoString() string

GoString returns the string representation

func (*LicenseConfigurationAssociation) SetAssociationTime Uses

func (s *LicenseConfigurationAssociation) SetAssociationTime(v time.Time) *LicenseConfigurationAssociation

SetAssociationTime sets the AssociationTime field's value.

func (*LicenseConfigurationAssociation) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*LicenseConfigurationAssociation) SetResourceOwnerId Uses

func (s *LicenseConfigurationAssociation) SetResourceOwnerId(v string) *LicenseConfigurationAssociation

SetResourceOwnerId sets the ResourceOwnerId field's value.

func (*LicenseConfigurationAssociation) SetResourceType Uses

func (s *LicenseConfigurationAssociation) SetResourceType(v string) *LicenseConfigurationAssociation

SetResourceType sets the ResourceType field's value.

func (LicenseConfigurationAssociation) String Uses

func (s LicenseConfigurationAssociation) String() string

String returns the string representation

type LicenseConfigurationUsage Uses

type LicenseConfigurationUsage struct {

    // Time when the license configuration was initially associated with the resource.
    AssociationTime *time.Time `type:"timestamp"`

    // Number of licenses consumed by the resource.
    ConsumedLicenses *int64 `type:"long"`

    // Amazon Resource Name (ARN) of the resource.
    ResourceArn *string `type:"string"`

    // ID of the account that owns the resource.
    ResourceOwnerId *string `type:"string"`

    // Status of the resource.
    ResourceStatus *string `type:"string"`

    // Type of resource.
    ResourceType *string `type:"string" enum:"ResourceType"`
    // contains filtered or unexported fields
}

Details about the usage of a resource associated with a license configuration.

func (LicenseConfigurationUsage) GoString Uses

func (s LicenseConfigurationUsage) GoString() string

GoString returns the string representation

func (*LicenseConfigurationUsage) SetAssociationTime Uses

func (s *LicenseConfigurationUsage) SetAssociationTime(v time.Time) *LicenseConfigurationUsage

SetAssociationTime sets the AssociationTime field's value.

func (*LicenseConfigurationUsage) SetConsumedLicenses Uses

func (s *LicenseConfigurationUsage) SetConsumedLicenses(v int64) *LicenseConfigurationUsage

SetConsumedLicenses sets the ConsumedLicenses field's value.

func (*LicenseConfigurationUsage) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*LicenseConfigurationUsage) SetResourceOwnerId Uses

func (s *LicenseConfigurationUsage) SetResourceOwnerId(v string) *LicenseConfigurationUsage

SetResourceOwnerId sets the ResourceOwnerId field's value.

func (*LicenseConfigurationUsage) SetResourceStatus Uses

func (s *LicenseConfigurationUsage) SetResourceStatus(v string) *LicenseConfigurationUsage

SetResourceStatus sets the ResourceStatus field's value.

func (*LicenseConfigurationUsage) SetResourceType Uses

func (s *LicenseConfigurationUsage) SetResourceType(v string) *LicenseConfigurationUsage

SetResourceType sets the ResourceType field's value.

func (LicenseConfigurationUsage) String Uses

func (s LicenseConfigurationUsage) String() string

String returns the string representation

type LicenseManager Uses

type LicenseManager struct {
    *client.Client
}

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

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

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *LicenseManager

New creates a new instance of the LicenseManager 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 LicenseManager client from just a session.
svc := licensemanager.New(mySession)

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

func (*LicenseManager) CreateLicenseConfiguration Uses

func (c *LicenseManager) CreateLicenseConfiguration(input *CreateLicenseConfigurationInput) (*CreateLicenseConfigurationOutput, error)

CreateLicenseConfiguration API operation for AWS License Manager.

Creates a license configuration.

A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), host affinity (how long a VM must be associated with a host), and the number of licenses purchased and used.

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's API operation CreateLicenseConfiguration for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* ResourceLimitExceededException
Your resource limits have been exceeded.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfiguration

func (*LicenseManager) CreateLicenseConfigurationRequest Uses

func (c *LicenseManager) CreateLicenseConfigurationRequest(input *CreateLicenseConfigurationInput) (req *request.Request, output *CreateLicenseConfigurationOutput)

CreateLicenseConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreateLicenseConfiguration 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 CreateLicenseConfiguration for more information on using the CreateLicenseConfiguration 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 CreateLicenseConfigurationRequest method.
req, resp := client.CreateLicenseConfigurationRequest(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-2018-08-01/CreateLicenseConfiguration

func (*LicenseManager) CreateLicenseConfigurationWithContext Uses

func (c *LicenseManager) CreateLicenseConfigurationWithContext(ctx aws.Context, input *CreateLicenseConfigurationInput, opts ...request.Option) (*CreateLicenseConfigurationOutput, error)

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

See CreateLicenseConfiguration 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 (*LicenseManager) DeleteLicenseConfiguration Uses

func (c *LicenseManager) DeleteLicenseConfiguration(input *DeleteLicenseConfigurationInput) (*DeleteLicenseConfigurationOutput, error)

DeleteLicenseConfiguration API operation for AWS License Manager.

Deletes the specified license configuration.

You cannot delete a license configuration that is in use.

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's API operation DeleteLicenseConfiguration for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseConfiguration

func (*LicenseManager) DeleteLicenseConfigurationRequest Uses

func (c *LicenseManager) DeleteLicenseConfigurationRequest(input *DeleteLicenseConfigurationInput) (req *request.Request, output *DeleteLicenseConfigurationOutput)

DeleteLicenseConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteLicenseConfiguration 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 DeleteLicenseConfiguration for more information on using the DeleteLicenseConfiguration 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 DeleteLicenseConfigurationRequest method.
req, resp := client.DeleteLicenseConfigurationRequest(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-2018-08-01/DeleteLicenseConfiguration

func (*LicenseManager) DeleteLicenseConfigurationWithContext Uses

func (c *LicenseManager) DeleteLicenseConfigurationWithContext(ctx aws.Context, input *DeleteLicenseConfigurationInput, opts ...request.Option) (*DeleteLicenseConfigurationOutput, error)

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

See DeleteLicenseConfiguration 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 (*LicenseManager) GetLicenseConfiguration Uses

func (c *LicenseManager) GetLicenseConfiguration(input *GetLicenseConfigurationInput) (*GetLicenseConfigurationOutput, error)

GetLicenseConfiguration API operation for AWS License Manager.

Gets detailed information about the specified license configuration.

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's API operation GetLicenseConfiguration for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConfiguration

func (*LicenseManager) GetLicenseConfigurationRequest Uses

func (c *LicenseManager) GetLicenseConfigurationRequest(input *GetLicenseConfigurationInput) (req *request.Request, output *GetLicenseConfigurationOutput)

GetLicenseConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetLicenseConfiguration 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 GetLicenseConfiguration for more information on using the GetLicenseConfiguration 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 GetLicenseConfigurationRequest method.
req, resp := client.GetLicenseConfigurationRequest(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-2018-08-01/GetLicenseConfiguration

func (*LicenseManager) GetLicenseConfigurationWithContext Uses

func (c *LicenseManager) GetLicenseConfigurationWithContext(ctx aws.Context, input *GetLicenseConfigurationInput, opts ...request.Option) (*GetLicenseConfigurationOutput, error)

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

See GetLicenseConfiguration 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 (*LicenseManager) GetServiceSettings Uses

func (c *LicenseManager) GetServiceSettings(input *GetServiceSettingsInput) (*GetServiceSettingsOutput, error)

GetServiceSettings API operation for AWS License Manager.

Gets the License Manager settings for the current Region.

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's API operation GetServiceSettings for usage and error information.

Returned Error Types:

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettings

func (*LicenseManager) GetServiceSettingsRequest Uses

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettings

func (*LicenseManager) GetServiceSettingsWithContext Uses

func (c *LicenseManager) 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 (*LicenseManager) ListAssociationsForLicenseConfiguration Uses

func (c *LicenseManager) ListAssociationsForLicenseConfiguration(input *ListAssociationsForLicenseConfigurationInput) (*ListAssociationsForLicenseConfigurationOutput, error)

ListAssociationsForLicenseConfiguration API operation for AWS License Manager.

Lists the resource associations for the specified license configuration.

Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).

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's API operation ListAssociationsForLicenseConfiguration for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* FilterLimitExceededException
The request uses too many filters or too many filter values.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListAssociationsForLicenseConfiguration

func (*LicenseManager) ListAssociationsForLicenseConfigurationRequest Uses

func (c *LicenseManager) ListAssociationsForLicenseConfigurationRequest(input *ListAssociationsForLicenseConfigurationInput) (req *request.Request, output *ListAssociationsForLicenseConfigurationOutput)

ListAssociationsForLicenseConfigurationRequest generates a "aws/request.Request" representing the client's request for the ListAssociationsForLicenseConfiguration 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 ListAssociationsForLicenseConfiguration for more information on using the ListAssociationsForLicenseConfiguration 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 ListAssociationsForLicenseConfigurationRequest method.
req, resp := client.ListAssociationsForLicenseConfigurationRequest(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-2018-08-01/ListAssociationsForLicenseConfiguration

func (*LicenseManager) ListAssociationsForLicenseConfigurationWithContext Uses

func (c *LicenseManager) ListAssociationsForLicenseConfigurationWithContext(ctx aws.Context, input *ListAssociationsForLicenseConfigurationInput, opts ...request.Option) (*ListAssociationsForLicenseConfigurationOutput, error)

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

See ListAssociationsForLicenseConfiguration 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 (*LicenseManager) ListFailuresForLicenseConfigurationOperations Uses

func (c *LicenseManager) ListFailuresForLicenseConfigurationOperations(input *ListFailuresForLicenseConfigurationOperationsInput) (*ListFailuresForLicenseConfigurationOperationsOutput, error)

ListFailuresForLicenseConfigurationOperations API operation for AWS License Manager.

Lists the license configuration operations that failed.

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's API operation ListFailuresForLicenseConfigurationOperations for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListFailuresForLicenseConfigurationOperations

func (*LicenseManager) ListFailuresForLicenseConfigurationOperationsRequest Uses

func (c *LicenseManager) ListFailuresForLicenseConfigurationOperationsRequest(input *ListFailuresForLicenseConfigurationOperationsInput) (req *request.Request, output *ListFailuresForLicenseConfigurationOperationsOutput)

ListFailuresForLicenseConfigurationOperationsRequest generates a "aws/request.Request" representing the client's request for the ListFailuresForLicenseConfigurationOperations 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 ListFailuresForLicenseConfigurationOperations for more information on using the ListFailuresForLicenseConfigurationOperations 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 ListFailuresForLicenseConfigurationOperationsRequest method.
req, resp := client.ListFailuresForLicenseConfigurationOperationsRequest(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-2018-08-01/ListFailuresForLicenseConfigurationOperations

func (*LicenseManager) ListFailuresForLicenseConfigurationOperationsWithContext Uses

func (c *LicenseManager) ListFailuresForLicenseConfigurationOperationsWithContext(ctx aws.Context, input *ListFailuresForLicenseConfigurationOperationsInput, opts ...request.Option) (*ListFailuresForLicenseConfigurationOperationsOutput, error)

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

See ListFailuresForLicenseConfigurationOperations 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 (*LicenseManager) ListLicenseConfigurations Uses

func (c *LicenseManager) ListLicenseConfigurations(input *ListLicenseConfigurationsInput) (*ListLicenseConfigurationsOutput, error)

ListLicenseConfigurations API operation for AWS License Manager.

Lists the license configurations 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's API operation ListLicenseConfigurations for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* FilterLimitExceededException
The request uses too many filters or too many filter values.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurations

func (*LicenseManager) ListLicenseConfigurationsRequest Uses

func (c *LicenseManager) ListLicenseConfigurationsRequest(input *ListLicenseConfigurationsInput) (req *request.Request, output *ListLicenseConfigurationsOutput)

ListLicenseConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListLicenseConfigurations 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 ListLicenseConfigurations for more information on using the ListLicenseConfigurations 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 ListLicenseConfigurationsRequest method.
req, resp := client.ListLicenseConfigurationsRequest(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-2018-08-01/ListLicenseConfigurations

func (*LicenseManager) ListLicenseConfigurationsWithContext Uses

func (c *LicenseManager) ListLicenseConfigurationsWithContext(ctx aws.Context, input *ListLicenseConfigurationsInput, opts ...request.Option) (*ListLicenseConfigurationsOutput, error)

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

See ListLicenseConfigurations 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 (*LicenseManager) ListLicenseSpecificationsForResource Uses

func (c *LicenseManager) ListLicenseSpecificationsForResource(input *ListLicenseSpecificationsForResourceInput) (*ListLicenseSpecificationsForResourceOutput, error)

ListLicenseSpecificationsForResource API operation for AWS License Manager.

Describes the license configurations for the specified 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's API operation ListLicenseSpecificationsForResource for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseSpecificationsForResource

func (*LicenseManager) ListLicenseSpecificationsForResourceRequest Uses

func (c *LicenseManager) ListLicenseSpecificationsForResourceRequest(input *ListLicenseSpecificationsForResourceInput) (req *request.Request, output *ListLicenseSpecificationsForResourceOutput)

ListLicenseSpecificationsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListLicenseSpecificationsForResource 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 ListLicenseSpecificationsForResource for more information on using the ListLicenseSpecificationsForResource 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 ListLicenseSpecificationsForResourceRequest method.
req, resp := client.ListLicenseSpecificationsForResourceRequest(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-2018-08-01/ListLicenseSpecificationsForResource

func (*LicenseManager) ListLicenseSpecificationsForResourceWithContext Uses

func (c *LicenseManager) ListLicenseSpecificationsForResourceWithContext(ctx aws.Context, input *ListLicenseSpecificationsForResourceInput, opts ...request.Option) (*ListLicenseSpecificationsForResourceOutput, error)

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

See ListLicenseSpecificationsForResource 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 (*LicenseManager) ListResourceInventory Uses

func (c *LicenseManager) ListResourceInventory(input *ListResourceInventoryInput) (*ListResourceInventoryOutput, error)

ListResourceInventory API operation for AWS License Manager.

Lists resources managed using Systems Manager inventory.

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's API operation ListResourceInventory for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* FilterLimitExceededException
The request uses too many filters or too many filter values.

* FailedDependencyException
A dependency required to run the API is missing.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListResourceInventory

func (*LicenseManager) ListResourceInventoryRequest Uses

func (c *LicenseManager) ListResourceInventoryRequest(input *ListResourceInventoryInput) (req *request.Request, output *ListResourceInventoryOutput)

ListResourceInventoryRequest generates a "aws/request.Request" representing the client's request for the ListResourceInventory 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 ListResourceInventory for more information on using the ListResourceInventory 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 ListResourceInventoryRequest method.
req, resp := client.ListResourceInventoryRequest(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-2018-08-01/ListResourceInventory

func (*LicenseManager) ListResourceInventoryWithContext Uses

func (c *LicenseManager) ListResourceInventoryWithContext(ctx aws.Context, input *ListResourceInventoryInput, opts ...request.Option) (*ListResourceInventoryOutput, error)

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

See ListResourceInventory 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 (*LicenseManager) ListTagsForResource Uses

func (c *LicenseManager) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS License Manager.

Lists the tags for the specified license configuration.

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's API operation ListTagsForResource for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTagsForResource

func (*LicenseManager) ListTagsForResourceRequest Uses

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTagsForResource

func (*LicenseManager) ListTagsForResourceWithContext Uses

func (c *LicenseManager) 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 (*LicenseManager) ListUsageForLicenseConfiguration Uses

func (c *LicenseManager) ListUsageForLicenseConfiguration(input *ListUsageForLicenseConfigurationInput) (*ListUsageForLicenseConfigurationOutput, error)

ListUsageForLicenseConfiguration API operation for AWS License Manager.

Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.

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's API operation ListUsageForLicenseConfiguration for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* FilterLimitExceededException
The request uses too many filters or too many filter values.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListUsageForLicenseConfiguration

func (*LicenseManager) ListUsageForLicenseConfigurationRequest Uses

func (c *LicenseManager) ListUsageForLicenseConfigurationRequest(input *ListUsageForLicenseConfigurationInput) (req *request.Request, output *ListUsageForLicenseConfigurationOutput)

ListUsageForLicenseConfigurationRequest generates a "aws/request.Request" representing the client's request for the ListUsageForLicenseConfiguration 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 ListUsageForLicenseConfiguration for more information on using the ListUsageForLicenseConfiguration 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 ListUsageForLicenseConfigurationRequest method.
req, resp := client.ListUsageForLicenseConfigurationRequest(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-2018-08-01/ListUsageForLicenseConfiguration

func (*LicenseManager) ListUsageForLicenseConfigurationWithContext Uses

func (c *LicenseManager) ListUsageForLicenseConfigurationWithContext(ctx aws.Context, input *ListUsageForLicenseConfigurationInput, opts ...request.Option) (*ListUsageForLicenseConfigurationOutput, error)

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

See ListUsageForLicenseConfiguration 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 (*LicenseManager) TagResource Uses

func (c *LicenseManager) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS License Manager.

Adds the specified tags to the specified license configuration.

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's API operation TagResource for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/TagResource

func (*LicenseManager) TagResourceRequest Uses

func (c *LicenseManager) 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-2018-08-01/TagResource

func (*LicenseManager) TagResourceWithContext Uses

func (c *LicenseManager) 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 (*LicenseManager) UntagResource Uses

func (c *LicenseManager) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS License Manager.

Removes the specified tags from the specified license configuration.

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's API operation UntagResource for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UntagResource

func (*LicenseManager) UntagResourceRequest Uses

func (c *LicenseManager) 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-2018-08-01/UntagResource

func (*LicenseManager) UntagResourceWithContext Uses

func (c *LicenseManager) 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 (*LicenseManager) UpdateLicenseConfiguration Uses

func (c *LicenseManager) UpdateLicenseConfiguration(input *UpdateLicenseConfigurationInput) (*UpdateLicenseConfigurationOutput, error)

UpdateLicenseConfiguration API operation for AWS License Manager.

Modifies the attributes of an existing license configuration.

A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), host affinity (how long a VM must be associated with a host), and the number of licenses purchased and used.

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's API operation UpdateLicenseConfiguration for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseConfiguration

func (*LicenseManager) UpdateLicenseConfigurationRequest Uses

func (c *LicenseManager) UpdateLicenseConfigurationRequest(input *UpdateLicenseConfigurationInput) (req *request.Request, output *UpdateLicenseConfigurationOutput)

UpdateLicenseConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateLicenseConfiguration 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 UpdateLicenseConfiguration for more information on using the UpdateLicenseConfiguration 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 UpdateLicenseConfigurationRequest method.
req, resp := client.UpdateLicenseConfigurationRequest(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-2018-08-01/UpdateLicenseConfiguration

func (*LicenseManager) UpdateLicenseConfigurationWithContext Uses

func (c *LicenseManager) UpdateLicenseConfigurationWithContext(ctx aws.Context, input *UpdateLicenseConfigurationInput, opts ...request.Option) (*UpdateLicenseConfigurationOutput, error)

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

See UpdateLicenseConfiguration 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 (*LicenseManager) UpdateLicenseSpecificationsForResource Uses

func (c *LicenseManager) UpdateLicenseSpecificationsForResource(input *UpdateLicenseSpecificationsForResourceInput) (*UpdateLicenseSpecificationsForResourceOutput, error)

UpdateLicenseSpecificationsForResource API operation for AWS License Manager.

Adds or removes the specified license configurations for the specified AWS resource.

You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and AWS CloudFormation templates, as they send license configurations to the operation that creates the 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's API operation UpdateLicenseSpecificationsForResource for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* InvalidResourceStateException
License Manager cannot allocate a license to a resource because of its state.

For example, you cannot allocate a license to an instance in the process
of shutting down.

* LicenseUsageException
You do not have enough licenses available to support a new resource launch.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseSpecificationsForResource

func (*LicenseManager) UpdateLicenseSpecificationsForResourceRequest Uses

func (c *LicenseManager) UpdateLicenseSpecificationsForResourceRequest(input *UpdateLicenseSpecificationsForResourceInput) (req *request.Request, output *UpdateLicenseSpecificationsForResourceOutput)

UpdateLicenseSpecificationsForResourceRequest generates a "aws/request.Request" representing the client's request for the UpdateLicenseSpecificationsForResource 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 UpdateLicenseSpecificationsForResource for more information on using the UpdateLicenseSpecificationsForResource 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 UpdateLicenseSpecificationsForResourceRequest method.
req, resp := client.UpdateLicenseSpecificationsForResourceRequest(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-2018-08-01/UpdateLicenseSpecificationsForResource

func (*LicenseManager) UpdateLicenseSpecificationsForResourceWithContext Uses

func (c *LicenseManager) UpdateLicenseSpecificationsForResourceWithContext(ctx aws.Context, input *UpdateLicenseSpecificationsForResourceInput, opts ...request.Option) (*UpdateLicenseSpecificationsForResourceOutput, error)

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

See UpdateLicenseSpecificationsForResource 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 (*LicenseManager) UpdateServiceSettings Uses

func (c *LicenseManager) UpdateServiceSettings(input *UpdateServiceSettingsInput) (*UpdateServiceSettingsOutput, error)

UpdateServiceSettings API operation for AWS License Manager.

Updates License Manager settings for the current Region.

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's API operation UpdateServiceSettings for usage and error information.

Returned Error Types:

* InvalidParameterValueException
One or more parameter values are not valid.

* ServerInternalException
The server experienced an internal error. Try again.

* AuthorizationException
The AWS user account does not have permission to perform the action. Check
the IAM policy associated with this account.

* AccessDeniedException
Access to resource denied.

* RateLimitExceededException
Too many requests have been submitted. Try again after a brief wait.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateServiceSettings

func (*LicenseManager) UpdateServiceSettingsRequest Uses

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateServiceSettings

func (*LicenseManager) UpdateServiceSettingsWithContext Uses

func (c *LicenseManager) 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 LicenseOperationFailure Uses

type LicenseOperationFailure struct {

    // Error message.
    ErrorMessage *string `type:"string"`

    // Failure time.
    FailureTime *time.Time `type:"timestamp"`

    // Reserved.
    MetadataList []*Metadata `type:"list"`

    // Name of the operation.
    OperationName *string `type:"string"`

    // The requester is "License Manager Automated Discovery".
    OperationRequestedBy *string `type:"string"`

    // Amazon Resource Name (ARN) of the resource.
    ResourceArn *string `type:"string"`

    // ID of the AWS account that owns the resource.
    ResourceOwnerId *string `type:"string"`

    // Resource type.
    ResourceType *string `type:"string" enum:"ResourceType"`
    // contains filtered or unexported fields
}

Describes the failure of a license operation.

func (LicenseOperationFailure) GoString Uses

func (s LicenseOperationFailure) GoString() string

GoString returns the string representation

func (*LicenseOperationFailure) SetErrorMessage Uses

func (s *LicenseOperationFailure) SetErrorMessage(v string) *LicenseOperationFailure

SetErrorMessage sets the ErrorMessage field's value.

func (*LicenseOperationFailure) SetFailureTime Uses

func (s *LicenseOperationFailure) SetFailureTime(v time.Time) *LicenseOperationFailure

SetFailureTime sets the FailureTime field's value.

func (*LicenseOperationFailure) SetMetadataList Uses

func (s *LicenseOperationFailure) SetMetadataList(v []*Metadata) *LicenseOperationFailure

SetMetadataList sets the MetadataList field's value.

func (*LicenseOperationFailure) SetOperationName Uses

func (s *LicenseOperationFailure) SetOperationName(v string) *LicenseOperationFailure

SetOperationName sets the OperationName field's value.

func (*LicenseOperationFailure) SetOperationRequestedBy Uses

func (s *LicenseOperationFailure) SetOperationRequestedBy(v string) *LicenseOperationFailure

SetOperationRequestedBy sets the OperationRequestedBy field's value.

func (*LicenseOperationFailure) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*LicenseOperationFailure) SetResourceOwnerId Uses

func (s *LicenseOperationFailure) SetResourceOwnerId(v string) *LicenseOperationFailure

SetResourceOwnerId sets the ResourceOwnerId field's value.

func (*LicenseOperationFailure) SetResourceType Uses

func (s *LicenseOperationFailure) SetResourceType(v string) *LicenseOperationFailure

SetResourceType sets the ResourceType field's value.

func (LicenseOperationFailure) String Uses

func (s LicenseOperationFailure) String() string

String returns the string representation

type LicenseSpecification Uses

type LicenseSpecification struct {

    // Amazon Resource Name (ARN) of the license configuration.
    //
    // LicenseConfigurationArn is a required field
    LicenseConfigurationArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Details for associating a license configuration with a resource.

func (LicenseSpecification) GoString Uses

func (s LicenseSpecification) GoString() string

GoString returns the string representation

func (*LicenseSpecification) SetLicenseConfigurationArn Uses

func (s *LicenseSpecification) SetLicenseConfigurationArn(v string) *LicenseSpecification

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (LicenseSpecification) String Uses

func (s LicenseSpecification) String() string

String returns the string representation

func (*LicenseSpecification) Validate Uses

func (s *LicenseSpecification) Validate() error

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

type LicenseUsageException Uses

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

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

You do not have enough licenses available to support a new resource launch.

func (*LicenseUsageException) Code Uses

func (s *LicenseUsageException) Code() string

Code returns the exception type name.

func (*LicenseUsageException) Error Uses

func (s *LicenseUsageException) Error() string

func (LicenseUsageException) GoString Uses

func (s LicenseUsageException) GoString() string

GoString returns the string representation

func (*LicenseUsageException) Message Uses

func (s *LicenseUsageException) Message() string

Message returns the exception's message.

func (*LicenseUsageException) OrigErr Uses

func (s *LicenseUsageException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LicenseUsageException) RequestID Uses

func (s *LicenseUsageException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LicenseUsageException) StatusCode Uses

func (s *LicenseUsageException) StatusCode() int

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

func (LicenseUsageException) String Uses

func (s LicenseUsageException) String() string

String returns the string representation

type ListAssociationsForLicenseConfigurationInput Uses

type ListAssociationsForLicenseConfigurationInput struct {

    // Amazon Resource Name (ARN) of a license configuration.
    //
    // LicenseConfigurationArn is a required field
    LicenseConfigurationArn *string `type:"string" required:"true"`

    // Maximum number of results to return in a single call.
    MaxResults *int64 `type:"integer"`

    // Token for the next set of results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListAssociationsForLicenseConfigurationInput) GoString Uses

func (s ListAssociationsForLicenseConfigurationInput) GoString() string

GoString returns the string representation

func (*ListAssociationsForLicenseConfigurationInput) SetLicenseConfigurationArn Uses

func (s *ListAssociationsForLicenseConfigurationInput) SetLicenseConfigurationArn(v string) *ListAssociationsForLicenseConfigurationInput

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*ListAssociationsForLicenseConfigurationInput) SetMaxResults Uses

func (s *ListAssociationsForLicenseConfigurationInput) SetMaxResults(v int64) *ListAssociationsForLicenseConfigurationInput

SetMaxResults sets the MaxResults field's value.

func (*ListAssociationsForLicenseConfigurationInput) SetNextToken Uses

func (s *ListAssociationsForLicenseConfigurationInput) SetNextToken(v string) *ListAssociationsForLicenseConfigurationInput

SetNextToken sets the NextToken field's value.

func (ListAssociationsForLicenseConfigurationInput) String Uses

func (s ListAssociationsForLicenseConfigurationInput) String() string

String returns the string representation

func (*ListAssociationsForLicenseConfigurationInput) Validate Uses

func (s *ListAssociationsForLicenseConfigurationInput) Validate() error

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

type ListAssociationsForLicenseConfigurationOutput Uses

type ListAssociationsForLicenseConfigurationOutput struct {

    // Information about the associations for the license configuration.
    LicenseConfigurationAssociations []*LicenseConfigurationAssociation `type:"list"`

    // Token for the next set of results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListAssociationsForLicenseConfigurationOutput) GoString Uses

func (s ListAssociationsForLicenseConfigurationOutput) GoString() string

GoString returns the string representation

func (*ListAssociationsForLicenseConfigurationOutput) SetLicenseConfigurationAssociations Uses

func (s *ListAssociationsForLicenseConfigurationOutput) SetLicenseConfigurationAssociations(v []*LicenseConfigurationAssociation) *ListAssociationsForLicenseConfigurationOutput

SetLicenseConfigurationAssociations sets the LicenseConfigurationAssociations field's value.

func (*ListAssociationsForLicenseConfigurationOutput) SetNextToken Uses

func (s *ListAssociationsForLicenseConfigurationOutput) SetNextToken(v string) *ListAssociationsForLicenseConfigurationOutput

SetNextToken sets the NextToken field's value.

func (ListAssociationsForLicenseConfigurationOutput) String Uses

func (s ListAssociationsForLicenseConfigurationOutput) String() string

String returns the string representation

type ListFailuresForLicenseConfigurationOperationsInput Uses

type ListFailuresForLicenseConfigurationOperationsInput struct {

    // Amazon Resource Name of the license configuration.
    //
    // LicenseConfigurationArn is a required field
    LicenseConfigurationArn *string `type:"string" required:"true"`

    // Maximum number of results to return in a single call.
    MaxResults *int64 `type:"integer"`

    // Token for the next set of results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListFailuresForLicenseConfigurationOperationsInput) GoString Uses

func (s ListFailuresForLicenseConfigurationOperationsInput) GoString() string

GoString returns the string representation

func (*ListFailuresForLicenseConfigurationOperationsInput) SetLicenseConfigurationArn Uses

func (s *ListFailuresForLicenseConfigurationOperationsInput) SetLicenseConfigurationArn(v string) *ListFailuresForLicenseConfigurationOperationsInput

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*ListFailuresForLicenseConfigurationOperationsInput) SetMaxResults Uses

func (s *ListFailuresForLicenseConfigurationOperationsInput) SetMaxResults(v int64) *ListFailuresForLicenseConfigurationOperationsInput

SetMaxResults sets the MaxResults field's value.

func (*ListFailuresForLicenseConfigurationOperationsInput) SetNextToken Uses

func (s *ListFailuresForLicenseConfigurationOperationsInput) SetNextToken(v string) *ListFailuresForLicenseConfigurationOperationsInput

SetNextToken sets the NextToken field's value.

func (ListFailuresForLicenseConfigurationOperationsInput) String Uses

func (s ListFailuresForLicenseConfigurationOperationsInput) String() string

String returns the string representation

func (*ListFailuresForLicenseConfigurationOperationsInput) Validate Uses

func (s *ListFailuresForLicenseConfigurationOperationsInput) Validate() error

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

type ListFailuresForLicenseConfigurationOperationsOutput Uses

type ListFailuresForLicenseConfigurationOperationsOutput struct {

    // License configuration operations that failed.
    LicenseOperationFailureList []*LicenseOperationFailure `type:"list"`

    // Token for the next set of results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListFailuresForLicenseConfigurationOperationsOutput) GoString Uses

func (s ListFailuresForLicenseConfigurationOperationsOutput) GoString() string

GoString returns the string representation

func (*ListFailuresForLicenseConfigurationOperationsOutput) SetLicenseOperationFailureList Uses

func (s *ListFailuresForLicenseConfigurationOperationsOutput) SetLicenseOperationFailureList(v []*LicenseOperationFailure) *ListFailuresForLicenseConfigurationOperationsOutput

SetLicenseOperationFailureList sets the LicenseOperationFailureList field's value.

func (*ListFailuresForLicenseConfigurationOperationsOutput) SetNextToken Uses

func (s *ListFailuresForLicenseConfigurationOperationsOutput) SetNextToken(v string) *ListFailuresForLicenseConfigurationOperationsOutput

SetNextToken sets the NextToken field's value.

func (ListFailuresForLicenseConfigurationOperationsOutput) String Uses

func (s ListFailuresForLicenseConfigurationOperationsOutput) String() string

String returns the string representation

type ListLicenseConfigurationsInput Uses

type ListLicenseConfigurationsInput struct {

    // Filters to scope the results. The following filters and logical operators
    // are supported:
    //
    //    * licenseCountingType - The dimension on which licenses are counted (vCPU).
    //    Logical operators are EQUALS | NOT_EQUALS.
    //
    //    * enforceLicenseCount - A Boolean value that indicates whether hard license
    //    enforcement is used. Logical operators are EQUALS | NOT_EQUALS.
    //
    //    * usagelimitExceeded - A Boolean value that indicates whether the available
    //    licenses have been exceeded. Logical operators are EQUALS | NOT_EQUALS.
    Filters []*Filter `type:"list"`

    // Amazon Resource Names (ARN) of the license configurations.
    LicenseConfigurationArns []*string `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 `type:"string"`
    // contains filtered or unexported fields
}

func (ListLicenseConfigurationsInput) GoString Uses

func (s ListLicenseConfigurationsInput) GoString() string

GoString returns the string representation

func (*ListLicenseConfigurationsInput) SetFilters Uses

func (s *ListLicenseConfigurationsInput) SetFilters(v []*Filter) *ListLicenseConfigurationsInput

SetFilters sets the Filters field's value.

func (*ListLicenseConfigurationsInput) SetLicenseConfigurationArns Uses

func (s *ListLicenseConfigurationsInput) SetLicenseConfigurationArns(v []*string) *ListLicenseConfigurationsInput

SetLicenseConfigurationArns sets the LicenseConfigurationArns field's value.

func (*ListLicenseConfigurationsInput) SetMaxResults Uses

func (s *ListLicenseConfigurationsInput) SetMaxResults(v int64) *ListLicenseConfigurationsInput

SetMaxResults sets the MaxResults field's value.

func (*ListLicenseConfigurationsInput) SetNextToken Uses

func (s *ListLicenseConfigurationsInput) SetNextToken(v string) *ListLicenseConfigurationsInput

SetNextToken sets the NextToken field's value.

func (ListLicenseConfigurationsInput) String Uses

func (s ListLicenseConfigurationsInput) String() string

String returns the string representation

type ListLicenseConfigurationsOutput Uses

type ListLicenseConfigurationsOutput struct {

    // Information about the license configurations.
    LicenseConfigurations []*LicenseConfiguration `type:"list"`

    // Token for the next set of results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListLicenseConfigurationsOutput) GoString Uses

func (s ListLicenseConfigurationsOutput) GoString() string

GoString returns the string representation

func (*ListLicenseConfigurationsOutput) SetLicenseConfigurations Uses

func (s *ListLicenseConfigurationsOutput) SetLicenseConfigurations(v []*LicenseConfiguration) *ListLicenseConfigurationsOutput

SetLicenseConfigurations sets the LicenseConfigurations field's value.

func (*ListLicenseConfigurationsOutput) SetNextToken Uses

func (s *ListLicenseConfigurationsOutput) SetNextToken(v string) *ListLicenseConfigurationsOutput

SetNextToken sets the NextToken field's value.

func (ListLicenseConfigurationsOutput) String Uses

func (s ListLicenseConfigurationsOutput) String() string

String returns the string representation

type ListLicenseSpecificationsForResourceInput Uses

type ListLicenseSpecificationsForResourceInput struct {

    // Maximum number of results to return in a single call.
    MaxResults *int64 `type:"integer"`

    // Token for the next set of results.
    NextToken *string `type:"string"`

    // Amazon Resource Name (ARN) of a resource that has an associated license configuration.
    //
    // ResourceArn is a required field
    ResourceArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListLicenseSpecificationsForResourceInput) GoString Uses

func (s ListLicenseSpecificationsForResourceInput) GoString() string

GoString returns the string representation

func (*ListLicenseSpecificationsForResourceInput) SetMaxResults Uses

func (s *ListLicenseSpecificationsForResourceInput) SetMaxResults(v int64) *ListLicenseSpecificationsForResourceInput

SetMaxResults sets the MaxResults field's value.

func (*ListLicenseSpecificationsForResourceInput) SetNextToken Uses

func (s *ListLicenseSpecificationsForResourceInput) SetNextToken(v string) *ListLicenseSpecificationsForResourceInput

SetNextToken sets the NextToken field's value.

func (*ListLicenseSpecificationsForResourceInput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (ListLicenseSpecificationsForResourceInput) String Uses

func (s ListLicenseSpecificationsForResourceInput) String() string

String returns the string representation

func (*ListLicenseSpecificationsForResourceInput) Validate Uses

func (s *ListLicenseSpecificationsForResourceInput) Validate() error

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

type ListLicenseSpecificationsForResourceOutput Uses

type ListLicenseSpecificationsForResourceOutput struct {

    // License configurations associated with a resource.
    LicenseSpecifications []*LicenseSpecification `type:"list"`

    // Token for the next set of results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListLicenseSpecificationsForResourceOutput) GoString Uses

func (s ListLicenseSpecificationsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListLicenseSpecificationsForResourceOutput) SetLicenseSpecifications Uses

func (s *ListLicenseSpecificationsForResourceOutput) SetLicenseSpecifications(v []*LicenseSpecification) *ListLicenseSpecificationsForResourceOutput

SetLicenseSpecifications sets the LicenseSpecifications field's value.

func (*ListLicenseSpecificationsForResourceOutput) SetNextToken Uses

func (s *ListLicenseSpecificationsForResourceOutput) SetNextToken(v string) *ListLicenseSpecificationsForResourceOutput

SetNextToken sets the NextToken field's value.

func (ListLicenseSpecificationsForResourceOutput) String Uses

func (s ListLicenseSpecificationsForResourceOutput) String() string

String returns the string representation

type ListResourceInventoryInput Uses

type ListResourceInventoryInput struct {

    // Filters to scope the results. The following filters and logical operators
    // are supported:
    //
    //    * account_id - The ID of the AWS account that owns the resource. Logical
    //    operators are EQUALS | NOT_EQUALS.
    //
    //    * application_name - The name of the application. Logical operators are
    //    EQUALS | BEGINS_WITH.
    //
    //    * license_included - The type of license included. Logical operators are
    //    EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard
    //    | sql-server-web | windows-server-datacenter.
    //
    //    * platform - The platform of the resource. Logical operators are EQUALS
    //    | BEGINS_WITH.
    //
    //    * resource_id - The ID of the resource. Logical operators are EQUALS |
    //    NOT_EQUALS.
    Filters []*InventoryFilter `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 `type:"string"`
    // contains filtered or unexported fields
}

func (ListResourceInventoryInput) GoString Uses

func (s ListResourceInventoryInput) GoString() string

GoString returns the string representation

func (*ListResourceInventoryInput) SetFilters Uses

func (s *ListResourceInventoryInput) SetFilters(v []*InventoryFilter) *ListResourceInventoryInput

SetFilters sets the Filters field's value.

func (*ListResourceInventoryInput) SetMaxResults Uses

func (s *ListResourceInventoryInput) SetMaxResults(v int64) *ListResourceInventoryInput

SetMaxResults sets the MaxResults field's value.

func (*ListResourceInventoryInput) SetNextToken Uses

func (s *ListResourceInventoryInput) SetNextToken(v string) *ListResourceInventoryInput

SetNextToken sets the NextToken field's value.

func (ListResourceInventoryInput) String Uses

func (s ListResourceInventoryInput) String() string

String returns the string representation

func (*ListResourceInventoryInput) Validate Uses

func (s *ListResourceInventoryInput) Validate() error

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

type ListResourceInventoryOutput Uses

type ListResourceInventoryOutput struct {

    // Token for the next set of results.
    NextToken *string `type:"string"`

    // Information about the resources.
    ResourceInventoryList []*ResourceInventory `type:"list"`
    // contains filtered or unexported fields
}

func (ListResourceInventoryOutput) GoString Uses

func (s ListResourceInventoryOutput) GoString() string

GoString returns the string representation

func (*ListResourceInventoryOutput) SetNextToken Uses

func (s *ListResourceInventoryOutput) SetNextToken(v string) *ListResourceInventoryOutput

SetNextToken sets the NextToken field's value.

func (*ListResourceInventoryOutput) SetResourceInventoryList Uses

func (s *ListResourceInventoryOutput) SetResourceInventoryList(v []*ResourceInventory) *ListResourceInventoryOutput

SetResourceInventoryList sets the ResourceInventoryList field's value.

func (ListResourceInventoryOutput) String Uses

func (s ListResourceInventoryOutput) String() string

String returns the string representation

type ListTagsForResourceInput Uses

type ListTagsForResourceInput struct {

    // Amazon Resource Name (ARN) of the license configuration.
    //
    // ResourceArn is a required field
    ResourceArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString Uses

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String Uses

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate Uses

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput Uses

type ListTagsForResourceOutput struct {

    // Information about the tags.
    Tags []*Tag `type:"list"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString Uses

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags Uses

func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String Uses

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListUsageForLicenseConfigurationInput Uses

type ListUsageForLicenseConfigurationInput struct {

    // Filters to scope the results. The following filters and logical operators
    // are supported:
    //
    //    * resourceArn - The ARN of the license configuration resource. Logical
    //    operators are EQUALS | NOT_EQUALS.
    //
    //    * resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI
    //    | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.
    //
    //    * resourceAccount - The ID of the account that owns the resource. Logical
    //    operators are EQUALS | NOT_EQUALS.
    Filters []*Filter `type:"list"`

    // Amazon Resource Name (ARN) of the license configuration.
    //
    // LicenseConfigurationArn is a required field
    LicenseConfigurationArn *string `type:"string" required:"true"`

    // Maximum number of results to return in a single call.
    MaxResults *int64 `type:"integer"`

    // Token for the next set of results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListUsageForLicenseConfigurationInput) GoString Uses

func (s ListUsageForLicenseConfigurationInput) GoString() string

GoString returns the string representation

func (*ListUsageForLicenseConfigurationInput) SetFilters Uses

func (s *ListUsageForLicenseConfigurationInput) SetFilters(v []*Filter) *ListUsageForLicenseConfigurationInput

SetFilters sets the Filters field's value.

func (*ListUsageForLicenseConfigurationInput) SetLicenseConfigurationArn Uses

func (s *ListUsageForLicenseConfigurationInput) SetLicenseConfigurationArn(v string) *ListUsageForLicenseConfigurationInput

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*ListUsageForLicenseConfigurationInput) SetMaxResults Uses

func (s *ListUsageForLicenseConfigurationInput) SetMaxResults(v int64) *ListUsageForLicenseConfigurationInput

SetMaxResults sets the MaxResults field's value.

func (*ListUsageForLicenseConfigurationInput) SetNextToken Uses

func (s *ListUsageForLicenseConfigurationInput) SetNextToken(v string) *ListUsageForLicenseConfigurationInput

SetNextToken sets the NextToken field's value.

func (ListUsageForLicenseConfigurationInput) String Uses

func (s ListUsageForLicenseConfigurationInput) String() string

String returns the string representation

func (*ListUsageForLicenseConfigurationInput) Validate Uses

func (s *ListUsageForLicenseConfigurationInput) Validate() error

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

type ListUsageForLicenseConfigurationOutput Uses

type ListUsageForLicenseConfigurationOutput struct {

    // Information about the license configurations.
    LicenseConfigurationUsageList []*LicenseConfigurationUsage `type:"list"`

    // Token for the next set of results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListUsageForLicenseConfigurationOutput) GoString Uses

func (s ListUsageForLicenseConfigurationOutput) GoString() string

GoString returns the string representation

func (*ListUsageForLicenseConfigurationOutput) SetLicenseConfigurationUsageList Uses

func (s *ListUsageForLicenseConfigurationOutput) SetLicenseConfigurationUsageList(v []*LicenseConfigurationUsage) *ListUsageForLicenseConfigurationOutput

SetLicenseConfigurationUsageList sets the LicenseConfigurationUsageList field's value.

func (*ListUsageForLicenseConfigurationOutput) SetNextToken Uses

func (s *ListUsageForLicenseConfigurationOutput) SetNextToken(v string) *ListUsageForLicenseConfigurationOutput

SetNextToken sets the NextToken field's value.

func (ListUsageForLicenseConfigurationOutput) String Uses

func (s ListUsageForLicenseConfigurationOutput) String() string

String returns the string representation

type ManagedResourceSummary Uses

type ManagedResourceSummary struct {

    // Number of resources associated with licenses.
    AssociationCount *int64 `type:"long"`

    // Type of resource associated with a license.
    ResourceType *string `type:"string" enum:"ResourceType"`
    // contains filtered or unexported fields
}

Summary information about a managed resource.

func (ManagedResourceSummary) GoString Uses

func (s ManagedResourceSummary) GoString() string

GoString returns the string representation

func (*ManagedResourceSummary) SetAssociationCount Uses

func (s *ManagedResourceSummary) SetAssociationCount(v int64) *ManagedResourceSummary

SetAssociationCount sets the AssociationCount field's value.

func (*ManagedResourceSummary) SetResourceType Uses

func (s *ManagedResourceSummary) SetResourceType(v string) *ManagedResourceSummary

SetResourceType sets the ResourceType field's value.

func (ManagedResourceSummary) String Uses

func (s ManagedResourceSummary) String() string

String returns the string representation

type Metadata Uses

type Metadata struct {

    // Reserved.
    Name *string `type:"string"`

    // Reserved.
    Value *string `type:"string"`
    // contains filtered or unexported fields
}

Reserved.

func (Metadata) GoString Uses

func (s Metadata) GoString() string

GoString returns the string representation

func (*Metadata) SetName Uses

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

SetName sets the Name field's value.

func (*Metadata) SetValue Uses

func (s *Metadata) SetValue(v string) *Metadata

SetValue sets the Value field's value.

func (Metadata) String Uses

func (s Metadata) String() string

String returns the string representation

type OrganizationConfiguration Uses

type OrganizationConfiguration struct {

    // Enables AWS Organization integration.
    //
    // EnableIntegration is a required field
    EnableIntegration *bool `type:"boolean" required:"true"`
    // contains filtered or unexported fields
}

Configuration information for AWS Organizations.

func (OrganizationConfiguration) GoString Uses

func (s OrganizationConfiguration) GoString() string

GoString returns the string representation

func (*OrganizationConfiguration) SetEnableIntegration Uses

func (s *OrganizationConfiguration) SetEnableIntegration(v bool) *OrganizationConfiguration

SetEnableIntegration sets the EnableIntegration field's value.

func (OrganizationConfiguration) String Uses

func (s OrganizationConfiguration) String() string

String returns the string representation

func (*OrganizationConfiguration) Validate Uses

func (s *OrganizationConfiguration) Validate() error

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

type ProductInformation Uses

type ProductInformation struct {

    // Product information filters. The following filters and logical operators
    // are supported:
    //
    //    * Application Name - The name of the application. Logical operator is
    //    EQUALS.
    //
    //    * Application Publisher - The publisher of the application. Logical operator
    //    is EQUALS.
    //
    //    * Application Version - The version of the application. Logical operator
    //    is EQUALS.
    //
    //    * Platform Name - The name of the platform. Logical operator is EQUALS.
    //
    //    * Platform Type - The platform type. Logical operator is EQUALS.
    //
    //    * License Included - The type of license included. Logical operators are
    //    EQUALS and NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard
    //    | sql-server-web | windows-server-datacenter.
    //
    // ProductInformationFilterList is a required field
    ProductInformationFilterList []*ProductInformationFilter `type:"list" required:"true"`

    // Resource type. The value is SSM_MANAGED.
    //
    // ResourceType is a required field
    ResourceType *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Describes product information for a license configuration.

func (ProductInformation) GoString Uses

func (s ProductInformation) GoString() string

GoString returns the string representation

func (*ProductInformation) SetProductInformationFilterList Uses

func (s *ProductInformation) SetProductInformationFilterList(v []*ProductInformationFilter) *ProductInformation

SetProductInformationFilterList sets the ProductInformationFilterList field's value.

func (*ProductInformation) SetResourceType Uses

func (s *ProductInformation) SetResourceType(v string) *ProductInformation

SetResourceType sets the ResourceType field's value.

func (ProductInformation) String Uses

func (s ProductInformation) String() string

String returns the string representation

func (*ProductInformation) Validate Uses

func (s *ProductInformation) Validate() error

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

type ProductInformationFilter Uses

type ProductInformationFilter struct {

    // Logical operator.
    //
    // ProductInformationFilterComparator is a required field
    ProductInformationFilterComparator *string `type:"string" required:"true"`

    // Filter name.
    //
    // ProductInformationFilterName is a required field
    ProductInformationFilterName *string `type:"string" required:"true"`

    // Filter value.
    //
    // ProductInformationFilterValue is a required field
    ProductInformationFilterValue []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Describes product information filters.

func (ProductInformationFilter) GoString Uses

func (s ProductInformationFilter) GoString() string

GoString returns the string representation

func (*ProductInformationFilter) SetProductInformationFilterComparator Uses

func (s *ProductInformationFilter) SetProductInformationFilterComparator(v string) *ProductInformationFilter

SetProductInformationFilterComparator sets the ProductInformationFilterComparator field's value.

func (*ProductInformationFilter) SetProductInformationFilterName Uses

func (s *ProductInformationFilter) SetProductInformationFilterName(v string) *ProductInformationFilter

SetProductInformationFilterName sets the ProductInformationFilterName field's value.

func (*ProductInformationFilter) SetProductInformationFilterValue Uses

func (s *ProductInformationFilter) SetProductInformationFilterValue(v []*string) *ProductInformationFilter

SetProductInformationFilterValue sets the ProductInformationFilterValue field's value.

func (ProductInformationFilter) String Uses

func (s ProductInformationFilter) String() string

String returns the string representation

func (*ProductInformationFilter) Validate Uses

func (s *ProductInformationFilter) Validate() error

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

type RateLimitExceededException Uses

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

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

Too many requests have been submitted. Try again after a brief wait.

func (*RateLimitExceededException) Code Uses

func (s *RateLimitExceededException) Code() string

Code returns the exception type name.

func (*RateLimitExceededException) Error Uses

func (s *RateLimitExceededException) Error() string

func (RateLimitExceededException) GoString Uses

func (s RateLimitExceededException) GoString() string

GoString returns the string representation

func (*RateLimitExceededException) Message Uses

func (s *RateLimitExceededException) Message() string

Message returns the exception's message.

func (*RateLimitExceededException) OrigErr Uses

func (s *RateLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RateLimitExceededException) RequestID Uses

func (s *RateLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RateLimitExceededException) StatusCode Uses

func (s *RateLimitExceededException) StatusCode() int

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

func (RateLimitExceededException) String Uses

func (s RateLimitExceededException) String() string

String returns the string representation

type ResourceInventory Uses

type ResourceInventory struct {

    // Platform of the resource.
    Platform *string `type:"string"`

    // Platform version of the resource in the inventory.
    PlatformVersion *string `type:"string"`

    // Amazon Resource Name (ARN) of the resource.
    ResourceArn *string `type:"string"`

    // ID of the resource.
    ResourceId *string `type:"string"`

    // ID of the account that owns the resource.
    ResourceOwningAccountId *string `type:"string"`

    // Type of resource.
    ResourceType *string `type:"string" enum:"ResourceType"`
    // contains filtered or unexported fields
}

Details about a resource.

func (ResourceInventory) GoString Uses

func (s ResourceInventory) GoString() string

GoString returns the string representation

func (*ResourceInventory) SetPlatform Uses

func (s *ResourceInventory) SetPlatform(v string) *ResourceInventory

SetPlatform sets the Platform field's value.

func (*ResourceInventory) SetPlatformVersion Uses

func (s *ResourceInventory) SetPlatformVersion(v string) *ResourceInventory

SetPlatformVersion sets the PlatformVersion field's value.

func (*ResourceInventory) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*ResourceInventory) SetResourceId Uses

func (s *ResourceInventory) SetResourceId(v string) *ResourceInventory

SetResourceId sets the ResourceId field's value.

func (*ResourceInventory) SetResourceOwningAccountId Uses

func (s *ResourceInventory) SetResourceOwningAccountId(v string) *ResourceInventory

SetResourceOwningAccountId sets the ResourceOwningAccountId field's value.

func (*ResourceInventory) SetResourceType Uses

func (s *ResourceInventory) SetResourceType(v string) *ResourceInventory

SetResourceType sets the ResourceType field's value.

func (ResourceInventory) String Uses

func (s ResourceInventory) String() string

String returns the string representation

type ResourceLimitExceededException Uses

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

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

Your resource limits have been exceeded.

func (*ResourceLimitExceededException) Code Uses

func (s *ResourceLimitExceededException) Code() string

Code returns the exception type name.

func (*ResourceLimitExceededException) Error Uses

func (s *ResourceLimitExceededException) Error() string

func (ResourceLimitExceededException) GoString Uses

func (s ResourceLimitExceededException) GoString() string

GoString returns the string representation

func (*ResourceLimitExceededException) Message Uses

func (s *ResourceLimitExceededException) Message() string

Message returns the exception's message.

func (*ResourceLimitExceededException) OrigErr Uses

func (s *ResourceLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceLimitExceededException) RequestID Uses

func (s *ResourceLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceLimitExceededException) StatusCode Uses

func (s *ResourceLimitExceededException) StatusCode() int

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

func (ResourceLimitExceededException) String Uses

func (s ResourceLimitExceededException) String() string

String returns the string representation

type ServerInternalException Uses

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

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

The server experienced an internal error. Try again.

func (*ServerInternalException) Code Uses

func (s *ServerInternalException) Code() string

Code returns the exception type name.

func (*ServerInternalException) Error Uses

func (s *ServerInternalException) Error() string

func (ServerInternalException) GoString Uses

func (s ServerInternalException) GoString() string

GoString returns the string representation

func (*ServerInternalException) Message Uses

func (s *ServerInternalException) Message() string

Message returns the exception's message.

func (*ServerInternalException) OrigErr Uses

func (s *ServerInternalException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServerInternalException) RequestID Uses

func (s *ServerInternalException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServerInternalException) StatusCode Uses

func (s *ServerInternalException) StatusCode() int

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

func (ServerInternalException) String Uses

func (s ServerInternalException) String() string

String returns the string representation

type Tag Uses

type Tag struct {

    // Tag key.
    Key *string `type:"string"`

    // Tag value.
    Value *string `type:"string"`
    // contains filtered or unexported fields
}

Details about a tag for a license configuration.

func (Tag) GoString Uses

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey Uses

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue Uses

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String Uses

func (s Tag) String() string

String returns the string representation

type TagResourceInput Uses

type TagResourceInput struct {

    // Amazon Resource Name (ARN) of the license configuration.
    //
    // ResourceArn is a required field
    ResourceArn *string `type:"string" required:"true"`

    // One or more tags.
    //
    // Tags is a required field
    Tags []*Tag `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (TagResourceInput) GoString Uses

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags Uses

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String Uses

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate Uses

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput Uses

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

func (TagResourceOutput) GoString Uses

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String Uses

func (s TagResourceOutput) String() string

String returns the string representation

type UntagResourceInput Uses

type UntagResourceInput struct {

    // Amazon Resource Name (ARN) of the license configuration.
    //
    // ResourceArn is a required field
    ResourceArn *string `type:"string" required:"true"`

    // Keys identifying the tags to remove.
    //
    // TagKeys is a required field
    TagKeys []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (UntagResourceInput) GoString Uses

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys Uses

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

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String Uses

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate Uses

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput Uses

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

func (UntagResourceOutput) GoString Uses

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String Uses

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateLicenseConfigurationInput Uses

type UpdateLicenseConfigurationInput struct {

    // New description of the license configuration.
    Description *string `type:"string"`

    // Amazon Resource Name (ARN) of the license configuration.
    //
    // LicenseConfigurationArn is a required field
    LicenseConfigurationArn *string `type:"string" required:"true"`

    // New status of the license configuration.
    LicenseConfigurationStatus *string `type:"string" enum:"LicenseConfigurationStatus"`

    // New number of licenses managed by the license configuration.
    LicenseCount *int64 `type:"long"`

    // New hard limit of the number of available licenses.
    LicenseCountHardLimit *bool `type:"boolean"`

    // New license rules.
    LicenseRules []*string `type:"list"`

    // New name of the license configuration.
    Name *string `type:"string"`

    // New product information.
    ProductInformationList []*ProductInformation `type:"list"`
    // contains filtered or unexported fields
}

func (UpdateLicenseConfigurationInput) GoString Uses

func (s UpdateLicenseConfigurationInput) GoString() string

GoString returns the string representation

func (*UpdateLicenseConfigurationInput) SetDescription Uses

func (s *UpdateLicenseConfigurationInput) SetDescription(v string) *UpdateLicenseConfigurationInput

SetDescription sets the Description field's value.

func (*UpdateLicenseConfigurationInput) SetLicenseConfigurationArn Uses

func (s *UpdateLicenseConfigurationInput) SetLicenseConfigurationArn(v string) *UpdateLicenseConfigurationInput

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*UpdateLicenseConfigurationInput) SetLicenseConfigurationStatus Uses

func (s *UpdateLicenseConfigurationInput) SetLicenseConfigurationStatus(v string) *UpdateLicenseConfigurationInput

SetLicenseConfigurationStatus sets the LicenseConfigurationStatus field's value.

func (*UpdateLicenseConfigurationInput) SetLicenseCount Uses

func (s *UpdateLicenseConfigurationInput) SetLicenseCount(v int64) *UpdateLicenseConfigurationInput

SetLicenseCount sets the LicenseCount field's value.

func (*UpdateLicenseConfigurationInput) SetLicenseCountHardLimit Uses

func (s *UpdateLicenseConfigurationInput) SetLicenseCountHardLimit(v bool) *UpdateLicenseConfigurationInput

SetLicenseCountHardLimit sets the LicenseCountHardLimit field's value.

func (*UpdateLicenseConfigurationInput) SetLicenseRules Uses

func (s *UpdateLicenseConfigurationInput) SetLicenseRules(v []*string) *UpdateLicenseConfigurationInput

SetLicenseRules sets the LicenseRules field's value.

func (*UpdateLicenseConfigurationInput) SetName Uses

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

SetName sets the Name field's value.

func (*UpdateLicenseConfigurationInput) SetProductInformationList Uses

func (s *UpdateLicenseConfigurationInput) SetProductInformationList(v []*ProductInformation) *UpdateLicenseConfigurationInput

SetProductInformationList sets the ProductInformationList field's value.

func (UpdateLicenseConfigurationInput) String Uses

func (s UpdateLicenseConfigurationInput) String() string

String returns the string representation

func (*UpdateLicenseConfigurationInput) Validate Uses

func (s *UpdateLicenseConfigurationInput) Validate() error

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

type UpdateLicenseConfigurationOutput Uses

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

func (UpdateLicenseConfigurationOutput) GoString Uses

func (s UpdateLicenseConfigurationOutput) GoString() string

GoString returns the string representation

func (UpdateLicenseConfigurationOutput) String Uses

func (s UpdateLicenseConfigurationOutput) String() string

String returns the string representation

type UpdateLicenseSpecificationsForResourceInput Uses

type UpdateLicenseSpecificationsForResourceInput struct {

    // ARNs of the license configurations to add.
    AddLicenseSpecifications []*LicenseSpecification `type:"list"`

    // ARNs of the license configurations to remove.
    RemoveLicenseSpecifications []*LicenseSpecification `type:"list"`

    // Amazon Resource Name (ARN) of the AWS resource.
    //
    // ResourceArn is a required field
    ResourceArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateLicenseSpecificationsForResourceInput) GoString Uses

func (s UpdateLicenseSpecificationsForResourceInput) GoString() string

GoString returns the string representation

func (*UpdateLicenseSpecificationsForResourceInput) SetAddLicenseSpecifications Uses

func (s *UpdateLicenseSpecificationsForResourceInput) SetAddLicenseSpecifications(v []*LicenseSpecification) *UpdateLicenseSpecificationsForResourceInput

SetAddLicenseSpecifications sets the AddLicenseSpecifications field's value.

func (*UpdateLicenseSpecificationsForResourceInput) SetRemoveLicenseSpecifications Uses

func (s *UpdateLicenseSpecificationsForResourceInput) SetRemoveLicenseSpecifications(v []*LicenseSpecification) *UpdateLicenseSpecificationsForResourceInput

SetRemoveLicenseSpecifications sets the RemoveLicenseSpecifications field's value.

func (*UpdateLicenseSpecificationsForResourceInput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (UpdateLicenseSpecificationsForResourceInput) String Uses

func (s UpdateLicenseSpecificationsForResourceInput) String() string

String returns the string representation

func (*UpdateLicenseSpecificationsForResourceInput) Validate Uses

func (s *UpdateLicenseSpecificationsForResourceInput) Validate() error

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

type UpdateLicenseSpecificationsForResourceOutput Uses

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

func (UpdateLicenseSpecificationsForResourceOutput) GoString Uses

func (s UpdateLicenseSpecificationsForResourceOutput) GoString() string

GoString returns the string representation

func (UpdateLicenseSpecificationsForResourceOutput) String Uses

func (s UpdateLicenseSpecificationsForResourceOutput) String() string

String returns the string representation

type UpdateServiceSettingsInput Uses

type UpdateServiceSettingsInput struct {

    // Activates cross-account discovery.
    EnableCrossAccountsDiscovery *bool `type:"boolean"`

    // Enables integration with AWS Organizations for cross-account discovery.
    OrganizationConfiguration *OrganizationConfiguration `type:"structure"`

    // Amazon Resource Name (ARN) of the Amazon S3 bucket where the License Manager
    // information is stored.
    S3BucketArn *string `type:"string"`

    // Amazon Resource Name (ARN) of the Amazon SNS topic used for License Manager
    // alerts.
    SnsTopicArn *string `type:"string"`
    // contains filtered or unexported fields
}

func (UpdateServiceSettingsInput) GoString Uses

func (s UpdateServiceSettingsInput) GoString() string

GoString returns the string representation

func (*UpdateServiceSettingsInput) SetEnableCrossAccountsDiscovery Uses

func (s *UpdateServiceSettingsInput) SetEnableCrossAccountsDiscovery(v bool) *UpdateServiceSettingsInput

SetEnableCrossAccountsDiscovery sets the EnableCrossAccountsDiscovery field's value.

func (*UpdateServiceSettingsInput) SetOrganizationConfiguration Uses

func (s *UpdateServiceSettingsInput) SetOrganizationConfiguration(v *OrganizationConfiguration) *UpdateServiceSettingsInput

SetOrganizationConfiguration sets the OrganizationConfiguration field's value.

func (*UpdateServiceSettingsInput) SetS3BucketArn Uses

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

SetS3BucketArn sets the S3BucketArn field's value.

func (*UpdateServiceSettingsInput) SetSnsTopicArn Uses

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

SetSnsTopicArn sets the SnsTopicArn field's value.

func (UpdateServiceSettingsInput) String Uses

func (s UpdateServiceSettingsInput) String() string

String returns the string representation

func (*UpdateServiceSettingsInput) Validate Uses

func (s *UpdateServiceSettingsInput) Validate() error

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

type UpdateServiceSettingsOutput Uses

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

func (UpdateServiceSettingsOutput) GoString Uses

func (s UpdateServiceSettingsOutput) GoString() string

GoString returns the string representation

func (UpdateServiceSettingsOutput) String Uses

func (s UpdateServiceSettingsOutput) String() string

String returns the string representation

Directories

PathSynopsis
licensemanagerifacePackage licensemanageriface provides an interface to enable mocking the AWS License Manager service client for testing your code.

Package licensemanager imports 10 packages (graph) and is imported by 16 packages. Updated 2020-03-31. Refresh now. Tools for package owners.