amazonka-license-manager-linux-subscriptions-2.0: Amazon License Manager Linux Subscriptions SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LicenseManagerLinuxSubscriptions.Lens

Description

 
Synopsis

Operations

GetServiceSettings

getServiceSettingsResponse_homeRegions :: Lens' GetServiceSettingsResponse (Maybe (NonEmpty Text)) Source #

The Region in which License Manager displays the aggregated data for Linux subscriptions.

getServiceSettingsResponse_linuxSubscriptionsDiscoverySettings :: Lens' GetServiceSettingsResponse (Maybe LinuxSubscriptionsDiscoverySettings) Source #

Lists the settings defined for Linux subscriptions discovery. The settings include if Organizations integration has been enabled, and which Regions data will be aggregated from.

getServiceSettingsResponse_status :: Lens' GetServiceSettingsResponse (Maybe Status) Source #

Indicates the status of Linux subscriptions settings being applied.

getServiceSettingsResponse_statusMessage :: Lens' GetServiceSettingsResponse (Maybe (HashMap Text Text)) Source #

A message which details the Linux subscriptions service settings current status.

ListLinuxSubscriptionInstances

listLinuxSubscriptionInstances_filters :: Lens' ListLinuxSubscriptionInstances (Maybe [Filter]) Source #

An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify. For example, you can filter by the name of AmiID with an optional operator to see subscriptions that match, partially match, or don't match a certain Amazon Machine Image (AMI) ID.

The valid names for this filter are:

  • AmiID
  • InstanceID
  • AccountID
  • Status
  • Region
  • UsageOperation
  • ProductCode
  • InstanceType

The valid Operators for this filter are:

  • contains
  • equals
  • Notequal

listLinuxSubscriptionInstances_maxResults :: Lens' ListLinuxSubscriptionInstances (Maybe Int) Source #

Maximum number of results to return in a single call.

ListLinuxSubscriptions

listLinuxSubscriptions_filters :: Lens' ListLinuxSubscriptions (Maybe [Filter]) Source #

An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify. For example, you can filter by the name of Subscription with an optional operator to see subscriptions that match, partially match, or don't match a certain subscription's name.

The valid names for this filter are:

  • Subscription

The valid Operators for this filter are:

  • contains
  • equals
  • Notequal

listLinuxSubscriptions_maxResults :: Lens' ListLinuxSubscriptions (Maybe Int) Source #

Maximum number of results to return in a single call.

UpdateServiceSettings

updateServiceSettings_allowUpdate :: Lens' UpdateServiceSettings (Maybe Bool) Source #

Describes if updates are allowed to the service settings for Linux subscriptions. If you allow updates, you can aggregate Linux subscription data in more than one home Region.

updateServiceSettings_linuxSubscriptionsDiscoverySettings :: Lens' UpdateServiceSettings LinuxSubscriptionsDiscoverySettings Source #

The settings defined for Linux subscriptions discovery. The settings include if Organizations integration has been enabled, and which Regions data will be aggregated from.

updateServiceSettingsResponse_homeRegions :: Lens' UpdateServiceSettingsResponse (Maybe (NonEmpty Text)) Source #

The Region in which License Manager displays the aggregated data for Linux subscriptions.

updateServiceSettingsResponse_linuxSubscriptionsDiscoverySettings :: Lens' UpdateServiceSettingsResponse (Maybe LinuxSubscriptionsDiscoverySettings) Source #

The settings defined for Linux subscriptions discovery. The settings include if Organizations integration has been enabled, and which Regions data will be aggregated from.

updateServiceSettingsResponse_status :: Lens' UpdateServiceSettingsResponse (Maybe Status) Source #

Indicates the status of Linux subscriptions settings being applied.

updateServiceSettingsResponse_statusMessage :: Lens' UpdateServiceSettingsResponse (Maybe (HashMap Text Text)) Source #

A message which details the Linux subscriptions service settings current status.

Types

Filter

filter_name :: Lens' Filter (Maybe Text) Source #

The type of name to filter by.

filter_operator :: Lens' Filter (Maybe Operator) Source #

An operator for filtering results.

filter_values :: Lens' Filter (Maybe (NonEmpty Text)) Source #

One or more values for the name to filter by.

Instance

instance_accountID :: Lens' Instance (Maybe Text) Source #

The account ID which owns the instance.

instance_amiId :: Lens' Instance (Maybe Text) Source #

The AMI ID used to launch the instance.

instance_instanceID :: Lens' Instance (Maybe Text) Source #

The instance ID of the resource.

instance_instanceType :: Lens' Instance (Maybe Text) Source #

The instance type of the resource.

instance_lastUpdatedTime :: Lens' Instance (Maybe Text) Source #

The time in which the last discovery updated the instance details.

instance_productCode :: Lens' Instance (Maybe [Text]) Source #

The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .

instance_region :: Lens' Instance (Maybe Text) Source #

The Region the instance is running in.

instance_status :: Lens' Instance (Maybe Text) Source #

The status of the instance.

instance_subscriptionName :: Lens' Instance (Maybe Text) Source #

The name of the subscription being used by the instance.

instance_usageOperation :: Lens' Instance (Maybe Text) Source #

The usage operation of the instance. For more information, see For more information, see Usage operation values in the License Manager User Guide.

LinuxSubscriptionsDiscoverySettings

linuxSubscriptionsDiscoverySettings_organizationIntegration :: Lens' LinuxSubscriptionsDiscoverySettings OrganizationIntegration Source #

Details if you have enabled resource discovery across your accounts in Organizations.

linuxSubscriptionsDiscoverySettings_sourceRegions :: Lens' LinuxSubscriptionsDiscoverySettings (NonEmpty Text) Source #

The Regions in which to discover data for Linux subscriptions.

Subscription

subscription_instanceCount :: Lens' Subscription (Maybe Integer) Source #

The total amount of running instances using this subscription.

subscription_name :: Lens' Subscription (Maybe Text) Source #

The name of the subscription.

subscription_type :: Lens' Subscription (Maybe Text) Source #

The type of subscription. The type can be subscription-included with Amazon EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services Marketplace. Certain subscriptions may use licensing from the Amazon Web Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.