licensemanager

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 7 Imported by: 14

Documentation

Overview

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

This is the AWS License Manager API Reference. It provides descriptions, syntax, and usage examples for each of the actions and data types for License Manager. The topic for each action shows the Query API request parameters and the XML response. You can also view the XML request elements in the WSDL.

Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see AWS SDKs (http://aws.amazon.com/tools/#SDKs).

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 use 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 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 (
	ServiceName = "AWS License Manager" // Service's name
	ServiceID   = "LicenseManager"      // Service's identifier
	EndpointsID = "license-manager"     // Service's Endpoint identifier
)
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"

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

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

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

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

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

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

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

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := licensemanager.New(myConfig)

func (*Client) CreateLicenseConfigurationRequest added in v0.9.0

func (c *Client) CreateLicenseConfigurationRequest(input *CreateLicenseConfigurationInput) CreateLicenseConfigurationRequest

CreateLicenseConfigurationRequest returns a request value for making API operation for AWS License Manager.

Creates a new license configuration object. 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), tenancy (shared tenancy, Amazon EC2 Dedicated Instance, Amazon EC2 Dedicated Host, or any of these), host affinity (how long a VM must be associated with a host), the number of licenses purchased and used.

// Example sending a request using CreateLicenseConfigurationRequest.
req := client.CreateLicenseConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteLicenseConfigurationRequest added in v0.9.0

func (c *Client) DeleteLicenseConfigurationRequest(input *DeleteLicenseConfigurationInput) DeleteLicenseConfigurationRequest

DeleteLicenseConfigurationRequest returns a request value for making API operation for AWS License Manager.

Deletes an existing license configuration. This action fails if the configuration is in use.

// Example sending a request using DeleteLicenseConfigurationRequest.
req := client.DeleteLicenseConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetLicenseConfigurationRequest added in v0.9.0

func (c *Client) GetLicenseConfigurationRequest(input *GetLicenseConfigurationInput) GetLicenseConfigurationRequest

GetLicenseConfigurationRequest returns a request value for making API operation for AWS License Manager.

Returns a detailed description of a license configuration.

// Example sending a request using GetLicenseConfigurationRequest.
req := client.GetLicenseConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetServiceSettingsRequest added in v0.9.0

func (c *Client) GetServiceSettingsRequest(input *GetServiceSettingsInput) GetServiceSettingsRequest

GetServiceSettingsRequest returns a request value for making API operation for AWS License Manager.

Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.

// Example sending a request using GetServiceSettingsRequest.
req := client.GetServiceSettingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListAssociationsForLicenseConfigurationRequest added in v0.9.0

func (c *Client) ListAssociationsForLicenseConfigurationRequest(input *ListAssociationsForLicenseConfigurationInput) ListAssociationsForLicenseConfigurationRequest

ListAssociationsForLicenseConfigurationRequest returns a request value for making API operation for AWS License Manager.

Lists the resource associations for a license configuration. Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance may not consume a license (depending on the license rules). Use this operation to find all resources associated with a license configuration.

// Example sending a request using ListAssociationsForLicenseConfigurationRequest.
req := client.ListAssociationsForLicenseConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListLicenseConfigurationsRequest added in v0.9.0

func (c *Client) ListLicenseConfigurationsRequest(input *ListLicenseConfigurationsInput) ListLicenseConfigurationsRequest

ListLicenseConfigurationsRequest returns a request value for making API operation for AWS License Manager.

Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.

// Example sending a request using ListLicenseConfigurationsRequest.
req := client.ListLicenseConfigurationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListLicenseSpecificationsForResourceRequest added in v0.9.0

func (c *Client) ListLicenseSpecificationsForResourceRequest(input *ListLicenseSpecificationsForResourceInput) ListLicenseSpecificationsForResourceRequest

ListLicenseSpecificationsForResourceRequest returns a request value for making API operation for AWS License Manager.

Returns the license configuration for a resource.

// Example sending a request using ListLicenseSpecificationsForResourceRequest.
req := client.ListLicenseSpecificationsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListResourceInventoryRequest added in v0.9.0

func (c *Client) ListResourceInventoryRequest(input *ListResourceInventoryInput) ListResourceInventoryRequest

ListResourceInventoryRequest returns a request value for making API operation for AWS License Manager.

Returns a detailed list of resources.

// Example sending a request using ListResourceInventoryRequest.
req := client.ListResourceInventoryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListTagsForResourceRequest added in v0.9.0

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for AWS License Manager.

Lists tags attached to a resource.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListUsageForLicenseConfigurationRequest added in v0.9.0

func (c *Client) ListUsageForLicenseConfigurationRequest(input *ListUsageForLicenseConfigurationInput) ListUsageForLicenseConfigurationRequest

ListUsageForLicenseConfigurationRequest returns a request value for making 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.

// Example sending a request using ListUsageForLicenseConfigurationRequest.
req := client.ListUsageForLicenseConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) TagResourceRequest added in v0.9.0

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for AWS License Manager.

Attach one of more tags to any resource.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UntagResourceRequest added in v0.9.0

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for AWS License Manager.

Remove tags from a resource.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateLicenseConfigurationRequest added in v0.9.0

func (c *Client) UpdateLicenseConfigurationRequest(input *UpdateLicenseConfigurationInput) UpdateLicenseConfigurationRequest

UpdateLicenseConfigurationRequest returns a request value for making API operation for AWS License Manager.

Modifies the attributes of an existing license configuration object. 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 (Instances, cores, sockets, VCPUs), tenancy (shared or Dedicated Host), host affinity (how long a VM is associated with a host), the number of licenses purchased and used.

// Example sending a request using UpdateLicenseConfigurationRequest.
req := client.UpdateLicenseConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateLicenseSpecificationsForResourceRequest added in v0.9.0

func (c *Client) UpdateLicenseSpecificationsForResourceRequest(input *UpdateLicenseSpecificationsForResourceInput) UpdateLicenseSpecificationsForResourceRequest

UpdateLicenseSpecificationsForResourceRequest returns a request value for making API operation for AWS License Manager.

Adds or removes license configurations for a specified AWS resource. This operation currently supports updating the license specifications of AMIs, instances, and hosts. Launch templates and AWS CloudFormation templates are not managed from this operation as those resources send the license configurations directly to a resource creation operation, such as RunInstances.

// Example sending a request using UpdateLicenseSpecificationsForResourceRequest.
req := client.UpdateLicenseSpecificationsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateServiceSettingsRequest added in v0.9.0

func (c *Client) UpdateServiceSettingsRequest(input *UpdateServiceSettingsInput) UpdateServiceSettingsRequest

UpdateServiceSettingsRequest returns a request value for making API operation for AWS License Manager.

Updates License Manager service settings.

// Example sending a request using UpdateServiceSettingsRequest.
req := client.UpdateServiceSettingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

type ConsumedLicenseSummary

type ConsumedLicenseSummary struct {

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

	// Resource type of the resource consuming a license (instance, host, or AMI).
	ResourceType ResourceType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Details about license consumption.

func (ConsumedLicenseSummary) String

func (s ConsumedLicenseSummary) String() string

String returns the string representation

type CreateLicenseConfigurationInput

type CreateLicenseConfigurationInput struct {

	// Human-friendly description of the license configuration.
	Description *string `type:"string"`

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

	// Flag indicating whether hard or soft license enforcement is used. Exceeding
	// a hard limit results in the blocked deployment of new instances.
	LicenseCountHardLimit *bool `type:"boolean"`

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

	// Array of configured License Manager rules.
	LicenseRules []string `type:"list"`

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

	// The tags to apply to the resources during launch. You can only tag instances
	// and volumes on launch. The specified tags are applied to all instances or
	// volumes that are created during launch. To tag a resource after it has been
	// created, see CreateTags .
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

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 {

	// ARN of the license configuration object after its creation.
	LicenseConfigurationArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateLicenseConfigurationOutput) String

String returns the string representation

type CreateLicenseConfigurationRequest

type CreateLicenseConfigurationRequest struct {
	*aws.Request
	Input *CreateLicenseConfigurationInput
	Copy  func(*CreateLicenseConfigurationInput) CreateLicenseConfigurationRequest
}

CreateLicenseConfigurationRequest is the request type for the CreateLicenseConfiguration API operation.

func (CreateLicenseConfigurationRequest) Send

Send marshals and sends the CreateLicenseConfiguration API request.

type CreateLicenseConfigurationResponse added in v0.9.0

type CreateLicenseConfigurationResponse struct {
	*CreateLicenseConfigurationOutput
	// contains filtered or unexported fields
}

CreateLicenseConfigurationResponse is the response type for the CreateLicenseConfiguration API operation.

func (*CreateLicenseConfigurationResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateLicenseConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateLicenseConfiguration request.

type DeleteLicenseConfigurationInput

type DeleteLicenseConfigurationInput struct {

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

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) String

String returns the string representation

type DeleteLicenseConfigurationRequest

type DeleteLicenseConfigurationRequest struct {
	*aws.Request
	Input *DeleteLicenseConfigurationInput
	Copy  func(*DeleteLicenseConfigurationInput) DeleteLicenseConfigurationRequest
}

DeleteLicenseConfigurationRequest is the request type for the DeleteLicenseConfiguration API operation.

func (DeleteLicenseConfigurationRequest) Send

Send marshals and sends the DeleteLicenseConfiguration API request.

type DeleteLicenseConfigurationResponse added in v0.9.0

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

DeleteLicenseConfigurationResponse is the response type for the DeleteLicenseConfiguration API operation.

func (*DeleteLicenseConfigurationResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteLicenseConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteLicenseConfiguration request.

type Filter

type Filter struct {

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

	// One or more 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 a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs. The filters supported by a Describe operation are documented with the Describe operation.

func (Filter) String

func (s Filter) String() string

String returns the string representation

type GetLicenseConfigurationInput

type GetLicenseConfigurationInput struct {

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

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 {

	// List of summaries for consumed licenses used by various resources.
	ConsumedLicenseSummaryList []ConsumedLicenseSummary `type:"list"`

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

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

	// ARN of the license configuration requested.
	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 (for example, instances, cores,
	// sockets, or VCPUs).
	LicenseCountingType LicenseCountingType `type:"string" enum:"true"`

	// List of flexible text strings designating license rules.
	LicenseRules []string `type:"list"`

	// List of summaries of managed resources.
	ManagedResourceSummaryList []ManagedResourceSummary `type:"list"`

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

	// Owner account ID for the license configuration.
	OwnerAccountId *string `type:"string"`

	// License configuration status (active, etc.).
	Status *string `type:"string"`

	// List of tags attached to the license configuration.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

func (GetLicenseConfigurationOutput) String

String returns the string representation

type GetLicenseConfigurationRequest

type GetLicenseConfigurationRequest struct {
	*aws.Request
	Input *GetLicenseConfigurationInput
	Copy  func(*GetLicenseConfigurationInput) GetLicenseConfigurationRequest
}

GetLicenseConfigurationRequest is the request type for the GetLicenseConfiguration API operation.

func (GetLicenseConfigurationRequest) Send

Send marshals and sends the GetLicenseConfiguration API request.

type GetLicenseConfigurationResponse added in v0.9.0

type GetLicenseConfigurationResponse struct {
	*GetLicenseConfigurationOutput
	// contains filtered or unexported fields
}

GetLicenseConfigurationResponse is the response type for the GetLicenseConfiguration API operation.

func (*GetLicenseConfigurationResponse) SDKResponseMetdata added in v0.9.0

func (r *GetLicenseConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetLicenseConfiguration request.

type GetServiceSettingsInput

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

func (GetServiceSettingsInput) String

func (s GetServiceSettingsInput) String() string

String returns the string representation

type GetServiceSettingsOutput

type GetServiceSettingsOutput struct {

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

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

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

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

func (GetServiceSettingsOutput) String

func (s GetServiceSettingsOutput) String() string

String returns the string representation

type GetServiceSettingsRequest

type GetServiceSettingsRequest struct {
	*aws.Request
	Input *GetServiceSettingsInput
	Copy  func(*GetServiceSettingsInput) GetServiceSettingsRequest
}

GetServiceSettingsRequest is the request type for the GetServiceSettings API operation.

func (GetServiceSettingsRequest) Send

Send marshals and sends the GetServiceSettings API request.

type GetServiceSettingsResponse added in v0.9.0

type GetServiceSettingsResponse struct {
	*GetServiceSettingsOutput
	// contains filtered or unexported fields
}

GetServiceSettingsResponse is the response type for the GetServiceSettings API operation.

func (*GetServiceSettingsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetServiceSettingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetServiceSettings request.

type InventoryFilter

type InventoryFilter struct {

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

	// The 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 object.

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 InventoryFilterCondition

type InventoryFilterCondition string
const (
	InventoryFilterConditionEquals     InventoryFilterCondition = "EQUALS"
	InventoryFilterConditionNotEquals  InventoryFilterCondition = "NOT_EQUALS"
	InventoryFilterConditionBeginsWith InventoryFilterCondition = "BEGINS_WITH"
	InventoryFilterConditionContains   InventoryFilterCondition = "CONTAINS"
)

Enum values for InventoryFilterCondition

func (InventoryFilterCondition) MarshalValue

func (enum InventoryFilterCondition) MarshalValue() (string, error)

func (InventoryFilterCondition) MarshalValueBuf

func (enum InventoryFilterCondition) MarshalValueBuf(b []byte) ([]byte, error)

type LicenseConfiguration

type LicenseConfiguration struct {

	// List of 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"`

	// ARN of the LicenseConfiguration object.
	LicenseConfigurationArn *string `type:"string"`

	// Unique ID of the LicenseConfiguration object.
	LicenseConfigurationId *string `type:"string"`

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

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

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

	// Array of configured License Manager rules.
	LicenseRules []string `type:"list"`

	// List of 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"`

	// 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), tenancy (shared tenancy, Amazon EC2 Dedicated Instance, Amazon EC2 Dedicated Host, or any of these), host affinity (how long a VM must be associated with a host), the number of licenses purchased and used.

func (LicenseConfiguration) String

func (s LicenseConfiguration) String() string

String returns the string representation

type LicenseConfigurationAssociation

type LicenseConfigurationAssociation struct {

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

	// ARN of the resource associated with the license configuration.
	ResourceArn *string `type:"string"`

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

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

Describes a server resource that is associated with a license configuration.

func (LicenseConfigurationAssociation) String

String returns the string representation

type LicenseConfigurationStatus

type LicenseConfigurationStatus string
const (
	LicenseConfigurationStatusAvailable LicenseConfigurationStatus = "AVAILABLE"
	LicenseConfigurationStatusDisabled  LicenseConfigurationStatus = "DISABLED"
)

Enum values for LicenseConfigurationStatus

func (LicenseConfigurationStatus) MarshalValue

func (enum LicenseConfigurationStatus) MarshalValue() (string, error)

func (LicenseConfigurationStatus) MarshalValueBuf

func (enum LicenseConfigurationStatus) MarshalValueBuf(b []byte) ([]byte, error)

type LicenseConfigurationUsage

type LicenseConfigurationUsage struct {

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

	// Number of licenses consumed out of the total provisioned in the license configuration.
	ConsumedLicenses *int64 `type:"long"`

	// ARN of the resource associated with a license configuration.
	ResourceArn *string `type:"string"`

	// ID of the account that owns a resource that is associated with the license
	// configuration.
	ResourceOwnerId *string `type:"string"`

	// Status of a resource associated with the license configuration.
	ResourceStatus *string `type:"string"`

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

Contains details of the usage of each resource from the license pool.

func (LicenseConfigurationUsage) String

func (s LicenseConfigurationUsage) String() string

String returns the string representation

type LicenseCountingType

type LicenseCountingType string
const (
	LicenseCountingTypeVCpu     LicenseCountingType = "vCPU"
	LicenseCountingTypeInstance LicenseCountingType = "Instance"
	LicenseCountingTypeCore     LicenseCountingType = "Core"
	LicenseCountingTypeSocket   LicenseCountingType = "Socket"
)

Enum values for LicenseCountingType

func (LicenseCountingType) MarshalValue

func (enum LicenseCountingType) MarshalValue() (string, error)

func (LicenseCountingType) MarshalValueBuf

func (enum LicenseCountingType) MarshalValueBuf(b []byte) ([]byte, error)

type LicenseSpecification

type LicenseSpecification struct {

	// ARN of the LicenseConfiguration object.
	//
	// LicenseConfigurationArn is a required field
	LicenseConfigurationArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Object used for associating a license configuration with a resource.

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 ListAssociationsForLicenseConfigurationInput

type ListAssociationsForLicenseConfigurationInput struct {

	// ARN of a LicenseConfiguration object.
	//
	// LicenseConfigurationArn is a required field
	LicenseConfigurationArn *string `type:"string" required:"true"`

	// Maximum number of results to return in a single call. To retrieve the remaining
	// results, make another call with the returned NextToken value.
	MaxResults *int64 `type:"integer"`

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

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 {

	// Lists association objects for the license configuration, each containing
	// the association time, number of consumed licenses, resource ARN, resource
	// ID, account ID that owns the resource, resource size, and resource type.
	LicenseConfigurationAssociations []LicenseConfigurationAssociation `type:"list"`

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

func (ListAssociationsForLicenseConfigurationOutput) String

String returns the string representation

type ListAssociationsForLicenseConfigurationRequest

ListAssociationsForLicenseConfigurationRequest is the request type for the ListAssociationsForLicenseConfiguration API operation.

func (ListAssociationsForLicenseConfigurationRequest) Send

Send marshals and sends the ListAssociationsForLicenseConfiguration API request.

type ListAssociationsForLicenseConfigurationResponse added in v0.9.0

type ListAssociationsForLicenseConfigurationResponse struct {
	*ListAssociationsForLicenseConfigurationOutput
	// contains filtered or unexported fields
}

ListAssociationsForLicenseConfigurationResponse is the response type for the ListAssociationsForLicenseConfiguration API operation.

func (*ListAssociationsForLicenseConfigurationResponse) SDKResponseMetdata added in v0.9.0

SDKResponseMetdata returns the response metadata for the ListAssociationsForLicenseConfiguration request.

type ListLicenseConfigurationsInput

type ListLicenseConfigurationsInput struct {

	// One or more filters.
	Filters []Filter `type:"list"`

	// An array of ARNs for the calling account’s license configurations.
	LicenseConfigurationArns []string `type:"list"`

	// Maximum number of results to return in a single call. To retrieve the remaining
	// results, make another call with the returned NextToken value.
	MaxResults *int64 `type:"integer"`

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

func (ListLicenseConfigurationsInput) String

String returns the string representation

type ListLicenseConfigurationsOutput

type ListLicenseConfigurationsOutput struct {

	// Array of license configuration objects.
	LicenseConfigurations []LicenseConfiguration `type:"list"`

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

func (ListLicenseConfigurationsOutput) String

String returns the string representation

type ListLicenseConfigurationsRequest

type ListLicenseConfigurationsRequest struct {
	*aws.Request
	Input *ListLicenseConfigurationsInput
	Copy  func(*ListLicenseConfigurationsInput) ListLicenseConfigurationsRequest
}

ListLicenseConfigurationsRequest is the request type for the ListLicenseConfigurations API operation.

func (ListLicenseConfigurationsRequest) Send

Send marshals and sends the ListLicenseConfigurations API request.

type ListLicenseConfigurationsResponse added in v0.9.0

type ListLicenseConfigurationsResponse struct {
	*ListLicenseConfigurationsOutput
	// contains filtered or unexported fields
}

ListLicenseConfigurationsResponse is the response type for the ListLicenseConfigurations API operation.

func (*ListLicenseConfigurationsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListLicenseConfigurationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListLicenseConfigurations request.

type ListLicenseSpecificationsForResourceInput

type ListLicenseSpecificationsForResourceInput struct {

	// Maximum number of results to return in a single call. To retrieve the remaining
	// results, make another call with the returned NextToken value.
	MaxResults *int64 `type:"integer"`

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

	// ARN of an AMI or Amazon EC2 instance that has an associated license configuration.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

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) String

String returns the string representation

type ListLicenseSpecificationsForResourceRequest

ListLicenseSpecificationsForResourceRequest is the request type for the ListLicenseSpecificationsForResource API operation.

func (ListLicenseSpecificationsForResourceRequest) Send

Send marshals and sends the ListLicenseSpecificationsForResource API request.

type ListLicenseSpecificationsForResourceResponse added in v0.9.0

type ListLicenseSpecificationsForResourceResponse struct {
	*ListLicenseSpecificationsForResourceOutput
	// contains filtered or unexported fields
}

ListLicenseSpecificationsForResourceResponse is the response type for the ListLicenseSpecificationsForResource API operation.

func (*ListLicenseSpecificationsForResourceResponse) SDKResponseMetdata added in v0.9.0

SDKResponseMetdata returns the response metadata for the ListLicenseSpecificationsForResource request.

type ListResourceInventoryInput

type ListResourceInventoryInput struct {

	// One or more filters.
	Filters []InventoryFilter `type:"list"`

	// Maximum number of results to return in a single call. To retrieve the remaining
	// results, make another call with the returned NextToken value.
	MaxResults *int64 `type:"integer"`

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

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

	// The detailed list of resources.
	ResourceInventoryList []ResourceInventory `type:"list"`
	// contains filtered or unexported fields
}

func (ListResourceInventoryOutput) String

String returns the string representation

type ListResourceInventoryRequest

type ListResourceInventoryRequest struct {
	*aws.Request
	Input *ListResourceInventoryInput
	Copy  func(*ListResourceInventoryInput) ListResourceInventoryRequest
}

ListResourceInventoryRequest is the request type for the ListResourceInventory API operation.

func (ListResourceInventoryRequest) Send

Send marshals and sends the ListResourceInventory API request.

type ListResourceInventoryResponse added in v0.9.0

type ListResourceInventoryResponse struct {
	*ListResourceInventoryOutput
	// contains filtered or unexported fields
}

ListResourceInventoryResponse is the response type for the ListResourceInventory API operation.

func (*ListResourceInventoryResponse) SDKResponseMetdata added in v0.9.0

func (r *ListResourceInventoryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListResourceInventory request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// ARN for the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

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 {

	// List of tags attached to the resource.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse added in v0.9.0

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type ListUsageForLicenseConfigurationInput

type ListUsageForLicenseConfigurationInput struct {

	// List of filters to apply.
	Filters []Filter `type:"list"`

	// ARN of the targeted LicenseConfiguration object.
	//
	// LicenseConfigurationArn is a required field
	LicenseConfigurationArn *string `type:"string" required:"true"`

	// Maximum number of results to return in a single call. To retrieve the remaining
	// results, make another call with the returned NextToken value.
	MaxResults *int64 `type:"integer"`

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

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 {

	// An array of LicenseConfigurationUsage objects.
	LicenseConfigurationUsageList []LicenseConfigurationUsage `type:"list"`

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

func (ListUsageForLicenseConfigurationOutput) String

String returns the string representation

type ListUsageForLicenseConfigurationRequest

type ListUsageForLicenseConfigurationRequest struct {
	*aws.Request
	Input *ListUsageForLicenseConfigurationInput
	Copy  func(*ListUsageForLicenseConfigurationInput) ListUsageForLicenseConfigurationRequest
}

ListUsageForLicenseConfigurationRequest is the request type for the ListUsageForLicenseConfiguration API operation.

func (ListUsageForLicenseConfigurationRequest) Send

Send marshals and sends the ListUsageForLicenseConfiguration API request.

type ListUsageForLicenseConfigurationResponse added in v0.9.0

type ListUsageForLicenseConfigurationResponse struct {
	*ListUsageForLicenseConfigurationOutput
	// contains filtered or unexported fields
}

ListUsageForLicenseConfigurationResponse is the response type for the ListUsageForLicenseConfiguration API operation.

func (*ListUsageForLicenseConfigurationResponse) SDKResponseMetdata added in v0.9.0

func (r *ListUsageForLicenseConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListUsageForLicenseConfiguration request.

type ManagedResourceSummary

type ManagedResourceSummary struct {

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

	// Type of resource associated with a license (instance, host, or AMI).
	ResourceType ResourceType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Summary for a resource.

func (ManagedResourceSummary) String

func (s ManagedResourceSummary) String() string

String returns the string representation

type OrganizationConfiguration

type OrganizationConfiguration struct {

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

Object containing configuration information for AWS Organizations.

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 ResourceInventory

type ResourceInventory struct {

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

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

	// The ARN of the resource.
	ResourceArn *string `type:"string"`

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

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

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

A set of attributes that describe a resource.

func (ResourceInventory) String

func (s ResourceInventory) String() string

String returns the string representation

type ResourceType

type ResourceType string
const (
	ResourceTypeEc2Instance ResourceType = "EC2_INSTANCE"
	ResourceTypeEc2Host     ResourceType = "EC2_HOST"
	ResourceTypeEc2Ami      ResourceType = "EC2_AMI"
)

Enum values for ResourceType

func (ResourceType) MarshalValue

func (enum ResourceType) MarshalValue() (string, error)

func (ResourceType) MarshalValueBuf

func (enum ResourceType) MarshalValueBuf(b []byte) ([]byte, error)

type Tag

type Tag struct {

	// Key for the resource tag.
	Key *string `type:"string"`

	// Value for the resource tag.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Tag for a resource in a key-value format.

func (Tag) String

func (s Tag) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// Resource of the ARN to be tagged.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

	// Names of the tags to attach to the resource.
	//
	// Tags is a required field
	Tags []Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

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) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.9.0

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

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type UntagResourceInput

type UntagResourceInput struct {

	// ARN of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

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

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) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.9.0

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

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateLicenseConfigurationInput

type UpdateLicenseConfigurationInput struct {

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

	// ARN for a license configuration.
	//
	// LicenseConfigurationArn is a required field
	LicenseConfigurationArn *string `type:"string" required:"true"`

	// New status of the license configuration (ACTIVE or INACTIVE).
	LicenseConfigurationStatus LicenseConfigurationStatus `type:"string" enum:"true"`

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

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

	// List of flexible text strings designating license rules.
	LicenseRules []string `type:"list"`

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

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) String

String returns the string representation

type UpdateLicenseConfigurationRequest

type UpdateLicenseConfigurationRequest struct {
	*aws.Request
	Input *UpdateLicenseConfigurationInput
	Copy  func(*UpdateLicenseConfigurationInput) UpdateLicenseConfigurationRequest
}

UpdateLicenseConfigurationRequest is the request type for the UpdateLicenseConfiguration API operation.

func (UpdateLicenseConfigurationRequest) Send

Send marshals and sends the UpdateLicenseConfiguration API request.

type UpdateLicenseConfigurationResponse added in v0.9.0

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

UpdateLicenseConfigurationResponse is the response type for the UpdateLicenseConfiguration API operation.

func (*UpdateLicenseConfigurationResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateLicenseConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateLicenseConfiguration request.

type UpdateLicenseSpecificationsForResourceInput

type UpdateLicenseSpecificationsForResourceInput struct {

	// License configuration ARNs to be added to a resource.
	AddLicenseSpecifications []LicenseSpecification `type:"list"`

	// License configuration ARNs to be removed from a resource.
	RemoveLicenseSpecifications []LicenseSpecification `type:"list"`

	// ARN for an AWS server resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

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) String

String returns the string representation

type UpdateLicenseSpecificationsForResourceRequest

UpdateLicenseSpecificationsForResourceRequest is the request type for the UpdateLicenseSpecificationsForResource API operation.

func (UpdateLicenseSpecificationsForResourceRequest) Send

Send marshals and sends the UpdateLicenseSpecificationsForResource API request.

type UpdateLicenseSpecificationsForResourceResponse added in v0.9.0

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

UpdateLicenseSpecificationsForResourceResponse is the response type for the UpdateLicenseSpecificationsForResource API operation.

func (*UpdateLicenseSpecificationsForResourceResponse) SDKResponseMetdata added in v0.9.0

SDKResponseMetdata returns the response metadata for the UpdateLicenseSpecificationsForResource request.

type UpdateServiceSettingsInput

type UpdateServiceSettingsInput struct {

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

	// Integrates AWS Organizations with License Manager for cross-account discovery.
	OrganizationConfiguration *OrganizationConfiguration `type:"structure"`

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

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

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) String

String returns the string representation

type UpdateServiceSettingsRequest

type UpdateServiceSettingsRequest struct {
	*aws.Request
	Input *UpdateServiceSettingsInput
	Copy  func(*UpdateServiceSettingsInput) UpdateServiceSettingsRequest
}

UpdateServiceSettingsRequest is the request type for the UpdateServiceSettings API operation.

func (UpdateServiceSettingsRequest) Send

Send marshals and sends the UpdateServiceSettings API request.

type UpdateServiceSettingsResponse added in v0.9.0

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

UpdateServiceSettingsResponse is the response type for the UpdateServiceSettings API operation.

func (*UpdateServiceSettingsResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateServiceSettingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateServiceSettings request.

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