licensemanager

package
v1.38.22 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 10 Imported by: 42

Documentation

Overview

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

Constants

View Source
const (
	// AllowedOperationCreateGrant is a AllowedOperation enum value
	AllowedOperationCreateGrant = "CreateGrant"

	// AllowedOperationCheckoutLicense is a AllowedOperation enum value
	AllowedOperationCheckoutLicense = "CheckoutLicense"

	// AllowedOperationCheckoutBorrowLicense is a AllowedOperation enum value
	AllowedOperationCheckoutBorrowLicense = "CheckoutBorrowLicense"

	// AllowedOperationCheckInLicense is a AllowedOperation enum value
	AllowedOperationCheckInLicense = "CheckInLicense"

	// AllowedOperationExtendConsumptionLicense is a AllowedOperation enum value
	AllowedOperationExtendConsumptionLicense = "ExtendConsumptionLicense"

	// AllowedOperationListPurchasedLicenses is a AllowedOperation enum value
	AllowedOperationListPurchasedLicenses = "ListPurchasedLicenses"

	// AllowedOperationCreateToken is a AllowedOperation enum value
	AllowedOperationCreateToken = "CreateToken"
)
View Source
const (
	// EntitlementDataUnitCount is a EntitlementDataUnit enum value
	EntitlementDataUnitCount = "Count"

	// EntitlementDataUnitNone is a EntitlementDataUnit enum value
	EntitlementDataUnitNone = "None"

	// EntitlementDataUnitSeconds is a EntitlementDataUnit enum value
	EntitlementDataUnitSeconds = "Seconds"

	// EntitlementDataUnitMicroseconds is a EntitlementDataUnit enum value
	EntitlementDataUnitMicroseconds = "Microseconds"

	// EntitlementDataUnitMilliseconds is a EntitlementDataUnit enum value
	EntitlementDataUnitMilliseconds = "Milliseconds"

	// EntitlementDataUnitBytes is a EntitlementDataUnit enum value
	EntitlementDataUnitBytes = "Bytes"

	// EntitlementDataUnitKilobytes is a EntitlementDataUnit enum value
	EntitlementDataUnitKilobytes = "Kilobytes"

	// EntitlementDataUnitMegabytes is a EntitlementDataUnit enum value
	EntitlementDataUnitMegabytes = "Megabytes"

	// EntitlementDataUnitGigabytes is a EntitlementDataUnit enum value
	EntitlementDataUnitGigabytes = "Gigabytes"

	// EntitlementDataUnitTerabytes is a EntitlementDataUnit enum value
	EntitlementDataUnitTerabytes = "Terabytes"

	// EntitlementDataUnitBits is a EntitlementDataUnit enum value
	EntitlementDataUnitBits = "Bits"

	// EntitlementDataUnitKilobits is a EntitlementDataUnit enum value
	EntitlementDataUnitKilobits = "Kilobits"

	// EntitlementDataUnitMegabits is a EntitlementDataUnit enum value
	EntitlementDataUnitMegabits = "Megabits"

	// EntitlementDataUnitGigabits is a EntitlementDataUnit enum value
	EntitlementDataUnitGigabits = "Gigabits"

	// EntitlementDataUnitTerabits is a EntitlementDataUnit enum value
	EntitlementDataUnitTerabits = "Terabits"

	// EntitlementDataUnitPercent is a EntitlementDataUnit enum value
	EntitlementDataUnitPercent = "Percent"

	// EntitlementDataUnitBytesSecond is a EntitlementDataUnit enum value
	EntitlementDataUnitBytesSecond = "Bytes/Second"

	// EntitlementDataUnitKilobytesSecond is a EntitlementDataUnit enum value
	EntitlementDataUnitKilobytesSecond = "Kilobytes/Second"

	// EntitlementDataUnitMegabytesSecond is a EntitlementDataUnit enum value
	EntitlementDataUnitMegabytesSecond = "Megabytes/Second"

	// EntitlementDataUnitGigabytesSecond is a EntitlementDataUnit enum value
	EntitlementDataUnitGigabytesSecond = "Gigabytes/Second"

	// EntitlementDataUnitTerabytesSecond is a EntitlementDataUnit enum value
	EntitlementDataUnitTerabytesSecond = "Terabytes/Second"

	// EntitlementDataUnitBitsSecond is a EntitlementDataUnit enum value
	EntitlementDataUnitBitsSecond = "Bits/Second"

	// EntitlementDataUnitKilobitsSecond is a EntitlementDataUnit enum value
	EntitlementDataUnitKilobitsSecond = "Kilobits/Second"

	// EntitlementDataUnitMegabitsSecond is a EntitlementDataUnit enum value
	EntitlementDataUnitMegabitsSecond = "Megabits/Second"

	// EntitlementDataUnitGigabitsSecond is a EntitlementDataUnit enum value
	EntitlementDataUnitGigabitsSecond = "Gigabits/Second"

	// EntitlementDataUnitTerabitsSecond is a EntitlementDataUnit enum value
	EntitlementDataUnitTerabitsSecond = "Terabits/Second"

	// EntitlementDataUnitCountSecond is a EntitlementDataUnit enum value
	EntitlementDataUnitCountSecond = "Count/Second"
)
View Source
const (
	// EntitlementUnitCount is a EntitlementUnit enum value
	EntitlementUnitCount = "Count"

	// EntitlementUnitNone is a EntitlementUnit enum value
	EntitlementUnitNone = "None"

	// EntitlementUnitSeconds is a EntitlementUnit enum value
	EntitlementUnitSeconds = "Seconds"

	// EntitlementUnitMicroseconds is a EntitlementUnit enum value
	EntitlementUnitMicroseconds = "Microseconds"

	// EntitlementUnitMilliseconds is a EntitlementUnit enum value
	EntitlementUnitMilliseconds = "Milliseconds"

	// EntitlementUnitBytes is a EntitlementUnit enum value
	EntitlementUnitBytes = "Bytes"

	// EntitlementUnitKilobytes is a EntitlementUnit enum value
	EntitlementUnitKilobytes = "Kilobytes"

	// EntitlementUnitMegabytes is a EntitlementUnit enum value
	EntitlementUnitMegabytes = "Megabytes"

	// EntitlementUnitGigabytes is a EntitlementUnit enum value
	EntitlementUnitGigabytes = "Gigabytes"

	// EntitlementUnitTerabytes is a EntitlementUnit enum value
	EntitlementUnitTerabytes = "Terabytes"

	// EntitlementUnitBits is a EntitlementUnit enum value
	EntitlementUnitBits = "Bits"

	// EntitlementUnitKilobits is a EntitlementUnit enum value
	EntitlementUnitKilobits = "Kilobits"

	// EntitlementUnitMegabits is a EntitlementUnit enum value
	EntitlementUnitMegabits = "Megabits"

	// EntitlementUnitGigabits is a EntitlementUnit enum value
	EntitlementUnitGigabits = "Gigabits"

	// EntitlementUnitTerabits is a EntitlementUnit enum value
	EntitlementUnitTerabits = "Terabits"

	// EntitlementUnitPercent is a EntitlementUnit enum value
	EntitlementUnitPercent = "Percent"

	// EntitlementUnitBytesSecond is a EntitlementUnit enum value
	EntitlementUnitBytesSecond = "Bytes/Second"

	// EntitlementUnitKilobytesSecond is a EntitlementUnit enum value
	EntitlementUnitKilobytesSecond = "Kilobytes/Second"

	// EntitlementUnitMegabytesSecond is a EntitlementUnit enum value
	EntitlementUnitMegabytesSecond = "Megabytes/Second"

	// EntitlementUnitGigabytesSecond is a EntitlementUnit enum value
	EntitlementUnitGigabytesSecond = "Gigabytes/Second"

	// EntitlementUnitTerabytesSecond is a EntitlementUnit enum value
	EntitlementUnitTerabytesSecond = "Terabytes/Second"

	// EntitlementUnitBitsSecond is a EntitlementUnit enum value
	EntitlementUnitBitsSecond = "Bits/Second"

	// EntitlementUnitKilobitsSecond is a EntitlementUnit enum value
	EntitlementUnitKilobitsSecond = "Kilobits/Second"

	// EntitlementUnitMegabitsSecond is a EntitlementUnit enum value
	EntitlementUnitMegabitsSecond = "Megabits/Second"

	// EntitlementUnitGigabitsSecond is a EntitlementUnit enum value
	EntitlementUnitGigabitsSecond = "Gigabits/Second"

	// EntitlementUnitTerabitsSecond is a EntitlementUnit enum value
	EntitlementUnitTerabitsSecond = "Terabits/Second"

	// EntitlementUnitCountSecond is a EntitlementUnit enum value
	EntitlementUnitCountSecond = "Count/Second"
)
View Source
const (
	// GrantStatusPendingWorkflow is a GrantStatus enum value
	GrantStatusPendingWorkflow = "PENDING_WORKFLOW"

	// GrantStatusPendingAccept is a GrantStatus enum value
	GrantStatusPendingAccept = "PENDING_ACCEPT"

	// GrantStatusRejected is a GrantStatus enum value
	GrantStatusRejected = "REJECTED"

	// GrantStatusActive is a GrantStatus enum value
	GrantStatusActive = "ACTIVE"

	// GrantStatusFailedWorkflow is a GrantStatus enum value
	GrantStatusFailedWorkflow = "FAILED_WORKFLOW"

	// GrantStatusDeleted is a GrantStatus enum value
	GrantStatusDeleted = "DELETED"

	// GrantStatusPendingDelete is a GrantStatus enum value
	GrantStatusPendingDelete = "PENDING_DELETE"

	// GrantStatusDisabled is a GrantStatus enum value
	GrantStatusDisabled = "DISABLED"
)
View Source
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"
)
View Source
const (
	// LicenseConfigurationStatusAvailable is a LicenseConfigurationStatus enum value
	LicenseConfigurationStatusAvailable = "AVAILABLE"

	// LicenseConfigurationStatusDisabled is a LicenseConfigurationStatus enum value
	LicenseConfigurationStatusDisabled = "DISABLED"
)
View Source
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"
)
View Source
const (
	// LicenseDeletionStatusPendingDelete is a LicenseDeletionStatus enum value
	LicenseDeletionStatusPendingDelete = "PENDING_DELETE"

	// LicenseDeletionStatusDeleted is a LicenseDeletionStatus enum value
	LicenseDeletionStatusDeleted = "DELETED"
)
View Source
const (
	// LicenseStatusAvailable is a LicenseStatus enum value
	LicenseStatusAvailable = "AVAILABLE"

	// LicenseStatusPendingAvailable is a LicenseStatus enum value
	LicenseStatusPendingAvailable = "PENDING_AVAILABLE"

	// LicenseStatusDeactivated is a LicenseStatus enum value
	LicenseStatusDeactivated = "DEACTIVATED"

	// LicenseStatusSuspended is a LicenseStatus enum value
	LicenseStatusSuspended = "SUSPENDED"

	// LicenseStatusExpired is a LicenseStatus enum value
	LicenseStatusExpired = "EXPIRED"

	// LicenseStatusPendingDelete is a LicenseStatus enum value
	LicenseStatusPendingDelete = "PENDING_DELETE"

	// LicenseStatusDeleted is a LicenseStatus enum value
	LicenseStatusDeleted = "DELETED"
)
View Source
const (
	// ReceivedStatusPendingWorkflow is a ReceivedStatus enum value
	ReceivedStatusPendingWorkflow = "PENDING_WORKFLOW"

	// ReceivedStatusPendingAccept is a ReceivedStatus enum value
	ReceivedStatusPendingAccept = "PENDING_ACCEPT"

	// ReceivedStatusRejected is a ReceivedStatus enum value
	ReceivedStatusRejected = "REJECTED"

	// ReceivedStatusActive is a ReceivedStatus enum value
	ReceivedStatusActive = "ACTIVE"

	// ReceivedStatusFailedWorkflow is a ReceivedStatus enum value
	ReceivedStatusFailedWorkflow = "FAILED_WORKFLOW"

	// ReceivedStatusDeleted is a ReceivedStatus enum value
	ReceivedStatusDeleted = "DELETED"

	// ReceivedStatusDisabled is a ReceivedStatus enum value
	ReceivedStatusDisabled = "DISABLED"
)
View Source
const (
	// RenewTypeNone is a RenewType enum value
	RenewTypeNone = "None"

	// RenewTypeWeekly is a RenewType enum value
	RenewTypeWeekly = "Weekly"

	// RenewTypeMonthly is a RenewType enum value
	RenewTypeMonthly = "Monthly"
)
View Source
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"
)
View Source
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"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// There was a conflict processing the request. Try your request again.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeEntitlementNotAllowedException for service response error code
	// "EntitlementNotAllowedException".
	//
	// The entitlement is not allowed.
	ErrCodeEntitlementNotAllowedException = "EntitlementNotAllowedException"

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

	// ErrCodeNoEntitlementsAllowedException for service response error code
	// "NoEntitlementsAllowedException".
	//
	// There are no entitlements found for this license, or the entitlement maximum
	// count is reached.
	ErrCodeNoEntitlementsAllowedException = "NoEntitlementsAllowedException"

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

	// ErrCodeRedirectException for service response error code
	// "RedirectException".
	//
	// This is not the correct Region for the resource. Try again.
	ErrCodeRedirectException = "RedirectException"

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

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The resource cannot be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServerInternalException for service response error code
	// "ServerInternalException".
	//
	// The server experienced an internal error. Try again.
	ErrCodeServerInternalException = "ServerInternalException"

	// ErrCodeUnsupportedDigitalSignatureMethodException for service response error code
	// "UnsupportedDigitalSignatureMethodException".
	//
	// The digital signature method is unsupported. Try your request again.
	ErrCodeUnsupportedDigitalSignatureMethodException = "UnsupportedDigitalSignatureMethodException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The provided input is not valid. Try your request again.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "License Manager" // 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

View Source
const (
	// CheckoutTypeProvisional is a CheckoutType enum value
	CheckoutTypeProvisional = "PROVISIONAL"
)
View Source
const (
	// DigitalSignatureMethodJwtPs384 is a DigitalSignatureMethod enum value
	DigitalSignatureMethodJwtPs384 = "JWT_PS384"
)
View Source
const (
	// TokenTypeRefreshToken is a TokenType enum value
	TokenTypeRefreshToken = "REFRESH_TOKEN"
)

Variables

This section is empty.

Functions

func AllowedOperation_Values added in v1.36.1

func AllowedOperation_Values() []string

AllowedOperation_Values returns all elements of the AllowedOperation enum

func CheckoutType_Values added in v1.36.1

func CheckoutType_Values() []string

CheckoutType_Values returns all elements of the CheckoutType enum

func DigitalSignatureMethod_Values added in v1.36.1

func DigitalSignatureMethod_Values() []string

DigitalSignatureMethod_Values returns all elements of the DigitalSignatureMethod enum

func EntitlementDataUnit_Values added in v1.36.1

func EntitlementDataUnit_Values() []string

EntitlementDataUnit_Values returns all elements of the EntitlementDataUnit enum

func EntitlementUnit_Values added in v1.36.1

func EntitlementUnit_Values() []string

EntitlementUnit_Values returns all elements of the EntitlementUnit enum

func GrantStatus_Values added in v1.36.1

func GrantStatus_Values() []string

GrantStatus_Values returns all elements of the GrantStatus enum

func InventoryFilterCondition_Values added in v1.34.3

func InventoryFilterCondition_Values() []string

InventoryFilterCondition_Values returns all elements of the InventoryFilterCondition enum

func LicenseConfigurationStatus_Values added in v1.34.3

func LicenseConfigurationStatus_Values() []string

LicenseConfigurationStatus_Values returns all elements of the LicenseConfigurationStatus enum

func LicenseCountingType_Values added in v1.34.3

func LicenseCountingType_Values() []string

LicenseCountingType_Values returns all elements of the LicenseCountingType enum

func LicenseDeletionStatus_Values added in v1.36.1

func LicenseDeletionStatus_Values() []string

LicenseDeletionStatus_Values returns all elements of the LicenseDeletionStatus enum

func LicenseStatus_Values added in v1.36.1

func LicenseStatus_Values() []string

LicenseStatus_Values returns all elements of the LicenseStatus enum

func ReceivedStatus_Values added in v1.36.1

func ReceivedStatus_Values() []string

ReceivedStatus_Values returns all elements of the ReceivedStatus enum

func RenewType_Values added in v1.36.1

func RenewType_Values() []string

RenewType_Values returns all elements of the RenewType enum

func ResourceType_Values added in v1.34.3

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func TokenType_Values added in v1.36.1

func TokenType_Values() []string

TokenType_Values returns all elements of the TokenType enum

Types

type AcceptGrantInput added in v1.36.1

type AcceptGrantInput struct {

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

func (AcceptGrantInput) GoString added in v1.36.1

func (s AcceptGrantInput) GoString() string

GoString returns the string representation

func (*AcceptGrantInput) SetGrantArn added in v1.36.1

func (s *AcceptGrantInput) SetGrantArn(v string) *AcceptGrantInput

SetGrantArn sets the GrantArn field's value.

func (AcceptGrantInput) String added in v1.36.1

func (s AcceptGrantInput) String() string

String returns the string representation

func (*AcceptGrantInput) Validate added in v1.36.1

func (s *AcceptGrantInput) Validate() error

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

type AcceptGrantOutput added in v1.36.1

type AcceptGrantOutput struct {

	// Grant ARN.
	GrantArn *string `type:"string"`

	// Grant status.
	Status *string `type:"string" enum:"GrantStatus"`

	// Grant version.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

func (AcceptGrantOutput) GoString added in v1.36.1

func (s AcceptGrantOutput) GoString() string

GoString returns the string representation

func (*AcceptGrantOutput) SetGrantArn added in v1.36.1

func (s *AcceptGrantOutput) SetGrantArn(v string) *AcceptGrantOutput

SetGrantArn sets the GrantArn field's value.

func (*AcceptGrantOutput) SetStatus added in v1.36.1

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

SetStatus sets the Status field's value.

func (*AcceptGrantOutput) SetVersion added in v1.36.1

func (s *AcceptGrantOutput) SetVersion(v string) *AcceptGrantOutput

SetVersion sets the Version field's value.

func (AcceptGrantOutput) String added in v1.36.1

func (s AcceptGrantOutput) String() string

String returns the string representation

type AccessDeniedException added in v1.28.0

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 added in v1.28.0

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error added in v1.28.0

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString added in v1.28.0

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message added in v1.28.0

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr added in v1.28.0

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID added in v1.28.0

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode added in v1.28.0

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String added in v1.28.0

func (s AccessDeniedException) String() string

String returns the string representation

type AuthorizationException added in v1.28.0

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 added in v1.28.0

func (s *AuthorizationException) Code() string

Code returns the exception type name.

func (*AuthorizationException) Error added in v1.28.0

func (s *AuthorizationException) Error() string

func (AuthorizationException) GoString added in v1.28.0

func (s AuthorizationException) GoString() string

GoString returns the string representation

func (*AuthorizationException) Message added in v1.28.0

func (s *AuthorizationException) Message() string

Message returns the exception's message.

func (*AuthorizationException) OrigErr added in v1.28.0

func (s *AuthorizationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AuthorizationException) RequestID added in v1.28.0

func (s *AuthorizationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AuthorizationException) StatusCode added in v1.28.0

func (s *AuthorizationException) StatusCode() int

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

func (AuthorizationException) String added in v1.28.0

func (s AuthorizationException) String() string

String returns the string representation

type AutomatedDiscoveryInformation added in v1.25.44

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 added in v1.25.44

GoString returns the string representation

func (*AutomatedDiscoveryInformation) SetLastRunTime added in v1.25.44

SetLastRunTime sets the LastRunTime field's value.

func (AutomatedDiscoveryInformation) String added in v1.25.44

String returns the string representation

type BorrowConfiguration added in v1.36.1

type BorrowConfiguration struct {

	// Indicates whether early check-ins are allowed.
	//
	// AllowEarlyCheckIn is a required field
	AllowEarlyCheckIn *bool `type:"boolean" required:"true"`

	// Maximum time for the borrow configuration, in minutes.
	//
	// MaxTimeToLiveInMinutes is a required field
	MaxTimeToLiveInMinutes *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Details about a borrow configuration.

func (BorrowConfiguration) GoString added in v1.36.1

func (s BorrowConfiguration) GoString() string

GoString returns the string representation

func (*BorrowConfiguration) SetAllowEarlyCheckIn added in v1.36.1

func (s *BorrowConfiguration) SetAllowEarlyCheckIn(v bool) *BorrowConfiguration

SetAllowEarlyCheckIn sets the AllowEarlyCheckIn field's value.

func (*BorrowConfiguration) SetMaxTimeToLiveInMinutes added in v1.36.1

func (s *BorrowConfiguration) SetMaxTimeToLiveInMinutes(v int64) *BorrowConfiguration

SetMaxTimeToLiveInMinutes sets the MaxTimeToLiveInMinutes field's value.

func (BorrowConfiguration) String added in v1.36.1

func (s BorrowConfiguration) String() string

String returns the string representation

func (*BorrowConfiguration) Validate added in v1.36.1

func (s *BorrowConfiguration) Validate() error

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

type CheckInLicenseInput added in v1.36.1

type CheckInLicenseInput struct {

	// License beneficiary.
	Beneficiary *string `type:"string"`

	// License consumption token.
	//
	// LicenseConsumptionToken is a required field
	LicenseConsumptionToken *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CheckInLicenseInput) GoString added in v1.36.1

func (s CheckInLicenseInput) GoString() string

GoString returns the string representation

func (*CheckInLicenseInput) SetBeneficiary added in v1.36.1

func (s *CheckInLicenseInput) SetBeneficiary(v string) *CheckInLicenseInput

SetBeneficiary sets the Beneficiary field's value.

func (*CheckInLicenseInput) SetLicenseConsumptionToken added in v1.36.1

func (s *CheckInLicenseInput) SetLicenseConsumptionToken(v string) *CheckInLicenseInput

SetLicenseConsumptionToken sets the LicenseConsumptionToken field's value.

func (CheckInLicenseInput) String added in v1.36.1

func (s CheckInLicenseInput) String() string

String returns the string representation

func (*CheckInLicenseInput) Validate added in v1.36.1

func (s *CheckInLicenseInput) Validate() error

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

type CheckInLicenseOutput added in v1.36.1

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

func (CheckInLicenseOutput) GoString added in v1.36.1

func (s CheckInLicenseOutput) GoString() string

GoString returns the string representation

func (CheckInLicenseOutput) String added in v1.36.1

func (s CheckInLicenseOutput) String() string

String returns the string representation

type CheckoutBorrowLicenseInput added in v1.36.1

type CheckoutBorrowLicenseInput struct {

	// Information about constraints.
	CheckoutMetadata []*Metadata `type:"list"`

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	//
	// ClientToken is a required field
	ClientToken *string `type:"string" required:"true"`

	// Digital signature method. The possible value is JSON Web Signature (JWS)
	// algorithm PS384. For more information, see RFC 7518 Digital Signature with
	// RSASSA-PSS (https://tools.ietf.org/html/rfc7518#section-3.5).
	//
	// DigitalSignatureMethod is a required field
	DigitalSignatureMethod *string `type:"string" required:"true" enum:"DigitalSignatureMethod"`

	// License entitlements. Partial checkouts are not supported.
	//
	// Entitlements is a required field
	Entitlements []*EntitlementData `type:"list" required:"true"`

	// Amazon Resource Name (ARN) of the license. The license must use the borrow
	// consumption configuration.
	//
	// LicenseArn is a required field
	LicenseArn *string `type:"string" required:"true"`

	// Node ID.
	NodeId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CheckoutBorrowLicenseInput) GoString added in v1.36.1

func (s CheckoutBorrowLicenseInput) GoString() string

GoString returns the string representation

func (*CheckoutBorrowLicenseInput) SetCheckoutMetadata added in v1.36.1

func (s *CheckoutBorrowLicenseInput) SetCheckoutMetadata(v []*Metadata) *CheckoutBorrowLicenseInput

SetCheckoutMetadata sets the CheckoutMetadata field's value.

func (*CheckoutBorrowLicenseInput) SetClientToken added in v1.36.1

SetClientToken sets the ClientToken field's value.

func (*CheckoutBorrowLicenseInput) SetDigitalSignatureMethod added in v1.36.1

func (s *CheckoutBorrowLicenseInput) SetDigitalSignatureMethod(v string) *CheckoutBorrowLicenseInput

SetDigitalSignatureMethod sets the DigitalSignatureMethod field's value.

func (*CheckoutBorrowLicenseInput) SetEntitlements added in v1.36.1

SetEntitlements sets the Entitlements field's value.

func (*CheckoutBorrowLicenseInput) SetLicenseArn added in v1.36.1

SetLicenseArn sets the LicenseArn field's value.

func (*CheckoutBorrowLicenseInput) SetNodeId added in v1.36.1

SetNodeId sets the NodeId field's value.

func (CheckoutBorrowLicenseInput) String added in v1.36.1

String returns the string representation

func (*CheckoutBorrowLicenseInput) Validate added in v1.36.1

func (s *CheckoutBorrowLicenseInput) Validate() error

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

type CheckoutBorrowLicenseOutput added in v1.36.1

type CheckoutBorrowLicenseOutput struct {

	// Information about constraints.
	CheckoutMetadata []*Metadata `type:"list"`

	// Allowed license entitlements.
	EntitlementsAllowed []*EntitlementData `type:"list"`

	// Date and time at which the license checkout expires.
	Expiration *string `type:"string"`

	// Date and time at which the license checkout is issued.
	IssuedAt *string `type:"string"`

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

	// License consumption token.
	LicenseConsumptionToken *string `type:"string"`

	// Node ID.
	NodeId *string `type:"string"`

	// Signed token.
	SignedToken *string `min:"4096" type:"string"`
	// contains filtered or unexported fields
}

func (CheckoutBorrowLicenseOutput) GoString added in v1.36.1

func (s CheckoutBorrowLicenseOutput) GoString() string

GoString returns the string representation

func (*CheckoutBorrowLicenseOutput) SetCheckoutMetadata added in v1.36.1

SetCheckoutMetadata sets the CheckoutMetadata field's value.

func (*CheckoutBorrowLicenseOutput) SetEntitlementsAllowed added in v1.36.1

SetEntitlementsAllowed sets the EntitlementsAllowed field's value.

func (*CheckoutBorrowLicenseOutput) SetExpiration added in v1.36.1

SetExpiration sets the Expiration field's value.

func (*CheckoutBorrowLicenseOutput) SetIssuedAt added in v1.36.1

SetIssuedAt sets the IssuedAt field's value.

func (*CheckoutBorrowLicenseOutput) SetLicenseArn added in v1.36.1

SetLicenseArn sets the LicenseArn field's value.

func (*CheckoutBorrowLicenseOutput) SetLicenseConsumptionToken added in v1.36.1

func (s *CheckoutBorrowLicenseOutput) SetLicenseConsumptionToken(v string) *CheckoutBorrowLicenseOutput

SetLicenseConsumptionToken sets the LicenseConsumptionToken field's value.

func (*CheckoutBorrowLicenseOutput) SetNodeId added in v1.36.1

SetNodeId sets the NodeId field's value.

func (*CheckoutBorrowLicenseOutput) SetSignedToken added in v1.36.1

SetSignedToken sets the SignedToken field's value.

func (CheckoutBorrowLicenseOutput) String added in v1.36.1

String returns the string representation

type CheckoutLicenseInput added in v1.36.1

type CheckoutLicenseInput struct {

	// License beneficiary.
	Beneficiary *string `type:"string"`

	// Checkout type.
	//
	// CheckoutType is a required field
	CheckoutType *string `type:"string" required:"true" enum:"CheckoutType"`

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	//
	// ClientToken is a required field
	ClientToken *string `type:"string" required:"true"`

	// License entitlements.
	//
	// Entitlements is a required field
	Entitlements []*EntitlementData `type:"list" required:"true"`

	// Key fingerprint identifying the license.
	//
	// KeyFingerprint is a required field
	KeyFingerprint *string `type:"string" required:"true"`

	// Node ID.
	NodeId *string `type:"string"`

	// Product SKU.
	//
	// ProductSKU is a required field
	ProductSKU *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CheckoutLicenseInput) GoString added in v1.36.1

func (s CheckoutLicenseInput) GoString() string

GoString returns the string representation

func (*CheckoutLicenseInput) SetBeneficiary added in v1.36.1

func (s *CheckoutLicenseInput) SetBeneficiary(v string) *CheckoutLicenseInput

SetBeneficiary sets the Beneficiary field's value.

func (*CheckoutLicenseInput) SetCheckoutType added in v1.36.1

func (s *CheckoutLicenseInput) SetCheckoutType(v string) *CheckoutLicenseInput

SetCheckoutType sets the CheckoutType field's value.

func (*CheckoutLicenseInput) SetClientToken added in v1.36.1

func (s *CheckoutLicenseInput) SetClientToken(v string) *CheckoutLicenseInput

SetClientToken sets the ClientToken field's value.

func (*CheckoutLicenseInput) SetEntitlements added in v1.36.1

func (s *CheckoutLicenseInput) SetEntitlements(v []*EntitlementData) *CheckoutLicenseInput

SetEntitlements sets the Entitlements field's value.

func (*CheckoutLicenseInput) SetKeyFingerprint added in v1.36.1

func (s *CheckoutLicenseInput) SetKeyFingerprint(v string) *CheckoutLicenseInput

SetKeyFingerprint sets the KeyFingerprint field's value.

func (*CheckoutLicenseInput) SetNodeId added in v1.36.1

SetNodeId sets the NodeId field's value.

func (*CheckoutLicenseInput) SetProductSKU added in v1.36.1

func (s *CheckoutLicenseInput) SetProductSKU(v string) *CheckoutLicenseInput

SetProductSKU sets the ProductSKU field's value.

func (CheckoutLicenseInput) String added in v1.36.1

func (s CheckoutLicenseInput) String() string

String returns the string representation

func (*CheckoutLicenseInput) Validate added in v1.36.1

func (s *CheckoutLicenseInput) Validate() error

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

type CheckoutLicenseOutput added in v1.36.1

type CheckoutLicenseOutput struct {

	// Checkout type.
	CheckoutType *string `type:"string" enum:"CheckoutType"`

	// Allowed license entitlements.
	EntitlementsAllowed []*EntitlementData `type:"list"`

	// Date and time at which the license checkout expires.
	Expiration *string `type:"string"`

	// Date and time at which the license checkout is issued.
	IssuedAt *string `type:"string"`

	// License consumption token.
	LicenseConsumptionToken *string `type:"string"`

	// Node ID.
	NodeId *string `type:"string"`

	// Signed token.
	SignedToken *string `min:"4096" type:"string"`
	// contains filtered or unexported fields
}

func (CheckoutLicenseOutput) GoString added in v1.36.1

func (s CheckoutLicenseOutput) GoString() string

GoString returns the string representation

func (*CheckoutLicenseOutput) SetCheckoutType added in v1.36.1

func (s *CheckoutLicenseOutput) SetCheckoutType(v string) *CheckoutLicenseOutput

SetCheckoutType sets the CheckoutType field's value.

func (*CheckoutLicenseOutput) SetEntitlementsAllowed added in v1.36.1

func (s *CheckoutLicenseOutput) SetEntitlementsAllowed(v []*EntitlementData) *CheckoutLicenseOutput

SetEntitlementsAllowed sets the EntitlementsAllowed field's value.

func (*CheckoutLicenseOutput) SetExpiration added in v1.36.1

func (s *CheckoutLicenseOutput) SetExpiration(v string) *CheckoutLicenseOutput

SetExpiration sets the Expiration field's value.

func (*CheckoutLicenseOutput) SetIssuedAt added in v1.36.1

SetIssuedAt sets the IssuedAt field's value.

func (*CheckoutLicenseOutput) SetLicenseConsumptionToken added in v1.36.1

func (s *CheckoutLicenseOutput) SetLicenseConsumptionToken(v string) *CheckoutLicenseOutput

SetLicenseConsumptionToken sets the LicenseConsumptionToken field's value.

func (*CheckoutLicenseOutput) SetNodeId added in v1.36.1

SetNodeId sets the NodeId field's value.

func (*CheckoutLicenseOutput) SetSignedToken added in v1.36.1

func (s *CheckoutLicenseOutput) SetSignedToken(v string) *CheckoutLicenseOutput

SetSignedToken sets the SignedToken field's value.

func (CheckoutLicenseOutput) String added in v1.36.1

func (s CheckoutLicenseOutput) String() string

String returns the string representation

type ConflictException added in v1.36.1

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

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

There was a conflict processing the request. Try your request again.

func (*ConflictException) Code added in v1.36.1

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error added in v1.36.1

func (s *ConflictException) Error() string

func (ConflictException) GoString added in v1.36.1

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message added in v1.36.1

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr added in v1.36.1

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID added in v1.36.1

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode added in v1.36.1

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String added in v1.36.1

func (s ConflictException) String() string

String returns the string representation

type ConsumedLicenseSummary

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

func (s ConsumedLicenseSummary) GoString() string

GoString returns the string representation

func (*ConsumedLicenseSummary) SetConsumedLicenses

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

SetConsumedLicenses sets the ConsumedLicenses field's value.

func (*ConsumedLicenseSummary) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (ConsumedLicenseSummary) String

func (s ConsumedLicenseSummary) String() string

String returns the string representation

type ConsumptionConfiguration added in v1.36.1

type ConsumptionConfiguration struct {

	// Details about a borrow configuration.
	BorrowConfiguration *BorrowConfiguration `type:"structure"`

	// Details about a provisional configuration.
	ProvisionalConfiguration *ProvisionalConfiguration `type:"structure"`

	// Renewal frequency.
	RenewType *string `type:"string" enum:"RenewType"`
	// contains filtered or unexported fields
}

Details about a consumption configuration.

func (ConsumptionConfiguration) GoString added in v1.36.1

func (s ConsumptionConfiguration) GoString() string

GoString returns the string representation

func (*ConsumptionConfiguration) SetBorrowConfiguration added in v1.36.1

SetBorrowConfiguration sets the BorrowConfiguration field's value.

func (*ConsumptionConfiguration) SetProvisionalConfiguration added in v1.36.1

SetProvisionalConfiguration sets the ProvisionalConfiguration field's value.

func (*ConsumptionConfiguration) SetRenewType added in v1.36.1

SetRenewType sets the RenewType field's value.

func (ConsumptionConfiguration) String added in v1.36.1

func (s ConsumptionConfiguration) String() string

String returns the string representation

func (*ConsumptionConfiguration) Validate added in v1.36.1

func (s *ConsumptionConfiguration) Validate() error

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

type CreateGrantInput added in v1.36.1

type CreateGrantInput struct {

	// Allowed operations for the grant.
	//
	// AllowedOperations is a required field
	AllowedOperations []*string `min:"1" type:"list" required:"true"`

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	//
	// ClientToken is a required field
	ClientToken *string `type:"string" required:"true"`

	// Grant name.
	//
	// GrantName is a required field
	GrantName *string `type:"string" required:"true"`

	// Home Region of the grant.
	//
	// HomeRegion is a required field
	HomeRegion *string `type:"string" required:"true"`

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

	// The grant principals.
	//
	// Principals is a required field
	Principals []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (CreateGrantInput) GoString added in v1.36.1

func (s CreateGrantInput) GoString() string

GoString returns the string representation

func (*CreateGrantInput) SetAllowedOperations added in v1.36.1

func (s *CreateGrantInput) SetAllowedOperations(v []*string) *CreateGrantInput

SetAllowedOperations sets the AllowedOperations field's value.

func (*CreateGrantInput) SetClientToken added in v1.36.1

func (s *CreateGrantInput) SetClientToken(v string) *CreateGrantInput

SetClientToken sets the ClientToken field's value.

func (*CreateGrantInput) SetGrantName added in v1.36.1

func (s *CreateGrantInput) SetGrantName(v string) *CreateGrantInput

SetGrantName sets the GrantName field's value.

func (*CreateGrantInput) SetHomeRegion added in v1.36.1

func (s *CreateGrantInput) SetHomeRegion(v string) *CreateGrantInput

SetHomeRegion sets the HomeRegion field's value.

func (*CreateGrantInput) SetLicenseArn added in v1.36.1

func (s *CreateGrantInput) SetLicenseArn(v string) *CreateGrantInput

SetLicenseArn sets the LicenseArn field's value.

func (*CreateGrantInput) SetPrincipals added in v1.36.1

func (s *CreateGrantInput) SetPrincipals(v []*string) *CreateGrantInput

SetPrincipals sets the Principals field's value.

func (CreateGrantInput) String added in v1.36.1

func (s CreateGrantInput) String() string

String returns the string representation

func (*CreateGrantInput) Validate added in v1.36.1

func (s *CreateGrantInput) Validate() error

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

type CreateGrantOutput added in v1.36.1

type CreateGrantOutput struct {

	// Grant ARN.
	GrantArn *string `type:"string"`

	// Grant status.
	Status *string `type:"string" enum:"GrantStatus"`

	// Grant version.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateGrantOutput) GoString added in v1.36.1

func (s CreateGrantOutput) GoString() string

GoString returns the string representation

func (*CreateGrantOutput) SetGrantArn added in v1.36.1

func (s *CreateGrantOutput) SetGrantArn(v string) *CreateGrantOutput

SetGrantArn sets the GrantArn field's value.

func (*CreateGrantOutput) SetStatus added in v1.36.1

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

SetStatus sets the Status field's value.

func (*CreateGrantOutput) SetVersion added in v1.36.1

func (s *CreateGrantOutput) SetVersion(v string) *CreateGrantOutput

SetVersion sets the Version field's value.

func (CreateGrantOutput) String added in v1.36.1

func (s CreateGrantOutput) String() string

String returns the string representation

type CreateGrantVersionInput added in v1.36.1

type CreateGrantVersionInput struct {

	// Allowed operations for the grant.
	AllowedOperations []*string `min:"1" type:"list"`

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	//
	// ClientToken is a required field
	ClientToken *string `type:"string" required:"true"`

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

	// Grant name.
	GrantName *string `type:"string"`

	// Current version of the grant.
	SourceVersion *string `type:"string"`

	// Grant status.
	Status *string `type:"string" enum:"GrantStatus"`
	// contains filtered or unexported fields
}

func (CreateGrantVersionInput) GoString added in v1.36.1

func (s CreateGrantVersionInput) GoString() string

GoString returns the string representation

func (*CreateGrantVersionInput) SetAllowedOperations added in v1.36.1

func (s *CreateGrantVersionInput) SetAllowedOperations(v []*string) *CreateGrantVersionInput

SetAllowedOperations sets the AllowedOperations field's value.

func (*CreateGrantVersionInput) SetClientToken added in v1.36.1

SetClientToken sets the ClientToken field's value.

func (*CreateGrantVersionInput) SetGrantArn added in v1.36.1

SetGrantArn sets the GrantArn field's value.

func (*CreateGrantVersionInput) SetGrantName added in v1.36.1

SetGrantName sets the GrantName field's value.

func (*CreateGrantVersionInput) SetSourceVersion added in v1.36.1

func (s *CreateGrantVersionInput) SetSourceVersion(v string) *CreateGrantVersionInput

SetSourceVersion sets the SourceVersion field's value.

func (*CreateGrantVersionInput) SetStatus added in v1.36.1

SetStatus sets the Status field's value.

func (CreateGrantVersionInput) String added in v1.36.1

func (s CreateGrantVersionInput) String() string

String returns the string representation

func (*CreateGrantVersionInput) Validate added in v1.36.1

func (s *CreateGrantVersionInput) Validate() error

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

type CreateGrantVersionOutput added in v1.36.1

type CreateGrantVersionOutput struct {

	// Grant ARN.
	GrantArn *string `type:"string"`

	// Grant status.
	Status *string `type:"string" enum:"GrantStatus"`

	// New version of the grant.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateGrantVersionOutput) GoString added in v1.36.1

func (s CreateGrantVersionOutput) GoString() string

GoString returns the string representation

func (*CreateGrantVersionOutput) SetGrantArn added in v1.36.1

SetGrantArn sets the GrantArn field's value.

func (*CreateGrantVersionOutput) SetStatus added in v1.36.1

SetStatus sets the Status field's value.

func (*CreateGrantVersionOutput) SetVersion added in v1.36.1

SetVersion sets the Version field's value.

func (CreateGrantVersionOutput) String added in v1.36.1

func (s CreateGrantVersionOutput) String() string

String returns the string representation

type CreateLicenseConfigurationInput

type CreateLicenseConfigurationInput struct {

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

	// When true, disassociates a resource when software is uninstalled.
	DisassociateWhenNotFound *bool `type:"boolean"`

	// 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).
	// The available rules vary by dimension, as follows.
	//
	//    * Cores dimension: allowedTenancy | licenseAffinityToHost | maximumCores
	//    | minimumCores
	//
	//    * Instances dimension: allowedTenancy | maximumCores | minimumCores |
	//    maximumSockets | minimumSockets | maximumVcpus | minimumVcpus
	//
	//    * Sockets dimension: allowedTenancy | licenseAffinityToHost | maximumSockets
	//    | minimumSockets
	//
	//    * vCPUs dimension: allowedTenancy | honorVcpuOptimization | maximumVcpus
	//    | minimumVcpus
	//
	// The unit for licenseAffinityToHost is days and the range is 1 to 180. The
	// possible values for allowedTenancy are EC2-Default, EC2-DedicatedHost, and
	// EC2-DedicatedInstance. The possible values for honorVcpuOptimization are
	// True and False.
	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

GoString returns the string representation

func (*CreateLicenseConfigurationInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateLicenseConfigurationInput) SetDisassociateWhenNotFound added in v1.36.2

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

SetDisassociateWhenNotFound sets the DisassociateWhenNotFound field's value.

func (*CreateLicenseConfigurationInput) SetLicenseCount

SetLicenseCount sets the LicenseCount field's value.

func (*CreateLicenseConfigurationInput) SetLicenseCountHardLimit

SetLicenseCountHardLimit sets the LicenseCountHardLimit field's value.

func (*CreateLicenseConfigurationInput) SetLicenseCountingType

SetLicenseCountingType sets the LicenseCountingType field's value.

func (*CreateLicenseConfigurationInput) SetLicenseRules

SetLicenseRules sets the LicenseRules field's value.

func (*CreateLicenseConfigurationInput) SetName

SetName sets the Name field's value.

func (*CreateLicenseConfigurationInput) SetProductInformationList added in v1.25.44

SetProductInformationList sets the ProductInformationList field's value.

func (*CreateLicenseConfigurationInput) SetTags

SetTags sets the Tags field's value.

func (CreateLicenseConfigurationInput) String

String returns the string representation

func (*CreateLicenseConfigurationInput) Validate

func (s *CreateLicenseConfigurationInput) Validate() error

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

type CreateLicenseConfigurationOutput

type CreateLicenseConfigurationOutput struct {

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

func (CreateLicenseConfigurationOutput) GoString

GoString returns the string representation

func (*CreateLicenseConfigurationOutput) SetLicenseConfigurationArn

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (CreateLicenseConfigurationOutput) String

String returns the string representation

type CreateLicenseInput added in v1.36.1

type CreateLicenseInput struct {

	// License beneficiary.
	//
	// Beneficiary is a required field
	Beneficiary *string `type:"string" required:"true"`

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	//
	// ClientToken is a required field
	ClientToken *string `type:"string" required:"true"`

	// Configuration for consumption of the license. Choose a provisional configuration
	// for workloads running with continuous connectivity. Choose a borrow configuration
	// for workloads with offline usage.
	//
	// ConsumptionConfiguration is a required field
	ConsumptionConfiguration *ConsumptionConfiguration `type:"structure" required:"true"`

	// License entitlements.
	//
	// Entitlements is a required field
	Entitlements []*Entitlement `type:"list" required:"true"`

	// Home Region for the license.
	//
	// HomeRegion is a required field
	HomeRegion *string `type:"string" required:"true"`

	// License issuer.
	//
	// Issuer is a required field
	Issuer *Issuer `type:"structure" required:"true"`

	// Information about the license.
	LicenseMetadata []*Metadata `type:"list"`

	// License name.
	//
	// LicenseName is a required field
	LicenseName *string `type:"string" required:"true"`

	// Product name.
	//
	// ProductName is a required field
	ProductName *string `type:"string" required:"true"`

	// Product SKU.
	//
	// ProductSKU is a required field
	ProductSKU *string `type:"string" required:"true"`

	// Date and time range during which the license is valid, in ISO8601-UTC format.
	//
	// Validity is a required field
	Validity *DatetimeRange `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateLicenseInput) GoString added in v1.36.1

func (s CreateLicenseInput) GoString() string

GoString returns the string representation

func (*CreateLicenseInput) SetBeneficiary added in v1.36.1

func (s *CreateLicenseInput) SetBeneficiary(v string) *CreateLicenseInput

SetBeneficiary sets the Beneficiary field's value.

func (*CreateLicenseInput) SetClientToken added in v1.36.1

func (s *CreateLicenseInput) SetClientToken(v string) *CreateLicenseInput

SetClientToken sets the ClientToken field's value.

func (*CreateLicenseInput) SetConsumptionConfiguration added in v1.36.1

func (s *CreateLicenseInput) SetConsumptionConfiguration(v *ConsumptionConfiguration) *CreateLicenseInput

SetConsumptionConfiguration sets the ConsumptionConfiguration field's value.

func (*CreateLicenseInput) SetEntitlements added in v1.36.1

func (s *CreateLicenseInput) SetEntitlements(v []*Entitlement) *CreateLicenseInput

SetEntitlements sets the Entitlements field's value.

func (*CreateLicenseInput) SetHomeRegion added in v1.36.1

func (s *CreateLicenseInput) SetHomeRegion(v string) *CreateLicenseInput

SetHomeRegion sets the HomeRegion field's value.

func (*CreateLicenseInput) SetIssuer added in v1.36.1

func (s *CreateLicenseInput) SetIssuer(v *Issuer) *CreateLicenseInput

SetIssuer sets the Issuer field's value.

func (*CreateLicenseInput) SetLicenseMetadata added in v1.36.1

func (s *CreateLicenseInput) SetLicenseMetadata(v []*Metadata) *CreateLicenseInput

SetLicenseMetadata sets the LicenseMetadata field's value.

func (*CreateLicenseInput) SetLicenseName added in v1.36.1

func (s *CreateLicenseInput) SetLicenseName(v string) *CreateLicenseInput

SetLicenseName sets the LicenseName field's value.

func (*CreateLicenseInput) SetProductName added in v1.36.1

func (s *CreateLicenseInput) SetProductName(v string) *CreateLicenseInput

SetProductName sets the ProductName field's value.

func (*CreateLicenseInput) SetProductSKU added in v1.36.1

func (s *CreateLicenseInput) SetProductSKU(v string) *CreateLicenseInput

SetProductSKU sets the ProductSKU field's value.

func (*CreateLicenseInput) SetValidity added in v1.36.1

SetValidity sets the Validity field's value.

func (CreateLicenseInput) String added in v1.36.1

func (s CreateLicenseInput) String() string

String returns the string representation

func (*CreateLicenseInput) Validate added in v1.36.1

func (s *CreateLicenseInput) Validate() error

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

type CreateLicenseOutput added in v1.36.1

type CreateLicenseOutput struct {

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

	// License status.
	Status *string `type:"string" enum:"LicenseStatus"`

	// License version.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateLicenseOutput) GoString added in v1.36.1

func (s CreateLicenseOutput) GoString() string

GoString returns the string representation

func (*CreateLicenseOutput) SetLicenseArn added in v1.36.1

func (s *CreateLicenseOutput) SetLicenseArn(v string) *CreateLicenseOutput

SetLicenseArn sets the LicenseArn field's value.

func (*CreateLicenseOutput) SetStatus added in v1.36.1

SetStatus sets the Status field's value.

func (*CreateLicenseOutput) SetVersion added in v1.36.1

SetVersion sets the Version field's value.

func (CreateLicenseOutput) String added in v1.36.1

func (s CreateLicenseOutput) String() string

String returns the string representation

type CreateLicenseVersionInput added in v1.36.1

type CreateLicenseVersionInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	//
	// ClientToken is a required field
	ClientToken *string `type:"string" required:"true"`

	// Configuration for consumption of the license. Choose a provisional configuration
	// for workloads running with continuous connectivity. Choose a borrow configuration
	// for workloads with offline usage.
	//
	// ConsumptionConfiguration is a required field
	ConsumptionConfiguration *ConsumptionConfiguration `type:"structure" required:"true"`

	// License entitlements.
	//
	// Entitlements is a required field
	Entitlements []*Entitlement `type:"list" required:"true"`

	// Home Region of the license.
	//
	// HomeRegion is a required field
	HomeRegion *string `type:"string" required:"true"`

	// License issuer.
	//
	// Issuer is a required field
	Issuer *Issuer `type:"structure" required:"true"`

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

	// Information about the license.
	LicenseMetadata []*Metadata `type:"list"`

	// License name.
	//
	// LicenseName is a required field
	LicenseName *string `type:"string" required:"true"`

	// Product name.
	//
	// ProductName is a required field
	ProductName *string `type:"string" required:"true"`

	// Current version of the license.
	SourceVersion *string `type:"string"`

	// License status.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"LicenseStatus"`

	// Date and time range during which the license is valid, in ISO8601-UTC format.
	//
	// Validity is a required field
	Validity *DatetimeRange `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateLicenseVersionInput) GoString added in v1.36.1

func (s CreateLicenseVersionInput) GoString() string

GoString returns the string representation

func (*CreateLicenseVersionInput) SetClientToken added in v1.36.1

SetClientToken sets the ClientToken field's value.

func (*CreateLicenseVersionInput) SetConsumptionConfiguration added in v1.36.1

SetConsumptionConfiguration sets the ConsumptionConfiguration field's value.

func (*CreateLicenseVersionInput) SetEntitlements added in v1.36.1

SetEntitlements sets the Entitlements field's value.

func (*CreateLicenseVersionInput) SetHomeRegion added in v1.36.1

SetHomeRegion sets the HomeRegion field's value.

func (*CreateLicenseVersionInput) SetIssuer added in v1.36.1

SetIssuer sets the Issuer field's value.

func (*CreateLicenseVersionInput) SetLicenseArn added in v1.36.1

SetLicenseArn sets the LicenseArn field's value.

func (*CreateLicenseVersionInput) SetLicenseMetadata added in v1.36.1

func (s *CreateLicenseVersionInput) SetLicenseMetadata(v []*Metadata) *CreateLicenseVersionInput

SetLicenseMetadata sets the LicenseMetadata field's value.

func (*CreateLicenseVersionInput) SetLicenseName added in v1.36.1

SetLicenseName sets the LicenseName field's value.

func (*CreateLicenseVersionInput) SetProductName added in v1.36.1

SetProductName sets the ProductName field's value.

func (*CreateLicenseVersionInput) SetSourceVersion added in v1.36.1

SetSourceVersion sets the SourceVersion field's value.

func (*CreateLicenseVersionInput) SetStatus added in v1.36.1

SetStatus sets the Status field's value.

func (*CreateLicenseVersionInput) SetValidity added in v1.36.1

SetValidity sets the Validity field's value.

func (CreateLicenseVersionInput) String added in v1.36.1

func (s CreateLicenseVersionInput) String() string

String returns the string representation

func (*CreateLicenseVersionInput) Validate added in v1.36.1

func (s *CreateLicenseVersionInput) Validate() error

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

type CreateLicenseVersionOutput added in v1.36.1

type CreateLicenseVersionOutput struct {

	// License ARN.
	LicenseArn *string `type:"string"`

	// License status.
	Status *string `type:"string" enum:"LicenseStatus"`

	// New version of the license.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateLicenseVersionOutput) GoString added in v1.36.1

func (s CreateLicenseVersionOutput) GoString() string

GoString returns the string representation

func (*CreateLicenseVersionOutput) SetLicenseArn added in v1.36.1

SetLicenseArn sets the LicenseArn field's value.

func (*CreateLicenseVersionOutput) SetStatus added in v1.36.1

SetStatus sets the Status field's value.

func (*CreateLicenseVersionOutput) SetVersion added in v1.36.1

SetVersion sets the Version field's value.

func (CreateLicenseVersionOutput) String added in v1.36.1

String returns the string representation

type CreateTokenInput added in v1.36.1

type CreateTokenInput struct {

	// Idempotency token, valid for 10 minutes.
	//
	// ClientToken is a required field
	ClientToken *string `type:"string" required:"true"`

	// Token expiration, in days, counted from token creation. The default is 365
	// days.
	ExpirationInDays *int64 `type:"integer"`

	// Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim
	// of the JWT token.
	//
	// LicenseArn is a required field
	LicenseArn *string `type:"string" required:"true"`

	// Amazon Resource Name (ARN) of the IAM roles to embed in the token. License
	// Manager does not check whether the roles are in use.
	RoleArns []*string `type:"list"`

	// Data specified by the caller to be included in the JWT token. The data is
	// mapped to the amr claim of the JWT token.
	TokenProperties []*string `type:"list"`
	// contains filtered or unexported fields
}

func (CreateTokenInput) GoString added in v1.36.1

func (s CreateTokenInput) GoString() string

GoString returns the string representation

func (*CreateTokenInput) SetClientToken added in v1.36.1

func (s *CreateTokenInput) SetClientToken(v string) *CreateTokenInput

SetClientToken sets the ClientToken field's value.

func (*CreateTokenInput) SetExpirationInDays added in v1.36.1

func (s *CreateTokenInput) SetExpirationInDays(v int64) *CreateTokenInput

SetExpirationInDays sets the ExpirationInDays field's value.

func (*CreateTokenInput) SetLicenseArn added in v1.36.1

func (s *CreateTokenInput) SetLicenseArn(v string) *CreateTokenInput

SetLicenseArn sets the LicenseArn field's value.

func (*CreateTokenInput) SetRoleArns added in v1.36.1

func (s *CreateTokenInput) SetRoleArns(v []*string) *CreateTokenInput

SetRoleArns sets the RoleArns field's value.

func (*CreateTokenInput) SetTokenProperties added in v1.36.1

func (s *CreateTokenInput) SetTokenProperties(v []*string) *CreateTokenInput

SetTokenProperties sets the TokenProperties field's value.

func (CreateTokenInput) String added in v1.36.1

func (s CreateTokenInput) String() string

String returns the string representation

func (*CreateTokenInput) Validate added in v1.36.1

func (s *CreateTokenInput) Validate() error

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

type CreateTokenOutput added in v1.36.1

type CreateTokenOutput struct {

	// Refresh token, encoded as a JWT token.
	Token *string `type:"string"`

	// Token ID.
	TokenId *string `type:"string"`

	// Token type.
	TokenType *string `type:"string" enum:"TokenType"`
	// contains filtered or unexported fields
}

func (CreateTokenOutput) GoString added in v1.36.1

func (s CreateTokenOutput) GoString() string

GoString returns the string representation

func (*CreateTokenOutput) SetToken added in v1.36.1

func (s *CreateTokenOutput) SetToken(v string) *CreateTokenOutput

SetToken sets the Token field's value.

func (*CreateTokenOutput) SetTokenId added in v1.36.1

func (s *CreateTokenOutput) SetTokenId(v string) *CreateTokenOutput

SetTokenId sets the TokenId field's value.

func (*CreateTokenOutput) SetTokenType added in v1.36.1

func (s *CreateTokenOutput) SetTokenType(v string) *CreateTokenOutput

SetTokenType sets the TokenType field's value.

func (CreateTokenOutput) String added in v1.36.1

func (s CreateTokenOutput) String() string

String returns the string representation

type DatetimeRange added in v1.36.1

type DatetimeRange struct {

	// Start of the time range.
	//
	// Begin is a required field
	Begin *string `type:"string" required:"true"`

	// End of the time range.
	End *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a time range, in ISO8601-UTC format.

func (DatetimeRange) GoString added in v1.36.1

func (s DatetimeRange) GoString() string

GoString returns the string representation

func (*DatetimeRange) SetBegin added in v1.36.1

func (s *DatetimeRange) SetBegin(v string) *DatetimeRange

SetBegin sets the Begin field's value.

func (*DatetimeRange) SetEnd added in v1.36.1

func (s *DatetimeRange) SetEnd(v string) *DatetimeRange

SetEnd sets the End field's value.

func (DatetimeRange) String added in v1.36.1

func (s DatetimeRange) String() string

String returns the string representation

func (*DatetimeRange) Validate added in v1.36.1

func (s *DatetimeRange) Validate() error

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

type DeleteGrantInput added in v1.36.1

type DeleteGrantInput struct {

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

	// Current version of the grant.
	//
	// Version is a required field
	Version *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteGrantInput) GoString added in v1.36.1

func (s DeleteGrantInput) GoString() string

GoString returns the string representation

func (*DeleteGrantInput) SetGrantArn added in v1.36.1

func (s *DeleteGrantInput) SetGrantArn(v string) *DeleteGrantInput

SetGrantArn sets the GrantArn field's value.

func (*DeleteGrantInput) SetVersion added in v1.36.1

func (s *DeleteGrantInput) SetVersion(v string) *DeleteGrantInput

SetVersion sets the Version field's value.

func (DeleteGrantInput) String added in v1.36.1

func (s DeleteGrantInput) String() string

String returns the string representation

func (*DeleteGrantInput) Validate added in v1.36.1

func (s *DeleteGrantInput) Validate() error

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

type DeleteGrantOutput added in v1.36.1

type DeleteGrantOutput struct {

	// Grant ARN.
	GrantArn *string `type:"string"`

	// Grant status.
	Status *string `type:"string" enum:"GrantStatus"`

	// Grant version.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteGrantOutput) GoString added in v1.36.1

func (s DeleteGrantOutput) GoString() string

GoString returns the string representation

func (*DeleteGrantOutput) SetGrantArn added in v1.36.1

func (s *DeleteGrantOutput) SetGrantArn(v string) *DeleteGrantOutput

SetGrantArn sets the GrantArn field's value.

func (*DeleteGrantOutput) SetStatus added in v1.36.1

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

SetStatus sets the Status field's value.

func (*DeleteGrantOutput) SetVersion added in v1.36.1

func (s *DeleteGrantOutput) SetVersion(v string) *DeleteGrantOutput

SetVersion sets the Version field's value.

func (DeleteGrantOutput) String added in v1.36.1

func (s DeleteGrantOutput) String() string

String returns the string representation

type DeleteLicenseConfigurationInput

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

GoString returns the string representation

func (*DeleteLicenseConfigurationInput) SetLicenseConfigurationArn

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (DeleteLicenseConfigurationInput) String

String returns the string representation

func (*DeleteLicenseConfigurationInput) Validate

func (s *DeleteLicenseConfigurationInput) Validate() error

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

type DeleteLicenseConfigurationOutput

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

func (DeleteLicenseConfigurationOutput) GoString

GoString returns the string representation

func (DeleteLicenseConfigurationOutput) String

String returns the string representation

type DeleteLicenseInput added in v1.36.1

type DeleteLicenseInput struct {

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

	// Current version of the license.
	//
	// SourceVersion is a required field
	SourceVersion *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteLicenseInput) GoString added in v1.36.1

func (s DeleteLicenseInput) GoString() string

GoString returns the string representation

func (*DeleteLicenseInput) SetLicenseArn added in v1.36.1

func (s *DeleteLicenseInput) SetLicenseArn(v string) *DeleteLicenseInput

SetLicenseArn sets the LicenseArn field's value.

func (*DeleteLicenseInput) SetSourceVersion added in v1.36.1

func (s *DeleteLicenseInput) SetSourceVersion(v string) *DeleteLicenseInput

SetSourceVersion sets the SourceVersion field's value.

func (DeleteLicenseInput) String added in v1.36.1

func (s DeleteLicenseInput) String() string

String returns the string representation

func (*DeleteLicenseInput) Validate added in v1.36.1

func (s *DeleteLicenseInput) Validate() error

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

type DeleteLicenseOutput added in v1.36.1

type DeleteLicenseOutput struct {

	// Date on which the license is deleted.
	DeletionDate *string `type:"string"`

	// License status.
	Status *string `type:"string" enum:"LicenseDeletionStatus"`
	// contains filtered or unexported fields
}

func (DeleteLicenseOutput) GoString added in v1.36.1

func (s DeleteLicenseOutput) GoString() string

GoString returns the string representation

func (*DeleteLicenseOutput) SetDeletionDate added in v1.36.1

func (s *DeleteLicenseOutput) SetDeletionDate(v string) *DeleteLicenseOutput

SetDeletionDate sets the DeletionDate field's value.

func (*DeleteLicenseOutput) SetStatus added in v1.36.1

SetStatus sets the Status field's value.

func (DeleteLicenseOutput) String added in v1.36.1

func (s DeleteLicenseOutput) String() string

String returns the string representation

type DeleteTokenInput added in v1.36.1

type DeleteTokenInput struct {

	// Token ID.
	//
	// TokenId is a required field
	TokenId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTokenInput) GoString added in v1.36.1

func (s DeleteTokenInput) GoString() string

GoString returns the string representation

func (*DeleteTokenInput) SetTokenId added in v1.36.1

func (s *DeleteTokenInput) SetTokenId(v string) *DeleteTokenInput

SetTokenId sets the TokenId field's value.

func (DeleteTokenInput) String added in v1.36.1

func (s DeleteTokenInput) String() string

String returns the string representation

func (*DeleteTokenInput) Validate added in v1.36.1

func (s *DeleteTokenInput) Validate() error

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

type DeleteTokenOutput added in v1.36.1

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

func (DeleteTokenOutput) GoString added in v1.36.1

func (s DeleteTokenOutput) GoString() string

GoString returns the string representation

func (DeleteTokenOutput) String added in v1.36.1

func (s DeleteTokenOutput) String() string

String returns the string representation

type Entitlement added in v1.36.1

type Entitlement struct {

	// Indicates whether check-ins are allowed.
	AllowCheckIn *bool `type:"boolean"`

	// Maximum entitlement count. Use if the unit is not None.
	MaxCount *int64 `type:"long"`

	// Entitlement name.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// Indicates whether overages are allowed.
	Overage *bool `type:"boolean"`

	// Entitlement unit.
	//
	// Unit is a required field
	Unit *string `type:"string" required:"true" enum:"EntitlementUnit"`

	// Entitlement resource. Use only if the unit is None.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a resource entitled for use with a license.

func (Entitlement) GoString added in v1.36.1

func (s Entitlement) GoString() string

GoString returns the string representation

func (*Entitlement) SetAllowCheckIn added in v1.36.1

func (s *Entitlement) SetAllowCheckIn(v bool) *Entitlement

SetAllowCheckIn sets the AllowCheckIn field's value.

func (*Entitlement) SetMaxCount added in v1.36.1

func (s *Entitlement) SetMaxCount(v int64) *Entitlement

SetMaxCount sets the MaxCount field's value.

func (*Entitlement) SetName added in v1.36.1

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

SetName sets the Name field's value.

func (*Entitlement) SetOverage added in v1.36.1

func (s *Entitlement) SetOverage(v bool) *Entitlement

SetOverage sets the Overage field's value.

func (*Entitlement) SetUnit added in v1.36.1

func (s *Entitlement) SetUnit(v string) *Entitlement

SetUnit sets the Unit field's value.

func (*Entitlement) SetValue added in v1.36.1

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

SetValue sets the Value field's value.

func (Entitlement) String added in v1.36.1

func (s Entitlement) String() string

String returns the string representation

func (*Entitlement) Validate added in v1.36.1

func (s *Entitlement) Validate() error

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

type EntitlementData added in v1.36.1

type EntitlementData struct {

	// Entitlement data name.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// Entitlement data unit.
	//
	// Unit is a required field
	Unit *string `type:"string" required:"true" enum:"EntitlementDataUnit"`

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

Data associated with an entitlement resource.

func (EntitlementData) GoString added in v1.36.1

func (s EntitlementData) GoString() string

GoString returns the string representation

func (*EntitlementData) SetName added in v1.36.1

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

SetName sets the Name field's value.

func (*EntitlementData) SetUnit added in v1.36.1

func (s *EntitlementData) SetUnit(v string) *EntitlementData

SetUnit sets the Unit field's value.

func (*EntitlementData) SetValue added in v1.36.1

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

SetValue sets the Value field's value.

func (EntitlementData) String added in v1.36.1

func (s EntitlementData) String() string

String returns the string representation

func (*EntitlementData) Validate added in v1.36.1

func (s *EntitlementData) Validate() error

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

type EntitlementNotAllowedException added in v1.36.1

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

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

The entitlement is not allowed.

func (*EntitlementNotAllowedException) Code added in v1.36.1

Code returns the exception type name.

func (*EntitlementNotAllowedException) Error added in v1.36.1

func (EntitlementNotAllowedException) GoString added in v1.36.1

GoString returns the string representation

func (*EntitlementNotAllowedException) Message added in v1.36.1

Message returns the exception's message.

func (*EntitlementNotAllowedException) OrigErr added in v1.36.1

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EntitlementNotAllowedException) RequestID added in v1.36.1

func (s *EntitlementNotAllowedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EntitlementNotAllowedException) StatusCode added in v1.36.1

func (s *EntitlementNotAllowedException) StatusCode() int

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

func (EntitlementNotAllowedException) String added in v1.36.1

String returns the string representation

type EntitlementUsage added in v1.36.1

type EntitlementUsage struct {

	// Resource usage consumed.
	//
	// ConsumedValue is a required field
	ConsumedValue *string `type:"string" required:"true"`

	// Maximum entitlement usage count.
	MaxCount *string `type:"string"`

	// Entitlement usage name.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// Entitlement usage unit.
	//
	// Unit is a required field
	Unit *string `type:"string" required:"true" enum:"EntitlementDataUnit"`
	// contains filtered or unexported fields
}

Usage associated with an entitlement resource.

func (EntitlementUsage) GoString added in v1.36.1

func (s EntitlementUsage) GoString() string

GoString returns the string representation

func (*EntitlementUsage) SetConsumedValue added in v1.36.1

func (s *EntitlementUsage) SetConsumedValue(v string) *EntitlementUsage

SetConsumedValue sets the ConsumedValue field's value.

func (*EntitlementUsage) SetMaxCount added in v1.36.1

func (s *EntitlementUsage) SetMaxCount(v string) *EntitlementUsage

SetMaxCount sets the MaxCount field's value.

func (*EntitlementUsage) SetName added in v1.36.1

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

SetName sets the Name field's value.

func (*EntitlementUsage) SetUnit added in v1.36.1

func (s *EntitlementUsage) SetUnit(v string) *EntitlementUsage

SetUnit sets the Unit field's value.

func (EntitlementUsage) String added in v1.36.1

func (s EntitlementUsage) String() string

String returns the string representation

type ExtendLicenseConsumptionInput added in v1.36.1

type ExtendLicenseConsumptionInput struct {

	// Checks whether you have the required permissions for the action, without
	// actually making the request. Provides an error response if you do not have
	// the required permissions.
	DryRun *bool `type:"boolean"`

	// License consumption token.
	//
	// LicenseConsumptionToken is a required field
	LicenseConsumptionToken *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ExtendLicenseConsumptionInput) GoString added in v1.36.1

GoString returns the string representation

func (*ExtendLicenseConsumptionInput) SetDryRun added in v1.36.1

SetDryRun sets the DryRun field's value.

func (*ExtendLicenseConsumptionInput) SetLicenseConsumptionToken added in v1.36.1

func (s *ExtendLicenseConsumptionInput) SetLicenseConsumptionToken(v string) *ExtendLicenseConsumptionInput

SetLicenseConsumptionToken sets the LicenseConsumptionToken field's value.

func (ExtendLicenseConsumptionInput) String added in v1.36.1

String returns the string representation

func (*ExtendLicenseConsumptionInput) Validate added in v1.36.1

func (s *ExtendLicenseConsumptionInput) Validate() error

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

type ExtendLicenseConsumptionOutput added in v1.36.1

type ExtendLicenseConsumptionOutput struct {

	// Date and time at which the license consumption expires.
	Expiration *string `type:"string"`

	// License consumption token.
	LicenseConsumptionToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ExtendLicenseConsumptionOutput) GoString added in v1.36.1

GoString returns the string representation

func (*ExtendLicenseConsumptionOutput) SetExpiration added in v1.36.1

SetExpiration sets the Expiration field's value.

func (*ExtendLicenseConsumptionOutput) SetLicenseConsumptionToken added in v1.36.1

func (s *ExtendLicenseConsumptionOutput) SetLicenseConsumptionToken(v string) *ExtendLicenseConsumptionOutput

SetLicenseConsumptionToken sets the LicenseConsumptionToken field's value.

func (ExtendLicenseConsumptionOutput) String added in v1.36.1

String returns the string representation

type FailedDependencyException added in v1.28.0

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

	ErrorCode *string `type:"string"`

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

A dependency required to run the API is missing.

func (*FailedDependencyException) Code added in v1.28.0

Code returns the exception type name.

func (*FailedDependencyException) Error added in v1.28.0

func (s *FailedDependencyException) Error() string

func (FailedDependencyException) GoString added in v1.28.0

func (s FailedDependencyException) GoString() string

GoString returns the string representation

func (*FailedDependencyException) Message added in v1.28.0

func (s *FailedDependencyException) Message() string

Message returns the exception's message.

func (*FailedDependencyException) OrigErr added in v1.28.0

func (s *FailedDependencyException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FailedDependencyException) RequestID added in v1.28.0

func (s *FailedDependencyException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*FailedDependencyException) StatusCode added in v1.28.0

func (s *FailedDependencyException) StatusCode() int

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

func (FailedDependencyException) String added in v1.28.0

func (s FailedDependencyException) String() string

String returns the string representation

type Filter

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

func (s Filter) GoString() string

GoString returns the string representation

func (*Filter) SetName

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

SetName sets the Name field's value.

func (*Filter) SetValues

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

SetValues sets the Values field's value.

func (Filter) String

func (s Filter) String() string

String returns the string representation

type FilterLimitExceededException added in v1.28.0

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 added in v1.28.0

Code returns the exception type name.

func (*FilterLimitExceededException) Error added in v1.28.0

func (FilterLimitExceededException) GoString added in v1.28.0

func (s FilterLimitExceededException) GoString() string

GoString returns the string representation

func (*FilterLimitExceededException) Message added in v1.28.0

func (s *FilterLimitExceededException) Message() string

Message returns the exception's message.

func (*FilterLimitExceededException) OrigErr added in v1.28.0

func (s *FilterLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*FilterLimitExceededException) RequestID added in v1.28.0

func (s *FilterLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*FilterLimitExceededException) StatusCode added in v1.28.0

func (s *FilterLimitExceededException) StatusCode() int

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

func (FilterLimitExceededException) String added in v1.28.0

String returns the string representation

type GetAccessTokenInput added in v1.36.1

type GetAccessTokenInput struct {

	// Refresh token, encoded as a JWT token.
	//
	// Token is a required field
	Token *string `type:"string" required:"true"`

	// Token properties to validate against those present in the JWT token.
	TokenProperties []*string `type:"list"`
	// contains filtered or unexported fields
}

func (GetAccessTokenInput) GoString added in v1.36.1

func (s GetAccessTokenInput) GoString() string

GoString returns the string representation

func (*GetAccessTokenInput) SetToken added in v1.36.1

SetToken sets the Token field's value.

func (*GetAccessTokenInput) SetTokenProperties added in v1.36.1

func (s *GetAccessTokenInput) SetTokenProperties(v []*string) *GetAccessTokenInput

SetTokenProperties sets the TokenProperties field's value.

func (GetAccessTokenInput) String added in v1.36.1

func (s GetAccessTokenInput) String() string

String returns the string representation

func (*GetAccessTokenInput) Validate added in v1.36.1

func (s *GetAccessTokenInput) Validate() error

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

type GetAccessTokenOutput added in v1.36.1

type GetAccessTokenOutput struct {

	// Temporary access token.
	AccessToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetAccessTokenOutput) GoString added in v1.36.1

func (s GetAccessTokenOutput) GoString() string

GoString returns the string representation

func (*GetAccessTokenOutput) SetAccessToken added in v1.36.1

func (s *GetAccessTokenOutput) SetAccessToken(v string) *GetAccessTokenOutput

SetAccessToken sets the AccessToken field's value.

func (GetAccessTokenOutput) String added in v1.36.1

func (s GetAccessTokenOutput) String() string

String returns the string representation

type GetGrantInput added in v1.36.1

type GetGrantInput struct {

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

	// Grant version.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetGrantInput) GoString added in v1.36.1

func (s GetGrantInput) GoString() string

GoString returns the string representation

func (*GetGrantInput) SetGrantArn added in v1.36.1

func (s *GetGrantInput) SetGrantArn(v string) *GetGrantInput

SetGrantArn sets the GrantArn field's value.

func (*GetGrantInput) SetVersion added in v1.36.1

func (s *GetGrantInput) SetVersion(v string) *GetGrantInput

SetVersion sets the Version field's value.

func (GetGrantInput) String added in v1.36.1

func (s GetGrantInput) String() string

String returns the string representation

func (*GetGrantInput) Validate added in v1.36.1

func (s *GetGrantInput) Validate() error

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

type GetGrantOutput added in v1.36.1

type GetGrantOutput struct {

	// Grant details.
	Grant *Grant `type:"structure"`
	// contains filtered or unexported fields
}

func (GetGrantOutput) GoString added in v1.36.1

func (s GetGrantOutput) GoString() string

GoString returns the string representation

func (*GetGrantOutput) SetGrant added in v1.36.1

func (s *GetGrantOutput) SetGrant(v *Grant) *GetGrantOutput

SetGrant sets the Grant field's value.

func (GetGrantOutput) String added in v1.36.1

func (s GetGrantOutput) String() string

String returns the string representation

type GetLicenseConfigurationInput

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

func (s GetLicenseConfigurationInput) GoString() string

GoString returns the string representation

func (*GetLicenseConfigurationInput) SetLicenseConfigurationArn

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

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (GetLicenseConfigurationInput) String

String returns the string representation

func (*GetLicenseConfigurationInput) Validate

func (s *GetLicenseConfigurationInput) Validate() error

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

type GetLicenseConfigurationOutput

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"`

	// When true, disassociates a resource when software is uninstalled.
	DisassociateWhenNotFound *bool `type:"boolean"`

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

GoString returns the string representation

func (*GetLicenseConfigurationOutput) SetAutomatedDiscoveryInformation added in v1.25.44

SetAutomatedDiscoveryInformation sets the AutomatedDiscoveryInformation field's value.

func (*GetLicenseConfigurationOutput) SetConsumedLicenseSummaryList

SetConsumedLicenseSummaryList sets the ConsumedLicenseSummaryList field's value.

func (*GetLicenseConfigurationOutput) SetConsumedLicenses

SetConsumedLicenses sets the ConsumedLicenses field's value.

func (*GetLicenseConfigurationOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetLicenseConfigurationOutput) SetDisassociateWhenNotFound added in v1.36.2

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

SetDisassociateWhenNotFound sets the DisassociateWhenNotFound field's value.

func (*GetLicenseConfigurationOutput) SetLicenseConfigurationArn

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

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*GetLicenseConfigurationOutput) SetLicenseConfigurationId

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

SetLicenseConfigurationId sets the LicenseConfigurationId field's value.

func (*GetLicenseConfigurationOutput) SetLicenseCount

SetLicenseCount sets the LicenseCount field's value.

func (*GetLicenseConfigurationOutput) SetLicenseCountHardLimit

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

SetLicenseCountHardLimit sets the LicenseCountHardLimit field's value.

func (*GetLicenseConfigurationOutput) SetLicenseCountingType

SetLicenseCountingType sets the LicenseCountingType field's value.

func (*GetLicenseConfigurationOutput) SetLicenseRules

SetLicenseRules sets the LicenseRules field's value.

func (*GetLicenseConfigurationOutput) SetManagedResourceSummaryList

SetManagedResourceSummaryList sets the ManagedResourceSummaryList field's value.

func (*GetLicenseConfigurationOutput) SetName

SetName sets the Name field's value.

func (*GetLicenseConfigurationOutput) SetOwnerAccountId

SetOwnerAccountId sets the OwnerAccountId field's value.

func (*GetLicenseConfigurationOutput) SetProductInformationList added in v1.25.44

SetProductInformationList sets the ProductInformationList field's value.

func (*GetLicenseConfigurationOutput) SetStatus

SetStatus sets the Status field's value.

func (*GetLicenseConfigurationOutput) SetTags

SetTags sets the Tags field's value.

func (GetLicenseConfigurationOutput) String

String returns the string representation

type GetLicenseInput added in v1.36.1

type GetLicenseInput struct {

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

	// License version.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetLicenseInput) GoString added in v1.36.1

func (s GetLicenseInput) GoString() string

GoString returns the string representation

func (*GetLicenseInput) SetLicenseArn added in v1.36.1

func (s *GetLicenseInput) SetLicenseArn(v string) *GetLicenseInput

SetLicenseArn sets the LicenseArn field's value.

func (*GetLicenseInput) SetVersion added in v1.36.1

func (s *GetLicenseInput) SetVersion(v string) *GetLicenseInput

SetVersion sets the Version field's value.

func (GetLicenseInput) String added in v1.36.1

func (s GetLicenseInput) String() string

String returns the string representation

func (*GetLicenseInput) Validate added in v1.36.1

func (s *GetLicenseInput) Validate() error

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

type GetLicenseOutput added in v1.36.1

type GetLicenseOutput struct {

	// License details.
	License *License `type:"structure"`
	// contains filtered or unexported fields
}

func (GetLicenseOutput) GoString added in v1.36.1

func (s GetLicenseOutput) GoString() string

GoString returns the string representation

func (*GetLicenseOutput) SetLicense added in v1.36.1

func (s *GetLicenseOutput) SetLicense(v *License) *GetLicenseOutput

SetLicense sets the License field's value.

func (GetLicenseOutput) String added in v1.36.1

func (s GetLicenseOutput) String() string

String returns the string representation

type GetLicenseUsageInput added in v1.36.1

type GetLicenseUsageInput struct {

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

func (GetLicenseUsageInput) GoString added in v1.36.1

func (s GetLicenseUsageInput) GoString() string

GoString returns the string representation

func (*GetLicenseUsageInput) SetLicenseArn added in v1.36.1

func (s *GetLicenseUsageInput) SetLicenseArn(v string) *GetLicenseUsageInput

SetLicenseArn sets the LicenseArn field's value.

func (GetLicenseUsageInput) String added in v1.36.1

func (s GetLicenseUsageInput) String() string

String returns the string representation

func (*GetLicenseUsageInput) Validate added in v1.36.1

func (s *GetLicenseUsageInput) Validate() error

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

type GetLicenseUsageOutput added in v1.36.1

type GetLicenseUsageOutput struct {

	// License usage details.
	LicenseUsage *LicenseUsage `type:"structure"`
	// contains filtered or unexported fields
}

func (GetLicenseUsageOutput) GoString added in v1.36.1

func (s GetLicenseUsageOutput) GoString() string

GoString returns the string representation

func (*GetLicenseUsageOutput) SetLicenseUsage added in v1.36.1

SetLicenseUsage sets the LicenseUsage field's value.

func (GetLicenseUsageOutput) String added in v1.36.1

func (s GetLicenseUsageOutput) String() string

String returns the string representation

type GetServiceSettingsInput

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

func (GetServiceSettingsInput) GoString

func (s GetServiceSettingsInput) GoString() string

GoString returns the string representation

func (GetServiceSettingsInput) String

func (s GetServiceSettingsInput) String() string

String returns the string representation

type GetServiceSettingsOutput

type GetServiceSettingsOutput struct {

	// Indicates whether cross-account discovery is 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 is 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

func (s GetServiceSettingsOutput) GoString() string

GoString returns the string representation

func (*GetServiceSettingsOutput) SetEnableCrossAccountsDiscovery

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

SetEnableCrossAccountsDiscovery sets the EnableCrossAccountsDiscovery field's value.

func (*GetServiceSettingsOutput) SetLicenseManagerResourceShareArn added in v1.25.44

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

SetLicenseManagerResourceShareArn sets the LicenseManagerResourceShareArn field's value.

func (*GetServiceSettingsOutput) SetOrganizationConfiguration

SetOrganizationConfiguration sets the OrganizationConfiguration field's value.

func (*GetServiceSettingsOutput) SetS3BucketArn

SetS3BucketArn sets the S3BucketArn field's value.

func (*GetServiceSettingsOutput) SetSnsTopicArn

SetSnsTopicArn sets the SnsTopicArn field's value.

func (GetServiceSettingsOutput) String

func (s GetServiceSettingsOutput) String() string

String returns the string representation

type Grant added in v1.36.1

type Grant struct {

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

	// Grant name.
	//
	// GrantName is a required field
	GrantName *string `type:"string" required:"true"`

	// Grant status.
	//
	// GrantStatus is a required field
	GrantStatus *string `type:"string" required:"true" enum:"GrantStatus"`

	// Granted operations.
	//
	// GrantedOperations is a required field
	GrantedOperations []*string `min:"1" type:"list" required:"true"`

	// The grantee principal ARN.
	//
	// GranteePrincipalArn is a required field
	GranteePrincipalArn *string `type:"string" required:"true"`

	// Home Region of the grant.
	//
	// HomeRegion is a required field
	HomeRegion *string `type:"string" required:"true"`

	// License ARN.
	//
	// LicenseArn is a required field
	LicenseArn *string `type:"string" required:"true"`

	// Parent ARN.
	//
	// ParentArn is a required field
	ParentArn *string `type:"string" required:"true"`

	// Grant status reason.
	StatusReason *string `type:"string"`

	// Grant version.
	//
	// Version is a required field
	Version *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes a grant.

func (Grant) GoString added in v1.36.1

func (s Grant) GoString() string

GoString returns the string representation

func (*Grant) SetGrantArn added in v1.36.1

func (s *Grant) SetGrantArn(v string) *Grant

SetGrantArn sets the GrantArn field's value.

func (*Grant) SetGrantName added in v1.36.1

func (s *Grant) SetGrantName(v string) *Grant

SetGrantName sets the GrantName field's value.

func (*Grant) SetGrantStatus added in v1.36.1

func (s *Grant) SetGrantStatus(v string) *Grant

SetGrantStatus sets the GrantStatus field's value.

func (*Grant) SetGrantedOperations added in v1.36.1

func (s *Grant) SetGrantedOperations(v []*string) *Grant

SetGrantedOperations sets the GrantedOperations field's value.

func (*Grant) SetGranteePrincipalArn added in v1.36.1

func (s *Grant) SetGranteePrincipalArn(v string) *Grant

SetGranteePrincipalArn sets the GranteePrincipalArn field's value.

func (*Grant) SetHomeRegion added in v1.36.1

func (s *Grant) SetHomeRegion(v string) *Grant

SetHomeRegion sets the HomeRegion field's value.

func (*Grant) SetLicenseArn added in v1.36.1

func (s *Grant) SetLicenseArn(v string) *Grant

SetLicenseArn sets the LicenseArn field's value.

func (*Grant) SetParentArn added in v1.36.1

func (s *Grant) SetParentArn(v string) *Grant

SetParentArn sets the ParentArn field's value.

func (*Grant) SetStatusReason added in v1.36.1

func (s *Grant) SetStatusReason(v string) *Grant

SetStatusReason sets the StatusReason field's value.

func (*Grant) SetVersion added in v1.36.1

func (s *Grant) SetVersion(v string) *Grant

SetVersion sets the Version field's value.

func (Grant) String added in v1.36.1

func (s Grant) String() string

String returns the string representation

type GrantedLicense added in v1.36.1

type GrantedLicense struct {

	// Granted license beneficiary.
	Beneficiary *string `type:"string"`

	// Configuration for consumption of the license.
	ConsumptionConfiguration *ConsumptionConfiguration `type:"structure"`

	// Creation time of the granted license.
	CreateTime *string `type:"string"`

	// License entitlements.
	Entitlements []*Entitlement `type:"list"`

	// Home Region of the granted license.
	HomeRegion *string `type:"string"`

	// Granted license issuer.
	Issuer *IssuerDetails `type:"structure"`

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

	// Granted license metadata.
	LicenseMetadata []*Metadata `type:"list"`

	// License name.
	LicenseName *string `type:"string"`

	// Product name.
	ProductName *string `type:"string"`

	// Product SKU.
	ProductSKU *string `type:"string"`

	// Granted license received metadata.
	ReceivedMetadata *ReceivedMetadata `type:"structure"`

	// Granted license status.
	Status *string `type:"string" enum:"LicenseStatus"`

	// Date and time range during which the granted license is valid, in ISO8601-UTC
	// format.
	Validity *DatetimeRange `type:"structure"`

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

Describes a license that is granted to a grantee.

func (GrantedLicense) GoString added in v1.36.1

func (s GrantedLicense) GoString() string

GoString returns the string representation

func (*GrantedLicense) SetBeneficiary added in v1.36.1

func (s *GrantedLicense) SetBeneficiary(v string) *GrantedLicense

SetBeneficiary sets the Beneficiary field's value.

func (*GrantedLicense) SetConsumptionConfiguration added in v1.36.1

func (s *GrantedLicense) SetConsumptionConfiguration(v *ConsumptionConfiguration) *GrantedLicense

SetConsumptionConfiguration sets the ConsumptionConfiguration field's value.

func (*GrantedLicense) SetCreateTime added in v1.36.1

func (s *GrantedLicense) SetCreateTime(v string) *GrantedLicense

SetCreateTime sets the CreateTime field's value.

func (*GrantedLicense) SetEntitlements added in v1.36.1

func (s *GrantedLicense) SetEntitlements(v []*Entitlement) *GrantedLicense

SetEntitlements sets the Entitlements field's value.

func (*GrantedLicense) SetHomeRegion added in v1.36.1

func (s *GrantedLicense) SetHomeRegion(v string) *GrantedLicense

SetHomeRegion sets the HomeRegion field's value.

func (*GrantedLicense) SetIssuer added in v1.36.1

func (s *GrantedLicense) SetIssuer(v *IssuerDetails) *GrantedLicense

SetIssuer sets the Issuer field's value.

func (*GrantedLicense) SetLicenseArn added in v1.36.1

func (s *GrantedLicense) SetLicenseArn(v string) *GrantedLicense

SetLicenseArn sets the LicenseArn field's value.

func (*GrantedLicense) SetLicenseMetadata added in v1.36.1

func (s *GrantedLicense) SetLicenseMetadata(v []*Metadata) *GrantedLicense

SetLicenseMetadata sets the LicenseMetadata field's value.

func (*GrantedLicense) SetLicenseName added in v1.36.1

func (s *GrantedLicense) SetLicenseName(v string) *GrantedLicense

SetLicenseName sets the LicenseName field's value.

func (*GrantedLicense) SetProductName added in v1.36.1

func (s *GrantedLicense) SetProductName(v string) *GrantedLicense

SetProductName sets the ProductName field's value.

func (*GrantedLicense) SetProductSKU added in v1.36.1

func (s *GrantedLicense) SetProductSKU(v string) *GrantedLicense

SetProductSKU sets the ProductSKU field's value.

func (*GrantedLicense) SetReceivedMetadata added in v1.36.1

func (s *GrantedLicense) SetReceivedMetadata(v *ReceivedMetadata) *GrantedLicense

SetReceivedMetadata sets the ReceivedMetadata field's value.

func (*GrantedLicense) SetStatus added in v1.36.1

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

SetStatus sets the Status field's value.

func (*GrantedLicense) SetValidity added in v1.36.1

func (s *GrantedLicense) SetValidity(v *DatetimeRange) *GrantedLicense

SetValidity sets the Validity field's value.

func (*GrantedLicense) SetVersion added in v1.36.1

func (s *GrantedLicense) SetVersion(v string) *GrantedLicense

SetVersion sets the Version field's value.

func (GrantedLicense) String added in v1.36.1

func (s GrantedLicense) String() string

String returns the string representation

type InvalidParameterValueException added in v1.28.0

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 added in v1.28.0

Code returns the exception type name.

func (*InvalidParameterValueException) Error added in v1.28.0

func (InvalidParameterValueException) GoString added in v1.28.0

GoString returns the string representation

func (*InvalidParameterValueException) Message added in v1.28.0

Message returns the exception's message.

func (*InvalidParameterValueException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParameterValueException) RequestID added in v1.28.0

func (s *InvalidParameterValueException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidParameterValueException) StatusCode added in v1.28.0

func (s *InvalidParameterValueException) StatusCode() int

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

func (InvalidParameterValueException) String added in v1.28.0

String returns the string representation

type InvalidResourceStateException added in v1.28.0

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 added in v1.28.0

Code returns the exception type name.

func (*InvalidResourceStateException) Error added in v1.28.0

func (InvalidResourceStateException) GoString added in v1.28.0

GoString returns the string representation

func (*InvalidResourceStateException) Message added in v1.28.0

Message returns the exception's message.

func (*InvalidResourceStateException) OrigErr added in v1.28.0

func (s *InvalidResourceStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidResourceStateException) RequestID added in v1.28.0

func (s *InvalidResourceStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidResourceStateException) StatusCode added in v1.28.0

func (s *InvalidResourceStateException) StatusCode() int

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

func (InvalidResourceStateException) String added in v1.28.0

String returns the string representation

type InventoryFilter

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

func (s InventoryFilter) GoString() string

GoString returns the string representation

func (*InventoryFilter) SetCondition

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

SetCondition sets the Condition field's value.

func (*InventoryFilter) SetName

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

SetName sets the Name field's value.

func (*InventoryFilter) SetValue

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

SetValue sets the Value field's value.

func (InventoryFilter) String

func (s InventoryFilter) String() string

String returns the string representation

func (*InventoryFilter) Validate

func (s *InventoryFilter) Validate() error

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

type Issuer added in v1.36.1

type Issuer struct {

	// Issuer name.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// Asymmetric CMK from AWS Key Management Service. The CMK must have a key usage
	// of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.
	SignKey *string `type:"string"`
	// contains filtered or unexported fields
}

Details about the issuer of a license.

func (Issuer) GoString added in v1.36.1

func (s Issuer) GoString() string

GoString returns the string representation

func (*Issuer) SetName added in v1.36.1

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

SetName sets the Name field's value.

func (*Issuer) SetSignKey added in v1.36.1

func (s *Issuer) SetSignKey(v string) *Issuer

SetSignKey sets the SignKey field's value.

func (Issuer) String added in v1.36.1

func (s Issuer) String() string

String returns the string representation

func (*Issuer) Validate added in v1.36.1

func (s *Issuer) Validate() error

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

type IssuerDetails added in v1.36.1

type IssuerDetails struct {

	// Issuer key fingerprint.
	KeyFingerprint *string `type:"string"`

	// Issuer name.
	Name *string `type:"string"`

	// Asymmetric CMK from AWS Key Management Service. The CMK must have a key usage
	// of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.
	SignKey *string `type:"string"`
	// contains filtered or unexported fields
}

Details associated with the issuer of a license.

func (IssuerDetails) GoString added in v1.36.1

func (s IssuerDetails) GoString() string

GoString returns the string representation

func (*IssuerDetails) SetKeyFingerprint added in v1.36.1

func (s *IssuerDetails) SetKeyFingerprint(v string) *IssuerDetails

SetKeyFingerprint sets the KeyFingerprint field's value.

func (*IssuerDetails) SetName added in v1.36.1

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

SetName sets the Name field's value.

func (*IssuerDetails) SetSignKey added in v1.36.1

func (s *IssuerDetails) SetSignKey(v string) *IssuerDetails

SetSignKey sets the SignKey field's value.

func (IssuerDetails) String added in v1.36.1

func (s IssuerDetails) String() string

String returns the string representation

type License added in v1.36.1

type License struct {

	// License beneficiary.
	Beneficiary *string `type:"string"`

	// Configuration for consumption of the license.
	ConsumptionConfiguration *ConsumptionConfiguration `type:"structure"`

	// License creation time.
	CreateTime *string `type:"string"`

	// License entitlements.
	Entitlements []*Entitlement `type:"list"`

	// Home Region of the license.
	HomeRegion *string `type:"string"`

	// License issuer.
	Issuer *IssuerDetails `type:"structure"`

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

	// License metadata.
	LicenseMetadata []*Metadata `type:"list"`

	// License name.
	LicenseName *string `type:"string"`

	// Product name.
	ProductName *string `type:"string"`

	// Product SKU.
	ProductSKU *string `type:"string"`

	// License status.
	Status *string `type:"string" enum:"LicenseStatus"`

	// Date and time range during which the license is valid, in ISO8601-UTC format.
	Validity *DatetimeRange `type:"structure"`

	// License version.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

Software license that is managed in AWS License Manager.

func (License) GoString added in v1.36.1

func (s License) GoString() string

GoString returns the string representation

func (*License) SetBeneficiary added in v1.36.1

func (s *License) SetBeneficiary(v string) *License

SetBeneficiary sets the Beneficiary field's value.

func (*License) SetConsumptionConfiguration added in v1.36.1

func (s *License) SetConsumptionConfiguration(v *ConsumptionConfiguration) *License

SetConsumptionConfiguration sets the ConsumptionConfiguration field's value.

func (*License) SetCreateTime added in v1.36.1

func (s *License) SetCreateTime(v string) *License

SetCreateTime sets the CreateTime field's value.

func (*License) SetEntitlements added in v1.36.1

func (s *License) SetEntitlements(v []*Entitlement) *License

SetEntitlements sets the Entitlements field's value.

func (*License) SetHomeRegion added in v1.36.1

func (s *License) SetHomeRegion(v string) *License

SetHomeRegion sets the HomeRegion field's value.

func (*License) SetIssuer added in v1.36.1

func (s *License) SetIssuer(v *IssuerDetails) *License

SetIssuer sets the Issuer field's value.

func (*License) SetLicenseArn added in v1.36.1

func (s *License) SetLicenseArn(v string) *License

SetLicenseArn sets the LicenseArn field's value.

func (*License) SetLicenseMetadata added in v1.36.1

func (s *License) SetLicenseMetadata(v []*Metadata) *License

SetLicenseMetadata sets the LicenseMetadata field's value.

func (*License) SetLicenseName added in v1.36.1

func (s *License) SetLicenseName(v string) *License

SetLicenseName sets the LicenseName field's value.

func (*License) SetProductName added in v1.36.1

func (s *License) SetProductName(v string) *License

SetProductName sets the ProductName field's value.

func (*License) SetProductSKU added in v1.36.1

func (s *License) SetProductSKU(v string) *License

SetProductSKU sets the ProductSKU field's value.

func (*License) SetStatus added in v1.36.1

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

SetStatus sets the Status field's value.

func (*License) SetValidity added in v1.36.1

func (s *License) SetValidity(v *DatetimeRange) *License

SetValidity sets the Validity field's value.

func (*License) SetVersion added in v1.36.1

func (s *License) SetVersion(v string) *License

SetVersion sets the Version field's value.

func (License) String added in v1.36.1

func (s License) String() string

String returns the string representation

type LicenseConfiguration

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"`

	// When true, disassociates a resource when software is uninstalled.
	DisassociateWhenNotFound *bool `type:"boolean"`

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

func (s LicenseConfiguration) GoString() string

GoString returns the string representation

func (*LicenseConfiguration) SetAutomatedDiscoveryInformation added in v1.25.44

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

SetAutomatedDiscoveryInformation sets the AutomatedDiscoveryInformation field's value.

func (*LicenseConfiguration) SetConsumedLicenseSummaryList

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

SetConsumedLicenseSummaryList sets the ConsumedLicenseSummaryList field's value.

func (*LicenseConfiguration) SetConsumedLicenses

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

SetConsumedLicenses sets the ConsumedLicenses field's value.

func (*LicenseConfiguration) SetDescription

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

SetDescription sets the Description field's value.

func (*LicenseConfiguration) SetDisassociateWhenNotFound added in v1.36.2

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

SetDisassociateWhenNotFound sets the DisassociateWhenNotFound field's value.

func (*LicenseConfiguration) SetLicenseConfigurationArn

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

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*LicenseConfiguration) SetLicenseConfigurationId

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

SetLicenseConfigurationId sets the LicenseConfigurationId field's value.

func (*LicenseConfiguration) SetLicenseCount

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

SetLicenseCount sets the LicenseCount field's value.

func (*LicenseConfiguration) SetLicenseCountHardLimit

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

SetLicenseCountHardLimit sets the LicenseCountHardLimit field's value.

func (*LicenseConfiguration) SetLicenseCountingType

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

SetLicenseCountingType sets the LicenseCountingType field's value.

func (*LicenseConfiguration) SetLicenseRules

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

SetLicenseRules sets the LicenseRules field's value.

func (*LicenseConfiguration) SetManagedResourceSummaryList

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

SetManagedResourceSummaryList sets the ManagedResourceSummaryList field's value.

func (*LicenseConfiguration) SetName

SetName sets the Name field's value.

func (*LicenseConfiguration) SetOwnerAccountId

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

SetOwnerAccountId sets the OwnerAccountId field's value.

func (*LicenseConfiguration) SetProductInformationList added in v1.25.44

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

SetProductInformationList sets the ProductInformationList field's value.

func (*LicenseConfiguration) SetStatus

SetStatus sets the Status field's value.

func (LicenseConfiguration) String

func (s LicenseConfiguration) String() string

String returns the string representation

type LicenseConfigurationAssociation

type LicenseConfigurationAssociation struct {

	// Scope of AMI associations. The possible value is cross-account.
	AmiAssociationScope *string `type:"string"`

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

GoString returns the string representation

func (*LicenseConfigurationAssociation) SetAmiAssociationScope added in v1.35.34

SetAmiAssociationScope sets the AmiAssociationScope field's value.

func (*LicenseConfigurationAssociation) SetAssociationTime

SetAssociationTime sets the AssociationTime field's value.

func (*LicenseConfigurationAssociation) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (*LicenseConfigurationAssociation) SetResourceOwnerId

SetResourceOwnerId sets the ResourceOwnerId field's value.

func (*LicenseConfigurationAssociation) SetResourceType

SetResourceType sets the ResourceType field's value.

func (LicenseConfigurationAssociation) String

String returns the string representation

type LicenseConfigurationUsage

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

func (s LicenseConfigurationUsage) GoString() string

GoString returns the string representation

func (*LicenseConfigurationUsage) SetAssociationTime

SetAssociationTime sets the AssociationTime field's value.

func (*LicenseConfigurationUsage) SetConsumedLicenses

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

SetConsumedLicenses sets the ConsumedLicenses field's value.

func (*LicenseConfigurationUsage) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (*LicenseConfigurationUsage) SetResourceOwnerId

SetResourceOwnerId sets the ResourceOwnerId field's value.

func (*LicenseConfigurationUsage) SetResourceStatus

SetResourceStatus sets the ResourceStatus field's value.

func (*LicenseConfigurationUsage) SetResourceType

SetResourceType sets the ResourceType field's value.

func (LicenseConfigurationUsage) String

func (s LicenseConfigurationUsage) String() string

String returns the string representation

type LicenseManager

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

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) AcceptGrant added in v1.36.1

func (c *LicenseManager) AcceptGrant(input *AcceptGrantInput) (*AcceptGrantOutput, error)

AcceptGrant API operation for AWS License Manager.

Accepts the specified grant.

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 AcceptGrant for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • 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.

  • ResourceLimitExceededException Your resource limits have been exceeded.

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

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

func (*LicenseManager) AcceptGrantRequest added in v1.36.1

func (c *LicenseManager) AcceptGrantRequest(input *AcceptGrantInput) (req *request.Request, output *AcceptGrantOutput)

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

func (*LicenseManager) AcceptGrantWithContext added in v1.36.1

func (c *LicenseManager) AcceptGrantWithContext(ctx aws.Context, input *AcceptGrantInput, opts ...request.Option) (*AcceptGrantOutput, error)

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

See AcceptGrant 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) CheckInLicense added in v1.36.1

func (c *LicenseManager) CheckInLicense(input *CheckInLicenseInput) (*CheckInLicenseOutput, error)

CheckInLicense API operation for AWS License Manager.

Checks in the specified license. Check in a license when it is no longer 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 CheckInLicense for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The resource cannot be found.

  • ConflictException There was a conflict processing the request. Try your request 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.

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

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

func (*LicenseManager) CheckInLicenseRequest added in v1.36.1

func (c *LicenseManager) CheckInLicenseRequest(input *CheckInLicenseInput) (req *request.Request, output *CheckInLicenseOutput)

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

func (*LicenseManager) CheckInLicenseWithContext added in v1.36.1

func (c *LicenseManager) CheckInLicenseWithContext(ctx aws.Context, input *CheckInLicenseInput, opts ...request.Option) (*CheckInLicenseOutput, error)

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

See CheckInLicense 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) CheckoutBorrowLicense added in v1.36.1

func (c *LicenseManager) CheckoutBorrowLicense(input *CheckoutBorrowLicenseInput) (*CheckoutBorrowLicenseOutput, error)

CheckoutBorrowLicense API operation for AWS License Manager.

Checks out the specified license for offline 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 CheckoutBorrowLicense for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The resource cannot be found.

  • NoEntitlementsAllowedException There are no entitlements found for this license, or the entitlement maximum count is reached.

  • EntitlementNotAllowedException The entitlement is not allowed.

  • UnsupportedDigitalSignatureMethodException The digital signature method is unsupported. Try your request again.

  • RedirectException This is not the correct Region for the resource. 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.

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

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

func (*LicenseManager) CheckoutBorrowLicenseRequest added in v1.36.1

func (c *LicenseManager) CheckoutBorrowLicenseRequest(input *CheckoutBorrowLicenseInput) (req *request.Request, output *CheckoutBorrowLicenseOutput)

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

func (*LicenseManager) CheckoutBorrowLicenseWithContext added in v1.36.1

func (c *LicenseManager) CheckoutBorrowLicenseWithContext(ctx aws.Context, input *CheckoutBorrowLicenseInput, opts ...request.Option) (*CheckoutBorrowLicenseOutput, error)

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

See CheckoutBorrowLicense 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) CheckoutLicense added in v1.36.1

func (c *LicenseManager) CheckoutLicense(input *CheckoutLicenseInput) (*CheckoutLicenseOutput, error)

CheckoutLicense API operation for AWS License Manager.

Checks out the specified license.

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 CheckoutLicense for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The resource cannot be found.

  • NoEntitlementsAllowedException There are no entitlements found for this license, or the entitlement maximum count is reached.

  • UnsupportedDigitalSignatureMethodException The digital signature method is unsupported. Try your request again.

  • RedirectException This is not the correct Region for the resource. 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.

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

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

func (*LicenseManager) CheckoutLicenseRequest added in v1.36.1

func (c *LicenseManager) CheckoutLicenseRequest(input *CheckoutLicenseInput) (req *request.Request, output *CheckoutLicenseOutput)

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

func (*LicenseManager) CheckoutLicenseWithContext added in v1.36.1

func (c *LicenseManager) CheckoutLicenseWithContext(ctx aws.Context, input *CheckoutLicenseInput, opts ...request.Option) (*CheckoutLicenseOutput, error)

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

See CheckoutLicense 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) CreateGrant added in v1.36.1

func (c *LicenseManager) CreateGrant(input *CreateGrantInput) (*CreateGrantOutput, error)

CreateGrant API operation for AWS License Manager.

Creates a grant for the specified license. A grant shares the use of license entitlements with specific AWS accounts.

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 CreateGrant for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • ResourceLimitExceededException Your resource limits have been exceeded.

  • 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.

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

  • AccessDeniedException Access to resource denied.

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

func (*LicenseManager) CreateGrantRequest added in v1.36.1

func (c *LicenseManager) CreateGrantRequest(input *CreateGrantInput) (req *request.Request, output *CreateGrantOutput)

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

func (*LicenseManager) CreateGrantVersion added in v1.36.1

func (c *LicenseManager) CreateGrantVersion(input *CreateGrantVersionInput) (*CreateGrantVersionOutput, error)

CreateGrantVersion API operation for AWS License Manager.

Creates a new version of the specified grant.

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 CreateGrantVersion for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • ResourceLimitExceededException Your resource limits have been exceeded.

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

func (*LicenseManager) CreateGrantVersionRequest added in v1.36.1

func (c *LicenseManager) CreateGrantVersionRequest(input *CreateGrantVersionInput) (req *request.Request, output *CreateGrantVersionOutput)

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

func (*LicenseManager) CreateGrantVersionWithContext added in v1.36.1

func (c *LicenseManager) CreateGrantVersionWithContext(ctx aws.Context, input *CreateGrantVersionInput, opts ...request.Option) (*CreateGrantVersionOutput, error)

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

See CreateGrantVersion 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) CreateGrantWithContext added in v1.36.1

func (c *LicenseManager) CreateGrantWithContext(ctx aws.Context, input *CreateGrantInput, opts ...request.Option) (*CreateGrantOutput, error)

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

See CreateGrant 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) CreateLicense added in v1.36.1

func (c *LicenseManager) CreateLicense(input *CreateLicenseInput) (*CreateLicenseOutput, error)

CreateLicense API operation for AWS License Manager.

Creates a license.

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 CreateLicense for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • RedirectException This is not the correct Region for the resource. 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.

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

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

func (*LicenseManager) CreateLicenseConfiguration

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), license affinity to host (how long a license 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

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

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) CreateLicenseRequest added in v1.36.1

func (c *LicenseManager) CreateLicenseRequest(input *CreateLicenseInput) (req *request.Request, output *CreateLicenseOutput)

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

func (*LicenseManager) CreateLicenseVersion added in v1.36.1

func (c *LicenseManager) CreateLicenseVersion(input *CreateLicenseVersionInput) (*CreateLicenseVersionOutput, error)

CreateLicenseVersion API operation for AWS License Manager.

Creates a new version of the specified license.

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 CreateLicenseVersion for usage and error information.

Returned Error Types:

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

  • AccessDeniedException Access to resource denied.

  • ResourceNotFoundException The resource cannot be found.

  • RedirectException This is not the correct Region for the resource. Try again.

  • ConflictException There was a conflict processing the request. Try your request again.

  • 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.

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

func (*LicenseManager) CreateLicenseVersionRequest added in v1.36.1

func (c *LicenseManager) CreateLicenseVersionRequest(input *CreateLicenseVersionInput) (req *request.Request, output *CreateLicenseVersionOutput)

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

func (*LicenseManager) CreateLicenseVersionWithContext added in v1.36.1

func (c *LicenseManager) CreateLicenseVersionWithContext(ctx aws.Context, input *CreateLicenseVersionInput, opts ...request.Option) (*CreateLicenseVersionOutput, error)

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

See CreateLicenseVersion 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) CreateLicenseWithContext added in v1.36.1

func (c *LicenseManager) CreateLicenseWithContext(ctx aws.Context, input *CreateLicenseInput, opts ...request.Option) (*CreateLicenseOutput, error)

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

See CreateLicense 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) CreateToken added in v1.36.1

func (c *LicenseManager) CreateToken(input *CreateTokenInput) (*CreateTokenOutput, error)

CreateToken API operation for AWS License Manager.

Creates a long-lived token.

A refresh token is a JWT token used to get an access token. With an access token, you can call AssumeRoleWithWebIdentity to get role credentials that you can use to call License Manager to manage the specified license.

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 CreateToken for usage and error information.

Returned Error Types:

  • ValidationException The provided input is not valid. Try your request 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.

  • ResourceLimitExceededException Your resource limits have been exceeded.

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

  • ResourceNotFoundException The resource cannot be found.

  • RedirectException This is not the correct Region for the resource. Try again.

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

func (*LicenseManager) CreateTokenRequest added in v1.36.1

func (c *LicenseManager) CreateTokenRequest(input *CreateTokenInput) (req *request.Request, output *CreateTokenOutput)

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

func (*LicenseManager) CreateTokenWithContext added in v1.36.1

func (c *LicenseManager) CreateTokenWithContext(ctx aws.Context, input *CreateTokenInput, opts ...request.Option) (*CreateTokenOutput, error)

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

See CreateToken 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) DeleteGrant added in v1.36.1

func (c *LicenseManager) DeleteGrant(input *DeleteGrantInput) (*DeleteGrantOutput, error)

DeleteGrant API operation for AWS License Manager.

Deletes the specified grant.

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 DeleteGrant for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • 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.

  • ResourceLimitExceededException Your resource limits have been exceeded.

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

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

func (*LicenseManager) DeleteGrantRequest added in v1.36.1

func (c *LicenseManager) DeleteGrantRequest(input *DeleteGrantInput) (req *request.Request, output *DeleteGrantOutput)

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

func (*LicenseManager) DeleteGrantWithContext added in v1.36.1

func (c *LicenseManager) DeleteGrantWithContext(ctx aws.Context, input *DeleteGrantInput, opts ...request.Option) (*DeleteGrantOutput, error)

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

See DeleteGrant 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) DeleteLicense added in v1.36.1

func (c *LicenseManager) DeleteLicense(input *DeleteLicenseInput) (*DeleteLicenseOutput, error)

DeleteLicense API operation for AWS License Manager.

Deletes the specified license.

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 DeleteLicense for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • RedirectException This is not the correct Region for the resource. Try again.

  • ConflictException There was a conflict processing the request. Try your request again.

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

func (*LicenseManager) DeleteLicenseConfiguration

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

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

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) DeleteLicenseRequest added in v1.36.1

func (c *LicenseManager) DeleteLicenseRequest(input *DeleteLicenseInput) (req *request.Request, output *DeleteLicenseOutput)

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

func (*LicenseManager) DeleteLicenseWithContext added in v1.36.1

func (c *LicenseManager) DeleteLicenseWithContext(ctx aws.Context, input *DeleteLicenseInput, opts ...request.Option) (*DeleteLicenseOutput, error)

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

See DeleteLicense 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) DeleteToken added in v1.36.1

func (c *LicenseManager) DeleteToken(input *DeleteTokenInput) (*DeleteTokenOutput, error)

DeleteToken API operation for AWS License Manager.

Deletes the specified token. Must be called in the license home 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 DeleteToken for usage and error information.

Returned Error Types:

  • ValidationException The provided input is not valid. Try your request 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.

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

  • ResourceNotFoundException The resource cannot be found.

  • RedirectException This is not the correct Region for the resource. Try again.

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

func (*LicenseManager) DeleteTokenRequest added in v1.36.1

func (c *LicenseManager) DeleteTokenRequest(input *DeleteTokenInput) (req *request.Request, output *DeleteTokenOutput)

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

func (*LicenseManager) DeleteTokenWithContext added in v1.36.1

func (c *LicenseManager) DeleteTokenWithContext(ctx aws.Context, input *DeleteTokenInput, opts ...request.Option) (*DeleteTokenOutput, error)

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

See DeleteToken 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) ExtendLicenseConsumption added in v1.36.1

func (c *LicenseManager) ExtendLicenseConsumption(input *ExtendLicenseConsumptionInput) (*ExtendLicenseConsumptionOutput, error)

ExtendLicenseConsumption API operation for AWS License Manager.

Extends the expiration date for license consumption.

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 ExtendLicenseConsumption for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • 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.

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

  • ResourceNotFoundException The resource cannot be found.

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

func (*LicenseManager) ExtendLicenseConsumptionRequest added in v1.36.1

func (c *LicenseManager) ExtendLicenseConsumptionRequest(input *ExtendLicenseConsumptionInput) (req *request.Request, output *ExtendLicenseConsumptionOutput)

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

func (*LicenseManager) ExtendLicenseConsumptionWithContext added in v1.36.1

func (c *LicenseManager) ExtendLicenseConsumptionWithContext(ctx aws.Context, input *ExtendLicenseConsumptionInput, opts ...request.Option) (*ExtendLicenseConsumptionOutput, error)

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

See ExtendLicenseConsumption 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) GetAccessToken added in v1.36.1

func (c *LicenseManager) GetAccessToken(input *GetAccessTokenInput) (*GetAccessTokenOutput, error)

GetAccessToken API operation for AWS License Manager.

Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.

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 GetAccessToken for usage and error information.

Returned Error Types:

  • ValidationException The provided input is not valid. Try your request 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.

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

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

func (*LicenseManager) GetAccessTokenRequest added in v1.36.1

func (c *LicenseManager) GetAccessTokenRequest(input *GetAccessTokenInput) (req *request.Request, output *GetAccessTokenOutput)

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

func (*LicenseManager) GetAccessTokenWithContext added in v1.36.1

func (c *LicenseManager) GetAccessTokenWithContext(ctx aws.Context, input *GetAccessTokenInput, opts ...request.Option) (*GetAccessTokenOutput, error)

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

See GetAccessToken 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) GetGrant added in v1.36.1

func (c *LicenseManager) GetGrant(input *GetGrantInput) (*GetGrantOutput, error)

GetGrant API operation for AWS License Manager.

Gets detailed information about the specified grant.

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 GetGrant for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • ResourceLimitExceededException Your resource limits have been exceeded.

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

func (*LicenseManager) GetGrantRequest added in v1.36.1

func (c *LicenseManager) GetGrantRequest(input *GetGrantInput) (req *request.Request, output *GetGrantOutput)

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

func (*LicenseManager) GetGrantWithContext added in v1.36.1

func (c *LicenseManager) GetGrantWithContext(ctx aws.Context, input *GetGrantInput, opts ...request.Option) (*GetGrantOutput, error)

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

See GetGrant 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) GetLicense added in v1.36.1

func (c *LicenseManager) GetLicense(input *GetLicenseInput) (*GetLicenseOutput, error)

GetLicense API operation for AWS License Manager.

Gets detailed information about the specified license.

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 GetLicense for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • 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.

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

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

func (*LicenseManager) GetLicenseConfiguration

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

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

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) GetLicenseRequest added in v1.36.1

func (c *LicenseManager) GetLicenseRequest(input *GetLicenseInput) (req *request.Request, output *GetLicenseOutput)

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

func (*LicenseManager) GetLicenseUsage added in v1.36.1

func (c *LicenseManager) GetLicenseUsage(input *GetLicenseUsageInput) (*GetLicenseUsageOutput, error)

GetLicenseUsage API operation for AWS License Manager.

Gets detailed information about the usage of the specified license.

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 GetLicenseUsage for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • 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.

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

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

func (*LicenseManager) GetLicenseUsageRequest added in v1.36.1

func (c *LicenseManager) GetLicenseUsageRequest(input *GetLicenseUsageInput) (req *request.Request, output *GetLicenseUsageOutput)

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

func (*LicenseManager) GetLicenseUsageWithContext added in v1.36.1

func (c *LicenseManager) GetLicenseUsageWithContext(ctx aws.Context, input *GetLicenseUsageInput, opts ...request.Option) (*GetLicenseUsageOutput, error)

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

See GetLicenseUsage 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) GetLicenseWithContext added in v1.36.1

func (c *LicenseManager) GetLicenseWithContext(ctx aws.Context, input *GetLicenseInput, opts ...request.Option) (*GetLicenseOutput, error)

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

See GetLicense 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

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

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

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

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

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

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) ListDistributedGrants added in v1.36.1

func (c *LicenseManager) ListDistributedGrants(input *ListDistributedGrantsInput) (*ListDistributedGrantsOutput, error)

ListDistributedGrants API operation for AWS License Manager.

Lists the grants distributed for the specified license.

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 ListDistributedGrants for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • ResourceLimitExceededException Your resource limits have been exceeded.

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

func (*LicenseManager) ListDistributedGrantsRequest added in v1.36.1

func (c *LicenseManager) ListDistributedGrantsRequest(input *ListDistributedGrantsInput) (req *request.Request, output *ListDistributedGrantsOutput)

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

func (*LicenseManager) ListDistributedGrantsWithContext added in v1.36.1

func (c *LicenseManager) ListDistributedGrantsWithContext(ctx aws.Context, input *ListDistributedGrantsInput, opts ...request.Option) (*ListDistributedGrantsOutput, error)

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

See ListDistributedGrants 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 added in v1.25.44

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 added in v1.25.44

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 added in v1.25.44

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

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

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

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

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

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

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) ListLicenseVersions added in v1.36.1

func (c *LicenseManager) ListLicenseVersions(input *ListLicenseVersionsInput) (*ListLicenseVersionsOutput, error)

ListLicenseVersions API operation for AWS License Manager.

Lists all versions of the specified license.

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 ListLicenseVersions for usage and error information.

Returned Error Types:

  • InvalidParameterValueException One or more parameter values are not valid.

  • 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.

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

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

func (*LicenseManager) ListLicenseVersionsRequest added in v1.36.1

func (c *LicenseManager) ListLicenseVersionsRequest(input *ListLicenseVersionsInput) (req *request.Request, output *ListLicenseVersionsOutput)

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

func (*LicenseManager) ListLicenseVersionsWithContext added in v1.36.1

func (c *LicenseManager) ListLicenseVersionsWithContext(ctx aws.Context, input *ListLicenseVersionsInput, opts ...request.Option) (*ListLicenseVersionsOutput, error)

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

See ListLicenseVersions 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) ListLicenses added in v1.36.1

func (c *LicenseManager) ListLicenses(input *ListLicensesInput) (*ListLicensesOutput, error)

ListLicenses API operation for AWS License Manager.

Lists the licenses 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 ListLicenses for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • 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.

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

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

func (*LicenseManager) ListLicensesRequest added in v1.36.1

func (c *LicenseManager) ListLicensesRequest(input *ListLicensesInput) (req *request.Request, output *ListLicensesOutput)

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

func (*LicenseManager) ListLicensesWithContext added in v1.36.1

func (c *LicenseManager) ListLicensesWithContext(ctx aws.Context, input *ListLicensesInput, opts ...request.Option) (*ListLicensesOutput, error)

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

See ListLicenses 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) ListReceivedGrants added in v1.36.1

func (c *LicenseManager) ListReceivedGrants(input *ListReceivedGrantsInput) (*ListReceivedGrantsOutput, error)

ListReceivedGrants API operation for AWS License Manager.

Lists grants that are received but not accepted.

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 ListReceivedGrants for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • ResourceLimitExceededException Your resource limits have been exceeded.

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

func (*LicenseManager) ListReceivedGrantsRequest added in v1.36.1

func (c *LicenseManager) ListReceivedGrantsRequest(input *ListReceivedGrantsInput) (req *request.Request, output *ListReceivedGrantsOutput)

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

func (*LicenseManager) ListReceivedGrantsWithContext added in v1.36.1

func (c *LicenseManager) ListReceivedGrantsWithContext(ctx aws.Context, input *ListReceivedGrantsInput, opts ...request.Option) (*ListReceivedGrantsOutput, error)

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

See ListReceivedGrants 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) ListReceivedLicenses added in v1.36.1

func (c *LicenseManager) ListReceivedLicenses(input *ListReceivedLicensesInput) (*ListReceivedLicensesOutput, error)

ListReceivedLicenses API operation for AWS License Manager.

Lists received licenses.

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 ListReceivedLicenses for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • ResourceLimitExceededException Your resource limits have been exceeded.

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

func (*LicenseManager) ListReceivedLicensesRequest added in v1.36.1

func (c *LicenseManager) ListReceivedLicensesRequest(input *ListReceivedLicensesInput) (req *request.Request, output *ListReceivedLicensesOutput)

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

func (*LicenseManager) ListReceivedLicensesWithContext added in v1.36.1

func (c *LicenseManager) ListReceivedLicensesWithContext(ctx aws.Context, input *ListReceivedLicensesInput, opts ...request.Option) (*ListReceivedLicensesOutput, error)

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

See ListReceivedLicenses 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

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

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

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

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

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

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) ListTokens added in v1.36.1

func (c *LicenseManager) ListTokens(input *ListTokensInput) (*ListTokensOutput, error)

ListTokens API operation for AWS License Manager.

Lists your tokens.

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 ListTokens for usage and error information.

Returned Error Types:

  • ValidationException The provided input is not valid. Try your request 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.

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

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

func (*LicenseManager) ListTokensRequest added in v1.36.1

func (c *LicenseManager) ListTokensRequest(input *ListTokensInput) (req *request.Request, output *ListTokensOutput)

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

func (*LicenseManager) ListTokensWithContext added in v1.36.1

func (c *LicenseManager) ListTokensWithContext(ctx aws.Context, input *ListTokensInput, opts ...request.Option) (*ListTokensOutput, error)

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

See ListTokens 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

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

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

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) RejectGrant added in v1.36.1

func (c *LicenseManager) RejectGrant(input *RejectGrantInput) (*RejectGrantOutput, error)

RejectGrant API operation for AWS License Manager.

Rejects the specified grant.

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 RejectGrant for usage and error information.

Returned Error Types:

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

  • InvalidParameterValueException One or more parameter values are not valid.

  • 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.

  • ResourceLimitExceededException Your resource limits have been exceeded.

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

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

func (*LicenseManager) RejectGrantRequest added in v1.36.1

func (c *LicenseManager) RejectGrantRequest(input *RejectGrantInput) (req *request.Request, output *RejectGrantOutput)

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

func (*LicenseManager) RejectGrantWithContext added in v1.36.1

func (c *LicenseManager) RejectGrantWithContext(ctx aws.Context, input *RejectGrantInput, opts ...request.Option) (*RejectGrantOutput, error)

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

See RejectGrant 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

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

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

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

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

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

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

UpdateLicenseConfiguration API operation for AWS License Manager.

Modifies the attributes of an existing 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 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.

  • ResourceLimitExceededException Your resource limits have been exceeded.

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

func (*LicenseManager) UpdateLicenseConfigurationRequest

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

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

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

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

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

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

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

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 added in v1.25.44

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 added in v1.25.44

func (s LicenseOperationFailure) GoString() string

GoString returns the string representation

func (*LicenseOperationFailure) SetErrorMessage added in v1.25.44

SetErrorMessage sets the ErrorMessage field's value.

func (*LicenseOperationFailure) SetFailureTime added in v1.25.44

SetFailureTime sets the FailureTime field's value.

func (*LicenseOperationFailure) SetMetadataList added in v1.25.44

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

SetMetadataList sets the MetadataList field's value.

func (*LicenseOperationFailure) SetOperationName added in v1.25.44

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

SetOperationName sets the OperationName field's value.

func (*LicenseOperationFailure) SetOperationRequestedBy added in v1.25.44

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

SetOperationRequestedBy sets the OperationRequestedBy field's value.

func (*LicenseOperationFailure) SetResourceArn added in v1.25.44

SetResourceArn sets the ResourceArn field's value.

func (*LicenseOperationFailure) SetResourceOwnerId added in v1.25.44

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

SetResourceOwnerId sets the ResourceOwnerId field's value.

func (*LicenseOperationFailure) SetResourceType added in v1.25.44

SetResourceType sets the ResourceType field's value.

func (LicenseOperationFailure) String added in v1.25.44

func (s LicenseOperationFailure) String() string

String returns the string representation

type LicenseSpecification

type LicenseSpecification struct {

	// Scope of AMI associations. The possible value is cross-account.
	AmiAssociationScope *string `type:"string"`

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

func (s LicenseSpecification) GoString() string

GoString returns the string representation

func (*LicenseSpecification) SetAmiAssociationScope added in v1.35.34

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

SetAmiAssociationScope sets the AmiAssociationScope field's value.

func (*LicenseSpecification) SetLicenseConfigurationArn

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

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (LicenseSpecification) String

func (s LicenseSpecification) String() string

String returns the string representation

func (*LicenseSpecification) Validate

func (s *LicenseSpecification) Validate() error

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

type LicenseUsage added in v1.36.1

type LicenseUsage struct {

	// License entitlement usages.
	EntitlementUsages []*EntitlementUsage `type:"list"`
	// contains filtered or unexported fields
}

Describes the entitlement usage associated with a license.

func (LicenseUsage) GoString added in v1.36.1

func (s LicenseUsage) GoString() string

GoString returns the string representation

func (*LicenseUsage) SetEntitlementUsages added in v1.36.1

func (s *LicenseUsage) SetEntitlementUsages(v []*EntitlementUsage) *LicenseUsage

SetEntitlementUsages sets the EntitlementUsages field's value.

func (LicenseUsage) String added in v1.36.1

func (s LicenseUsage) String() string

String returns the string representation

type LicenseUsageException added in v1.28.0

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 added in v1.28.0

func (s *LicenseUsageException) Code() string

Code returns the exception type name.

func (*LicenseUsageException) Error added in v1.28.0

func (s *LicenseUsageException) Error() string

func (LicenseUsageException) GoString added in v1.28.0

func (s LicenseUsageException) GoString() string

GoString returns the string representation

func (*LicenseUsageException) Message added in v1.28.0

func (s *LicenseUsageException) Message() string

Message returns the exception's message.

func (*LicenseUsageException) OrigErr added in v1.28.0

func (s *LicenseUsageException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LicenseUsageException) RequestID added in v1.28.0

func (s *LicenseUsageException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LicenseUsageException) StatusCode added in v1.28.0

func (s *LicenseUsageException) StatusCode() int

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

func (LicenseUsageException) String added in v1.28.0

func (s LicenseUsageException) String() string

String returns the string representation

type ListAssociationsForLicenseConfigurationInput

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

GoString returns the string representation

func (*ListAssociationsForLicenseConfigurationInput) SetLicenseConfigurationArn

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*ListAssociationsForLicenseConfigurationInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAssociationsForLicenseConfigurationInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAssociationsForLicenseConfigurationInput) String

String returns the string representation

func (*ListAssociationsForLicenseConfigurationInput) Validate

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

type ListAssociationsForLicenseConfigurationOutput

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

GoString returns the string representation

func (*ListAssociationsForLicenseConfigurationOutput) SetLicenseConfigurationAssociations

SetLicenseConfigurationAssociations sets the LicenseConfigurationAssociations field's value.

func (*ListAssociationsForLicenseConfigurationOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAssociationsForLicenseConfigurationOutput) String

String returns the string representation

type ListDistributedGrantsInput added in v1.36.1

type ListDistributedGrantsInput struct {

	// Filters to scope the results. The following filters are supported:
	//
	//    * LicenseARN
	//
	//    * Status
	//
	//    * PrincipalARN
	//
	//    * ParentARN
	Filters []*Filter `type:"list"`

	// Amazon Resource Names (ARNs) of the grants.
	GrantArns []*string `type:"list"`

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

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

func (ListDistributedGrantsInput) GoString added in v1.36.1

func (s ListDistributedGrantsInput) GoString() string

GoString returns the string representation

func (*ListDistributedGrantsInput) SetFilters added in v1.36.1

SetFilters sets the Filters field's value.

func (*ListDistributedGrantsInput) SetGrantArns added in v1.36.1

SetGrantArns sets the GrantArns field's value.

func (*ListDistributedGrantsInput) SetMaxResults added in v1.36.1

SetMaxResults sets the MaxResults field's value.

func (*ListDistributedGrantsInput) SetNextToken added in v1.36.1

SetNextToken sets the NextToken field's value.

func (ListDistributedGrantsInput) String added in v1.36.1

String returns the string representation

func (*ListDistributedGrantsInput) Validate added in v1.36.1

func (s *ListDistributedGrantsInput) Validate() error

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

type ListDistributedGrantsOutput added in v1.36.1

type ListDistributedGrantsOutput struct {

	// Distributed grant details.
	Grants []*Grant `type:"list"`

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

func (ListDistributedGrantsOutput) GoString added in v1.36.1

func (s ListDistributedGrantsOutput) GoString() string

GoString returns the string representation

func (*ListDistributedGrantsOutput) SetGrants added in v1.36.1

SetGrants sets the Grants field's value.

func (*ListDistributedGrantsOutput) SetNextToken added in v1.36.1

SetNextToken sets the NextToken field's value.

func (ListDistributedGrantsOutput) String added in v1.36.1

String returns the string representation

type ListFailuresForLicenseConfigurationOperationsInput added in v1.25.44

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 added in v1.25.44

GoString returns the string representation

func (*ListFailuresForLicenseConfigurationOperationsInput) SetLicenseConfigurationArn added in v1.25.44

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*ListFailuresForLicenseConfigurationOperationsInput) SetMaxResults added in v1.25.44

SetMaxResults sets the MaxResults field's value.

func (*ListFailuresForLicenseConfigurationOperationsInput) SetNextToken added in v1.25.44

SetNextToken sets the NextToken field's value.

func (ListFailuresForLicenseConfigurationOperationsInput) String added in v1.25.44

String returns the string representation

func (*ListFailuresForLicenseConfigurationOperationsInput) Validate added in v1.25.44

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

type ListFailuresForLicenseConfigurationOperationsOutput added in v1.25.44

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 added in v1.25.44

GoString returns the string representation

func (*ListFailuresForLicenseConfigurationOperationsOutput) SetLicenseOperationFailureList added in v1.25.44

SetLicenseOperationFailureList sets the LicenseOperationFailureList field's value.

func (*ListFailuresForLicenseConfigurationOperationsOutput) SetNextToken added in v1.25.44

SetNextToken sets the NextToken field's value.

func (ListFailuresForLicenseConfigurationOperationsOutput) String added in v1.25.44

String returns the string representation

type ListLicenseConfigurationsInput

type ListLicenseConfigurationsInput struct {

	// Filters to scope the results. The following filters and logical operators
	// are supported:
	//
	//    * licenseCountingType - The dimension on which licenses are counted. Possible
	//    values are vCPU | Instance | Core | Socket. 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

GoString returns the string representation

func (*ListLicenseConfigurationsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListLicenseConfigurationsInput) SetLicenseConfigurationArns

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

SetLicenseConfigurationArns sets the LicenseConfigurationArns field's value.

func (*ListLicenseConfigurationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListLicenseConfigurationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListLicenseConfigurationsInput) String

String returns the string representation

type ListLicenseConfigurationsOutput

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

GoString returns the string representation

func (*ListLicenseConfigurationsOutput) SetLicenseConfigurations

SetLicenseConfigurations sets the LicenseConfigurations field's value.

func (*ListLicenseConfigurationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListLicenseConfigurationsOutput) String

String returns the string representation

type ListLicenseSpecificationsForResourceInput

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

GoString returns the string representation

func (*ListLicenseSpecificationsForResourceInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListLicenseSpecificationsForResourceInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListLicenseSpecificationsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListLicenseSpecificationsForResourceInput) String

String returns the string representation

func (*ListLicenseSpecificationsForResourceInput) Validate

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

type ListLicenseSpecificationsForResourceOutput

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

GoString returns the string representation

func (*ListLicenseSpecificationsForResourceOutput) SetLicenseSpecifications

SetLicenseSpecifications sets the LicenseSpecifications field's value.

func (*ListLicenseSpecificationsForResourceOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListLicenseSpecificationsForResourceOutput) String

String returns the string representation

type ListLicenseVersionsInput added in v1.36.1

type ListLicenseVersionsInput struct {

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

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

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

func (ListLicenseVersionsInput) GoString added in v1.36.1

func (s ListLicenseVersionsInput) GoString() string

GoString returns the string representation

func (*ListLicenseVersionsInput) SetLicenseArn added in v1.36.1

SetLicenseArn sets the LicenseArn field's value.

func (*ListLicenseVersionsInput) SetMaxResults added in v1.36.1

SetMaxResults sets the MaxResults field's value.

func (*ListLicenseVersionsInput) SetNextToken added in v1.36.1

SetNextToken sets the NextToken field's value.

func (ListLicenseVersionsInput) String added in v1.36.1

func (s ListLicenseVersionsInput) String() string

String returns the string representation

func (*ListLicenseVersionsInput) Validate added in v1.36.1

func (s *ListLicenseVersionsInput) Validate() error

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

type ListLicenseVersionsOutput added in v1.36.1

type ListLicenseVersionsOutput struct {

	// License details.
	Licenses []*License `type:"list"`

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

func (ListLicenseVersionsOutput) GoString added in v1.36.1

func (s ListLicenseVersionsOutput) GoString() string

GoString returns the string representation

func (*ListLicenseVersionsOutput) SetLicenses added in v1.36.1

SetLicenses sets the Licenses field's value.

func (*ListLicenseVersionsOutput) SetNextToken added in v1.36.1

SetNextToken sets the NextToken field's value.

func (ListLicenseVersionsOutput) String added in v1.36.1

func (s ListLicenseVersionsOutput) String() string

String returns the string representation

type ListLicensesInput added in v1.36.1

type ListLicensesInput struct {

	// Filters to scope the results. The following filters are supported:
	//
	//    * Beneficiary
	//
	//    * ProductSKU
	//
	//    * KeyFingerprint
	//
	//    * Status
	Filters []*Filter `type:"list"`

	// Amazon Resource Names (ARNs) of the licenses.
	LicenseArns []*string `type:"list"`

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

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

func (ListLicensesInput) GoString added in v1.36.1

func (s ListLicensesInput) GoString() string

GoString returns the string representation

func (*ListLicensesInput) SetFilters added in v1.36.1

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

SetFilters sets the Filters field's value.

func (*ListLicensesInput) SetLicenseArns added in v1.36.1

func (s *ListLicensesInput) SetLicenseArns(v []*string) *ListLicensesInput

SetLicenseArns sets the LicenseArns field's value.

func (*ListLicensesInput) SetMaxResults added in v1.36.1

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

SetMaxResults sets the MaxResults field's value.

func (*ListLicensesInput) SetNextToken added in v1.36.1

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

SetNextToken sets the NextToken field's value.

func (ListLicensesInput) String added in v1.36.1

func (s ListLicensesInput) String() string

String returns the string representation

func (*ListLicensesInput) Validate added in v1.36.1

func (s *ListLicensesInput) Validate() error

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

type ListLicensesOutput added in v1.36.1

type ListLicensesOutput struct {

	// License details.
	Licenses []*License `type:"list"`

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

func (ListLicensesOutput) GoString added in v1.36.1

func (s ListLicensesOutput) GoString() string

GoString returns the string representation

func (*ListLicensesOutput) SetLicenses added in v1.36.1

func (s *ListLicensesOutput) SetLicenses(v []*License) *ListLicensesOutput

SetLicenses sets the Licenses field's value.

func (*ListLicensesOutput) SetNextToken added in v1.36.1

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

SetNextToken sets the NextToken field's value.

func (ListLicensesOutput) String added in v1.36.1

func (s ListLicensesOutput) String() string

String returns the string representation

type ListReceivedGrantsInput added in v1.36.1

type ListReceivedGrantsInput struct {

	// Filters to scope the results. The following filters are supported:
	//
	//    * LicenseARN
	//
	//    * Status
	Filters []*Filter `type:"list"`

	// Amazon Resource Names (ARNs) of the grants.
	GrantArns []*string `type:"list"`

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

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

func (ListReceivedGrantsInput) GoString added in v1.36.1

func (s ListReceivedGrantsInput) GoString() string

GoString returns the string representation

func (*ListReceivedGrantsInput) SetFilters added in v1.36.1

SetFilters sets the Filters field's value.

func (*ListReceivedGrantsInput) SetGrantArns added in v1.36.1

SetGrantArns sets the GrantArns field's value.

func (*ListReceivedGrantsInput) SetMaxResults added in v1.36.1

SetMaxResults sets the MaxResults field's value.

func (*ListReceivedGrantsInput) SetNextToken added in v1.36.1

SetNextToken sets the NextToken field's value.

func (ListReceivedGrantsInput) String added in v1.36.1

func (s ListReceivedGrantsInput) String() string

String returns the string representation

func (*ListReceivedGrantsInput) Validate added in v1.36.1

func (s *ListReceivedGrantsInput) Validate() error

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

type ListReceivedGrantsOutput added in v1.36.1

type ListReceivedGrantsOutput struct {

	// Received grant details.
	Grants []*Grant `type:"list"`

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

func (ListReceivedGrantsOutput) GoString added in v1.36.1

func (s ListReceivedGrantsOutput) GoString() string

GoString returns the string representation

func (*ListReceivedGrantsOutput) SetGrants added in v1.36.1

SetGrants sets the Grants field's value.

func (*ListReceivedGrantsOutput) SetNextToken added in v1.36.1

SetNextToken sets the NextToken field's value.

func (ListReceivedGrantsOutput) String added in v1.36.1

func (s ListReceivedGrantsOutput) String() string

String returns the string representation

type ListReceivedLicensesInput added in v1.36.1

type ListReceivedLicensesInput struct {

	// Filters to scope the results. The following filters are supported:
	//
	//    * ProductSKU
	//
	//    * Status
	//
	//    * KeyFingerprint
	//
	//    * Issuer
	Filters []*Filter `type:"list"`

	// Amazon Resource Names (ARNs) of the licenses.
	LicenseArns []*string `type:"list"`

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

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

func (ListReceivedLicensesInput) GoString added in v1.36.1

func (s ListReceivedLicensesInput) GoString() string

GoString returns the string representation

func (*ListReceivedLicensesInput) SetFilters added in v1.36.1

SetFilters sets the Filters field's value.

func (*ListReceivedLicensesInput) SetLicenseArns added in v1.36.1

SetLicenseArns sets the LicenseArns field's value.

func (*ListReceivedLicensesInput) SetMaxResults added in v1.36.1

SetMaxResults sets the MaxResults field's value.

func (*ListReceivedLicensesInput) SetNextToken added in v1.36.1

SetNextToken sets the NextToken field's value.

func (ListReceivedLicensesInput) String added in v1.36.1

func (s ListReceivedLicensesInput) String() string

String returns the string representation

func (*ListReceivedLicensesInput) Validate added in v1.36.1

func (s *ListReceivedLicensesInput) Validate() error

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

type ListReceivedLicensesOutput added in v1.36.1

type ListReceivedLicensesOutput struct {

	// Received license details.
	Licenses []*GrantedLicense `type:"list"`

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

func (ListReceivedLicensesOutput) GoString added in v1.36.1

func (s ListReceivedLicensesOutput) GoString() string

GoString returns the string representation

func (*ListReceivedLicensesOutput) SetLicenses added in v1.36.1

SetLicenses sets the Licenses field's value.

func (*ListReceivedLicensesOutput) SetNextToken added in v1.36.1

SetNextToken sets the NextToken field's value.

func (ListReceivedLicensesOutput) String added in v1.36.1

String returns the string representation

type ListResourceInventoryInput

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.
	//
	//    * tag:<key> - The key/value combination of a tag assigned to the resource.
	//    Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross
	//    account).
	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

func (s ListResourceInventoryInput) GoString() string

GoString returns the string representation

func (*ListResourceInventoryInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListResourceInventoryInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListResourceInventoryInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListResourceInventoryInput) String

String returns the string representation

func (*ListResourceInventoryInput) Validate

func (s *ListResourceInventoryInput) Validate() error

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

type ListResourceInventoryOutput

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

func (s ListResourceInventoryOutput) GoString() string

GoString returns the string representation

func (*ListResourceInventoryOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListResourceInventoryOutput) SetResourceInventoryList

SetResourceInventoryList sets the ResourceInventoryList field's value.

func (ListResourceInventoryOutput) String

String returns the string representation

type ListTagsForResourceInput

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

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

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

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTokensInput added in v1.36.1

type ListTokensInput struct {

	// Filters to scope the results. The following filter is supported:
	//
	//    * licenseArns
	Filters []*Filter `type:"list"`

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

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

	// Token IDs.
	TokenIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (ListTokensInput) GoString added in v1.36.1

func (s ListTokensInput) GoString() string

GoString returns the string representation

func (*ListTokensInput) SetFilters added in v1.36.1

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

SetFilters sets the Filters field's value.

func (*ListTokensInput) SetMaxResults added in v1.36.1

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

SetMaxResults sets the MaxResults field's value.

func (*ListTokensInput) SetNextToken added in v1.36.1

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

SetNextToken sets the NextToken field's value.

func (*ListTokensInput) SetTokenIds added in v1.36.1

func (s *ListTokensInput) SetTokenIds(v []*string) *ListTokensInput

SetTokenIds sets the TokenIds field's value.

func (ListTokensInput) String added in v1.36.1

func (s ListTokensInput) String() string

String returns the string representation

func (*ListTokensInput) Validate added in v1.36.1

func (s *ListTokensInput) Validate() error

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

type ListTokensOutput added in v1.36.1

type ListTokensOutput struct {

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

	// Received token details.
	Tokens []*TokenData `type:"list"`
	// contains filtered or unexported fields
}

func (ListTokensOutput) GoString added in v1.36.1

func (s ListTokensOutput) GoString() string

GoString returns the string representation

func (*ListTokensOutput) SetNextToken added in v1.36.1

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

SetNextToken sets the NextToken field's value.

func (*ListTokensOutput) SetTokens added in v1.36.1

func (s *ListTokensOutput) SetTokens(v []*TokenData) *ListTokensOutput

SetTokens sets the Tokens field's value.

func (ListTokensOutput) String added in v1.36.1

func (s ListTokensOutput) String() string

String returns the string representation

type ListUsageForLicenseConfigurationInput

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

GoString returns the string representation

func (*ListUsageForLicenseConfigurationInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListUsageForLicenseConfigurationInput) SetLicenseConfigurationArn

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*ListUsageForLicenseConfigurationInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListUsageForLicenseConfigurationInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListUsageForLicenseConfigurationInput) String

String returns the string representation

func (*ListUsageForLicenseConfigurationInput) Validate

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

type ListUsageForLicenseConfigurationOutput

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

GoString returns the string representation

func (*ListUsageForLicenseConfigurationOutput) SetLicenseConfigurationUsageList

SetLicenseConfigurationUsageList sets the LicenseConfigurationUsageList field's value.

func (*ListUsageForLicenseConfigurationOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListUsageForLicenseConfigurationOutput) String

String returns the string representation

type ManagedResourceSummary

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

func (s ManagedResourceSummary) GoString() string

GoString returns the string representation

func (*ManagedResourceSummary) SetAssociationCount

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

SetAssociationCount sets the AssociationCount field's value.

func (*ManagedResourceSummary) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (ManagedResourceSummary) String

func (s ManagedResourceSummary) String() string

String returns the string representation

type Metadata added in v1.25.44

type Metadata struct {

	// The key name.
	Name *string `type:"string"`

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

Describes key/value pairs.

func (Metadata) GoString added in v1.25.44

func (s Metadata) GoString() string

GoString returns the string representation

func (*Metadata) SetName added in v1.25.44

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

SetName sets the Name field's value.

func (*Metadata) SetValue added in v1.25.44

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

SetValue sets the Value field's value.

func (Metadata) String added in v1.25.44

func (s Metadata) String() string

String returns the string representation

type NoEntitlementsAllowedException added in v1.36.1

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

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

There are no entitlements found for this license, or the entitlement maximum count is reached.

func (*NoEntitlementsAllowedException) Code added in v1.36.1

Code returns the exception type name.

func (*NoEntitlementsAllowedException) Error added in v1.36.1

func (NoEntitlementsAllowedException) GoString added in v1.36.1

GoString returns the string representation

func (*NoEntitlementsAllowedException) Message added in v1.36.1

Message returns the exception's message.

func (*NoEntitlementsAllowedException) OrigErr added in v1.36.1

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NoEntitlementsAllowedException) RequestID added in v1.36.1

func (s *NoEntitlementsAllowedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NoEntitlementsAllowedException) StatusCode added in v1.36.1

func (s *NoEntitlementsAllowedException) StatusCode() int

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

func (NoEntitlementsAllowedException) String added in v1.36.1

String returns the string representation

type OrganizationConfiguration

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

func (s OrganizationConfiguration) GoString() string

GoString returns the string representation

func (*OrganizationConfiguration) SetEnableIntegration

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

SetEnableIntegration sets the EnableIntegration field's value.

func (OrganizationConfiguration) String

func (s OrganizationConfiguration) String() string

String returns the string representation

func (*OrganizationConfiguration) Validate

func (s *OrganizationConfiguration) Validate() error

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

type ProductInformation added in v1.25.44

type ProductInformation struct {

	// Product information filters.
	//
	// The following filters and logical operators are supported when the resource
	// type is SSM_MANAGED:
	//
	//    * 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.
	//
	// The following filters and logical operators are supported when the resource
	// type is RDS:
	//
	//    * Engine Edition - The edition of the database engine. Logical operator
	//    is EQUALS. Possible values are: oracle-ee | oracle-se | oracle-se1 | oracle-se2.
	//
	//    * License Pack - The license pack. Logical operator is EQUALS. Possible
	//    values are: data guard | diagnostic pack sqlt | tuning pack sqlt | ols
	//    | olap.
	//
	// ProductInformationFilterList is a required field
	ProductInformationFilterList []*ProductInformationFilter `type:"list" required:"true"`

	// Resource type. The possible values are SSM_MANAGED | RDS.
	//
	// 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 added in v1.25.44

func (s ProductInformation) GoString() string

GoString returns the string representation

func (*ProductInformation) SetProductInformationFilterList added in v1.25.44

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

SetProductInformationFilterList sets the ProductInformationFilterList field's value.

func (*ProductInformation) SetResourceType added in v1.25.44

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

SetResourceType sets the ResourceType field's value.

func (ProductInformation) String added in v1.25.44

func (s ProductInformation) String() string

String returns the string representation

func (*ProductInformation) Validate added in v1.25.44

func (s *ProductInformation) Validate() error

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

type ProductInformationFilter added in v1.25.44

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 []*string `type:"list"`
	// contains filtered or unexported fields
}

Describes product information filters.

func (ProductInformationFilter) GoString added in v1.25.44

func (s ProductInformationFilter) GoString() string

GoString returns the string representation

func (*ProductInformationFilter) SetProductInformationFilterComparator added in v1.25.44

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

SetProductInformationFilterComparator sets the ProductInformationFilterComparator field's value.

func (*ProductInformationFilter) SetProductInformationFilterName added in v1.25.44

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

SetProductInformationFilterName sets the ProductInformationFilterName field's value.

func (*ProductInformationFilter) SetProductInformationFilterValue added in v1.25.44

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

SetProductInformationFilterValue sets the ProductInformationFilterValue field's value.

func (ProductInformationFilter) String added in v1.25.44

func (s ProductInformationFilter) String() string

String returns the string representation

func (*ProductInformationFilter) Validate added in v1.25.44

func (s *ProductInformationFilter) Validate() error

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

type ProvisionalConfiguration added in v1.36.1

type ProvisionalConfiguration struct {

	// Maximum time for the provisional configuration, in minutes.
	//
	// MaxTimeToLiveInMinutes is a required field
	MaxTimeToLiveInMinutes *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Details about a provisional configuration.

func (ProvisionalConfiguration) GoString added in v1.36.1

func (s ProvisionalConfiguration) GoString() string

GoString returns the string representation

func (*ProvisionalConfiguration) SetMaxTimeToLiveInMinutes added in v1.36.1

func (s *ProvisionalConfiguration) SetMaxTimeToLiveInMinutes(v int64) *ProvisionalConfiguration

SetMaxTimeToLiveInMinutes sets the MaxTimeToLiveInMinutes field's value.

func (ProvisionalConfiguration) String added in v1.36.1

func (s ProvisionalConfiguration) String() string

String returns the string representation

func (*ProvisionalConfiguration) Validate added in v1.36.1

func (s *ProvisionalConfiguration) Validate() error

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

type RateLimitExceededException added in v1.28.0

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 added in v1.28.0

Code returns the exception type name.

func (*RateLimitExceededException) Error added in v1.28.0

func (RateLimitExceededException) GoString added in v1.28.0

func (s RateLimitExceededException) GoString() string

GoString returns the string representation

func (*RateLimitExceededException) Message added in v1.28.0

func (s *RateLimitExceededException) Message() string

Message returns the exception's message.

func (*RateLimitExceededException) OrigErr added in v1.28.0

func (s *RateLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RateLimitExceededException) RequestID added in v1.28.0

func (s *RateLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RateLimitExceededException) StatusCode added in v1.28.0

func (s *RateLimitExceededException) StatusCode() int

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

func (RateLimitExceededException) String added in v1.28.0

String returns the string representation

type ReceivedMetadata added in v1.36.1

type ReceivedMetadata struct {

	// Allowed operations.
	AllowedOperations []*string `min:"1" type:"list"`

	// Received status.
	ReceivedStatus *string `type:"string" enum:"ReceivedStatus"`
	// contains filtered or unexported fields
}

Metadata associated with received licenses and grants.

func (ReceivedMetadata) GoString added in v1.36.1

func (s ReceivedMetadata) GoString() string

GoString returns the string representation

func (*ReceivedMetadata) SetAllowedOperations added in v1.36.1

func (s *ReceivedMetadata) SetAllowedOperations(v []*string) *ReceivedMetadata

SetAllowedOperations sets the AllowedOperations field's value.

func (*ReceivedMetadata) SetReceivedStatus added in v1.36.1

func (s *ReceivedMetadata) SetReceivedStatus(v string) *ReceivedMetadata

SetReceivedStatus sets the ReceivedStatus field's value.

func (ReceivedMetadata) String added in v1.36.1

func (s ReceivedMetadata) String() string

String returns the string representation

type RedirectException added in v1.36.1

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

	Location *string `type:"string"`

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

This is not the correct Region for the resource. Try again.

func (*RedirectException) Code added in v1.36.1

func (s *RedirectException) Code() string

Code returns the exception type name.

func (*RedirectException) Error added in v1.36.1

func (s *RedirectException) Error() string

func (RedirectException) GoString added in v1.36.1

func (s RedirectException) GoString() string

GoString returns the string representation

func (*RedirectException) Message added in v1.36.1

func (s *RedirectException) Message() string

Message returns the exception's message.

func (*RedirectException) OrigErr added in v1.36.1

func (s *RedirectException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RedirectException) RequestID added in v1.36.1

func (s *RedirectException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RedirectException) StatusCode added in v1.36.1

func (s *RedirectException) StatusCode() int

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

func (RedirectException) String added in v1.36.1

func (s RedirectException) String() string

String returns the string representation

type RejectGrantInput added in v1.36.1

type RejectGrantInput struct {

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

func (RejectGrantInput) GoString added in v1.36.1

func (s RejectGrantInput) GoString() string

GoString returns the string representation

func (*RejectGrantInput) SetGrantArn added in v1.36.1

func (s *RejectGrantInput) SetGrantArn(v string) *RejectGrantInput

SetGrantArn sets the GrantArn field's value.

func (RejectGrantInput) String added in v1.36.1

func (s RejectGrantInput) String() string

String returns the string representation

func (*RejectGrantInput) Validate added in v1.36.1

func (s *RejectGrantInput) Validate() error

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

type RejectGrantOutput added in v1.36.1

type RejectGrantOutput struct {

	// Grant ARN.
	GrantArn *string `type:"string"`

	// Grant status.
	Status *string `type:"string" enum:"GrantStatus"`

	// Grant version.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

func (RejectGrantOutput) GoString added in v1.36.1

func (s RejectGrantOutput) GoString() string

GoString returns the string representation

func (*RejectGrantOutput) SetGrantArn added in v1.36.1

func (s *RejectGrantOutput) SetGrantArn(v string) *RejectGrantOutput

SetGrantArn sets the GrantArn field's value.

func (*RejectGrantOutput) SetStatus added in v1.36.1

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

SetStatus sets the Status field's value.

func (*RejectGrantOutput) SetVersion added in v1.36.1

func (s *RejectGrantOutput) SetVersion(v string) *RejectGrantOutput

SetVersion sets the Version field's value.

func (RejectGrantOutput) String added in v1.36.1

func (s RejectGrantOutput) String() string

String returns the string representation

type ResourceInventory

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

func (s ResourceInventory) GoString() string

GoString returns the string representation

func (*ResourceInventory) SetPlatform

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

SetPlatform sets the Platform field's value.

func (*ResourceInventory) SetPlatformVersion

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

SetPlatformVersion sets the PlatformVersion field's value.

func (*ResourceInventory) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*ResourceInventory) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (*ResourceInventory) SetResourceOwningAccountId

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

SetResourceOwningAccountId sets the ResourceOwningAccountId field's value.

func (*ResourceInventory) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (ResourceInventory) String

func (s ResourceInventory) String() string

String returns the string representation

type ResourceLimitExceededException added in v1.28.0

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 added in v1.28.0

Code returns the exception type name.

func (*ResourceLimitExceededException) Error added in v1.28.0

func (ResourceLimitExceededException) GoString added in v1.28.0

GoString returns the string representation

func (*ResourceLimitExceededException) Message added in v1.28.0

Message returns the exception's message.

func (*ResourceLimitExceededException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceLimitExceededException) RequestID added in v1.28.0

func (s *ResourceLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceLimitExceededException) StatusCode added in v1.28.0

func (s *ResourceLimitExceededException) StatusCode() int

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

func (ResourceLimitExceededException) String added in v1.28.0

String returns the string representation

type ResourceNotFoundException added in v1.36.1

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

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

The resource cannot be found.

func (*ResourceNotFoundException) Code added in v1.36.1

Code returns the exception type name.

func (*ResourceNotFoundException) Error added in v1.36.1

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString added in v1.36.1

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message added in v1.36.1

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr added in v1.36.1

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID added in v1.36.1

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode added in v1.36.1

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String added in v1.36.1

func (s ResourceNotFoundException) String() string

String returns the string representation

type ServerInternalException added in v1.28.0

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 added in v1.28.0

func (s *ServerInternalException) Code() string

Code returns the exception type name.

func (*ServerInternalException) Error added in v1.28.0

func (s *ServerInternalException) Error() string

func (ServerInternalException) GoString added in v1.28.0

func (s ServerInternalException) GoString() string

GoString returns the string representation

func (*ServerInternalException) Message added in v1.28.0

func (s *ServerInternalException) Message() string

Message returns the exception's message.

func (*ServerInternalException) OrigErr added in v1.28.0

func (s *ServerInternalException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServerInternalException) RequestID added in v1.28.0

func (s *ServerInternalException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServerInternalException) StatusCode added in v1.28.0

func (s *ServerInternalException) StatusCode() int

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

func (ServerInternalException) String added in v1.28.0

func (s ServerInternalException) String() string

String returns the string representation

type Tag

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

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey

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

SetKey sets the Key field's value.

func (*Tag) SetValue

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

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation

type TagResourceInput

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

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

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

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TokenData added in v1.36.1

type TokenData struct {

	// Token expiration time, in ISO8601-UTC format.
	ExpirationTime *string `type:"string"`

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

	// Amazon Resource Names (ARN) of the roles included in the token.
	RoleArns []*string `type:"list"`

	// Token status. The possible values are AVAILABLE and DELETED.
	Status *string `type:"string"`

	// Token ID.
	TokenId *string `type:"string"`

	// Data specified by the caller.
	TokenProperties []*string `type:"list"`

	// Type of token generated. The supported value is REFRESH_TOKEN.
	TokenType *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a token.

func (TokenData) GoString added in v1.36.1

func (s TokenData) GoString() string

GoString returns the string representation

func (*TokenData) SetExpirationTime added in v1.36.1

func (s *TokenData) SetExpirationTime(v string) *TokenData

SetExpirationTime sets the ExpirationTime field's value.

func (*TokenData) SetLicenseArn added in v1.36.1

func (s *TokenData) SetLicenseArn(v string) *TokenData

SetLicenseArn sets the LicenseArn field's value.

func (*TokenData) SetRoleArns added in v1.36.1

func (s *TokenData) SetRoleArns(v []*string) *TokenData

SetRoleArns sets the RoleArns field's value.

func (*TokenData) SetStatus added in v1.36.1

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

SetStatus sets the Status field's value.

func (*TokenData) SetTokenId added in v1.36.1

func (s *TokenData) SetTokenId(v string) *TokenData

SetTokenId sets the TokenId field's value.

func (*TokenData) SetTokenProperties added in v1.36.1

func (s *TokenData) SetTokenProperties(v []*string) *TokenData

SetTokenProperties sets the TokenProperties field's value.

func (*TokenData) SetTokenType added in v1.36.1

func (s *TokenData) SetTokenType(v string) *TokenData

SetTokenType sets the TokenType field's value.

func (TokenData) String added in v1.36.1

func (s TokenData) String() string

String returns the string representation

type UnsupportedDigitalSignatureMethodException added in v1.36.1

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

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

The digital signature method is unsupported. Try your request again.

func (*UnsupportedDigitalSignatureMethodException) Code added in v1.36.1

Code returns the exception type name.

func (*UnsupportedDigitalSignatureMethodException) Error added in v1.36.1

func (UnsupportedDigitalSignatureMethodException) GoString added in v1.36.1

GoString returns the string representation

func (*UnsupportedDigitalSignatureMethodException) Message added in v1.36.1

Message returns the exception's message.

func (*UnsupportedDigitalSignatureMethodException) OrigErr added in v1.36.1

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnsupportedDigitalSignatureMethodException) RequestID added in v1.36.1

RequestID returns the service's response RequestID for request.

func (*UnsupportedDigitalSignatureMethodException) StatusCode added in v1.36.1

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

func (UnsupportedDigitalSignatureMethodException) String added in v1.36.1

String returns the string representation

type UntagResourceInput

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

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

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

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateLicenseConfigurationInput

type UpdateLicenseConfigurationInput struct {

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

	// When true, disassociates a resource when software is uninstalled.
	DisassociateWhenNotFound *bool `type:"boolean"`

	// 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 rule. The only rule that you can add after you create a license
	// configuration is licenseAffinityToHost.
	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

GoString returns the string representation

func (*UpdateLicenseConfigurationInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateLicenseConfigurationInput) SetDisassociateWhenNotFound added in v1.36.2

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

SetDisassociateWhenNotFound sets the DisassociateWhenNotFound field's value.

func (*UpdateLicenseConfigurationInput) SetLicenseConfigurationArn

SetLicenseConfigurationArn sets the LicenseConfigurationArn field's value.

func (*UpdateLicenseConfigurationInput) SetLicenseConfigurationStatus

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

SetLicenseConfigurationStatus sets the LicenseConfigurationStatus field's value.

func (*UpdateLicenseConfigurationInput) SetLicenseCount

SetLicenseCount sets the LicenseCount field's value.

func (*UpdateLicenseConfigurationInput) SetLicenseCountHardLimit

SetLicenseCountHardLimit sets the LicenseCountHardLimit field's value.

func (*UpdateLicenseConfigurationInput) SetLicenseRules

SetLicenseRules sets the LicenseRules field's value.

func (*UpdateLicenseConfigurationInput) SetName

SetName sets the Name field's value.

func (*UpdateLicenseConfigurationInput) SetProductInformationList added in v1.25.44

SetProductInformationList sets the ProductInformationList field's value.

func (UpdateLicenseConfigurationInput) String

String returns the string representation

func (*UpdateLicenseConfigurationInput) Validate

func (s *UpdateLicenseConfigurationInput) Validate() error

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

type UpdateLicenseConfigurationOutput

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

func (UpdateLicenseConfigurationOutput) GoString

GoString returns the string representation

func (UpdateLicenseConfigurationOutput) String

String returns the string representation

type UpdateLicenseSpecificationsForResourceInput

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

GoString returns the string representation

func (*UpdateLicenseSpecificationsForResourceInput) SetAddLicenseSpecifications

SetAddLicenseSpecifications sets the AddLicenseSpecifications field's value.

func (*UpdateLicenseSpecificationsForResourceInput) SetRemoveLicenseSpecifications

SetRemoveLicenseSpecifications sets the RemoveLicenseSpecifications field's value.

func (*UpdateLicenseSpecificationsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (UpdateLicenseSpecificationsForResourceInput) String

String returns the string representation

func (*UpdateLicenseSpecificationsForResourceInput) Validate

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

type UpdateLicenseSpecificationsForResourceOutput

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

func (UpdateLicenseSpecificationsForResourceOutput) GoString

GoString returns the string representation

func (UpdateLicenseSpecificationsForResourceOutput) String

String returns the string representation

type UpdateServiceSettingsInput

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

func (s UpdateServiceSettingsInput) GoString() string

GoString returns the string representation

func (*UpdateServiceSettingsInput) SetEnableCrossAccountsDiscovery

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

SetEnableCrossAccountsDiscovery sets the EnableCrossAccountsDiscovery field's value.

func (*UpdateServiceSettingsInput) SetOrganizationConfiguration

SetOrganizationConfiguration sets the OrganizationConfiguration field's value.

func (*UpdateServiceSettingsInput) SetS3BucketArn

SetS3BucketArn sets the S3BucketArn field's value.

func (*UpdateServiceSettingsInput) SetSnsTopicArn

SetSnsTopicArn sets the SnsTopicArn field's value.

func (UpdateServiceSettingsInput) String

String returns the string representation

func (*UpdateServiceSettingsInput) Validate

func (s *UpdateServiceSettingsInput) Validate() error

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

type UpdateServiceSettingsOutput

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

func (UpdateServiceSettingsOutput) GoString

func (s UpdateServiceSettingsOutput) GoString() string

GoString returns the string representation

func (UpdateServiceSettingsOutput) String

String returns the string representation

type ValidationException added in v1.36.1

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

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

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

func (*ValidationException) Code added in v1.36.1

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error added in v1.36.1

func (s *ValidationException) Error() string

func (ValidationException) GoString added in v1.36.1

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message added in v1.36.1

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr added in v1.36.1

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID added in v1.36.1

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode added in v1.36.1

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String added in v1.36.1

func (s ValidationException) String() string

String returns the string representation

Directories

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

Jump to

Keyboard shortcuts

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