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
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type ActiveDirectoryIdentityProvider
- type AssociateUserInput
- func (s AssociateUserInput) GoString() string
- func (s *AssociateUserInput) SetDomain(v string) *AssociateUserInput
- func (s *AssociateUserInput) SetIdentityProvider(v *IdentityProvider) *AssociateUserInput
- func (s *AssociateUserInput) SetInstanceId(v string) *AssociateUserInput
- func (s *AssociateUserInput) SetUsername(v string) *AssociateUserInput
- func (s AssociateUserInput) String() string
- func (s *AssociateUserInput) Validate() error
- type AssociateUserOutput
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type DeregisterIdentityProviderInput
- func (s DeregisterIdentityProviderInput) GoString() string
- func (s *DeregisterIdentityProviderInput) SetIdentityProvider(v *IdentityProvider) *DeregisterIdentityProviderInput
- func (s *DeregisterIdentityProviderInput) SetProduct(v string) *DeregisterIdentityProviderInput
- func (s DeregisterIdentityProviderInput) String() string
- func (s *DeregisterIdentityProviderInput) Validate() error
- type DeregisterIdentityProviderOutput
- type DisassociateUserInput
- func (s DisassociateUserInput) GoString() string
- func (s *DisassociateUserInput) SetDomain(v string) *DisassociateUserInput
- func (s *DisassociateUserInput) SetIdentityProvider(v *IdentityProvider) *DisassociateUserInput
- func (s *DisassociateUserInput) SetInstanceId(v string) *DisassociateUserInput
- func (s *DisassociateUserInput) SetUsername(v string) *DisassociateUserInput
- func (s DisassociateUserInput) String() string
- func (s *DisassociateUserInput) Validate() error
- type DisassociateUserOutput
- type Filter
- type IdentityProvider
- type IdentityProviderSummary
- func (s IdentityProviderSummary) GoString() string
- func (s *IdentityProviderSummary) SetFailureMessage(v string) *IdentityProviderSummary
- func (s *IdentityProviderSummary) SetIdentityProvider(v *IdentityProvider) *IdentityProviderSummary
- func (s *IdentityProviderSummary) SetProduct(v string) *IdentityProviderSummary
- func (s *IdentityProviderSummary) SetSettings(v *Settings) *IdentityProviderSummary
- func (s *IdentityProviderSummary) SetStatus(v string) *IdentityProviderSummary
- func (s IdentityProviderSummary) String() string
- type InstanceSummary
- func (s InstanceSummary) GoString() string
- func (s *InstanceSummary) SetInstanceId(v string) *InstanceSummary
- func (s *InstanceSummary) SetLastStatusCheckDate(v string) *InstanceSummary
- func (s *InstanceSummary) SetProducts(v []*string) *InstanceSummary
- func (s *InstanceSummary) SetStatus(v string) *InstanceSummary
- func (s *InstanceSummary) SetStatusMessage(v string) *InstanceSummary
- func (s InstanceSummary) String() string
- type InstanceUserSummary
- func (s InstanceUserSummary) GoString() string
- func (s *InstanceUserSummary) SetAssociationDate(v string) *InstanceUserSummary
- func (s *InstanceUserSummary) SetDisassociationDate(v string) *InstanceUserSummary
- func (s *InstanceUserSummary) SetDomain(v string) *InstanceUserSummary
- func (s *InstanceUserSummary) SetIdentityProvider(v *IdentityProvider) *InstanceUserSummary
- func (s *InstanceUserSummary) SetInstanceId(v string) *InstanceUserSummary
- func (s *InstanceUserSummary) SetStatus(v string) *InstanceUserSummary
- func (s *InstanceUserSummary) SetStatusMessage(v string) *InstanceUserSummary
- func (s *InstanceUserSummary) SetUsername(v string) *InstanceUserSummary
- func (s InstanceUserSummary) String() string
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type LicenseManagerUserSubscriptions
- func (c *LicenseManagerUserSubscriptions) AssociateUser(input *AssociateUserInput) (*AssociateUserOutput, error)
- func (c *LicenseManagerUserSubscriptions) AssociateUserRequest(input *AssociateUserInput) (req *request.Request, output *AssociateUserOutput)
- func (c *LicenseManagerUserSubscriptions) AssociateUserWithContext(ctx aws.Context, input *AssociateUserInput, opts ...request.Option) (*AssociateUserOutput, error)
- func (c *LicenseManagerUserSubscriptions) DeregisterIdentityProvider(input *DeregisterIdentityProviderInput) (*DeregisterIdentityProviderOutput, error)
- func (c *LicenseManagerUserSubscriptions) DeregisterIdentityProviderRequest(input *DeregisterIdentityProviderInput) (req *request.Request, output *DeregisterIdentityProviderOutput)
- func (c *LicenseManagerUserSubscriptions) DeregisterIdentityProviderWithContext(ctx aws.Context, input *DeregisterIdentityProviderInput, ...) (*DeregisterIdentityProviderOutput, error)
- func (c *LicenseManagerUserSubscriptions) DisassociateUser(input *DisassociateUserInput) (*DisassociateUserOutput, error)
- func (c *LicenseManagerUserSubscriptions) DisassociateUserRequest(input *DisassociateUserInput) (req *request.Request, output *DisassociateUserOutput)
- func (c *LicenseManagerUserSubscriptions) DisassociateUserWithContext(ctx aws.Context, input *DisassociateUserInput, opts ...request.Option) (*DisassociateUserOutput, error)
- func (c *LicenseManagerUserSubscriptions) ListIdentityProviders(input *ListIdentityProvidersInput) (*ListIdentityProvidersOutput, error)
- func (c *LicenseManagerUserSubscriptions) ListIdentityProvidersPages(input *ListIdentityProvidersInput, ...) error
- func (c *LicenseManagerUserSubscriptions) ListIdentityProvidersPagesWithContext(ctx aws.Context, input *ListIdentityProvidersInput, ...) error
- func (c *LicenseManagerUserSubscriptions) ListIdentityProvidersRequest(input *ListIdentityProvidersInput) (req *request.Request, output *ListIdentityProvidersOutput)
- func (c *LicenseManagerUserSubscriptions) ListIdentityProvidersWithContext(ctx aws.Context, input *ListIdentityProvidersInput, opts ...request.Option) (*ListIdentityProvidersOutput, error)
- func (c *LicenseManagerUserSubscriptions) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error)
- func (c *LicenseManagerUserSubscriptions) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool) error
- func (c *LicenseManagerUserSubscriptions) ListInstancesPagesWithContext(ctx aws.Context, input *ListInstancesInput, ...) error
- func (c *LicenseManagerUserSubscriptions) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput)
- func (c *LicenseManagerUserSubscriptions) ListInstancesWithContext(ctx aws.Context, input *ListInstancesInput, opts ...request.Option) (*ListInstancesOutput, error)
- func (c *LicenseManagerUserSubscriptions) ListProductSubscriptions(input *ListProductSubscriptionsInput) (*ListProductSubscriptionsOutput, error)
- func (c *LicenseManagerUserSubscriptions) ListProductSubscriptionsPages(input *ListProductSubscriptionsInput, ...) error
- func (c *LicenseManagerUserSubscriptions) ListProductSubscriptionsPagesWithContext(ctx aws.Context, input *ListProductSubscriptionsInput, ...) error
- func (c *LicenseManagerUserSubscriptions) ListProductSubscriptionsRequest(input *ListProductSubscriptionsInput) (req *request.Request, output *ListProductSubscriptionsOutput)
- func (c *LicenseManagerUserSubscriptions) ListProductSubscriptionsWithContext(ctx aws.Context, input *ListProductSubscriptionsInput, opts ...request.Option) (*ListProductSubscriptionsOutput, error)
- func (c *LicenseManagerUserSubscriptions) ListUserAssociations(input *ListUserAssociationsInput) (*ListUserAssociationsOutput, error)
- func (c *LicenseManagerUserSubscriptions) ListUserAssociationsPages(input *ListUserAssociationsInput, ...) error
- func (c *LicenseManagerUserSubscriptions) ListUserAssociationsPagesWithContext(ctx aws.Context, input *ListUserAssociationsInput, ...) error
- func (c *LicenseManagerUserSubscriptions) ListUserAssociationsRequest(input *ListUserAssociationsInput) (req *request.Request, output *ListUserAssociationsOutput)
- func (c *LicenseManagerUserSubscriptions) ListUserAssociationsWithContext(ctx aws.Context, input *ListUserAssociationsInput, opts ...request.Option) (*ListUserAssociationsOutput, error)
- func (c *LicenseManagerUserSubscriptions) RegisterIdentityProvider(input *RegisterIdentityProviderInput) (*RegisterIdentityProviderOutput, error)
- func (c *LicenseManagerUserSubscriptions) RegisterIdentityProviderRequest(input *RegisterIdentityProviderInput) (req *request.Request, output *RegisterIdentityProviderOutput)
- func (c *LicenseManagerUserSubscriptions) RegisterIdentityProviderWithContext(ctx aws.Context, input *RegisterIdentityProviderInput, opts ...request.Option) (*RegisterIdentityProviderOutput, error)
- func (c *LicenseManagerUserSubscriptions) StartProductSubscription(input *StartProductSubscriptionInput) (*StartProductSubscriptionOutput, error)
- func (c *LicenseManagerUserSubscriptions) StartProductSubscriptionRequest(input *StartProductSubscriptionInput) (req *request.Request, output *StartProductSubscriptionOutput)
- func (c *LicenseManagerUserSubscriptions) StartProductSubscriptionWithContext(ctx aws.Context, input *StartProductSubscriptionInput, opts ...request.Option) (*StartProductSubscriptionOutput, error)
- func (c *LicenseManagerUserSubscriptions) StopProductSubscription(input *StopProductSubscriptionInput) (*StopProductSubscriptionOutput, error)
- func (c *LicenseManagerUserSubscriptions) StopProductSubscriptionRequest(input *StopProductSubscriptionInput) (req *request.Request, output *StopProductSubscriptionOutput)
- func (c *LicenseManagerUserSubscriptions) StopProductSubscriptionWithContext(ctx aws.Context, input *StopProductSubscriptionInput, opts ...request.Option) (*StopProductSubscriptionOutput, error)
- func (c *LicenseManagerUserSubscriptions) UpdateIdentityProviderSettings(input *UpdateIdentityProviderSettingsInput) (*UpdateIdentityProviderSettingsOutput, error)
- func (c *LicenseManagerUserSubscriptions) UpdateIdentityProviderSettingsRequest(input *UpdateIdentityProviderSettingsInput) (req *request.Request, output *UpdateIdentityProviderSettingsOutput)
- func (c *LicenseManagerUserSubscriptions) UpdateIdentityProviderSettingsWithContext(ctx aws.Context, input *UpdateIdentityProviderSettingsInput, ...) (*UpdateIdentityProviderSettingsOutput, error)
- type ListIdentityProvidersInput
- type ListIdentityProvidersOutput
- func (s ListIdentityProvidersOutput) GoString() string
- func (s *ListIdentityProvidersOutput) SetIdentityProviderSummaries(v []*IdentityProviderSummary) *ListIdentityProvidersOutput
- func (s *ListIdentityProvidersOutput) SetNextToken(v string) *ListIdentityProvidersOutput
- func (s ListIdentityProvidersOutput) String() string
- type ListInstancesInput
- func (s ListInstancesInput) GoString() string
- func (s *ListInstancesInput) SetFilters(v []*Filter) *ListInstancesInput
- func (s *ListInstancesInput) SetMaxResults(v int64) *ListInstancesInput
- func (s *ListInstancesInput) SetNextToken(v string) *ListInstancesInput
- func (s ListInstancesInput) String() string
- type ListInstancesOutput
- type ListProductSubscriptionsInput
- func (s ListProductSubscriptionsInput) GoString() string
- func (s *ListProductSubscriptionsInput) SetFilters(v []*Filter) *ListProductSubscriptionsInput
- func (s *ListProductSubscriptionsInput) SetIdentityProvider(v *IdentityProvider) *ListProductSubscriptionsInput
- func (s *ListProductSubscriptionsInput) SetMaxResults(v int64) *ListProductSubscriptionsInput
- func (s *ListProductSubscriptionsInput) SetNextToken(v string) *ListProductSubscriptionsInput
- func (s *ListProductSubscriptionsInput) SetProduct(v string) *ListProductSubscriptionsInput
- func (s ListProductSubscriptionsInput) String() string
- func (s *ListProductSubscriptionsInput) Validate() error
- type ListProductSubscriptionsOutput
- func (s ListProductSubscriptionsOutput) GoString() string
- func (s *ListProductSubscriptionsOutput) SetNextToken(v string) *ListProductSubscriptionsOutput
- func (s *ListProductSubscriptionsOutput) SetProductUserSummaries(v []*ProductUserSummary) *ListProductSubscriptionsOutput
- func (s ListProductSubscriptionsOutput) String() string
- type ListUserAssociationsInput
- func (s ListUserAssociationsInput) GoString() string
- func (s *ListUserAssociationsInput) SetFilters(v []*Filter) *ListUserAssociationsInput
- func (s *ListUserAssociationsInput) SetIdentityProvider(v *IdentityProvider) *ListUserAssociationsInput
- func (s *ListUserAssociationsInput) SetInstanceId(v string) *ListUserAssociationsInput
- func (s *ListUserAssociationsInput) SetMaxResults(v int64) *ListUserAssociationsInput
- func (s *ListUserAssociationsInput) SetNextToken(v string) *ListUserAssociationsInput
- func (s ListUserAssociationsInput) String() string
- func (s *ListUserAssociationsInput) Validate() error
- type ListUserAssociationsOutput
- func (s ListUserAssociationsOutput) GoString() string
- func (s *ListUserAssociationsOutput) SetInstanceUserSummaries(v []*InstanceUserSummary) *ListUserAssociationsOutput
- func (s *ListUserAssociationsOutput) SetNextToken(v string) *ListUserAssociationsOutput
- func (s ListUserAssociationsOutput) String() string
- type ProductUserSummary
- func (s ProductUserSummary) GoString() string
- func (s *ProductUserSummary) SetDomain(v string) *ProductUserSummary
- func (s *ProductUserSummary) SetIdentityProvider(v *IdentityProvider) *ProductUserSummary
- func (s *ProductUserSummary) SetProduct(v string) *ProductUserSummary
- func (s *ProductUserSummary) SetStatus(v string) *ProductUserSummary
- func (s *ProductUserSummary) SetStatusMessage(v string) *ProductUserSummary
- func (s *ProductUserSummary) SetSubscriptionEndDate(v string) *ProductUserSummary
- func (s *ProductUserSummary) SetSubscriptionStartDate(v string) *ProductUserSummary
- func (s *ProductUserSummary) SetUsername(v string) *ProductUserSummary
- func (s ProductUserSummary) String() string
- type RegisterIdentityProviderInput
- func (s RegisterIdentityProviderInput) GoString() string
- func (s *RegisterIdentityProviderInput) SetIdentityProvider(v *IdentityProvider) *RegisterIdentityProviderInput
- func (s *RegisterIdentityProviderInput) SetProduct(v string) *RegisterIdentityProviderInput
- func (s *RegisterIdentityProviderInput) SetSettings(v *Settings) *RegisterIdentityProviderInput
- func (s RegisterIdentityProviderInput) String() string
- func (s *RegisterIdentityProviderInput) Validate() error
- type RegisterIdentityProviderOutput
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type Settings
- type StartProductSubscriptionInput
- func (s StartProductSubscriptionInput) GoString() string
- func (s *StartProductSubscriptionInput) SetDomain(v string) *StartProductSubscriptionInput
- func (s *StartProductSubscriptionInput) SetIdentityProvider(v *IdentityProvider) *StartProductSubscriptionInput
- func (s *StartProductSubscriptionInput) SetProduct(v string) *StartProductSubscriptionInput
- func (s *StartProductSubscriptionInput) SetUsername(v string) *StartProductSubscriptionInput
- func (s StartProductSubscriptionInput) String() string
- func (s *StartProductSubscriptionInput) Validate() error
- type StartProductSubscriptionOutput
- type StopProductSubscriptionInput
- func (s StopProductSubscriptionInput) GoString() string
- func (s *StopProductSubscriptionInput) SetDomain(v string) *StopProductSubscriptionInput
- func (s *StopProductSubscriptionInput) SetIdentityProvider(v *IdentityProvider) *StopProductSubscriptionInput
- func (s *StopProductSubscriptionInput) SetProduct(v string) *StopProductSubscriptionInput
- func (s *StopProductSubscriptionInput) SetUsername(v string) *StopProductSubscriptionInput
- func (s StopProductSubscriptionInput) String() string
- func (s *StopProductSubscriptionInput) Validate() error
- type StopProductSubscriptionOutput
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type UpdateIdentityProviderSettingsInput
- func (s UpdateIdentityProviderSettingsInput) GoString() string
- func (s *UpdateIdentityProviderSettingsInput) SetIdentityProvider(v *IdentityProvider) *UpdateIdentityProviderSettingsInput
- func (s *UpdateIdentityProviderSettingsInput) SetProduct(v string) *UpdateIdentityProviderSettingsInput
- func (s *UpdateIdentityProviderSettingsInput) SetUpdateSettings(v *UpdateSettings) *UpdateIdentityProviderSettingsInput
- func (s UpdateIdentityProviderSettingsInput) String() string
- func (s *UpdateIdentityProviderSettingsInput) Validate() error
- type UpdateIdentityProviderSettingsOutput
- type UpdateSettings
- func (s UpdateSettings) GoString() string
- func (s *UpdateSettings) SetAddSubnets(v []*string) *UpdateSettings
- func (s *UpdateSettings) SetRemoveSubnets(v []*string) *UpdateSettings
- func (s *UpdateSettings) SetSecurityGroupId(v string) *UpdateSettings
- func (s UpdateSettings) String() string
- func (s *UpdateSettings) Validate() error
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
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" )
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 ¶
func (s ActiveDirectoryIdentityProvider) 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 (*ActiveDirectoryIdentityProvider) SetDirectoryId ¶
func (s *ActiveDirectoryIdentityProvider) SetDirectoryId(v string) *ActiveDirectoryIdentityProvider
SetDirectoryId sets the DirectoryId field's value.
func (ActiveDirectoryIdentityProvider) String ¶
func (s ActiveDirectoryIdentityProvider) 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 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 ¶
func (s DeregisterIdentityProviderInput) 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 (*DeregisterIdentityProviderInput) SetIdentityProvider ¶
func (s *DeregisterIdentityProviderInput) SetIdentityProvider(v *IdentityProvider) *DeregisterIdentityProviderInput
SetIdentityProvider sets the IdentityProvider field's value.
func (*DeregisterIdentityProviderInput) SetProduct ¶
func (s *DeregisterIdentityProviderInput) SetProduct(v string) *DeregisterIdentityProviderInput
SetProduct sets the Product field's value.
func (DeregisterIdentityProviderInput) String ¶
func (s DeregisterIdentityProviderInput) 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 (*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 ¶
func (s DeregisterIdentityProviderOutput) 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 (*DeregisterIdentityProviderOutput) SetIdentityProviderSummary ¶
func (s *DeregisterIdentityProviderOutput) SetIdentityProviderSummary(v *IdentityProviderSummary) *DeregisterIdentityProviderOutput
SetIdentityProviderSummary sets the IdentityProviderSummary field's value.
func (DeregisterIdentityProviderOutput) String ¶
func (s DeregisterIdentityProviderOutput) 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 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 ¶
func (s *DisassociateUserInput) SetDomain(v string) *DisassociateUserInput
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 ¶
func (s *DisassociateUserInput) SetUsername(v string) *DisassociateUserInput
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 ¶
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 ¶
SetAttribute sets the Attribute field's value.
func (*Filter) SetOperation ¶
SetOperation sets the Operation field's value.
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 ¶
func (s *IdentityProviderSummary) SetIdentityProvider(v *IdentityProvider) *IdentityProviderSummary
SetIdentityProvider sets the IdentityProvider field's value.
func (*IdentityProviderSummary) SetProduct ¶
func (s *IdentityProviderSummary) SetProduct(v string) *IdentityProviderSummary
SetProduct sets the Product field's value.
func (*IdentityProviderSummary) SetSettings ¶ added in v1.44.147
func (s *IdentityProviderSummary) SetSettings(v *Settings) *IdentityProviderSummary
SetSettings sets the Settings field's value.
func (*IdentityProviderSummary) SetStatus ¶
func (s *IdentityProviderSummary) SetStatus(v string) *IdentityProviderSummary
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 ¶
func (s *InstanceUserSummary) SetDomain(v string) *InstanceUserSummary
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 ¶
func (s *InstanceUserSummary) SetStatus(v string) *InstanceUserSummary
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 ¶
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 ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *LicenseManagerUserSubscriptions
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 ¶
func (c *LicenseManagerUserSubscriptions) AssociateUser(input *AssociateUserInput) (*AssociateUserOutput, error)
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 ¶
func (c *LicenseManagerUserSubscriptions) DeregisterIdentityProvider(input *DeregisterIdentityProviderInput) (*DeregisterIdentityProviderOutput, error)
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.
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) }
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 ¶
func (c *LicenseManagerUserSubscriptions) DisassociateUser(input *DisassociateUserInput) (*DisassociateUserOutput, error)
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.
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) }
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 ¶
func (c *LicenseManagerUserSubscriptions) ListIdentityProviders(input *ListIdentityProvidersInput) (*ListIdentityProvidersOutput, error)
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.
func (*LicenseManagerUserSubscriptions) ListIdentityProvidersPages ¶
func (c *LicenseManagerUserSubscriptions) ListIdentityProvidersPages(input *ListIdentityProvidersInput, fn func(*ListIdentityProvidersOutput, bool) bool) error
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) }
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 ¶
func (c *LicenseManagerUserSubscriptions) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error)
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 ¶
func (c *LicenseManagerUserSubscriptions) ListProductSubscriptions(input *ListProductSubscriptionsInput) (*ListProductSubscriptionsOutput, error)
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.
func (*LicenseManagerUserSubscriptions) ListProductSubscriptionsPages ¶
func (c *LicenseManagerUserSubscriptions) ListProductSubscriptionsPages(input *ListProductSubscriptionsInput, fn func(*ListProductSubscriptionsOutput, bool) bool) error
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) }
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 ¶
func (c *LicenseManagerUserSubscriptions) ListUserAssociations(input *ListUserAssociationsInput) (*ListUserAssociationsOutput, error)
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.
func (*LicenseManagerUserSubscriptions) ListUserAssociationsPages ¶
func (c *LicenseManagerUserSubscriptions) ListUserAssociationsPages(input *ListUserAssociationsInput, fn func(*ListUserAssociationsOutput, bool) bool) error
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) }
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 ¶
func (c *LicenseManagerUserSubscriptions) RegisterIdentityProvider(input *RegisterIdentityProviderInput) (*RegisterIdentityProviderOutput, error)
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.
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) }
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 ¶
func (c *LicenseManagerUserSubscriptions) StartProductSubscription(input *StartProductSubscriptionInput) (*StartProductSubscriptionOutput, error)
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.
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) }
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 ¶
func (c *LicenseManagerUserSubscriptions) StopProductSubscription(input *StopProductSubscriptionInput) (*StopProductSubscriptionOutput, error)
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.
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) }
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 ¶ added in v1.44.147
func (c *LicenseManagerUserSubscriptions) UpdateIdentityProviderSettings(input *UpdateIdentityProviderSettingsInput) (*UpdateIdentityProviderSettingsOutput, error)
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.
func (*LicenseManagerUserSubscriptions) UpdateIdentityProviderSettingsRequest ¶ added in v1.44.147
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) }
func (*LicenseManagerUserSubscriptions) UpdateIdentityProviderSettingsWithContext ¶ added in v1.44.147
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 ¶
func (s *ListIdentityProvidersInput) SetMaxResults(v int64) *ListIdentityProvidersInput
SetMaxResults sets the MaxResults field's value.
func (*ListIdentityProvidersInput) SetNextToken ¶
func (s *ListIdentityProvidersInput) SetNextToken(v string) *ListIdentityProvidersInput
SetNextToken sets the NextToken field's value.
func (ListIdentityProvidersInput) String ¶
func (s ListIdentityProvidersInput) 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 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 ¶
func (s *ListIdentityProvidersOutput) SetIdentityProviderSummaries(v []*IdentityProviderSummary) *ListIdentityProvidersOutput
SetIdentityProviderSummaries sets the IdentityProviderSummaries field's value.
func (*ListIdentityProvidersOutput) SetNextToken ¶
func (s *ListIdentityProvidersOutput) SetNextToken(v string) *ListIdentityProvidersOutput
SetNextToken sets the NextToken field's value.
func (ListIdentityProvidersOutput) String ¶
func (s ListIdentityProvidersOutput) 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 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 ¶
func (s ListProductSubscriptionsInput) 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 (*ListProductSubscriptionsInput) SetFilters ¶
func (s *ListProductSubscriptionsInput) SetFilters(v []*Filter) *ListProductSubscriptionsInput
SetFilters sets the Filters field's value.
func (*ListProductSubscriptionsInput) SetIdentityProvider ¶
func (s *ListProductSubscriptionsInput) SetIdentityProvider(v *IdentityProvider) *ListProductSubscriptionsInput
SetIdentityProvider sets the IdentityProvider field's value.
func (*ListProductSubscriptionsInput) SetMaxResults ¶
func (s *ListProductSubscriptionsInput) SetMaxResults(v int64) *ListProductSubscriptionsInput
SetMaxResults sets the MaxResults field's value.
func (*ListProductSubscriptionsInput) SetNextToken ¶
func (s *ListProductSubscriptionsInput) SetNextToken(v string) *ListProductSubscriptionsInput
SetNextToken sets the NextToken field's value.
func (*ListProductSubscriptionsInput) SetProduct ¶
func (s *ListProductSubscriptionsInput) SetProduct(v string) *ListProductSubscriptionsInput
SetProduct sets the Product field's value.
func (ListProductSubscriptionsInput) String ¶
func (s ListProductSubscriptionsInput) 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 (*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 ¶
func (s ListProductSubscriptionsOutput) 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 (*ListProductSubscriptionsOutput) SetNextToken ¶
func (s *ListProductSubscriptionsOutput) SetNextToken(v string) *ListProductSubscriptionsOutput
SetNextToken sets the NextToken field's value.
func (*ListProductSubscriptionsOutput) SetProductUserSummaries ¶
func (s *ListProductSubscriptionsOutput) SetProductUserSummaries(v []*ProductUserSummary) *ListProductSubscriptionsOutput
SetProductUserSummaries sets the ProductUserSummaries field's value.
func (ListProductSubscriptionsOutput) String ¶
func (s ListProductSubscriptionsOutput) 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 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 ¶
func (s *ListUserAssociationsInput) SetFilters(v []*Filter) *ListUserAssociationsInput
SetFilters sets the Filters field's value.
func (*ListUserAssociationsInput) SetIdentityProvider ¶
func (s *ListUserAssociationsInput) SetIdentityProvider(v *IdentityProvider) *ListUserAssociationsInput
SetIdentityProvider sets the IdentityProvider field's value.
func (*ListUserAssociationsInput) SetInstanceId ¶
func (s *ListUserAssociationsInput) SetInstanceId(v string) *ListUserAssociationsInput
SetInstanceId sets the InstanceId field's value.
func (*ListUserAssociationsInput) SetMaxResults ¶
func (s *ListUserAssociationsInput) SetMaxResults(v int64) *ListUserAssociationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListUserAssociationsInput) SetNextToken ¶
func (s *ListUserAssociationsInput) SetNextToken(v string) *ListUserAssociationsInput
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 ¶
func (s *ListUserAssociationsOutput) SetInstanceUserSummaries(v []*InstanceUserSummary) *ListUserAssociationsOutput
SetInstanceUserSummaries sets the InstanceUserSummaries field's value.
func (*ListUserAssociationsOutput) SetNextToken ¶
func (s *ListUserAssociationsOutput) SetNextToken(v string) *ListUserAssociationsOutput
SetNextToken sets the NextToken field's value.
func (ListUserAssociationsOutput) String ¶
func (s ListUserAssociationsOutput) 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 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 ¶
func (s RegisterIdentityProviderInput) 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 (*RegisterIdentityProviderInput) SetIdentityProvider ¶
func (s *RegisterIdentityProviderInput) SetIdentityProvider(v *IdentityProvider) *RegisterIdentityProviderInput
SetIdentityProvider sets the IdentityProvider field's value.
func (*RegisterIdentityProviderInput) SetProduct ¶
func (s *RegisterIdentityProviderInput) SetProduct(v string) *RegisterIdentityProviderInput
SetProduct sets the Product field's value.
func (*RegisterIdentityProviderInput) SetSettings ¶ added in v1.44.147
func (s *RegisterIdentityProviderInput) SetSettings(v *Settings) *RegisterIdentityProviderInput
SetSettings sets the Settings field's value.
func (RegisterIdentityProviderInput) String ¶
func (s RegisterIdentityProviderInput) 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 (*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 ¶
func (s RegisterIdentityProviderOutput) 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 (*RegisterIdentityProviderOutput) SetIdentityProviderSummary ¶
func (s *RegisterIdentityProviderOutput) SetIdentityProviderSummary(v *IdentityProviderSummary) *RegisterIdentityProviderOutput
SetIdentityProviderSummary sets the IdentityProviderSummary field's value.
func (RegisterIdentityProviderOutput) String ¶
func (s RegisterIdentityProviderOutput) 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 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 ¶
func (s *ResourceNotFoundException) Code() string
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 ¶
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (*ServiceQuotaExceededException) Error ¶
func (s *ServiceQuotaExceededException) Error() string
func (ServiceQuotaExceededException) GoString ¶
func (s ServiceQuotaExceededException) 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 (*ServiceQuotaExceededException) Message ¶
func (s *ServiceQuotaExceededException) Message() string
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 ¶
func (s ServiceQuotaExceededException) 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 Settings ¶ added in v1.44.147
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 ¶ added in v1.44.147
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 ¶ added in v1.44.147
SetSecurityGroupId sets the SecurityGroupId field's value.
func (*Settings) SetSubnets ¶ added in v1.44.147
SetSubnets sets the Subnets field's value.
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 ¶
func (s StartProductSubscriptionInput) 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 (*StartProductSubscriptionInput) SetDomain ¶
func (s *StartProductSubscriptionInput) SetDomain(v string) *StartProductSubscriptionInput
SetDomain sets the Domain field's value.
func (*StartProductSubscriptionInput) SetIdentityProvider ¶
func (s *StartProductSubscriptionInput) SetIdentityProvider(v *IdentityProvider) *StartProductSubscriptionInput
SetIdentityProvider sets the IdentityProvider field's value.
func (*StartProductSubscriptionInput) SetProduct ¶
func (s *StartProductSubscriptionInput) SetProduct(v string) *StartProductSubscriptionInput
SetProduct sets the Product field's value.
func (*StartProductSubscriptionInput) SetUsername ¶
func (s *StartProductSubscriptionInput) SetUsername(v string) *StartProductSubscriptionInput
SetUsername sets the Username field's value.
func (StartProductSubscriptionInput) String ¶
func (s StartProductSubscriptionInput) 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 (*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 ¶
func (s StartProductSubscriptionOutput) 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 (*StartProductSubscriptionOutput) SetProductUserSummary ¶
func (s *StartProductSubscriptionOutput) SetProductUserSummary(v *ProductUserSummary) *StartProductSubscriptionOutput
SetProductUserSummary sets the ProductUserSummary field's value.
func (StartProductSubscriptionOutput) String ¶
func (s StartProductSubscriptionOutput) 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 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 ¶
func (s *StopProductSubscriptionInput) SetDomain(v string) *StopProductSubscriptionInput
SetDomain sets the Domain field's value.
func (*StopProductSubscriptionInput) SetIdentityProvider ¶
func (s *StopProductSubscriptionInput) SetIdentityProvider(v *IdentityProvider) *StopProductSubscriptionInput
SetIdentityProvider sets the IdentityProvider field's value.
func (*StopProductSubscriptionInput) SetProduct ¶
func (s *StopProductSubscriptionInput) SetProduct(v string) *StopProductSubscriptionInput
SetProduct sets the Product field's value.
func (*StopProductSubscriptionInput) SetUsername ¶
func (s *StopProductSubscriptionInput) SetUsername(v string) *StopProductSubscriptionInput
SetUsername sets the Username field's value.
func (StopProductSubscriptionInput) String ¶
func (s StopProductSubscriptionInput) 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 (*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 ¶
func (s StopProductSubscriptionOutput) 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 (*StopProductSubscriptionOutput) SetProductUserSummary ¶
func (s *StopProductSubscriptionOutput) SetProductUserSummary(v *ProductUserSummary) *StopProductSubscriptionOutput
SetProductUserSummary sets the ProductUserSummary field's value.
func (StopProductSubscriptionOutput) String ¶
func (s StopProductSubscriptionOutput) 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 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 ¶ added in v1.44.147
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 ¶ added in v1.44.147
func (s UpdateIdentityProviderSettingsInput) 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 (*UpdateIdentityProviderSettingsInput) SetIdentityProvider ¶ added in v1.44.147
func (s *UpdateIdentityProviderSettingsInput) SetIdentityProvider(v *IdentityProvider) *UpdateIdentityProviderSettingsInput
SetIdentityProvider sets the IdentityProvider field's value.
func (*UpdateIdentityProviderSettingsInput) SetProduct ¶ added in v1.44.147
func (s *UpdateIdentityProviderSettingsInput) SetProduct(v string) *UpdateIdentityProviderSettingsInput
SetProduct sets the Product field's value.
func (*UpdateIdentityProviderSettingsInput) SetUpdateSettings ¶ added in v1.44.147
func (s *UpdateIdentityProviderSettingsInput) SetUpdateSettings(v *UpdateSettings) *UpdateIdentityProviderSettingsInput
SetUpdateSettings sets the UpdateSettings field's value.
func (UpdateIdentityProviderSettingsInput) String ¶ added in v1.44.147
func (s UpdateIdentityProviderSettingsInput) 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 (*UpdateIdentityProviderSettingsInput) Validate ¶ added in v1.44.147
func (s *UpdateIdentityProviderSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateIdentityProviderSettingsOutput ¶ added in v1.44.147
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 ¶ added in v1.44.147
func (s UpdateIdentityProviderSettingsOutput) 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 (*UpdateIdentityProviderSettingsOutput) SetIdentityProviderSummary ¶ added in v1.44.147
func (s *UpdateIdentityProviderSettingsOutput) SetIdentityProviderSummary(v *IdentityProviderSummary) *UpdateIdentityProviderSettingsOutput
SetIdentityProviderSummary sets the IdentityProviderSummary field's value.
func (UpdateIdentityProviderSettingsOutput) String ¶ added in v1.44.147
func (s UpdateIdentityProviderSettingsOutput) 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 UpdateSettings ¶ added in v1.44.147
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 ¶ added in v1.44.147
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 ¶ added in v1.44.147
func (s *UpdateSettings) SetAddSubnets(v []*string) *UpdateSettings
SetAddSubnets sets the AddSubnets field's value.
func (*UpdateSettings) SetRemoveSubnets ¶ added in v1.44.147
func (s *UpdateSettings) SetRemoveSubnets(v []*string) *UpdateSettings
SetRemoveSubnets sets the RemoveSubnets field's value.
func (*UpdateSettings) SetSecurityGroupId ¶ added in v1.44.147
func (s *UpdateSettings) SetSecurityGroupId(v string) *UpdateSettings
SetSecurityGroupId sets the SecurityGroupId field's value.
func (UpdateSettings) String ¶ added in v1.44.147
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 ¶ added in v1.44.147
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. |