LicenseManager
public struct LicenseManager
Client object for interacting with AWS LicenseManager service.
AWS License Manager AWS License Manager makes it easier to manage licenses from software vendors across multiple AWS accounts and on-premises servers.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the LicenseManager client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)
Parameters
accessKeyId
Public access key provided by AWS
secretAccessKey
Private access key provided by AWS
sessionToken
Token provided by STS.AssumeRole() which allows access to another AWS account
region
Region of server you want to communicate with
endpoint
Custom endpoint URL to use instead of standard AWS servers
middlewares
Array of middlewares to apply to requests and responses
eventLoopGroupProvider
EventLoopGroup to use. Use
useAWSClientShared
if the client shall manage its own EventLoopGroup.
-
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.
Declaration
Swift
public func createLicenseConfiguration(_ input: CreateLicenseConfigurationRequest) -> EventLoopFuture<CreateLicenseConfigurationResponse>
-
Deletes the specified license configuration. You cannot delete a license configuration that is in use.
Declaration
Swift
public func deleteLicenseConfiguration(_ input: DeleteLicenseConfigurationRequest) -> EventLoopFuture<DeleteLicenseConfigurationResponse>
-
Gets detailed information about the specified license configuration.
Declaration
Swift
public func getLicenseConfiguration(_ input: GetLicenseConfigurationRequest) -> EventLoopFuture<GetLicenseConfigurationResponse>
-
Gets the License Manager settings for the current Region.
Declaration
Swift
public func getServiceSettings(_ input: GetServiceSettingsRequest) -> EventLoopFuture<GetServiceSettingsResponse>
-
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).
Declaration
Swift
public func listAssociationsForLicenseConfiguration(_ input: ListAssociationsForLicenseConfigurationRequest) -> EventLoopFuture<ListAssociationsForLicenseConfigurationResponse>
-
Lists the license configuration operations that failed.
Declaration
Swift
public func listFailuresForLicenseConfigurationOperations(_ input: ListFailuresForLicenseConfigurationOperationsRequest) -> EventLoopFuture<ListFailuresForLicenseConfigurationOperationsResponse>
-
Lists the license configurations for your account.
Declaration
Swift
public func listLicenseConfigurations(_ input: ListLicenseConfigurationsRequest) -> EventLoopFuture<ListLicenseConfigurationsResponse>
-
Describes the license configurations for the specified resource.
Declaration
Swift
public func listLicenseSpecificationsForResource(_ input: ListLicenseSpecificationsForResourceRequest) -> EventLoopFuture<ListLicenseSpecificationsForResourceResponse>
-
Lists resources managed using Systems Manager inventory.
Declaration
Swift
public func listResourceInventory(_ input: ListResourceInventoryRequest) -> EventLoopFuture<ListResourceInventoryResponse>
-
Lists the tags for the specified license configuration.
Declaration
Swift
public func listTagsForResource(_ input: ListTagsForResourceRequest) -> EventLoopFuture<ListTagsForResourceResponse>
-
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.
Declaration
Swift
public func listUsageForLicenseConfiguration(_ input: ListUsageForLicenseConfigurationRequest) -> EventLoopFuture<ListUsageForLicenseConfigurationResponse>
-
Adds the specified tags to the specified license configuration.
Declaration
Swift
public func tagResource(_ input: TagResourceRequest) -> EventLoopFuture<TagResourceResponse>
-
Removes the specified tags from the specified license configuration.
Declaration
Swift
public func untagResource(_ input: UntagResourceRequest) -> EventLoopFuture<UntagResourceResponse>
-
Modifies the attributes of an existing license configuration.
Declaration
Swift
public func updateLicenseConfiguration(_ input: UpdateLicenseConfigurationRequest) -> EventLoopFuture<UpdateLicenseConfigurationResponse>
-
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.
Declaration
Swift
public func updateLicenseSpecificationsForResource(_ input: UpdateLicenseSpecificationsForResourceRequest) -> EventLoopFuture<UpdateLicenseSpecificationsForResourceResponse>
-
Updates License Manager settings for the current Region.
Declaration
Swift
public func updateServiceSettings(_ input: UpdateServiceSettingsRequest) -> EventLoopFuture<UpdateServiceSettingsResponse>
-
Undocumented
See moreDeclaration
Swift
public enum InventoryFilterCondition : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum LicenseConfigurationStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum LicenseCountingType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum ResourceType : String, CustomStringConvertible, Codable