licensemanagerusersubscriptions

package
v0.0.0-...-c570f4e Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package licensemanagerusersubscriptions provides the client and types for making API requests to AWS License Manager User Subscriptions.

With License Manager, you can create user-based subscriptions to utilize licensed software with a per user subscription fee on Amazon EC2 instances.

See https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10 for more information on this service.

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

Using the Client

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

Index

Constants

View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You don't have sufficient access to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The request couldn't be completed because it conflicted with the current
	// state of the resource.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An exception occurred with the service.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The resource couldn't be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// The request failed because a service quota is exceeded.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was denied because of request throttling. Retry the request.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// A parameter is not valid.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "License Manager User Subscriptions" // Name of service.
	EndpointsID = "license-manager-user-subscriptions" // ID to lookup a service endpoint with.
	ServiceID   = "License Manager User Subscriptions" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException

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

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

You don't have sufficient access to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ActiveDirectoryIdentityProvider

type ActiveDirectoryIdentityProvider struct {

	// The directory ID for an Active Directory identity provider.
	DirectoryId *string `type:"string"`
	// contains filtered or unexported fields
}

Details about an Active Directory identity provider.

func (ActiveDirectoryIdentityProvider) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ActiveDirectoryIdentityProvider) SetDirectoryId

SetDirectoryId sets the DirectoryId field's value.

func (ActiveDirectoryIdentityProvider) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateUserInput

type AssociateUserInput struct {

	// The domain name of the user.
	Domain *string `type:"string"`

	// The identity provider of the user.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" required:"true"`

	// The ID of the EC2 instance, which provides user-based subscriptions.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`

	// The user name from the identity provider for the user.
	//
	// Username is a required field
	Username *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateUserInput) GoString

func (s AssociateUserInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateUserInput) SetDomain

func (s *AssociateUserInput) SetDomain(v string) *AssociateUserInput

SetDomain sets the Domain field's value.

func (*AssociateUserInput) SetIdentityProvider

func (s *AssociateUserInput) SetIdentityProvider(v *IdentityProvider) *AssociateUserInput

SetIdentityProvider sets the IdentityProvider field's value.

func (*AssociateUserInput) SetInstanceId

func (s *AssociateUserInput) SetInstanceId(v string) *AssociateUserInput

SetInstanceId sets the InstanceId field's value.

func (*AssociateUserInput) SetUsername

func (s *AssociateUserInput) SetUsername(v string) *AssociateUserInput

SetUsername sets the Username field's value.

func (AssociateUserInput) String

func (s AssociateUserInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateUserInput) Validate

func (s *AssociateUserInput) Validate() error

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

type AssociateUserOutput

type AssociateUserOutput struct {

	// Metadata that describes the associate user operation.
	//
	// InstanceUserSummary is a required field
	InstanceUserSummary *InstanceUserSummary `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateUserOutput) GoString

func (s AssociateUserOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateUserOutput) SetInstanceUserSummary

func (s *AssociateUserOutput) SetInstanceUserSummary(v *InstanceUserSummary) *AssociateUserOutput

SetInstanceUserSummary sets the InstanceUserSummary field's value.

func (AssociateUserOutput) String

func (s AssociateUserOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

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

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

The request couldn't be completed because it conflicted with the current state of the resource.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeregisterIdentityProviderInput

type DeregisterIdentityProviderInput struct {

	// An object that specifies details for the identity provider.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" required:"true"`

	// The name of the user-based subscription product.
	//
	// Product is a required field
	Product *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterIdentityProviderInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterIdentityProviderInput) SetIdentityProvider

SetIdentityProvider sets the IdentityProvider field's value.

func (*DeregisterIdentityProviderInput) SetProduct

SetProduct sets the Product field's value.

func (DeregisterIdentityProviderInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterIdentityProviderInput) Validate

func (s *DeregisterIdentityProviderInput) Validate() error

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

type DeregisterIdentityProviderOutput

type DeregisterIdentityProviderOutput struct {

	// Metadata that describes the results of an identity provider operation.
	//
	// IdentityProviderSummary is a required field
	IdentityProviderSummary *IdentityProviderSummary `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterIdentityProviderOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterIdentityProviderOutput) SetIdentityProviderSummary

SetIdentityProviderSummary sets the IdentityProviderSummary field's value.

func (DeregisterIdentityProviderOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateUserInput

type DisassociateUserInput struct {

	// The domain name of the user.
	Domain *string `type:"string"`

	// An object that specifies details for the identity provider.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" required:"true"`

	// The ID of the EC2 instance, which provides user-based subscriptions.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`

	// The user name from the identity provider for the user.
	//
	// Username is a required field
	Username *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateUserInput) GoString

func (s DisassociateUserInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateUserInput) SetDomain

SetDomain sets the Domain field's value.

func (*DisassociateUserInput) SetIdentityProvider

func (s *DisassociateUserInput) SetIdentityProvider(v *IdentityProvider) *DisassociateUserInput

SetIdentityProvider sets the IdentityProvider field's value.

func (*DisassociateUserInput) SetInstanceId

func (s *DisassociateUserInput) SetInstanceId(v string) *DisassociateUserInput

SetInstanceId sets the InstanceId field's value.

func (*DisassociateUserInput) SetUsername

SetUsername sets the Username field's value.

func (DisassociateUserInput) String

func (s DisassociateUserInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateUserInput) Validate

func (s *DisassociateUserInput) Validate() error

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

type DisassociateUserOutput

type DisassociateUserOutput struct {

	// Metadata that describes the associate user operation.
	//
	// InstanceUserSummary is a required field
	InstanceUserSummary *InstanceUserSummary `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateUserOutput) GoString

func (s DisassociateUserOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateUserOutput) SetInstanceUserSummary

func (s *DisassociateUserOutput) SetInstanceUserSummary(v *InstanceUserSummary) *DisassociateUserOutput

SetInstanceUserSummary sets the InstanceUserSummary field's value.

func (DisassociateUserOutput) String

func (s DisassociateUserOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Filter

type Filter struct {

	// The name of an attribute to use as a filter.
	Attribute *string `type:"string"`

	// The type of search (For example, eq, geq, leq)
	Operation *string `type:"string"`

	// Value of the filter.
	Value *string `type:"string"`
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Filter) SetAttribute

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

SetAttribute sets the Attribute field's value.

func (*Filter) SetOperation

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

SetOperation sets the Operation field's value.

func (*Filter) SetValue

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

SetValue sets the Value field's value.

func (Filter) String

func (s Filter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type IdentityProvider

type IdentityProvider struct {

	// An object that details an Active Directory identity provider.
	ActiveDirectoryIdentityProvider *ActiveDirectoryIdentityProvider `type:"structure"`
	// contains filtered or unexported fields
}

Details about an identity provider.

func (IdentityProvider) GoString

func (s IdentityProvider) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*IdentityProvider) SetActiveDirectoryIdentityProvider

func (s *IdentityProvider) SetActiveDirectoryIdentityProvider(v *ActiveDirectoryIdentityProvider) *IdentityProvider

SetActiveDirectoryIdentityProvider sets the ActiveDirectoryIdentityProvider field's value.

func (IdentityProvider) String

func (s IdentityProvider) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type IdentityProviderSummary

type IdentityProviderSummary struct {

	// The failure message associated with an identity provider.
	FailureMessage *string `type:"string"`

	// An object that specifies details for the identity provider.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" required:"true"`

	// The name of the user-based subscription product.
	//
	// Product is a required field
	Product *string `type:"string" required:"true"`

	// An object that details the registered identity provider’s product related
	// configuration settings such as the subnets to provision VPC endpoints.
	//
	// Settings is a required field
	Settings *Settings `type:"structure" required:"true"`

	// The status of an identity provider.
	//
	// Status is a required field
	Status *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an identity provider.

func (IdentityProviderSummary) GoString

func (s IdentityProviderSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*IdentityProviderSummary) SetFailureMessage

func (s *IdentityProviderSummary) SetFailureMessage(v string) *IdentityProviderSummary

SetFailureMessage sets the FailureMessage field's value.

func (*IdentityProviderSummary) SetIdentityProvider

SetIdentityProvider sets the IdentityProvider field's value.

func (*IdentityProviderSummary) SetProduct

SetProduct sets the Product field's value.

func (*IdentityProviderSummary) SetSettings

SetSettings sets the Settings field's value.

func (*IdentityProviderSummary) SetStatus

SetStatus sets the Status field's value.

func (IdentityProviderSummary) String

func (s IdentityProviderSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceSummary

type InstanceSummary struct {

	// The ID of the EC2 instance, which provides user-based subscriptions.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`

	// The date of the last status check.
	LastStatusCheckDate *string `type:"string"`

	// A list of provided user-based subscription products.
	//
	// Products is a required field
	Products []*string `type:"list" required:"true"`

	// The status of an EC2 instance resource.
	//
	// Status is a required field
	Status *string `type:"string" required:"true"`

	// The status message for an EC2 instance.
	StatusMessage *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an EC2 instance providing user-based subscriptions.

func (InstanceSummary) GoString

func (s InstanceSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceSummary) SetInstanceId

func (s *InstanceSummary) SetInstanceId(v string) *InstanceSummary

SetInstanceId sets the InstanceId field's value.

func (*InstanceSummary) SetLastStatusCheckDate

func (s *InstanceSummary) SetLastStatusCheckDate(v string) *InstanceSummary

SetLastStatusCheckDate sets the LastStatusCheckDate field's value.

func (*InstanceSummary) SetProducts

func (s *InstanceSummary) SetProducts(v []*string) *InstanceSummary

SetProducts sets the Products field's value.

func (*InstanceSummary) SetStatus

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

SetStatus sets the Status field's value.

func (*InstanceSummary) SetStatusMessage

func (s *InstanceSummary) SetStatusMessage(v string) *InstanceSummary

SetStatusMessage sets the StatusMessage field's value.

func (InstanceSummary) String

func (s InstanceSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceUserSummary

type InstanceUserSummary struct {

	// The date a user was associated with an EC2 instance.
	AssociationDate *string `type:"string"`

	// The date a user was disassociated from an EC2 instance.
	DisassociationDate *string `type:"string"`

	// The domain name of the user.
	Domain *string `type:"string"`

	// An object that specifies details for the identity provider.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" required:"true"`

	// The ID of the EC2 instance, which provides user-based subscriptions.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`

	// The status of a user associated with an EC2 instance.
	//
	// Status is a required field
	Status *string `type:"string" required:"true"`

	// The status message for users of an EC2 instance.
	StatusMessage *string `type:"string"`

	// The user name from the identity provider for the user.
	//
	// Username is a required field
	Username *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes users of an EC2 instance providing user-based subscriptions.

func (InstanceUserSummary) GoString

func (s InstanceUserSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceUserSummary) SetAssociationDate

func (s *InstanceUserSummary) SetAssociationDate(v string) *InstanceUserSummary

SetAssociationDate sets the AssociationDate field's value.

func (*InstanceUserSummary) SetDisassociationDate

func (s *InstanceUserSummary) SetDisassociationDate(v string) *InstanceUserSummary

SetDisassociationDate sets the DisassociationDate field's value.

func (*InstanceUserSummary) SetDomain

SetDomain sets the Domain field's value.

func (*InstanceUserSummary) SetIdentityProvider

func (s *InstanceUserSummary) SetIdentityProvider(v *IdentityProvider) *InstanceUserSummary

SetIdentityProvider sets the IdentityProvider field's value.

func (*InstanceUserSummary) SetInstanceId

func (s *InstanceUserSummary) SetInstanceId(v string) *InstanceUserSummary

SetInstanceId sets the InstanceId field's value.

func (*InstanceUserSummary) SetStatus

SetStatus sets the Status field's value.

func (*InstanceUserSummary) SetStatusMessage

func (s *InstanceUserSummary) SetStatusMessage(v string) *InstanceUserSummary

SetStatusMessage sets the StatusMessage field's value.

func (*InstanceUserSummary) SetUsername

func (s *InstanceUserSummary) SetUsername(v string) *InstanceUserSummary

SetUsername sets the Username field's value.

func (InstanceUserSummary) String

func (s InstanceUserSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

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

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

An exception occurred with the service.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LicenseManagerUserSubscriptions

type LicenseManagerUserSubscriptions struct {
	*client.Client
}

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

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

func New

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

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

func (*LicenseManagerUserSubscriptions) AssociateUser

AssociateUser API operation for AWS License Manager User Subscriptions.

Associates the user to an EC2 instance to utilize user-based subscriptions.

Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html) in the Amazon Web Services Billing User Guide.

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

Returned Error Types:

  • ServiceQuotaExceededException The request failed because a service quota is exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

  • ValidationException A parameter is not valid.

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException The resource couldn't be found.

  • AccessDeniedException You don't have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/AssociateUser

func (*LicenseManagerUserSubscriptions) AssociateUserRequest

func (c *LicenseManagerUserSubscriptions) AssociateUserRequest(input *AssociateUserInput) (req *request.Request, output *AssociateUserOutput)

AssociateUserRequest generates a "aws/request.Request" representing the client's request for the AssociateUser 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 AssociateUser for more information on using the AssociateUser 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 AssociateUserRequest method.
req, resp := client.AssociateUserRequest(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-user-subscriptions-2018-05-10/AssociateUser

func (*LicenseManagerUserSubscriptions) AssociateUserWithContext

func (c *LicenseManagerUserSubscriptions) AssociateUserWithContext(ctx aws.Context, input *AssociateUserInput, opts ...request.Option) (*AssociateUserOutput, error)

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

See AssociateUser 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 (*LicenseManagerUserSubscriptions) DeregisterIdentityProvider

DeregisterIdentityProvider API operation for AWS License Manager User Subscriptions.

Deregisters the identity provider from providing user-based subscriptions.

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

Returned Error Types:

  • ServiceQuotaExceededException The request failed because a service quota is exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

  • ValidationException A parameter is not valid.

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException The resource couldn't be found.

  • AccessDeniedException You don't have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/DeregisterIdentityProvider

func (*LicenseManagerUserSubscriptions) DeregisterIdentityProviderRequest

func (c *LicenseManagerUserSubscriptions) DeregisterIdentityProviderRequest(input *DeregisterIdentityProviderInput) (req *request.Request, output *DeregisterIdentityProviderOutput)

DeregisterIdentityProviderRequest generates a "aws/request.Request" representing the client's request for the DeregisterIdentityProvider 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 DeregisterIdentityProvider for more information on using the DeregisterIdentityProvider 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 DeregisterIdentityProviderRequest method.
req, resp := client.DeregisterIdentityProviderRequest(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-user-subscriptions-2018-05-10/DeregisterIdentityProvider

func (*LicenseManagerUserSubscriptions) DeregisterIdentityProviderWithContext

func (c *LicenseManagerUserSubscriptions) DeregisterIdentityProviderWithContext(ctx aws.Context, input *DeregisterIdentityProviderInput, opts ...request.Option) (*DeregisterIdentityProviderOutput, error)

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

See DeregisterIdentityProvider 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 (*LicenseManagerUserSubscriptions) DisassociateUser

DisassociateUser API operation for AWS License Manager User Subscriptions.

Disassociates the user from an EC2 instance providing user-based subscriptions.

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

Returned Error Types:

  • ServiceQuotaExceededException The request failed because a service quota is exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

  • ValidationException A parameter is not valid.

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException The resource couldn't be found.

  • AccessDeniedException You don't have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/DisassociateUser

func (*LicenseManagerUserSubscriptions) DisassociateUserRequest

func (c *LicenseManagerUserSubscriptions) DisassociateUserRequest(input *DisassociateUserInput) (req *request.Request, output *DisassociateUserOutput)

DisassociateUserRequest generates a "aws/request.Request" representing the client's request for the DisassociateUser 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 DisassociateUser for more information on using the DisassociateUser 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 DisassociateUserRequest method.
req, resp := client.DisassociateUserRequest(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-user-subscriptions-2018-05-10/DisassociateUser

func (*LicenseManagerUserSubscriptions) DisassociateUserWithContext

func (c *LicenseManagerUserSubscriptions) DisassociateUserWithContext(ctx aws.Context, input *DisassociateUserInput, opts ...request.Option) (*DisassociateUserOutput, error)

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

See DisassociateUser 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 (*LicenseManagerUserSubscriptions) ListIdentityProviders

ListIdentityProviders API operation for AWS License Manager User Subscriptions.

Lists the identity providers for user-based subscriptions.

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

Returned Error Types:

  • ServiceQuotaExceededException The request failed because a service quota is exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

  • ValidationException A parameter is not valid.

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException The resource couldn't be found.

  • AccessDeniedException You don't have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/ListIdentityProviders

func (*LicenseManagerUserSubscriptions) ListIdentityProvidersPages

ListIdentityProvidersPages iterates over the pages of a ListIdentityProviders operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListIdentityProviders method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListIdentityProviders operation.
pageNum := 0
err := client.ListIdentityProvidersPages(params,
    func(page *licensemanagerusersubscriptions.ListIdentityProvidersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LicenseManagerUserSubscriptions) ListIdentityProvidersPagesWithContext

func (c *LicenseManagerUserSubscriptions) ListIdentityProvidersPagesWithContext(ctx aws.Context, input *ListIdentityProvidersInput, fn func(*ListIdentityProvidersOutput, bool) bool, opts ...request.Option) error

ListIdentityProvidersPagesWithContext same as ListIdentityProvidersPages except it takes a Context and allows setting request options on the pages.

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 (*LicenseManagerUserSubscriptions) ListIdentityProvidersRequest

func (c *LicenseManagerUserSubscriptions) ListIdentityProvidersRequest(input *ListIdentityProvidersInput) (req *request.Request, output *ListIdentityProvidersOutput)

ListIdentityProvidersRequest generates a "aws/request.Request" representing the client's request for the ListIdentityProviders 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 ListIdentityProviders for more information on using the ListIdentityProviders 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 ListIdentityProvidersRequest method.
req, resp := client.ListIdentityProvidersRequest(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-user-subscriptions-2018-05-10/ListIdentityProviders

func (*LicenseManagerUserSubscriptions) ListIdentityProvidersWithContext

func (c *LicenseManagerUserSubscriptions) ListIdentityProvidersWithContext(ctx aws.Context, input *ListIdentityProvidersInput, opts ...request.Option) (*ListIdentityProvidersOutput, error)

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

See ListIdentityProviders 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 (*LicenseManagerUserSubscriptions) ListInstances

ListInstances API operation for AWS License Manager User Subscriptions.

Lists the EC2 instances providing user-based subscriptions.

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

Returned Error Types:

  • ServiceQuotaExceededException The request failed because a service quota is exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

  • ValidationException A parameter is not valid.

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException The resource couldn't be found.

  • AccessDeniedException You don't have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/ListInstances

func (*LicenseManagerUserSubscriptions) ListInstancesPages

func (c *LicenseManagerUserSubscriptions) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool) error

ListInstancesPages iterates over the pages of a ListInstances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListInstances method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListInstances operation.
pageNum := 0
err := client.ListInstancesPages(params,
    func(page *licensemanagerusersubscriptions.ListInstancesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LicenseManagerUserSubscriptions) ListInstancesPagesWithContext

func (c *LicenseManagerUserSubscriptions) ListInstancesPagesWithContext(ctx aws.Context, input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool, opts ...request.Option) error

ListInstancesPagesWithContext same as ListInstancesPages except it takes a Context and allows setting request options on the pages.

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 (*LicenseManagerUserSubscriptions) ListInstancesRequest

func (c *LicenseManagerUserSubscriptions) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput)

ListInstancesRequest generates a "aws/request.Request" representing the client's request for the ListInstances 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 ListInstances for more information on using the ListInstances 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 ListInstancesRequest method.
req, resp := client.ListInstancesRequest(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-user-subscriptions-2018-05-10/ListInstances

func (*LicenseManagerUserSubscriptions) ListInstancesWithContext

func (c *LicenseManagerUserSubscriptions) ListInstancesWithContext(ctx aws.Context, input *ListInstancesInput, opts ...request.Option) (*ListInstancesOutput, error)

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

See ListInstances 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 (*LicenseManagerUserSubscriptions) ListProductSubscriptions

ListProductSubscriptions API operation for AWS License Manager User Subscriptions.

Lists the user-based subscription products available from an identity provider.

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

Returned Error Types:

  • ServiceQuotaExceededException The request failed because a service quota is exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

  • ValidationException A parameter is not valid.

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException The resource couldn't be found.

  • AccessDeniedException You don't have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/ListProductSubscriptions

func (*LicenseManagerUserSubscriptions) ListProductSubscriptionsPages

ListProductSubscriptionsPages iterates over the pages of a ListProductSubscriptions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListProductSubscriptions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListProductSubscriptions operation.
pageNum := 0
err := client.ListProductSubscriptionsPages(params,
    func(page *licensemanagerusersubscriptions.ListProductSubscriptionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LicenseManagerUserSubscriptions) ListProductSubscriptionsPagesWithContext

func (c *LicenseManagerUserSubscriptions) ListProductSubscriptionsPagesWithContext(ctx aws.Context, input *ListProductSubscriptionsInput, fn func(*ListProductSubscriptionsOutput, bool) bool, opts ...request.Option) error

ListProductSubscriptionsPagesWithContext same as ListProductSubscriptionsPages except it takes a Context and allows setting request options on the pages.

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 (*LicenseManagerUserSubscriptions) ListProductSubscriptionsRequest

func (c *LicenseManagerUserSubscriptions) ListProductSubscriptionsRequest(input *ListProductSubscriptionsInput) (req *request.Request, output *ListProductSubscriptionsOutput)

ListProductSubscriptionsRequest generates a "aws/request.Request" representing the client's request for the ListProductSubscriptions 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 ListProductSubscriptions for more information on using the ListProductSubscriptions 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 ListProductSubscriptionsRequest method.
req, resp := client.ListProductSubscriptionsRequest(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-user-subscriptions-2018-05-10/ListProductSubscriptions

func (*LicenseManagerUserSubscriptions) ListProductSubscriptionsWithContext

func (c *LicenseManagerUserSubscriptions) ListProductSubscriptionsWithContext(ctx aws.Context, input *ListProductSubscriptionsInput, opts ...request.Option) (*ListProductSubscriptionsOutput, error)

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

See ListProductSubscriptions 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 (*LicenseManagerUserSubscriptions) ListUserAssociations

ListUserAssociations API operation for AWS License Manager User Subscriptions.

Lists user associations for an identity provider.

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

Returned Error Types:

  • ServiceQuotaExceededException The request failed because a service quota is exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

  • ValidationException A parameter is not valid.

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException The resource couldn't be found.

  • AccessDeniedException You don't have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/ListUserAssociations

func (*LicenseManagerUserSubscriptions) ListUserAssociationsPages

ListUserAssociationsPages iterates over the pages of a ListUserAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListUserAssociations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListUserAssociations operation.
pageNum := 0
err := client.ListUserAssociationsPages(params,
    func(page *licensemanagerusersubscriptions.ListUserAssociationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LicenseManagerUserSubscriptions) ListUserAssociationsPagesWithContext

func (c *LicenseManagerUserSubscriptions) ListUserAssociationsPagesWithContext(ctx aws.Context, input *ListUserAssociationsInput, fn func(*ListUserAssociationsOutput, bool) bool, opts ...request.Option) error

ListUserAssociationsPagesWithContext same as ListUserAssociationsPages except it takes a Context and allows setting request options on the pages.

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 (*LicenseManagerUserSubscriptions) ListUserAssociationsRequest

func (c *LicenseManagerUserSubscriptions) ListUserAssociationsRequest(input *ListUserAssociationsInput) (req *request.Request, output *ListUserAssociationsOutput)

ListUserAssociationsRequest generates a "aws/request.Request" representing the client's request for the ListUserAssociations 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 ListUserAssociations for more information on using the ListUserAssociations 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 ListUserAssociationsRequest method.
req, resp := client.ListUserAssociationsRequest(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-user-subscriptions-2018-05-10/ListUserAssociations

func (*LicenseManagerUserSubscriptions) ListUserAssociationsWithContext

func (c *LicenseManagerUserSubscriptions) ListUserAssociationsWithContext(ctx aws.Context, input *ListUserAssociationsInput, opts ...request.Option) (*ListUserAssociationsOutput, error)

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

See ListUserAssociations 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 (*LicenseManagerUserSubscriptions) RegisterIdentityProvider

RegisterIdentityProvider API operation for AWS License Manager User Subscriptions.

Registers an identity provider for user-based subscriptions.

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

Returned Error Types:

  • ServiceQuotaExceededException The request failed because a service quota is exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

  • ValidationException A parameter is not valid.

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException The resource couldn't be found.

  • AccessDeniedException You don't have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/RegisterIdentityProvider

func (*LicenseManagerUserSubscriptions) RegisterIdentityProviderRequest

func (c *LicenseManagerUserSubscriptions) RegisterIdentityProviderRequest(input *RegisterIdentityProviderInput) (req *request.Request, output *RegisterIdentityProviderOutput)

RegisterIdentityProviderRequest generates a "aws/request.Request" representing the client's request for the RegisterIdentityProvider 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 RegisterIdentityProvider for more information on using the RegisterIdentityProvider 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 RegisterIdentityProviderRequest method.
req, resp := client.RegisterIdentityProviderRequest(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-user-subscriptions-2018-05-10/RegisterIdentityProvider

func (*LicenseManagerUserSubscriptions) RegisterIdentityProviderWithContext

func (c *LicenseManagerUserSubscriptions) RegisterIdentityProviderWithContext(ctx aws.Context, input *RegisterIdentityProviderInput, opts ...request.Option) (*RegisterIdentityProviderOutput, error)

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

See RegisterIdentityProvider 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 (*LicenseManagerUserSubscriptions) StartProductSubscription

StartProductSubscription API operation for AWS License Manager User Subscriptions.

Starts a product subscription for a user with the specified identity provider.

Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html) in the Amazon Web Services Billing User Guide.

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

Returned Error Types:

  • ServiceQuotaExceededException The request failed because a service quota is exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

  • ValidationException A parameter is not valid.

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException The resource couldn't be found.

  • AccessDeniedException You don't have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/StartProductSubscription

func (*LicenseManagerUserSubscriptions) StartProductSubscriptionRequest

func (c *LicenseManagerUserSubscriptions) StartProductSubscriptionRequest(input *StartProductSubscriptionInput) (req *request.Request, output *StartProductSubscriptionOutput)

StartProductSubscriptionRequest generates a "aws/request.Request" representing the client's request for the StartProductSubscription 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 StartProductSubscription for more information on using the StartProductSubscription 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 StartProductSubscriptionRequest method.
req, resp := client.StartProductSubscriptionRequest(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-user-subscriptions-2018-05-10/StartProductSubscription

func (*LicenseManagerUserSubscriptions) StartProductSubscriptionWithContext

func (c *LicenseManagerUserSubscriptions) StartProductSubscriptionWithContext(ctx aws.Context, input *StartProductSubscriptionInput, opts ...request.Option) (*StartProductSubscriptionOutput, error)

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

See StartProductSubscription 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 (*LicenseManagerUserSubscriptions) StopProductSubscription

StopProductSubscription API operation for AWS License Manager User Subscriptions.

Stops a product subscription for a user with the specified identity provider.

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

Returned Error Types:

  • ServiceQuotaExceededException The request failed because a service quota is exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

  • ValidationException A parameter is not valid.

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • InternalServerException An exception occurred with the service.

  • ResourceNotFoundException The resource couldn't be found.

  • AccessDeniedException You don't have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/StopProductSubscription

func (*LicenseManagerUserSubscriptions) StopProductSubscriptionRequest

func (c *LicenseManagerUserSubscriptions) StopProductSubscriptionRequest(input *StopProductSubscriptionInput) (req *request.Request, output *StopProductSubscriptionOutput)

StopProductSubscriptionRequest generates a "aws/request.Request" representing the client's request for the StopProductSubscription 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 StopProductSubscription for more information on using the StopProductSubscription 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 StopProductSubscriptionRequest method.
req, resp := client.StopProductSubscriptionRequest(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-user-subscriptions-2018-05-10/StopProductSubscription

func (*LicenseManagerUserSubscriptions) StopProductSubscriptionWithContext

func (c *LicenseManagerUserSubscriptions) StopProductSubscriptionWithContext(ctx aws.Context, input *StopProductSubscriptionInput, opts ...request.Option) (*StopProductSubscriptionOutput, error)

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

See StopProductSubscription 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 (*LicenseManagerUserSubscriptions) UpdateIdentityProviderSettings

UpdateIdentityProviderSettings API operation for AWS License Manager User Subscriptions.

Updates additional product configuration settings for the registered identity provider.

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

Returned Error Types:

  • ValidationException A parameter is not valid.

  • ThrottlingException The request was denied because of request throttling. Retry the request.

  • InternalServerException An exception occurred with the service.

  • AccessDeniedException You don't have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/UpdateIdentityProviderSettings

func (*LicenseManagerUserSubscriptions) UpdateIdentityProviderSettingsRequest

func (c *LicenseManagerUserSubscriptions) UpdateIdentityProviderSettingsRequest(input *UpdateIdentityProviderSettingsInput) (req *request.Request, output *UpdateIdentityProviderSettingsOutput)

UpdateIdentityProviderSettingsRequest generates a "aws/request.Request" representing the client's request for the UpdateIdentityProviderSettings 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 UpdateIdentityProviderSettings for more information on using the UpdateIdentityProviderSettings 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 UpdateIdentityProviderSettingsRequest method.
req, resp := client.UpdateIdentityProviderSettingsRequest(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-user-subscriptions-2018-05-10/UpdateIdentityProviderSettings

func (*LicenseManagerUserSubscriptions) UpdateIdentityProviderSettingsWithContext

func (c *LicenseManagerUserSubscriptions) UpdateIdentityProviderSettingsWithContext(ctx aws.Context, input *UpdateIdentityProviderSettingsInput, opts ...request.Option) (*UpdateIdentityProviderSettingsOutput, error)

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

See UpdateIdentityProviderSettings 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 ListIdentityProvidersInput

type ListIdentityProvidersInput 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"`
	// contains filtered or unexported fields
}

func (ListIdentityProvidersInput) GoString

func (s ListIdentityProvidersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListIdentityProvidersInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListIdentityProvidersInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListIdentityProvidersInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListIdentityProvidersOutput

type ListIdentityProvidersOutput struct {

	// Metadata that describes the list identity providers operation.
	//
	// IdentityProviderSummaries is a required field
	IdentityProviderSummaries []*IdentityProviderSummary `type:"list" required:"true"`

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

func (ListIdentityProvidersOutput) GoString

func (s ListIdentityProvidersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListIdentityProvidersOutput) SetIdentityProviderSummaries

SetIdentityProviderSummaries sets the IdentityProviderSummaries field's value.

func (*ListIdentityProvidersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListIdentityProvidersOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListInstancesInput

type ListInstancesInput struct {

	// 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.
	Filters []*Filter `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 (ListInstancesInput) GoString

func (s ListInstancesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInstancesInput) SetFilters

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

SetFilters sets the Filters field's value.

func (*ListInstancesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListInstancesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListInstancesInput) String

func (s ListInstancesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListInstancesOutput

type ListInstancesOutput struct {

	// Metadata that describes the list instances operation.
	InstanceSummaries []*InstanceSummary `type:"list"`

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

func (ListInstancesOutput) GoString

func (s ListInstancesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInstancesOutput) SetInstanceSummaries

func (s *ListInstancesOutput) SetInstanceSummaries(v []*InstanceSummary) *ListInstancesOutput

SetInstanceSummaries sets the InstanceSummaries field's value.

func (*ListInstancesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListInstancesOutput) String

func (s ListInstancesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListProductSubscriptionsInput

type ListProductSubscriptionsInput struct {

	// 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.
	Filters []*Filter `type:"list"`

	// An object that specifies details for the identity provider.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" 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"`

	// The name of the user-based subscription product.
	//
	// Product is a required field
	Product *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListProductSubscriptionsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListProductSubscriptionsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListProductSubscriptionsInput) SetIdentityProvider

SetIdentityProvider sets the IdentityProvider field's value.

func (*ListProductSubscriptionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListProductSubscriptionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProductSubscriptionsInput) SetProduct

SetProduct sets the Product field's value.

func (ListProductSubscriptionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListProductSubscriptionsInput) Validate

func (s *ListProductSubscriptionsInput) Validate() error

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

type ListProductSubscriptionsOutput

type ListProductSubscriptionsOutput struct {

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

	// Metadata that describes the list product subscriptions operation.
	ProductUserSummaries []*ProductUserSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListProductSubscriptionsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListProductSubscriptionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProductSubscriptionsOutput) SetProductUserSummaries

SetProductUserSummaries sets the ProductUserSummaries field's value.

func (ListProductSubscriptionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListUserAssociationsInput

type ListUserAssociationsInput struct {

	// 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.
	Filters []*Filter `type:"list"`

	// An object that specifies details for the identity provider.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" required:"true"`

	// The ID of the EC2 instance, which provides user-based subscriptions.
	//
	// InstanceId is a required field
	InstanceId *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 (ListUserAssociationsInput) GoString

func (s ListUserAssociationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListUserAssociationsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListUserAssociationsInput) SetIdentityProvider

SetIdentityProvider sets the IdentityProvider field's value.

func (*ListUserAssociationsInput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (*ListUserAssociationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListUserAssociationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListUserAssociationsInput) String

func (s ListUserAssociationsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListUserAssociationsInput) Validate

func (s *ListUserAssociationsInput) Validate() error

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

type ListUserAssociationsOutput

type ListUserAssociationsOutput struct {

	// Metadata that describes the list user association operation.
	InstanceUserSummaries []*InstanceUserSummary `type:"list"`

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

func (ListUserAssociationsOutput) GoString

func (s ListUserAssociationsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListUserAssociationsOutput) SetInstanceUserSummaries

SetInstanceUserSummaries sets the InstanceUserSummaries field's value.

func (*ListUserAssociationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListUserAssociationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ProductUserSummary

type ProductUserSummary struct {

	// The domain name of the user.
	Domain *string `type:"string"`

	// An object that specifies details for the identity provider.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" required:"true"`

	// The name of the user-based subscription product.
	//
	// Product is a required field
	Product *string `type:"string" required:"true"`

	// The status of a product for a user.
	//
	// Status is a required field
	Status *string `type:"string" required:"true"`

	// The status message for a product for a user.
	StatusMessage *string `type:"string"`

	// The end date of a subscription.
	SubscriptionEndDate *string `type:"string"`

	// The start date of a subscription.
	SubscriptionStartDate *string `type:"string"`

	// The user name from the identity provider of the user.
	//
	// Username is a required field
	Username *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The summary of the user-based subscription products for a user.

func (ProductUserSummary) GoString

func (s ProductUserSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProductUserSummary) SetDomain

func (s *ProductUserSummary) SetDomain(v string) *ProductUserSummary

SetDomain sets the Domain field's value.

func (*ProductUserSummary) SetIdentityProvider

func (s *ProductUserSummary) SetIdentityProvider(v *IdentityProvider) *ProductUserSummary

SetIdentityProvider sets the IdentityProvider field's value.

func (*ProductUserSummary) SetProduct

func (s *ProductUserSummary) SetProduct(v string) *ProductUserSummary

SetProduct sets the Product field's value.

func (*ProductUserSummary) SetStatus

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

SetStatus sets the Status field's value.

func (*ProductUserSummary) SetStatusMessage

func (s *ProductUserSummary) SetStatusMessage(v string) *ProductUserSummary

SetStatusMessage sets the StatusMessage field's value.

func (*ProductUserSummary) SetSubscriptionEndDate

func (s *ProductUserSummary) SetSubscriptionEndDate(v string) *ProductUserSummary

SetSubscriptionEndDate sets the SubscriptionEndDate field's value.

func (*ProductUserSummary) SetSubscriptionStartDate

func (s *ProductUserSummary) SetSubscriptionStartDate(v string) *ProductUserSummary

SetSubscriptionStartDate sets the SubscriptionStartDate field's value.

func (*ProductUserSummary) SetUsername

func (s *ProductUserSummary) SetUsername(v string) *ProductUserSummary

SetUsername sets the Username field's value.

func (ProductUserSummary) String

func (s ProductUserSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegisterIdentityProviderInput

type RegisterIdentityProviderInput struct {

	// An object that specifies details for the identity provider.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" required:"true"`

	// The name of the user-based subscription product.
	//
	// Product is a required field
	Product *string `type:"string" required:"true"`

	// The registered identity provider’s product related configuration settings
	// such as the subnets to provision VPC endpoints.
	Settings *Settings `type:"structure"`
	// contains filtered or unexported fields
}

func (RegisterIdentityProviderInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterIdentityProviderInput) SetIdentityProvider

SetIdentityProvider sets the IdentityProvider field's value.

func (*RegisterIdentityProviderInput) SetProduct

SetProduct sets the Product field's value.

func (*RegisterIdentityProviderInput) SetSettings

SetSettings sets the Settings field's value.

func (RegisterIdentityProviderInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterIdentityProviderInput) Validate

func (s *RegisterIdentityProviderInput) Validate() error

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

type RegisterIdentityProviderOutput

type RegisterIdentityProviderOutput struct {

	// Metadata that describes the results of an identity provider operation.
	//
	// IdentityProviderSummary is a required field
	IdentityProviderSummary *IdentityProviderSummary `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterIdentityProviderOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterIdentityProviderOutput) SetIdentityProviderSummary

SetIdentityProviderSummary sets the IdentityProviderSummary field's value.

func (RegisterIdentityProviderOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

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

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

The resource couldn't be found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceQuotaExceededException

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

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

The request failed because a service quota is exceeded.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Settings

type Settings struct {

	// A security group ID that allows inbound TCP port 1688 communication between
	// resources in your VPC and the VPC endpoint for activation servers.
	//
	// SecurityGroupId is a required field
	SecurityGroupId *string `min:"5" type:"string" required:"true"`

	// The subnets defined for the registered identity provider.
	//
	// Subnets is a required field
	Subnets []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The registered identity provider’s product related configuration settings such as the subnets to provision VPC endpoints, and the security group ID that is associated with the VPC endpoints. The security group should permit inbound TCP port 1688 communication from resources in the VPC.

func (Settings) GoString

func (s Settings) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Settings) SetSecurityGroupId

func (s *Settings) SetSecurityGroupId(v string) *Settings

SetSecurityGroupId sets the SecurityGroupId field's value.

func (*Settings) SetSubnets

func (s *Settings) SetSubnets(v []*string) *Settings

SetSubnets sets the Subnets field's value.

func (Settings) String

func (s Settings) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Settings) Validate

func (s *Settings) Validate() error

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

type StartProductSubscriptionInput

type StartProductSubscriptionInput struct {

	// The domain name of the user.
	Domain *string `type:"string"`

	// An object that specifies details for the identity provider.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" required:"true"`

	// The name of the user-based subscription product.
	//
	// Product is a required field
	Product *string `type:"string" required:"true"`

	// The user name from the identity provider of the user.
	//
	// Username is a required field
	Username *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartProductSubscriptionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartProductSubscriptionInput) SetDomain

SetDomain sets the Domain field's value.

func (*StartProductSubscriptionInput) SetIdentityProvider

SetIdentityProvider sets the IdentityProvider field's value.

func (*StartProductSubscriptionInput) SetProduct

SetProduct sets the Product field's value.

func (*StartProductSubscriptionInput) SetUsername

SetUsername sets the Username field's value.

func (StartProductSubscriptionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartProductSubscriptionInput) Validate

func (s *StartProductSubscriptionInput) Validate() error

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

type StartProductSubscriptionOutput

type StartProductSubscriptionOutput struct {

	// Metadata that describes the start product subscription operation.
	//
	// ProductUserSummary is a required field
	ProductUserSummary *ProductUserSummary `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (StartProductSubscriptionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartProductSubscriptionOutput) SetProductUserSummary

SetProductUserSummary sets the ProductUserSummary field's value.

func (StartProductSubscriptionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StopProductSubscriptionInput

type StopProductSubscriptionInput struct {

	// The domain name of the user.
	Domain *string `type:"string"`

	// An object that specifies details for the identity provider.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" required:"true"`

	// The name of the user-based subscription product.
	//
	// Product is a required field
	Product *string `type:"string" required:"true"`

	// The user name from the identity provider for the user.
	//
	// Username is a required field
	Username *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopProductSubscriptionInput) GoString

func (s StopProductSubscriptionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopProductSubscriptionInput) SetDomain

SetDomain sets the Domain field's value.

func (*StopProductSubscriptionInput) SetIdentityProvider

SetIdentityProvider sets the IdentityProvider field's value.

func (*StopProductSubscriptionInput) SetProduct

SetProduct sets the Product field's value.

func (*StopProductSubscriptionInput) SetUsername

SetUsername sets the Username field's value.

func (StopProductSubscriptionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopProductSubscriptionInput) Validate

func (s *StopProductSubscriptionInput) Validate() error

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

type StopProductSubscriptionOutput

type StopProductSubscriptionOutput struct {

	// Metadata that describes the start product subscription operation.
	//
	// ProductUserSummary is a required field
	ProductUserSummary *ProductUserSummary `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (StopProductSubscriptionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopProductSubscriptionOutput) SetProductUserSummary

SetProductUserSummary sets the ProductUserSummary field's value.

func (StopProductSubscriptionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

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

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

The request was denied because of request throttling. Retry the request.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateIdentityProviderSettingsInput

type UpdateIdentityProviderSettingsInput struct {

	// Details about an identity provider.
	//
	// IdentityProvider is a required field
	IdentityProvider *IdentityProvider `type:"structure" required:"true"`

	// The name of the user-based subscription product.
	//
	// Product is a required field
	Product *string `type:"string" required:"true"`

	// Updates the registered identity provider’s product related configuration
	// settings. You can update any combination of settings in a single operation
	// such as the:
	//
	//    * Subnets which you want to add to provision VPC endpoints.
	//
	//    * Subnets which you want to remove the VPC endpoints from.
	//
	//    * Security group ID which permits traffic to the VPC endpoints.
	//
	// UpdateSettings is a required field
	UpdateSettings *UpdateSettings `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateIdentityProviderSettingsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateIdentityProviderSettingsInput) SetIdentityProvider

SetIdentityProvider sets the IdentityProvider field's value.

func (*UpdateIdentityProviderSettingsInput) SetProduct

SetProduct sets the Product field's value.

func (*UpdateIdentityProviderSettingsInput) SetUpdateSettings

SetUpdateSettings sets the UpdateSettings field's value.

func (UpdateIdentityProviderSettingsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateIdentityProviderSettingsInput) Validate

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

type UpdateIdentityProviderSettingsOutput

type UpdateIdentityProviderSettingsOutput struct {

	// Describes an identity provider.
	//
	// IdentityProviderSummary is a required field
	IdentityProviderSummary *IdentityProviderSummary `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateIdentityProviderSettingsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateIdentityProviderSettingsOutput) SetIdentityProviderSummary

SetIdentityProviderSummary sets the IdentityProviderSummary field's value.

func (UpdateIdentityProviderSettingsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateSettings

type UpdateSettings struct {

	// The ID of one or more subnets in which License Manager will create a VPC
	// endpoint for products that require connectivity to activation servers.
	//
	// AddSubnets is a required field
	AddSubnets []*string `type:"list" required:"true"`

	// The ID of one or more subnets to remove.
	//
	// RemoveSubnets is a required field
	RemoveSubnets []*string `type:"list" required:"true"`

	// A security group ID that allows inbound TCP port 1688 communication between
	// resources in your VPC and the VPC endpoints for activation servers.
	SecurityGroupId *string `min:"5" type:"string"`
	// contains filtered or unexported fields
}

Updates the registered identity provider’s product related configuration settings such as the subnets to provision VPC endpoints.

func (UpdateSettings) GoString

func (s UpdateSettings) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSettings) SetAddSubnets

func (s *UpdateSettings) SetAddSubnets(v []*string) *UpdateSettings

SetAddSubnets sets the AddSubnets field's value.

func (*UpdateSettings) SetRemoveSubnets

func (s *UpdateSettings) SetRemoveSubnets(v []*string) *UpdateSettings

SetRemoveSubnets sets the RemoveSubnets field's value.

func (*UpdateSettings) SetSecurityGroupId

func (s *UpdateSettings) SetSecurityGroupId(v string) *UpdateSettings

SetSecurityGroupId sets the SecurityGroupId field's value.

func (UpdateSettings) String

func (s UpdateSettings) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSettings) Validate

func (s *UpdateSettings) Validate() error

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

type ValidationException

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

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

A parameter is not valid.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package licensemanagerusersubscriptionsiface provides an interface to enable mocking the AWS License Manager User Subscriptions service client for testing your code.
Package licensemanagerusersubscriptionsiface provides an interface to enable mocking the AWS License Manager User Subscriptions service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL