servicecatalog

package
v1.8.35-0...-4d7eba9 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package servicecatalog provides the client and types for making API requests to AWS Service Catalog.

Overview

AWS Service Catalog (https://aws.amazon.com/servicecatalog/) allows organizations to create and manage catalogs of IT services that are approved for use on AWS. This documentation provides reference material for the AWS Service Catalog end user API. To get the most out of this documentation, you need to be familiar with the terminology discussed in AWS Service Catalog Concepts (http://docs.aws.amazon.com/servicecatalog/latest/userguide/what-is_concepts.html).

Additional Resources

See https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10 for more information on this service.

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

Using the Client

To use the client for AWS Service Catalog you will first need to create a new instance of it.

When creating a client for an AWS service you'll first need to have a Session already created. The Session provides configuration that can be shared between multiple service clients. Additional configuration can be applied to the Session and service's client when they are constructed. The aws package's Config type contains several fields such as Region for the AWS Region the client should make API requests too. The optional Config value can be provided as the variadic argument for Sessions and client creation.

Once the service's client is created you can use it to make API requests the AWS service. These clients are safe to use concurrently.

// Create a session to share configuration, and load external configuration.
sess := session.Must(session.NewSession())

// Create the service's client with the session.
svc := servicecatalog.New(sess)

See the SDK's documentation for more information on how to use service clients. https://docs.aws.amazon.com/sdk-for-go/api/

See aws package's Config type for more information on configuration options. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Service Catalog client ServiceCatalog for more information on creating the service's client. https://docs.aws.amazon.com/sdk-for-go/api/service/servicecatalog/#New

Once the client is created you can make an API request to the service. Each API method takes a input parameter, and returns the service response and an error.

The API method will document which error codes the service can be returned by the operation if the service models the API operation's errors. These errors will also be available as const strings prefixed with "ErrCode".

result, err := svc.AcceptPortfolioShare(params)
if err != nil {
    // Cast err to awserr.Error to handle specific error codes.
    aerr, ok := err.(awserr.Error)
    if ok && aerr.Code() == <error code to check for> {
        // Specific error code handling
    }
    return err
}

fmt.Println("AcceptPortfolioShare result:")
fmt.Println(result)

Using the Client with Context

The service's client also provides methods to make API requests with a Context value. This allows you to control the timeout, and cancellation of pending requests. These methods also take request Option as variadic parameter to apply additional configuration to the API request.

ctx := context.Background()

result, err := svc.AcceptPortfolioShareWithContext(ctx, params)

See the request package documentation for more information on using Context pattern with the SDK. https://docs.aws.amazon.com/sdk-for-go/api/aws/request/

Index

Examples

Constants

View Source
const (
	// AccessLevelFilterKeyAccount is a AccessLevelFilterKey enum value
	AccessLevelFilterKeyAccount = "Account"

	// AccessLevelFilterKeyRole is a AccessLevelFilterKey enum value
	AccessLevelFilterKeyRole = "Role"

	// AccessLevelFilterKeyUser is a AccessLevelFilterKey enum value
	AccessLevelFilterKeyUser = "User"
)
View Source
const (
	// ProductViewFilterByFullTextSearch is a ProductViewFilterBy enum value
	ProductViewFilterByFullTextSearch = "FullTextSearch"

	// ProductViewFilterByOwner is a ProductViewFilterBy enum value
	ProductViewFilterByOwner = "Owner"

	// ProductViewFilterByProductType is a ProductViewFilterBy enum value
	ProductViewFilterByProductType = "ProductType"
)
View Source
const (
	// ProductViewSortByTitle is a ProductViewSortBy enum value
	ProductViewSortByTitle = "Title"

	// ProductViewSortByVersionCount is a ProductViewSortBy enum value
	ProductViewSortByVersionCount = "VersionCount"

	// ProductViewSortByCreationDate is a ProductViewSortBy enum value
	ProductViewSortByCreationDate = "CreationDate"
)
View Source
const (
	// RecordStatusInProgress is a RecordStatus enum value
	RecordStatusInProgress = "IN_PROGRESS"

	// RecordStatusSucceeded is a RecordStatus enum value
	RecordStatusSucceeded = "SUCCEEDED"

	// RecordStatusError is a RecordStatus enum value
	RecordStatusError = "ERROR"
)
View Source
const (
	// SortOrderAscending is a SortOrder enum value
	SortOrderAscending = "ASCENDING"

	// SortOrderDescending is a SortOrder enum value
	SortOrderDescending = "DESCENDING"
)
View Source
const (
	// StatusAvailable is a Status enum value
	StatusAvailable = "AVAILABLE"

	// StatusCreating is a Status enum value
	StatusCreating = "CREATING"

	// StatusFailed is a Status enum value
	StatusFailed = "FAILED"
)
View Source
const (

	// ErrCodeDuplicateResourceException for service response error code
	// "DuplicateResourceException".
	//
	// The specified resource is a duplicate.
	ErrCodeDuplicateResourceException = "DuplicateResourceException"

	// ErrCodeInvalidParametersException for service response error code
	// "InvalidParametersException".
	//
	// One or more parameters provided to the operation are invalid.
	ErrCodeInvalidParametersException = "InvalidParametersException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// The current limits of the service would have been exceeded by this operation.
	// Reduce the resource use or increase the service limits and retry the operation.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUseException".
	//
	// The operation was requested against a resource that is currently in use.
	// Free the resource from use and retry the operation.
	ErrCodeResourceInUseException = "ResourceInUseException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified resource was not found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)
View Source
const (
	ServiceName = "servicecatalog" // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName      // Service ID for Regions and Endpoints metadata.
)

Service information constants

View Source
const (
	// PrincipalTypeIam is a PrincipalType enum value
	PrincipalTypeIam = "IAM"
)
View Source
const (
	// ProductSourceAccount is a ProductSource enum value
	ProductSourceAccount = "ACCOUNT"
)
View Source
const (
	// ProductTypeCloudFormationTemplate is a ProductType enum value
	ProductTypeCloudFormationTemplate = "CLOUD_FORMATION_TEMPLATE"
)
View Source
const (
	// ProvisioningArtifactTypeCloudFormationTemplate is a ProvisioningArtifactType enum value
	ProvisioningArtifactTypeCloudFormationTemplate = "CLOUD_FORMATION_TEMPLATE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptPortfolioShareInput

type AcceptPortfolioShareInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShareInput

func (AcceptPortfolioShareInput) GoString

func (s AcceptPortfolioShareInput) GoString() string

GoString returns the string representation

func (*AcceptPortfolioShareInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*AcceptPortfolioShareInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (AcceptPortfolioShareInput) String

func (s AcceptPortfolioShareInput) String() string

String returns the string representation

func (*AcceptPortfolioShareInput) Validate

func (s *AcceptPortfolioShareInput) Validate() error

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

type AcceptPortfolioShareOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShareOutput

func (AcceptPortfolioShareOutput) GoString

func (s AcceptPortfolioShareOutput) GoString() string

GoString returns the string representation

func (AcceptPortfolioShareOutput) String

String returns the string representation

type AccessLevelFilter

type AccessLevelFilter struct {

	// Specifies the access level.
	//
	// Account allows results at the account level.
	//
	// Role allows results based on the federated role of the specified user.
	//
	// User allows results limited to the specified user.
	Key *string `type:"string" enum:"AccessLevelFilterKey"`

	// Specifies the user to which the access level applies. A value of Self is
	// currently supported.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

The access level to limit results. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AccessLevelFilter

func (AccessLevelFilter) GoString

func (s AccessLevelFilter) GoString() string

GoString returns the string representation

func (*AccessLevelFilter) SetKey

SetKey sets the Key field's value.

func (*AccessLevelFilter) SetValue

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

SetValue sets the Value field's value.

func (AccessLevelFilter) String

func (s AccessLevelFilter) String() string

String returns the string representation

type AssociatePrincipalWithPortfolioInput

type AssociatePrincipalWithPortfolioInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`

	// The ARN representing the principal (IAM user, role, or group).
	//
	// PrincipalARN is a required field
	PrincipalARN *string `min:"1" type:"string" required:"true"`

	// The principal type. Must be IAM
	//
	// PrincipalType is a required field
	PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolioInput

func (AssociatePrincipalWithPortfolioInput) GoString

GoString returns the string representation

func (*AssociatePrincipalWithPortfolioInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*AssociatePrincipalWithPortfolioInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (*AssociatePrincipalWithPortfolioInput) SetPrincipalARN

SetPrincipalARN sets the PrincipalARN field's value.

func (*AssociatePrincipalWithPortfolioInput) SetPrincipalType

SetPrincipalType sets the PrincipalType field's value.

func (AssociatePrincipalWithPortfolioInput) String

String returns the string representation

func (*AssociatePrincipalWithPortfolioInput) Validate

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

type AssociatePrincipalWithPortfolioOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolioOutput

func (AssociatePrincipalWithPortfolioOutput) GoString

GoString returns the string representation

func (AssociatePrincipalWithPortfolioOutput) String

String returns the string representation

type AssociateProductWithPortfolioInput

type AssociateProductWithPortfolioInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`

	// The product identifier.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`

	// The identifier of the source portfolio to use with this association.
	SourcePortfolioId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolioInput

func (AssociateProductWithPortfolioInput) GoString

GoString returns the string representation

func (*AssociateProductWithPortfolioInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*AssociateProductWithPortfolioInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (*AssociateProductWithPortfolioInput) SetProductId

SetProductId sets the ProductId field's value.

func (*AssociateProductWithPortfolioInput) SetSourcePortfolioId

SetSourcePortfolioId sets the SourcePortfolioId field's value.

func (AssociateProductWithPortfolioInput) String

String returns the string representation

func (*AssociateProductWithPortfolioInput) Validate

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

type AssociateProductWithPortfolioOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolioOutput

func (AssociateProductWithPortfolioOutput) GoString

GoString returns the string representation

func (AssociateProductWithPortfolioOutput) String

String returns the string representation

type ConstraintDetail

type ConstraintDetail struct {

	// The identifier of the constraint.
	ConstraintId *string `min:"1" type:"string"`

	// The text description of the constraint.
	Description *string `type:"string"`

	// The owner of the constraint.
	Owner *string `type:"string"`

	// The type of the constraint.
	Type *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Detailed constraint information. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ConstraintDetail

func (ConstraintDetail) GoString

func (s ConstraintDetail) GoString() string

GoString returns the string representation

func (*ConstraintDetail) SetConstraintId

func (s *ConstraintDetail) SetConstraintId(v string) *ConstraintDetail

SetConstraintId sets the ConstraintId field's value.

func (*ConstraintDetail) SetDescription

func (s *ConstraintDetail) SetDescription(v string) *ConstraintDetail

SetDescription sets the Description field's value.

func (*ConstraintDetail) SetOwner

func (s *ConstraintDetail) SetOwner(v string) *ConstraintDetail

SetOwner sets the Owner field's value.

func (*ConstraintDetail) SetType

func (s *ConstraintDetail) SetType(v string) *ConstraintDetail

SetType sets the Type field's value.

func (ConstraintDetail) String

func (s ConstraintDetail) String() string

String returns the string representation

type ConstraintSummary

type ConstraintSummary struct {

	// The text description of the constraint.
	Description *string `type:"string"`

	// The type of the constraint.
	Type *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

An administrator-specified constraint to apply when provisioning a product. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ConstraintSummary

func (ConstraintSummary) GoString

func (s ConstraintSummary) GoString() string

GoString returns the string representation

func (*ConstraintSummary) SetDescription

func (s *ConstraintSummary) SetDescription(v string) *ConstraintSummary

SetDescription sets the Description field's value.

func (*ConstraintSummary) SetType

SetType sets the Type field's value.

func (ConstraintSummary) String

func (s ConstraintSummary) String() string

String returns the string representation

type CreateConstraintInput

type CreateConstraintInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The text description of the constraint.
	Description *string `type:"string"`

	// A token to disambiguate duplicate requests. You can create multiple resources
	// using the same input in multiple requests, provided that you also specify
	// a different idempotency token for each request.
	//
	// IdempotencyToken is a required field
	IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`

	// The constraint parameters.
	//
	// Parameters is a required field
	Parameters *string `type:"string" required:"true"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`

	// The product identifier.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`

	// The type of the constraint.
	//
	// Type is a required field
	Type *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraintInput

func (CreateConstraintInput) GoString

func (s CreateConstraintInput) GoString() string

GoString returns the string representation

func (*CreateConstraintInput) SetAcceptLanguage

func (s *CreateConstraintInput) SetAcceptLanguage(v string) *CreateConstraintInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*CreateConstraintInput) SetDescription

func (s *CreateConstraintInput) SetDescription(v string) *CreateConstraintInput

SetDescription sets the Description field's value.

func (*CreateConstraintInput) SetIdempotencyToken

func (s *CreateConstraintInput) SetIdempotencyToken(v string) *CreateConstraintInput

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*CreateConstraintInput) SetParameters

func (s *CreateConstraintInput) SetParameters(v string) *CreateConstraintInput

SetParameters sets the Parameters field's value.

func (*CreateConstraintInput) SetPortfolioId

func (s *CreateConstraintInput) SetPortfolioId(v string) *CreateConstraintInput

SetPortfolioId sets the PortfolioId field's value.

func (*CreateConstraintInput) SetProductId

SetProductId sets the ProductId field's value.

func (*CreateConstraintInput) SetType

SetType sets the Type field's value.

func (CreateConstraintInput) String

func (s CreateConstraintInput) String() string

String returns the string representation

func (*CreateConstraintInput) Validate

func (s *CreateConstraintInput) Validate() error

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

type CreateConstraintOutput

type CreateConstraintOutput struct {

	// The resulting detailed constraint information.
	ConstraintDetail *ConstraintDetail `type:"structure"`

	// The resulting constraint parameters.
	ConstraintParameters *string `type:"string"`

	// The status of the current request.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraintOutput

func (CreateConstraintOutput) GoString

func (s CreateConstraintOutput) GoString() string

GoString returns the string representation

func (*CreateConstraintOutput) SetConstraintDetail

SetConstraintDetail sets the ConstraintDetail field's value.

func (*CreateConstraintOutput) SetConstraintParameters

func (s *CreateConstraintOutput) SetConstraintParameters(v string) *CreateConstraintOutput

SetConstraintParameters sets the ConstraintParameters field's value.

func (*CreateConstraintOutput) SetStatus

SetStatus sets the Status field's value.

func (CreateConstraintOutput) String

func (s CreateConstraintOutput) String() string

String returns the string representation

type CreatePortfolioInput

type CreatePortfolioInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The text description of the portfolio.
	Description *string `type:"string"`

	// The name to use for display purposes.
	//
	// DisplayName is a required field
	DisplayName *string `min:"1" type:"string" required:"true"`

	// A token to disambiguate duplicate requests. You can create multiple resources
	// using the same input in multiple requests, provided that you also specify
	// a different idempotency token for each request.
	//
	// IdempotencyToken is a required field
	IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`

	// The name of the portfolio provider.
	//
	// ProviderName is a required field
	ProviderName *string `min:"1" type:"string" required:"true"`

	// Tags to associate with the new portfolio.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioInput

func (CreatePortfolioInput) GoString

func (s CreatePortfolioInput) GoString() string

GoString returns the string representation

func (*CreatePortfolioInput) SetAcceptLanguage

func (s *CreatePortfolioInput) SetAcceptLanguage(v string) *CreatePortfolioInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*CreatePortfolioInput) SetDescription

func (s *CreatePortfolioInput) SetDescription(v string) *CreatePortfolioInput

SetDescription sets the Description field's value.

func (*CreatePortfolioInput) SetDisplayName

func (s *CreatePortfolioInput) SetDisplayName(v string) *CreatePortfolioInput

SetDisplayName sets the DisplayName field's value.

func (*CreatePortfolioInput) SetIdempotencyToken

func (s *CreatePortfolioInput) SetIdempotencyToken(v string) *CreatePortfolioInput

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*CreatePortfolioInput) SetProviderName

func (s *CreatePortfolioInput) SetProviderName(v string) *CreatePortfolioInput

SetProviderName sets the ProviderName field's value.

func (*CreatePortfolioInput) SetTags

func (s *CreatePortfolioInput) SetTags(v []*Tag) *CreatePortfolioInput

SetTags sets the Tags field's value.

func (CreatePortfolioInput) String

func (s CreatePortfolioInput) String() string

String returns the string representation

func (*CreatePortfolioInput) Validate

func (s *CreatePortfolioInput) Validate() error

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

type CreatePortfolioOutput

type CreatePortfolioOutput struct {

	// The resulting detailed portfolio information.
	PortfolioDetail *PortfolioDetail `type:"structure"`

	// Tags successfully associated with the new portfolio.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioOutput

func (CreatePortfolioOutput) GoString

func (s CreatePortfolioOutput) GoString() string

GoString returns the string representation

func (*CreatePortfolioOutput) SetPortfolioDetail

func (s *CreatePortfolioOutput) SetPortfolioDetail(v *PortfolioDetail) *CreatePortfolioOutput

SetPortfolioDetail sets the PortfolioDetail field's value.

func (*CreatePortfolioOutput) SetTags

SetTags sets the Tags field's value.

func (CreatePortfolioOutput) String

func (s CreatePortfolioOutput) String() string

String returns the string representation

type CreatePortfolioShareInput

type CreatePortfolioShareInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The account ID with which to share the portfolio.
	//
	// AccountId is a required field
	AccountId *string `type:"string" required:"true"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareInput

func (CreatePortfolioShareInput) GoString

func (s CreatePortfolioShareInput) GoString() string

GoString returns the string representation

func (*CreatePortfolioShareInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*CreatePortfolioShareInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*CreatePortfolioShareInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (CreatePortfolioShareInput) String

func (s CreatePortfolioShareInput) String() string

String returns the string representation

func (*CreatePortfolioShareInput) Validate

func (s *CreatePortfolioShareInput) Validate() error

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

type CreatePortfolioShareOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareOutput

func (CreatePortfolioShareOutput) GoString

func (s CreatePortfolioShareOutput) GoString() string

GoString returns the string representation

func (CreatePortfolioShareOutput) String

String returns the string representation

type CreateProductInput

type CreateProductInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The text description of the product.
	Description *string `type:"string"`

	// The distributor of the product.
	Distributor *string `type:"string"`

	// A token to disambiguate duplicate requests. You can create multiple resources
	// using the same input in multiple requests, provided that you also specify
	// a different idempotency token for each request.
	//
	// IdempotencyToken is a required field
	IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`

	// The name of the product.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The owner of the product.
	//
	// Owner is a required field
	Owner *string `type:"string" required:"true"`

	// The type of the product to create.
	//
	// ProductType is a required field
	ProductType *string `type:"string" required:"true" enum:"ProductType"`

	// Parameters for the provisioning artifact.
	//
	// ProvisioningArtifactParameters is a required field
	ProvisioningArtifactParameters *ProvisioningArtifactProperties `type:"structure" required:"true"`

	// Support information about the product.
	SupportDescription *string `type:"string"`

	// Contact email for product support.
	SupportEmail *string `type:"string"`

	// Contact URL for product support.
	SupportUrl *string `type:"string"`

	// Tags to associate with the new product.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProductInput

func (CreateProductInput) GoString

func (s CreateProductInput) GoString() string

GoString returns the string representation

func (*CreateProductInput) SetAcceptLanguage

func (s *CreateProductInput) SetAcceptLanguage(v string) *CreateProductInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*CreateProductInput) SetDescription

func (s *CreateProductInput) SetDescription(v string) *CreateProductInput

SetDescription sets the Description field's value.

func (*CreateProductInput) SetDistributor

func (s *CreateProductInput) SetDistributor(v string) *CreateProductInput

SetDistributor sets the Distributor field's value.

func (*CreateProductInput) SetIdempotencyToken

func (s *CreateProductInput) SetIdempotencyToken(v string) *CreateProductInput

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*CreateProductInput) SetName

SetName sets the Name field's value.

func (*CreateProductInput) SetOwner

SetOwner sets the Owner field's value.

func (*CreateProductInput) SetProductType

func (s *CreateProductInput) SetProductType(v string) *CreateProductInput

SetProductType sets the ProductType field's value.

func (*CreateProductInput) SetProvisioningArtifactParameters

func (s *CreateProductInput) SetProvisioningArtifactParameters(v *ProvisioningArtifactProperties) *CreateProductInput

SetProvisioningArtifactParameters sets the ProvisioningArtifactParameters field's value.

func (*CreateProductInput) SetSupportDescription

func (s *CreateProductInput) SetSupportDescription(v string) *CreateProductInput

SetSupportDescription sets the SupportDescription field's value.

func (*CreateProductInput) SetSupportEmail

func (s *CreateProductInput) SetSupportEmail(v string) *CreateProductInput

SetSupportEmail sets the SupportEmail field's value.

func (*CreateProductInput) SetSupportUrl

func (s *CreateProductInput) SetSupportUrl(v string) *CreateProductInput

SetSupportUrl sets the SupportUrl field's value.

func (*CreateProductInput) SetTags

func (s *CreateProductInput) SetTags(v []*Tag) *CreateProductInput

SetTags sets the Tags field's value.

func (CreateProductInput) String

func (s CreateProductInput) String() string

String returns the string representation

func (*CreateProductInput) Validate

func (s *CreateProductInput) Validate() error

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

type CreateProductOutput

type CreateProductOutput struct {

	// The resulting detailed product view information.
	ProductViewDetail *ProductViewDetail `type:"structure"`

	// The resulting detailed provisioning artifact information.
	ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"`

	// Tags successfully associated with the new product.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProductOutput

func (CreateProductOutput) GoString

func (s CreateProductOutput) GoString() string

GoString returns the string representation

func (*CreateProductOutput) SetProductViewDetail

func (s *CreateProductOutput) SetProductViewDetail(v *ProductViewDetail) *CreateProductOutput

SetProductViewDetail sets the ProductViewDetail field's value.

func (*CreateProductOutput) SetProvisioningArtifactDetail

func (s *CreateProductOutput) SetProvisioningArtifactDetail(v *ProvisioningArtifactDetail) *CreateProductOutput

SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value.

func (*CreateProductOutput) SetTags

func (s *CreateProductOutput) SetTags(v []*Tag) *CreateProductOutput

SetTags sets the Tags field's value.

func (CreateProductOutput) String

func (s CreateProductOutput) String() string

String returns the string representation

type CreateProvisioningArtifactInput

type CreateProvisioningArtifactInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// A token to disambiguate duplicate requests. You can create multiple resources
	// using the same input in multiple requests, provided that you also specify
	// a different idempotency token for each request.
	//
	// IdempotencyToken is a required field
	IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`

	// The parameters to use when creating the new provisioning artifact.
	//
	// Parameters is a required field
	Parameters *ProvisioningArtifactProperties `type:"structure" required:"true"`

	// The product identifier.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifactInput

func (CreateProvisioningArtifactInput) GoString

GoString returns the string representation

func (*CreateProvisioningArtifactInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*CreateProvisioningArtifactInput) SetIdempotencyToken

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*CreateProvisioningArtifactInput) SetParameters

SetParameters sets the Parameters field's value.

func (*CreateProvisioningArtifactInput) SetProductId

SetProductId sets the ProductId field's value.

func (CreateProvisioningArtifactInput) String

String returns the string representation

func (*CreateProvisioningArtifactInput) Validate

func (s *CreateProvisioningArtifactInput) Validate() error

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

type CreateProvisioningArtifactOutput

type CreateProvisioningArtifactOutput struct {

	// Additional information about the provisioning artifact create request.
	Info map[string]*string `min:"1" type:"map"`

	// The resulting detailed provisioning artifact information.
	ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"`

	// The status of the current request.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifactOutput

func (CreateProvisioningArtifactOutput) GoString

GoString returns the string representation

func (*CreateProvisioningArtifactOutput) SetInfo

SetInfo sets the Info field's value.

func (*CreateProvisioningArtifactOutput) SetProvisioningArtifactDetail

SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value.

func (*CreateProvisioningArtifactOutput) SetStatus

SetStatus sets the Status field's value.

func (CreateProvisioningArtifactOutput) String

String returns the string representation

type DeleteConstraintInput

type DeleteConstraintInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The identifier of the constraint to delete.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraintInput

func (DeleteConstraintInput) GoString

func (s DeleteConstraintInput) GoString() string

GoString returns the string representation

func (*DeleteConstraintInput) SetAcceptLanguage

func (s *DeleteConstraintInput) SetAcceptLanguage(v string) *DeleteConstraintInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DeleteConstraintInput) SetId

SetId sets the Id field's value.

func (DeleteConstraintInput) String

func (s DeleteConstraintInput) String() string

String returns the string representation

func (*DeleteConstraintInput) Validate

func (s *DeleteConstraintInput) Validate() error

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

type DeleteConstraintOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraintOutput

func (DeleteConstraintOutput) GoString

func (s DeleteConstraintOutput) GoString() string

GoString returns the string representation

func (DeleteConstraintOutput) String

func (s DeleteConstraintOutput) String() string

String returns the string representation

type DeletePortfolioInput

type DeletePortfolioInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The identifier of the portfolio for the delete request.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioInput

func (DeletePortfolioInput) GoString

func (s DeletePortfolioInput) GoString() string

GoString returns the string representation

func (*DeletePortfolioInput) SetAcceptLanguage

func (s *DeletePortfolioInput) SetAcceptLanguage(v string) *DeletePortfolioInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DeletePortfolioInput) SetId

SetId sets the Id field's value.

func (DeletePortfolioInput) String

func (s DeletePortfolioInput) String() string

String returns the string representation

func (*DeletePortfolioInput) Validate

func (s *DeletePortfolioInput) Validate() error

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

type DeletePortfolioOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioOutput

func (DeletePortfolioOutput) GoString

func (s DeletePortfolioOutput) GoString() string

GoString returns the string representation

func (DeletePortfolioOutput) String

func (s DeletePortfolioOutput) String() string

String returns the string representation

type DeletePortfolioShareInput

type DeletePortfolioShareInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The account ID associated with the share to delete.
	//
	// AccountId is a required field
	AccountId *string `type:"string" required:"true"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShareInput

func (DeletePortfolioShareInput) GoString

func (s DeletePortfolioShareInput) GoString() string

GoString returns the string representation

func (*DeletePortfolioShareInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DeletePortfolioShareInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*DeletePortfolioShareInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (DeletePortfolioShareInput) String

func (s DeletePortfolioShareInput) String() string

String returns the string representation

func (*DeletePortfolioShareInput) Validate

func (s *DeletePortfolioShareInput) Validate() error

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

type DeletePortfolioShareOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShareOutput

func (DeletePortfolioShareOutput) GoString

func (s DeletePortfolioShareOutput) GoString() string

GoString returns the string representation

func (DeletePortfolioShareOutput) String

String returns the string representation

type DeleteProductInput

type DeleteProductInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The identifier of the product for the delete request.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProductInput

func (DeleteProductInput) GoString

func (s DeleteProductInput) GoString() string

GoString returns the string representation

func (*DeleteProductInput) SetAcceptLanguage

func (s *DeleteProductInput) SetAcceptLanguage(v string) *DeleteProductInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DeleteProductInput) SetId

SetId sets the Id field's value.

func (DeleteProductInput) String

func (s DeleteProductInput) String() string

String returns the string representation

func (*DeleteProductInput) Validate

func (s *DeleteProductInput) Validate() error

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

type DeleteProductOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProductOutput

func (DeleteProductOutput) GoString

func (s DeleteProductOutput) GoString() string

GoString returns the string representation

func (DeleteProductOutput) String

func (s DeleteProductOutput) String() string

String returns the string representation

type DeleteProvisioningArtifactInput

type DeleteProvisioningArtifactInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The product identifier.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`

	// The identifier of the provisioning artifact for the delete request.
	//
	// ProvisioningArtifactId is a required field
	ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifactInput

func (DeleteProvisioningArtifactInput) GoString

GoString returns the string representation

func (*DeleteProvisioningArtifactInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DeleteProvisioningArtifactInput) SetProductId

SetProductId sets the ProductId field's value.

func (*DeleteProvisioningArtifactInput) SetProvisioningArtifactId

SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.

func (DeleteProvisioningArtifactInput) String

String returns the string representation

func (*DeleteProvisioningArtifactInput) Validate

func (s *DeleteProvisioningArtifactInput) Validate() error

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

type DeleteProvisioningArtifactOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifactOutput

func (DeleteProvisioningArtifactOutput) GoString

GoString returns the string representation

func (DeleteProvisioningArtifactOutput) String

String returns the string representation

type DescribeConstraintInput

type DescribeConstraintInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The identifier of the constraint.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraintInput

func (DescribeConstraintInput) GoString

func (s DescribeConstraintInput) GoString() string

GoString returns the string representation

func (*DescribeConstraintInput) SetAcceptLanguage

func (s *DescribeConstraintInput) SetAcceptLanguage(v string) *DescribeConstraintInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DescribeConstraintInput) SetId

SetId sets the Id field's value.

func (DescribeConstraintInput) String

func (s DescribeConstraintInput) String() string

String returns the string representation

func (*DescribeConstraintInput) Validate

func (s *DescribeConstraintInput) Validate() error

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

type DescribeConstraintOutput

type DescribeConstraintOutput struct {

	// Detailed constraint information.
	ConstraintDetail *ConstraintDetail `type:"structure"`

	// The current parameters associated with the specified constraint.
	ConstraintParameters *string `type:"string"`

	// The status of the current request.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraintOutput

func (DescribeConstraintOutput) GoString

func (s DescribeConstraintOutput) GoString() string

GoString returns the string representation

func (*DescribeConstraintOutput) SetConstraintDetail

SetConstraintDetail sets the ConstraintDetail field's value.

func (*DescribeConstraintOutput) SetConstraintParameters

func (s *DescribeConstraintOutput) SetConstraintParameters(v string) *DescribeConstraintOutput

SetConstraintParameters sets the ConstraintParameters field's value.

func (*DescribeConstraintOutput) SetStatus

SetStatus sets the Status field's value.

func (DescribeConstraintOutput) String

func (s DescribeConstraintOutput) String() string

String returns the string representation

type DescribePortfolioInput

type DescribePortfolioInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The identifier of the portfolio for which to retrieve information.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioInput

func (DescribePortfolioInput) GoString

func (s DescribePortfolioInput) GoString() string

GoString returns the string representation

func (*DescribePortfolioInput) SetAcceptLanguage

func (s *DescribePortfolioInput) SetAcceptLanguage(v string) *DescribePortfolioInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DescribePortfolioInput) SetId

SetId sets the Id field's value.

func (DescribePortfolioInput) String

func (s DescribePortfolioInput) String() string

String returns the string representation

func (*DescribePortfolioInput) Validate

func (s *DescribePortfolioInput) Validate() error

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

type DescribePortfolioOutput

type DescribePortfolioOutput struct {

	// Detailed portfolio information.
	PortfolioDetail *PortfolioDetail `type:"structure"`

	// Tags associated with the portfolio.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioOutput

func (DescribePortfolioOutput) GoString

func (s DescribePortfolioOutput) GoString() string

GoString returns the string representation

func (*DescribePortfolioOutput) SetPortfolioDetail

SetPortfolioDetail sets the PortfolioDetail field's value.

func (*DescribePortfolioOutput) SetTags

SetTags sets the Tags field's value.

func (DescribePortfolioOutput) String

func (s DescribePortfolioOutput) String() string

String returns the string representation

type DescribeProductAsAdminInput

type DescribeProductAsAdminInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The identifier of the product for which to retrieve information.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdminInput

func (DescribeProductAsAdminInput) GoString

func (s DescribeProductAsAdminInput) GoString() string

GoString returns the string representation

func (*DescribeProductAsAdminInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DescribeProductAsAdminInput) SetId

SetId sets the Id field's value.

func (DescribeProductAsAdminInput) String

String returns the string representation

func (*DescribeProductAsAdminInput) Validate

func (s *DescribeProductAsAdminInput) Validate() error

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

type DescribeProductAsAdminOutput

type DescribeProductAsAdminOutput struct {

	// Detailed product view information.
	ProductViewDetail *ProductViewDetail `type:"structure"`

	// Tags associated with the product.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdminOutput

func (DescribeProductAsAdminOutput) GoString

func (s DescribeProductAsAdminOutput) GoString() string

GoString returns the string representation

func (*DescribeProductAsAdminOutput) SetProductViewDetail

SetProductViewDetail sets the ProductViewDetail field's value.

func (*DescribeProductAsAdminOutput) SetTags

SetTags sets the Tags field's value.

func (DescribeProductAsAdminOutput) String

String returns the string representation

type DescribeProductInput

type DescribeProductInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The ProductId of the product to describe.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductInput

func (DescribeProductInput) GoString

func (s DescribeProductInput) GoString() string

GoString returns the string representation

func (*DescribeProductInput) SetAcceptLanguage

func (s *DescribeProductInput) SetAcceptLanguage(v string) *DescribeProductInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DescribeProductInput) SetId

SetId sets the Id field's value.

func (DescribeProductInput) String

func (s DescribeProductInput) String() string

String returns the string representation

func (*DescribeProductInput) Validate

func (s *DescribeProductInput) Validate() error

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

type DescribeProductOutput

type DescribeProductOutput struct {

	// The summary metadata about the specified product.
	ProductViewSummary *ProductViewSummary `type:"structure"`

	// A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts
	// parameter represent the ways the specified product can be provisioned.
	ProvisioningArtifacts []*ProvisioningArtifact `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductOutput

func (DescribeProductOutput) GoString

func (s DescribeProductOutput) GoString() string

GoString returns the string representation

func (*DescribeProductOutput) SetProductViewSummary

func (s *DescribeProductOutput) SetProductViewSummary(v *ProductViewSummary) *DescribeProductOutput

SetProductViewSummary sets the ProductViewSummary field's value.

func (*DescribeProductOutput) SetProvisioningArtifacts

func (s *DescribeProductOutput) SetProvisioningArtifacts(v []*ProvisioningArtifact) *DescribeProductOutput

SetProvisioningArtifacts sets the ProvisioningArtifacts field's value.

func (DescribeProductOutput) String

func (s DescribeProductOutput) String() string

String returns the string representation

type DescribeProductViewInput

type DescribeProductViewInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The ProductViewId of the product to describe.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductViewInput

func (DescribeProductViewInput) GoString

func (s DescribeProductViewInput) GoString() string

GoString returns the string representation

func (*DescribeProductViewInput) SetAcceptLanguage

func (s *DescribeProductViewInput) SetAcceptLanguage(v string) *DescribeProductViewInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DescribeProductViewInput) SetId

SetId sets the Id field's value.

func (DescribeProductViewInput) String

func (s DescribeProductViewInput) String() string

String returns the string representation

func (*DescribeProductViewInput) Validate

func (s *DescribeProductViewInput) Validate() error

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

type DescribeProductViewOutput

type DescribeProductViewOutput struct {

	// The summary metadata about the specified product.
	ProductViewSummary *ProductViewSummary `type:"structure"`

	// A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts
	// represent the ways in which the specified product can be provisioned.
	ProvisioningArtifacts []*ProvisioningArtifact `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductViewOutput

func (DescribeProductViewOutput) GoString

func (s DescribeProductViewOutput) GoString() string

GoString returns the string representation

func (*DescribeProductViewOutput) SetProductViewSummary

SetProductViewSummary sets the ProductViewSummary field's value.

func (*DescribeProductViewOutput) SetProvisioningArtifacts

SetProvisioningArtifacts sets the ProvisioningArtifacts field's value.

func (DescribeProductViewOutput) String

func (s DescribeProductViewOutput) String() string

String returns the string representation

type DescribeProvisioningArtifactInput

type DescribeProvisioningArtifactInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The product identifier.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`

	// The identifier of the provisioning artifact.
	//
	// ProvisioningArtifactId is a required field
	ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifactInput

func (DescribeProvisioningArtifactInput) GoString

GoString returns the string representation

func (*DescribeProvisioningArtifactInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DescribeProvisioningArtifactInput) SetProductId

SetProductId sets the ProductId field's value.

func (*DescribeProvisioningArtifactInput) SetProvisioningArtifactId

SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.

func (DescribeProvisioningArtifactInput) String

String returns the string representation

func (*DescribeProvisioningArtifactInput) Validate

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

type DescribeProvisioningArtifactOutput

type DescribeProvisioningArtifactOutput struct {

	// Additional information about the provisioning artifact.
	Info map[string]*string `min:"1" type:"map"`

	// Detailed provisioning artifact information.
	ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"`

	// The status of the current request.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifactOutput

func (DescribeProvisioningArtifactOutput) GoString

GoString returns the string representation

func (*DescribeProvisioningArtifactOutput) SetInfo

SetInfo sets the Info field's value.

func (*DescribeProvisioningArtifactOutput) SetProvisioningArtifactDetail

SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value.

func (*DescribeProvisioningArtifactOutput) SetStatus

SetStatus sets the Status field's value.

func (DescribeProvisioningArtifactOutput) String

String returns the string representation

type DescribeProvisioningParametersInput

type DescribeProvisioningParametersInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The identifier of the path for this product's provisioning. This value is
	// optional if the product has a default path, and is required if there is more
	// than one path for the specified product.
	PathId *string `min:"1" type:"string"`

	// The product identifier.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`

	// The provisioning artifact identifier for this product.
	//
	// ProvisioningArtifactId is a required field
	ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParametersInput

func (DescribeProvisioningParametersInput) GoString

GoString returns the string representation

func (*DescribeProvisioningParametersInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DescribeProvisioningParametersInput) SetPathId

SetPathId sets the PathId field's value.

func (*DescribeProvisioningParametersInput) SetProductId

SetProductId sets the ProductId field's value.

func (*DescribeProvisioningParametersInput) SetProvisioningArtifactId

SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.

func (DescribeProvisioningParametersInput) String

String returns the string representation

func (*DescribeProvisioningParametersInput) Validate

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

type DescribeProvisioningParametersOutput

type DescribeProvisioningParametersOutput struct {

	// The list of constraint summaries that apply to provisioning this product.
	ConstraintSummaries []*ConstraintSummary `type:"list"`

	// The list of parameters used to successfully provision the product. Each parameter
	// includes a list of allowable values and additional metadata about each parameter.
	ProvisioningArtifactParameters []*ProvisioningArtifactParameter `type:"list"`

	// Any additional metadata specifically related to the provisioning of the product.
	// For example, see the Version field of the CloudFormation template.
	UsageInstructions []*UsageInstruction `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParametersOutput

func (DescribeProvisioningParametersOutput) GoString

GoString returns the string representation

func (*DescribeProvisioningParametersOutput) SetConstraintSummaries

SetConstraintSummaries sets the ConstraintSummaries field's value.

func (*DescribeProvisioningParametersOutput) SetProvisioningArtifactParameters

SetProvisioningArtifactParameters sets the ProvisioningArtifactParameters field's value.

func (*DescribeProvisioningParametersOutput) SetUsageInstructions

SetUsageInstructions sets the UsageInstructions field's value.

func (DescribeProvisioningParametersOutput) String

String returns the string representation

type DescribeRecordInput

type DescribeRecordInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The record identifier of the ProvisionedProduct object for which to retrieve
	// output information. This is the RecordDetail.RecordId obtained from the request
	// operation's response.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`

	// The maximum number of items to return in the results. If more results exist
	// than fit in the specified PageSize, the value of NextPageToken in the response
	// is non-null.
	PageSize *int64 `type:"integer"`

	// The page token of the first page retrieved. If null, this retrieves the first
	// page of size PageSize.
	PageToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecordInput

func (DescribeRecordInput) GoString

func (s DescribeRecordInput) GoString() string

GoString returns the string representation

func (*DescribeRecordInput) SetAcceptLanguage

func (s *DescribeRecordInput) SetAcceptLanguage(v string) *DescribeRecordInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DescribeRecordInput) SetId

SetId sets the Id field's value.

func (*DescribeRecordInput) SetPageSize

func (s *DescribeRecordInput) SetPageSize(v int64) *DescribeRecordInput

SetPageSize sets the PageSize field's value.

func (*DescribeRecordInput) SetPageToken

func (s *DescribeRecordInput) SetPageToken(v string) *DescribeRecordInput

SetPageToken sets the PageToken field's value.

func (DescribeRecordInput) String

func (s DescribeRecordInput) String() string

String returns the string representation

func (*DescribeRecordInput) Validate

func (s *DescribeRecordInput) Validate() error

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

type DescribeRecordOutput

type DescribeRecordOutput struct {

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`

	// Detailed record information for the specified product.
	RecordDetail *RecordDetail `type:"structure"`

	// A list of outputs for the specified Product object created as the result
	// of a request. For example, a CloudFormation-backed product that creates an
	// S3 bucket would have an output for the S3 bucket URL.
	RecordOutputs []*RecordOutput `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecordOutput

func (DescribeRecordOutput) GoString

func (s DescribeRecordOutput) GoString() string

GoString returns the string representation

func (*DescribeRecordOutput) SetNextPageToken

func (s *DescribeRecordOutput) SetNextPageToken(v string) *DescribeRecordOutput

SetNextPageToken sets the NextPageToken field's value.

func (*DescribeRecordOutput) SetRecordDetail

func (s *DescribeRecordOutput) SetRecordDetail(v *RecordDetail) *DescribeRecordOutput

SetRecordDetail sets the RecordDetail field's value.

func (*DescribeRecordOutput) SetRecordOutputs

func (s *DescribeRecordOutput) SetRecordOutputs(v []*RecordOutput) *DescribeRecordOutput

SetRecordOutputs sets the RecordOutputs field's value.

func (DescribeRecordOutput) String

func (s DescribeRecordOutput) String() string

String returns the string representation

type DisassociatePrincipalFromPortfolioInput

type DisassociatePrincipalFromPortfolioInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`

	// The ARN representing the principal (IAM user, role, or group).
	//
	// PrincipalARN is a required field
	PrincipalARN *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolioInput

func (DisassociatePrincipalFromPortfolioInput) GoString

GoString returns the string representation

func (*DisassociatePrincipalFromPortfolioInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DisassociatePrincipalFromPortfolioInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (*DisassociatePrincipalFromPortfolioInput) SetPrincipalARN

SetPrincipalARN sets the PrincipalARN field's value.

func (DisassociatePrincipalFromPortfolioInput) String

String returns the string representation

func (*DisassociatePrincipalFromPortfolioInput) Validate

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

type DisassociatePrincipalFromPortfolioOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolioOutput

func (DisassociatePrincipalFromPortfolioOutput) GoString

GoString returns the string representation

func (DisassociatePrincipalFromPortfolioOutput) String

String returns the string representation

type DisassociateProductFromPortfolioInput

type DisassociateProductFromPortfolioInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`

	// The product identifier.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolioInput

func (DisassociateProductFromPortfolioInput) GoString

GoString returns the string representation

func (*DisassociateProductFromPortfolioInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*DisassociateProductFromPortfolioInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (*DisassociateProductFromPortfolioInput) SetProductId

SetProductId sets the ProductId field's value.

func (DisassociateProductFromPortfolioInput) String

String returns the string representation

func (*DisassociateProductFromPortfolioInput) Validate

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

type DisassociateProductFromPortfolioOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolioOutput

func (DisassociateProductFromPortfolioOutput) GoString

GoString returns the string representation

func (DisassociateProductFromPortfolioOutput) String

String returns the string representation

type LaunchPathSummary

type LaunchPathSummary struct {

	// List of constraints on the portfolio-product relationship.
	ConstraintSummaries []*ConstraintSummary `type:"list"`

	// The unique identifier of the product path.
	Id *string `min:"1" type:"string"`

	// Corresponds to the name of the portfolio to which the user was assigned.
	Name *string `type:"string"`

	// List of tags used by this launch path.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Summary information about a path for a user to have access to a specified product. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/LaunchPathSummary

func (LaunchPathSummary) GoString

func (s LaunchPathSummary) GoString() string

GoString returns the string representation

func (*LaunchPathSummary) SetConstraintSummaries

func (s *LaunchPathSummary) SetConstraintSummaries(v []*ConstraintSummary) *LaunchPathSummary

SetConstraintSummaries sets the ConstraintSummaries field's value.

func (*LaunchPathSummary) SetId

SetId sets the Id field's value.

func (*LaunchPathSummary) SetName

SetName sets the Name field's value.

func (*LaunchPathSummary) SetTags

func (s *LaunchPathSummary) SetTags(v []*Tag) *LaunchPathSummary

SetTags sets the Tags field's value.

func (LaunchPathSummary) String

func (s LaunchPathSummary) String() string

String returns the string representation

type ListAcceptedPortfolioSharesInput

type ListAcceptedPortfolioSharesInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The maximum number of items to return in the results. If more results exist
	// than fit in the specified PageSize, the value of NextPageToken in the response
	// is non-null.
	PageSize *int64 `type:"integer"`

	// The page token of the first page retrieved. If null, this retrieves the first
	// page of size PageSize.
	PageToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioSharesInput

func (ListAcceptedPortfolioSharesInput) GoString

GoString returns the string representation

func (*ListAcceptedPortfolioSharesInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*ListAcceptedPortfolioSharesInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListAcceptedPortfolioSharesInput) SetPageToken

SetPageToken sets the PageToken field's value.

func (ListAcceptedPortfolioSharesInput) String

String returns the string representation

type ListAcceptedPortfolioSharesOutput

type ListAcceptedPortfolioSharesOutput struct {

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`

	// List of detailed portfolio information objects.
	PortfolioDetails []*PortfolioDetail `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioSharesOutput

func (ListAcceptedPortfolioSharesOutput) GoString

GoString returns the string representation

func (*ListAcceptedPortfolioSharesOutput) SetNextPageToken

SetNextPageToken sets the NextPageToken field's value.

func (*ListAcceptedPortfolioSharesOutput) SetPortfolioDetails

SetPortfolioDetails sets the PortfolioDetails field's value.

func (ListAcceptedPortfolioSharesOutput) String

String returns the string representation

type ListConstraintsForPortfolioInput

type ListConstraintsForPortfolioInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The maximum number of items to return in the results. If more results exist
	// than fit in the specified PageSize, the value of NextPageToken in the response
	// is non-null.
	PageSize *int64 `type:"integer"`

	// The page token of the first page retrieved. If null, this retrieves the first
	// page of size PageSize.
	PageToken *string `type:"string"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`

	// The product identifier.
	ProductId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolioInput

func (ListConstraintsForPortfolioInput) GoString

GoString returns the string representation

func (*ListConstraintsForPortfolioInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*ListConstraintsForPortfolioInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListConstraintsForPortfolioInput) SetPageToken

SetPageToken sets the PageToken field's value.

func (*ListConstraintsForPortfolioInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (*ListConstraintsForPortfolioInput) SetProductId

SetProductId sets the ProductId field's value.

func (ListConstraintsForPortfolioInput) String

String returns the string representation

func (*ListConstraintsForPortfolioInput) Validate

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

type ListConstraintsForPortfolioOutput

type ListConstraintsForPortfolioOutput struct {

	// List of detailed constraint information objects.
	ConstraintDetails []*ConstraintDetail `type:"list"`

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolioOutput

func (ListConstraintsForPortfolioOutput) GoString

GoString returns the string representation

func (*ListConstraintsForPortfolioOutput) SetConstraintDetails

SetConstraintDetails sets the ConstraintDetails field's value.

func (*ListConstraintsForPortfolioOutput) SetNextPageToken

SetNextPageToken sets the NextPageToken field's value.

func (ListConstraintsForPortfolioOutput) String

String returns the string representation

type ListLaunchPathsInput

type ListLaunchPathsInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The maximum number of items to return in the results. If more results exist
	// than fit in the specified PageSize, the value of NextPageToken in the response
	// is non-null.
	PageSize *int64 `type:"integer"`

	// The page token of the first page retrieved. If null, this retrieves the first
	// page of size PageSize.
	PageToken *string `type:"string"`

	// The product identifier.. Identifies the product for which to retrieve LaunchPathSummaries
	// information.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPathsInput

func (ListLaunchPathsInput) GoString

func (s ListLaunchPathsInput) GoString() string

GoString returns the string representation

func (*ListLaunchPathsInput) SetAcceptLanguage

func (s *ListLaunchPathsInput) SetAcceptLanguage(v string) *ListLaunchPathsInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*ListLaunchPathsInput) SetPageSize

func (s *ListLaunchPathsInput) SetPageSize(v int64) *ListLaunchPathsInput

SetPageSize sets the PageSize field's value.

func (*ListLaunchPathsInput) SetPageToken

func (s *ListLaunchPathsInput) SetPageToken(v string) *ListLaunchPathsInput

SetPageToken sets the PageToken field's value.

func (*ListLaunchPathsInput) SetProductId

func (s *ListLaunchPathsInput) SetProductId(v string) *ListLaunchPathsInput

SetProductId sets the ProductId field's value.

func (ListLaunchPathsInput) String

func (s ListLaunchPathsInput) String() string

String returns the string representation

func (*ListLaunchPathsInput) Validate

func (s *ListLaunchPathsInput) Validate() error

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

type ListLaunchPathsOutput

type ListLaunchPathsOutput struct {

	// List of launch path information summaries for the specified PageToken.
	LaunchPathSummaries []*LaunchPathSummary `type:"list"`

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPathsOutput

func (ListLaunchPathsOutput) GoString

func (s ListLaunchPathsOutput) GoString() string

GoString returns the string representation

func (*ListLaunchPathsOutput) SetLaunchPathSummaries

func (s *ListLaunchPathsOutput) SetLaunchPathSummaries(v []*LaunchPathSummary) *ListLaunchPathsOutput

SetLaunchPathSummaries sets the LaunchPathSummaries field's value.

func (*ListLaunchPathsOutput) SetNextPageToken

func (s *ListLaunchPathsOutput) SetNextPageToken(v string) *ListLaunchPathsOutput

SetNextPageToken sets the NextPageToken field's value.

func (ListLaunchPathsOutput) String

func (s ListLaunchPathsOutput) String() string

String returns the string representation

type ListPortfolioAccessInput

type ListPortfolioAccessInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccessInput

func (ListPortfolioAccessInput) GoString

func (s ListPortfolioAccessInput) GoString() string

GoString returns the string representation

func (*ListPortfolioAccessInput) SetAcceptLanguage

func (s *ListPortfolioAccessInput) SetAcceptLanguage(v string) *ListPortfolioAccessInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*ListPortfolioAccessInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (ListPortfolioAccessInput) String

func (s ListPortfolioAccessInput) String() string

String returns the string representation

func (*ListPortfolioAccessInput) Validate

func (s *ListPortfolioAccessInput) Validate() error

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

type ListPortfolioAccessOutput

type ListPortfolioAccessOutput struct {

	// List of account IDs associated with access to the portfolio.
	AccountIds []*string `type:"list"`

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccessOutput

func (ListPortfolioAccessOutput) GoString

func (s ListPortfolioAccessOutput) GoString() string

GoString returns the string representation

func (*ListPortfolioAccessOutput) SetAccountIds

SetAccountIds sets the AccountIds field's value.

func (*ListPortfolioAccessOutput) SetNextPageToken

SetNextPageToken sets the NextPageToken field's value.

func (ListPortfolioAccessOutput) String

func (s ListPortfolioAccessOutput) String() string

String returns the string representation

type ListPortfoliosForProductInput

type ListPortfoliosForProductInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The maximum number of items to return in the results. If more results exist
	// than fit in the specified PageSize, the value of NextPageToken in the response
	// is non-null.
	PageSize *int64 `type:"integer"`

	// The page token of the first page retrieved. If null, this retrieves the first
	// page of size PageSize.
	PageToken *string `type:"string"`

	// The product identifier.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProductInput

func (ListPortfoliosForProductInput) GoString

GoString returns the string representation

func (*ListPortfoliosForProductInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*ListPortfoliosForProductInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListPortfoliosForProductInput) SetPageToken

SetPageToken sets the PageToken field's value.

func (*ListPortfoliosForProductInput) SetProductId

SetProductId sets the ProductId field's value.

func (ListPortfoliosForProductInput) String

String returns the string representation

func (*ListPortfoliosForProductInput) Validate

func (s *ListPortfoliosForProductInput) Validate() error

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

type ListPortfoliosForProductOutput

type ListPortfoliosForProductOutput struct {

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`

	// List of detailed portfolio information objects.
	PortfolioDetails []*PortfolioDetail `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProductOutput

func (ListPortfoliosForProductOutput) GoString

GoString returns the string representation

func (*ListPortfoliosForProductOutput) SetNextPageToken

SetNextPageToken sets the NextPageToken field's value.

func (*ListPortfoliosForProductOutput) SetPortfolioDetails

SetPortfolioDetails sets the PortfolioDetails field's value.

func (ListPortfoliosForProductOutput) String

String returns the string representation

type ListPortfoliosInput

type ListPortfoliosInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The maximum number of items to return in the results. If more results exist
	// than fit in the specified PageSize, the value of NextPageToken in the response
	// is non-null.
	PageSize *int64 `type:"integer"`

	// The page token of the first page retrieved. If null, this retrieves the first
	// page of size PageSize.
	PageToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosInput

func (ListPortfoliosInput) GoString

func (s ListPortfoliosInput) GoString() string

GoString returns the string representation

func (*ListPortfoliosInput) SetAcceptLanguage

func (s *ListPortfoliosInput) SetAcceptLanguage(v string) *ListPortfoliosInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*ListPortfoliosInput) SetPageSize

func (s *ListPortfoliosInput) SetPageSize(v int64) *ListPortfoliosInput

SetPageSize sets the PageSize field's value.

func (*ListPortfoliosInput) SetPageToken

func (s *ListPortfoliosInput) SetPageToken(v string) *ListPortfoliosInput

SetPageToken sets the PageToken field's value.

func (ListPortfoliosInput) String

func (s ListPortfoliosInput) String() string

String returns the string representation

type ListPortfoliosOutput

type ListPortfoliosOutput struct {

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`

	// List of detailed portfolio information objects.
	PortfolioDetails []*PortfolioDetail `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosOutput

func (ListPortfoliosOutput) GoString

func (s ListPortfoliosOutput) GoString() string

GoString returns the string representation

func (*ListPortfoliosOutput) SetNextPageToken

func (s *ListPortfoliosOutput) SetNextPageToken(v string) *ListPortfoliosOutput

SetNextPageToken sets the NextPageToken field's value.

func (*ListPortfoliosOutput) SetPortfolioDetails

func (s *ListPortfoliosOutput) SetPortfolioDetails(v []*PortfolioDetail) *ListPortfoliosOutput

SetPortfolioDetails sets the PortfolioDetails field's value.

func (ListPortfoliosOutput) String

func (s ListPortfoliosOutput) String() string

String returns the string representation

type ListPrincipalsForPortfolioInput

type ListPrincipalsForPortfolioInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The maximum number of items to return in the results. If more results exist
	// than fit in the specified PageSize, the value of NextPageToken in the response
	// is non-null.
	PageSize *int64 `type:"integer"`

	// The page token of the first page retrieved. If null, this retrieves the first
	// page of size PageSize.
	PageToken *string `type:"string"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolioInput

func (ListPrincipalsForPortfolioInput) GoString

GoString returns the string representation

func (*ListPrincipalsForPortfolioInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*ListPrincipalsForPortfolioInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListPrincipalsForPortfolioInput) SetPageToken

SetPageToken sets the PageToken field's value.

func (*ListPrincipalsForPortfolioInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (ListPrincipalsForPortfolioInput) String

String returns the string representation

func (*ListPrincipalsForPortfolioInput) Validate

func (s *ListPrincipalsForPortfolioInput) Validate() error

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

type ListPrincipalsForPortfolioOutput

type ListPrincipalsForPortfolioOutput struct {

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`

	// The IAM principals (users or roles) associated with the portfolio.
	Principals []*Principal `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolioOutput

func (ListPrincipalsForPortfolioOutput) GoString

GoString returns the string representation

func (*ListPrincipalsForPortfolioOutput) SetNextPageToken

SetNextPageToken sets the NextPageToken field's value.

func (*ListPrincipalsForPortfolioOutput) SetPrincipals

SetPrincipals sets the Principals field's value.

func (ListPrincipalsForPortfolioOutput) String

String returns the string representation

type ListProvisioningArtifactsInput

type ListProvisioningArtifactsInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The product identifier.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifactsInput

func (ListProvisioningArtifactsInput) GoString

GoString returns the string representation

func (*ListProvisioningArtifactsInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*ListProvisioningArtifactsInput) SetProductId

SetProductId sets the ProductId field's value.

func (ListProvisioningArtifactsInput) String

String returns the string representation

func (*ListProvisioningArtifactsInput) Validate

func (s *ListProvisioningArtifactsInput) Validate() error

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

type ListProvisioningArtifactsOutput

type ListProvisioningArtifactsOutput struct {

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`

	// List of detailed provisioning artifact information objects.
	ProvisioningArtifactDetails []*ProvisioningArtifactDetail `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifactsOutput

func (ListProvisioningArtifactsOutput) GoString

GoString returns the string representation

func (*ListProvisioningArtifactsOutput) SetNextPageToken

SetNextPageToken sets the NextPageToken field's value.

func (*ListProvisioningArtifactsOutput) SetProvisioningArtifactDetails

SetProvisioningArtifactDetails sets the ProvisioningArtifactDetails field's value.

func (ListProvisioningArtifactsOutput) String

String returns the string representation

type ListRecordHistoryInput

type ListRecordHistoryInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The access level for obtaining results. If left unspecified, User level access
	// is used.
	AccessLevelFilter *AccessLevelFilter `type:"structure"`

	// The maximum number of items to return in the results. If more results exist
	// than fit in the specified PageSize, the value of NextPageToken in the response
	// is non-null.
	PageSize *int64 `type:"integer"`

	// The page token of the first page retrieved. If null, this retrieves the first
	// page of size PageSize.
	PageToken *string `type:"string"`

	// The filter to limit search results.
	SearchFilter *ListRecordHistorySearchFilter `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistoryInput

func (ListRecordHistoryInput) GoString

func (s ListRecordHistoryInput) GoString() string

GoString returns the string representation

func (*ListRecordHistoryInput) SetAcceptLanguage

func (s *ListRecordHistoryInput) SetAcceptLanguage(v string) *ListRecordHistoryInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*ListRecordHistoryInput) SetAccessLevelFilter

SetAccessLevelFilter sets the AccessLevelFilter field's value.

func (*ListRecordHistoryInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListRecordHistoryInput) SetPageToken

SetPageToken sets the PageToken field's value.

func (*ListRecordHistoryInput) SetSearchFilter

SetSearchFilter sets the SearchFilter field's value.

func (ListRecordHistoryInput) String

func (s ListRecordHistoryInput) String() string

String returns the string representation

type ListRecordHistoryOutput

type ListRecordHistoryOutput struct {

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`

	// A list of record detail objects, listed in reverse chronological order.
	RecordDetails []*RecordDetail `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistoryOutput

func (ListRecordHistoryOutput) GoString

func (s ListRecordHistoryOutput) GoString() string

GoString returns the string representation

func (*ListRecordHistoryOutput) SetNextPageToken

func (s *ListRecordHistoryOutput) SetNextPageToken(v string) *ListRecordHistoryOutput

SetNextPageToken sets the NextPageToken field's value.

func (*ListRecordHistoryOutput) SetRecordDetails

SetRecordDetails sets the RecordDetails field's value.

func (ListRecordHistoryOutput) String

func (s ListRecordHistoryOutput) String() string

String returns the string representation

type ListRecordHistorySearchFilter

type ListRecordHistorySearchFilter struct {

	// The filter key.
	Key *string `type:"string"`

	// The filter value for Key.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

The search filter to limit results when listing request history records. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistorySearchFilter

func (ListRecordHistorySearchFilter) GoString

GoString returns the string representation

func (*ListRecordHistorySearchFilter) SetKey

SetKey sets the Key field's value.

func (*ListRecordHistorySearchFilter) SetValue

SetValue sets the Value field's value.

func (ListRecordHistorySearchFilter) String

String returns the string representation

type ParameterConstraints

type ParameterConstraints struct {

	// The values that the administrator has allowed for the parameter.
	AllowedValues []*string `type:"list"`
	// contains filtered or unexported fields
}

The constraints that the administrator has put on the parameter. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ParameterConstraints

func (ParameterConstraints) GoString

func (s ParameterConstraints) GoString() string

GoString returns the string representation

func (*ParameterConstraints) SetAllowedValues

func (s *ParameterConstraints) SetAllowedValues(v []*string) *ParameterConstraints

SetAllowedValues sets the AllowedValues field's value.

func (ParameterConstraints) String

func (s ParameterConstraints) String() string

String returns the string representation

type PortfolioDetail

type PortfolioDetail struct {

	// The ARN assigned to the portfolio.
	ARN *string `min:"1" type:"string"`

	// The UTC timestamp of the creation time.
	CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The text description of the portfolio.
	Description *string `type:"string"`

	// The name to use for display purposes.
	DisplayName *string `min:"1" type:"string"`

	// The identifier for the portfolio.
	Id *string `min:"1" type:"string"`

	// The name of the portfolio provider.
	ProviderName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Detailed portfolio information. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/PortfolioDetail

func (PortfolioDetail) GoString

func (s PortfolioDetail) GoString() string

GoString returns the string representation

func (*PortfolioDetail) SetARN

func (s *PortfolioDetail) SetARN(v string) *PortfolioDetail

SetARN sets the ARN field's value.

func (*PortfolioDetail) SetCreatedTime

func (s *PortfolioDetail) SetCreatedTime(v time.Time) *PortfolioDetail

SetCreatedTime sets the CreatedTime field's value.

func (*PortfolioDetail) SetDescription

func (s *PortfolioDetail) SetDescription(v string) *PortfolioDetail

SetDescription sets the Description field's value.

func (*PortfolioDetail) SetDisplayName

func (s *PortfolioDetail) SetDisplayName(v string) *PortfolioDetail

SetDisplayName sets the DisplayName field's value.

func (*PortfolioDetail) SetId

func (s *PortfolioDetail) SetId(v string) *PortfolioDetail

SetId sets the Id field's value.

func (*PortfolioDetail) SetProviderName

func (s *PortfolioDetail) SetProviderName(v string) *PortfolioDetail

SetProviderName sets the ProviderName field's value.

func (PortfolioDetail) String

func (s PortfolioDetail) String() string

String returns the string representation

type Principal

type Principal struct {

	// The ARN representing the principal (IAM user, role, or group).
	PrincipalARN *string `min:"1" type:"string"`

	// The principal type. Must be IAM
	PrincipalType *string `type:"string" enum:"PrincipalType"`
	// contains filtered or unexported fields
}

A principal's ARN and type. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/Principal

func (Principal) GoString

func (s Principal) GoString() string

GoString returns the string representation

func (*Principal) SetPrincipalARN

func (s *Principal) SetPrincipalARN(v string) *Principal

SetPrincipalARN sets the PrincipalARN field's value.

func (*Principal) SetPrincipalType

func (s *Principal) SetPrincipalType(v string) *Principal

SetPrincipalType sets the PrincipalType field's value.

func (Principal) String

func (s Principal) String() string

String returns the string representation

type ProductViewAggregationValue

type ProductViewAggregationValue struct {

	// An approximate count of the products that match the value.
	ApproximateCount *int64 `type:"integer"`

	// The value of the product view aggregation.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

A single product view aggregation value/count pair, containing metadata about each product to which the calling user has access. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewAggregationValue

func (ProductViewAggregationValue) GoString

func (s ProductViewAggregationValue) GoString() string

GoString returns the string representation

func (*ProductViewAggregationValue) SetApproximateCount

SetApproximateCount sets the ApproximateCount field's value.

func (*ProductViewAggregationValue) SetValue

SetValue sets the Value field's value.

func (ProductViewAggregationValue) String

String returns the string representation

type ProductViewDetail

type ProductViewDetail struct {

	// The UTC timestamp of the creation time.
	CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The ARN associated with the product.
	ProductARN *string `min:"1" type:"string"`

	// The summary metadata about the specified product view.
	ProductViewSummary *ProductViewSummary `type:"structure"`

	// Current status of the product.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

Detailed product view information. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewDetail

func (ProductViewDetail) GoString

func (s ProductViewDetail) GoString() string

GoString returns the string representation

func (*ProductViewDetail) SetCreatedTime

func (s *ProductViewDetail) SetCreatedTime(v time.Time) *ProductViewDetail

SetCreatedTime sets the CreatedTime field's value.

func (*ProductViewDetail) SetProductARN

func (s *ProductViewDetail) SetProductARN(v string) *ProductViewDetail

SetProductARN sets the ProductARN field's value.

func (*ProductViewDetail) SetProductViewSummary

func (s *ProductViewDetail) SetProductViewSummary(v *ProductViewSummary) *ProductViewDetail

SetProductViewSummary sets the ProductViewSummary field's value.

func (*ProductViewDetail) SetStatus

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

SetStatus sets the Status field's value.

func (ProductViewDetail) String

func (s ProductViewDetail) String() string

String returns the string representation

type ProductViewSummary

type ProductViewSummary struct {

	// The distributor of the product. Contact the product administrator for the
	// significance of this value.
	Distributor *string `type:"string"`

	// A value of false indicates that the product does not have a default path,
	// while a value of true indicates that it does. If it's false, call ListLaunchPaths
	// to disambiguate between paths. If true, ListLaunchPaths is not required,
	// and the output of the ProductViewSummary operation can be used directly with
	// DescribeProvisioningParameters.
	HasDefaultPath *bool `type:"boolean"`

	// The product view identifier.
	Id *string `min:"1" type:"string"`

	// The name of the product.
	Name *string `type:"string"`

	// The owner of the product. Contact the product administrator for the significance
	// of this value.
	Owner *string `type:"string"`

	// The product identifier.
	ProductId *string `min:"1" type:"string"`

	// Short description of the product.
	ShortDescription *string `type:"string"`

	// The description of the support for this Product.
	SupportDescription *string `type:"string"`

	// The email contact information to obtain support for this Product.
	SupportEmail *string `type:"string"`

	// The URL information to obtain support for this Product.
	SupportUrl *string `type:"string"`

	// The product type. Contact the product administrator for the significance
	// of this value.
	Type *string `type:"string" enum:"ProductType"`
	// contains filtered or unexported fields
}

The summary metadata about the specified product. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewSummary

func (ProductViewSummary) GoString

func (s ProductViewSummary) GoString() string

GoString returns the string representation

func (*ProductViewSummary) SetDistributor

func (s *ProductViewSummary) SetDistributor(v string) *ProductViewSummary

SetDistributor sets the Distributor field's value.

func (*ProductViewSummary) SetHasDefaultPath

func (s *ProductViewSummary) SetHasDefaultPath(v bool) *ProductViewSummary

SetHasDefaultPath sets the HasDefaultPath field's value.

func (*ProductViewSummary) SetId

SetId sets the Id field's value.

func (*ProductViewSummary) SetName

SetName sets the Name field's value.

func (*ProductViewSummary) SetOwner

SetOwner sets the Owner field's value.

func (*ProductViewSummary) SetProductId

func (s *ProductViewSummary) SetProductId(v string) *ProductViewSummary

SetProductId sets the ProductId field's value.

func (*ProductViewSummary) SetShortDescription

func (s *ProductViewSummary) SetShortDescription(v string) *ProductViewSummary

SetShortDescription sets the ShortDescription field's value.

func (*ProductViewSummary) SetSupportDescription

func (s *ProductViewSummary) SetSupportDescription(v string) *ProductViewSummary

SetSupportDescription sets the SupportDescription field's value.

func (*ProductViewSummary) SetSupportEmail

func (s *ProductViewSummary) SetSupportEmail(v string) *ProductViewSummary

SetSupportEmail sets the SupportEmail field's value.

func (*ProductViewSummary) SetSupportUrl

func (s *ProductViewSummary) SetSupportUrl(v string) *ProductViewSummary

SetSupportUrl sets the SupportUrl field's value.

func (*ProductViewSummary) SetType

SetType sets the Type field's value.

func (ProductViewSummary) String

func (s ProductViewSummary) String() string

String returns the string representation

type ProvisionProductInput

type ProvisionProductInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related
	// events.
	NotificationArns []*string `type:"list"`

	// The identifier of the path for this product's provisioning. This value is
	// optional if the product has a default path, and is required if there is more
	// than one path for the specified product.
	PathId *string `min:"1" type:"string"`

	// The product identifier.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`

	// An idempotency token that uniquely identifies the provisioning request.
	//
	// ProvisionToken is a required field
	ProvisionToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`

	// A user-friendly name to identify the ProvisionedProduct object. This value
	// must be unique for the AWS account and cannot be updated after the product
	// is provisioned.
	//
	// ProvisionedProductName is a required field
	ProvisionedProductName *string `type:"string" required:"true"`

	// The provisioning artifact identifier for this product.
	//
	// ProvisioningArtifactId is a required field
	ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`

	// Parameters specified by the administrator that are required for provisioning
	// the product.
	ProvisioningParameters []*ProvisioningParameter `type:"list"`

	// A list of tags to use as provisioning options.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProductInput

func (ProvisionProductInput) GoString

func (s ProvisionProductInput) GoString() string

GoString returns the string representation

func (*ProvisionProductInput) SetAcceptLanguage

func (s *ProvisionProductInput) SetAcceptLanguage(v string) *ProvisionProductInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*ProvisionProductInput) SetNotificationArns

func (s *ProvisionProductInput) SetNotificationArns(v []*string) *ProvisionProductInput

SetNotificationArns sets the NotificationArns field's value.

func (*ProvisionProductInput) SetPathId

SetPathId sets the PathId field's value.

func (*ProvisionProductInput) SetProductId

SetProductId sets the ProductId field's value.

func (*ProvisionProductInput) SetProvisionToken

func (s *ProvisionProductInput) SetProvisionToken(v string) *ProvisionProductInput

SetProvisionToken sets the ProvisionToken field's value.

func (*ProvisionProductInput) SetProvisionedProductName

func (s *ProvisionProductInput) SetProvisionedProductName(v string) *ProvisionProductInput

SetProvisionedProductName sets the ProvisionedProductName field's value.

func (*ProvisionProductInput) SetProvisioningArtifactId

func (s *ProvisionProductInput) SetProvisioningArtifactId(v string) *ProvisionProductInput

SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.

func (*ProvisionProductInput) SetProvisioningParameters

func (s *ProvisionProductInput) SetProvisioningParameters(v []*ProvisioningParameter) *ProvisionProductInput

SetProvisioningParameters sets the ProvisioningParameters field's value.

func (*ProvisionProductInput) SetTags

SetTags sets the Tags field's value.

func (ProvisionProductInput) String

func (s ProvisionProductInput) String() string

String returns the string representation

func (*ProvisionProductInput) Validate

func (s *ProvisionProductInput) Validate() error

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

type ProvisionProductOutput

type ProvisionProductOutput struct {

	// The detailed result of the ProvisionProduct request, containing the inputs
	// made to that request, the current state of the request, a pointer to the
	// ProvisionedProduct object of the request, and a list of any errors that the
	// request encountered.
	RecordDetail *RecordDetail `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProductOutput

func (ProvisionProductOutput) GoString

func (s ProvisionProductOutput) GoString() string

GoString returns the string representation

func (*ProvisionProductOutput) SetRecordDetail

SetRecordDetail sets the RecordDetail field's value.

func (ProvisionProductOutput) String

func (s ProvisionProductOutput) String() string

String returns the string representation

type ProvisionedProductDetail

type ProvisionedProductDetail struct {

	// The ARN associated with the ProvisionedProduct object.
	Arn *string `min:"1" type:"string"`

	// The UTC timestamp of the creation time.
	CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The identifier of the ProvisionedProduct object.
	Id *string `type:"string"`

	// A token to disambiguate duplicate requests. You can create multiple resources
	// using the same input in multiple requests, provided that you also specify
	// a different idempotency token for each request.
	IdempotencyToken *string `min:"1" type:"string"`

	// The record identifier of the last request performed on this ProvisionedProduct
	// object.
	LastRecordId *string `type:"string"`

	// The user-friendly name of the ProvisionedProduct object.
	Name *string `min:"1" type:"string"`

	// The current status of the ProvisionedProduct.
	Status *string `type:"string" enum:"RecordStatus"`

	// The current status message of the ProvisionedProduct.
	StatusMessage *string `type:"string"`

	// The type of the ProvisionedProduct object.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

Detailed information about a ProvisionedProduct object. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionedProductDetail

func (ProvisionedProductDetail) GoString

func (s ProvisionedProductDetail) GoString() string

GoString returns the string representation

func (*ProvisionedProductDetail) SetArn

SetArn sets the Arn field's value.

func (*ProvisionedProductDetail) SetCreatedTime

SetCreatedTime sets the CreatedTime field's value.

func (*ProvisionedProductDetail) SetId

SetId sets the Id field's value.

func (*ProvisionedProductDetail) SetIdempotencyToken

func (s *ProvisionedProductDetail) SetIdempotencyToken(v string) *ProvisionedProductDetail

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*ProvisionedProductDetail) SetLastRecordId

SetLastRecordId sets the LastRecordId field's value.

func (*ProvisionedProductDetail) SetName

SetName sets the Name field's value.

func (*ProvisionedProductDetail) SetStatus

SetStatus sets the Status field's value.

func (*ProvisionedProductDetail) SetStatusMessage

SetStatusMessage sets the StatusMessage field's value.

func (*ProvisionedProductDetail) SetType

SetType sets the Type field's value.

func (ProvisionedProductDetail) String

func (s ProvisionedProductDetail) String() string

String returns the string representation

type ProvisioningArtifact

type ProvisioningArtifact struct {

	// The UTC timestamp of the creation time.
	CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The text description of the artifact.
	Description *string `type:"string"`

	// The identifier for the artifact.
	Id *string `min:"1" type:"string"`

	// The name of the artifact.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Contains information indicating the ways in which a product can be provisioned. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifact

func (ProvisioningArtifact) GoString

func (s ProvisioningArtifact) GoString() string

GoString returns the string representation

func (*ProvisioningArtifact) SetCreatedTime

func (s *ProvisioningArtifact) SetCreatedTime(v time.Time) *ProvisioningArtifact

SetCreatedTime sets the CreatedTime field's value.

func (*ProvisioningArtifact) SetDescription

func (s *ProvisioningArtifact) SetDescription(v string) *ProvisioningArtifact

SetDescription sets the Description field's value.

func (*ProvisioningArtifact) SetId

SetId sets the Id field's value.

func (*ProvisioningArtifact) SetName

SetName sets the Name field's value.

func (ProvisioningArtifact) String

func (s ProvisioningArtifact) String() string

String returns the string representation

type ProvisioningArtifactDetail

type ProvisioningArtifactDetail struct {

	// The UTC timestamp of the creation time.
	CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The text description of the provisioning artifact.
	Description *string `type:"string"`

	// The identifier of the provisioning artifact.
	Id *string `min:"1" type:"string"`

	// The name assigned to the provisioning artifact.
	Name *string `type:"string"`

	// The type of the provisioning artifact.
	Type *string `type:"string" enum:"ProvisioningArtifactType"`
	// contains filtered or unexported fields
}

Detailed provisioning artifact information. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactDetail

func (ProvisioningArtifactDetail) GoString

func (s ProvisioningArtifactDetail) GoString() string

GoString returns the string representation

func (*ProvisioningArtifactDetail) SetCreatedTime

SetCreatedTime sets the CreatedTime field's value.

func (*ProvisioningArtifactDetail) SetDescription

SetDescription sets the Description field's value.

func (*ProvisioningArtifactDetail) SetId

SetId sets the Id field's value.

func (*ProvisioningArtifactDetail) SetName

SetName sets the Name field's value.

func (*ProvisioningArtifactDetail) SetType

SetType sets the Type field's value.

func (ProvisioningArtifactDetail) String

String returns the string representation

type ProvisioningArtifactParameter

type ProvisioningArtifactParameter struct {

	// The default value for this parameter.
	DefaultValue *string `type:"string"`

	// The text description of the parameter.
	Description *string `type:"string"`

	// If this value is true, the value for this parameter is obfuscated from view
	// when the parameter is retrieved. This parameter is used to hide sensitive
	// information.
	IsNoEcho *bool `type:"boolean"`

	// The list of constraints that the administrator has put on the parameter.
	ParameterConstraints *ParameterConstraints `type:"structure"`

	// The parameter key.
	ParameterKey *string `min:"1" type:"string"`

	// The parameter type.
	ParameterType *string `type:"string"`
	// contains filtered or unexported fields
}

A parameter used to successfully provision the product. This value includes a list of allowable values and additional metadata. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactParameter

func (ProvisioningArtifactParameter) GoString

GoString returns the string representation

func (*ProvisioningArtifactParameter) SetDefaultValue

SetDefaultValue sets the DefaultValue field's value.

func (*ProvisioningArtifactParameter) SetDescription

SetDescription sets the Description field's value.

func (*ProvisioningArtifactParameter) SetIsNoEcho

SetIsNoEcho sets the IsNoEcho field's value.

func (*ProvisioningArtifactParameter) SetParameterConstraints

SetParameterConstraints sets the ParameterConstraints field's value.

func (*ProvisioningArtifactParameter) SetParameterKey

SetParameterKey sets the ParameterKey field's value.

func (*ProvisioningArtifactParameter) SetParameterType

SetParameterType sets the ParameterType field's value.

func (ProvisioningArtifactParameter) String

String returns the string representation

type ProvisioningArtifactProperties

type ProvisioningArtifactProperties struct {

	// The text description of the provisioning artifact properties.
	Description *string `type:"string"`

	// Additional information about the provisioning artifact properties.
	//
	// Info is a required field
	Info map[string]*string `min:"1" type:"map" required:"true"`

	// The name assigned to the provisioning artifact properties.
	Name *string `type:"string"`

	// The type of the provisioning artifact properties.
	Type *string `type:"string" enum:"ProvisioningArtifactType"`
	// contains filtered or unexported fields
}

Provisioning artifact properties. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactProperties

func (ProvisioningArtifactProperties) GoString

GoString returns the string representation

func (*ProvisioningArtifactProperties) SetDescription

SetDescription sets the Description field's value.

func (*ProvisioningArtifactProperties) SetInfo

SetInfo sets the Info field's value.

func (*ProvisioningArtifactProperties) SetName

SetName sets the Name field's value.

func (*ProvisioningArtifactProperties) SetType

SetType sets the Type field's value.

func (ProvisioningArtifactProperties) String

String returns the string representation

func (*ProvisioningArtifactProperties) Validate

func (s *ProvisioningArtifactProperties) Validate() error

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

type ProvisioningParameter

type ProvisioningParameter struct {

	// The ProvisioningArtifactParameter.ParameterKey parameter from DescribeProvisioningParameters.
	Key *string `min:"1" type:"string"`

	// The value to use for provisioning. Any constraints on this value can be found
	// in ProvisioningArtifactParameter for Key.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

The arameter key/value pairs used to provision a product. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningParameter

func (ProvisioningParameter) GoString

func (s ProvisioningParameter) GoString() string

GoString returns the string representation

func (*ProvisioningParameter) SetKey

SetKey sets the Key field's value.

func (*ProvisioningParameter) SetValue

SetValue sets the Value field's value.

func (ProvisioningParameter) String

func (s ProvisioningParameter) String() string

String returns the string representation

func (*ProvisioningParameter) Validate

func (s *ProvisioningParameter) Validate() error

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

type RecordDetail

type RecordDetail struct {

	// The UTC timestamp of the creation time.
	CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`

	// The identifier of the path for this product's provisioning.
	PathId *string `min:"1" type:"string"`

	// The product identifier.
	ProductId *string `min:"1" type:"string"`

	// The identifier of the ProvisionedProduct object.
	ProvisionedProductId *string `min:"1" type:"string"`

	// The user-friendly name of the ProvisionedProduct object.
	ProvisionedProductName *string `type:"string"`

	// The type of the ProvisionedProduct object.
	ProvisionedProductType *string `type:"string"`

	// The provisioning artifact identifier for this product.
	ProvisioningArtifactId *string `min:"1" type:"string"`

	// A list of errors that occurred while processing the request.
	RecordErrors []*RecordError `type:"list"`

	// The identifier of the ProvisionedProduct object record.
	RecordId *string `min:"1" type:"string"`

	// List of tags associated with this record.
	RecordTags []*RecordTag `type:"list"`

	// The record type for this record.
	RecordType *string `type:"string"`

	// The status of the ProvisionedProduct object.
	Status *string `type:"string" enum:"RecordStatus"`

	// The time when the record for the ProvisionedProduct object was last updated.
	UpdatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

The full details of a specific ProvisionedProduct object. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordDetail

func (RecordDetail) GoString

func (s RecordDetail) GoString() string

GoString returns the string representation

func (*RecordDetail) SetCreatedTime

func (s *RecordDetail) SetCreatedTime(v time.Time) *RecordDetail

SetCreatedTime sets the CreatedTime field's value.

func (*RecordDetail) SetPathId

func (s *RecordDetail) SetPathId(v string) *RecordDetail

SetPathId sets the PathId field's value.

func (*RecordDetail) SetProductId

func (s *RecordDetail) SetProductId(v string) *RecordDetail

SetProductId sets the ProductId field's value.

func (*RecordDetail) SetProvisionedProductId

func (s *RecordDetail) SetProvisionedProductId(v string) *RecordDetail

SetProvisionedProductId sets the ProvisionedProductId field's value.

func (*RecordDetail) SetProvisionedProductName

func (s *RecordDetail) SetProvisionedProductName(v string) *RecordDetail

SetProvisionedProductName sets the ProvisionedProductName field's value.

func (*RecordDetail) SetProvisionedProductType

func (s *RecordDetail) SetProvisionedProductType(v string) *RecordDetail

SetProvisionedProductType sets the ProvisionedProductType field's value.

func (*RecordDetail) SetProvisioningArtifactId

func (s *RecordDetail) SetProvisioningArtifactId(v string) *RecordDetail

SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.

func (*RecordDetail) SetRecordErrors

func (s *RecordDetail) SetRecordErrors(v []*RecordError) *RecordDetail

SetRecordErrors sets the RecordErrors field's value.

func (*RecordDetail) SetRecordId

func (s *RecordDetail) SetRecordId(v string) *RecordDetail

SetRecordId sets the RecordId field's value.

func (*RecordDetail) SetRecordTags

func (s *RecordDetail) SetRecordTags(v []*RecordTag) *RecordDetail

SetRecordTags sets the RecordTags field's value.

func (*RecordDetail) SetRecordType

func (s *RecordDetail) SetRecordType(v string) *RecordDetail

SetRecordType sets the RecordType field's value.

func (*RecordDetail) SetStatus

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

SetStatus sets the Status field's value.

func (*RecordDetail) SetUpdatedTime

func (s *RecordDetail) SetUpdatedTime(v time.Time) *RecordDetail

SetUpdatedTime sets the UpdatedTime field's value.

func (RecordDetail) String

func (s RecordDetail) String() string

String returns the string representation

type RecordError

type RecordError struct {

	// The numeric value of the error.
	Code *string `type:"string"`

	// The text description of the error.
	Description *string `type:"string"`
	// contains filtered or unexported fields
}

The error code and description resulting from an operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordError

func (RecordError) GoString

func (s RecordError) GoString() string

GoString returns the string representation

func (*RecordError) SetCode

func (s *RecordError) SetCode(v string) *RecordError

SetCode sets the Code field's value.

func (*RecordError) SetDescription

func (s *RecordError) SetDescription(v string) *RecordError

SetDescription sets the Description field's value.

func (RecordError) String

func (s RecordError) String() string

String returns the string representation

type RecordOutput

type RecordOutput struct {

	// The text description of the output.
	Description *string `type:"string"`

	// The output key.
	OutputKey *string `type:"string"`

	// The output value.
	OutputValue *string `type:"string"`
	// contains filtered or unexported fields
}

An output for the specified Product object created as the result of a request. For example, a CloudFormation-backed product that creates an S3 bucket would have an output for the S3 bucket URL. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordOutput

func (RecordOutput) GoString

func (s RecordOutput) GoString() string

GoString returns the string representation

func (*RecordOutput) SetDescription

func (s *RecordOutput) SetDescription(v string) *RecordOutput

SetDescription sets the Description field's value.

func (*RecordOutput) SetOutputKey

func (s *RecordOutput) SetOutputKey(v string) *RecordOutput

SetOutputKey sets the OutputKey field's value.

func (*RecordOutput) SetOutputValue

func (s *RecordOutput) SetOutputValue(v string) *RecordOutput

SetOutputValue sets the OutputValue field's value.

func (RecordOutput) String

func (s RecordOutput) String() string

String returns the string representation

type RecordTag

type RecordTag struct {

	// The key for this tag.
	Key *string `min:"1" type:"string"`

	// The value for this tag.
	Value *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A tag associated with the record, stored as a key-value pair. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordTag

func (RecordTag) GoString

func (s RecordTag) GoString() string

GoString returns the string representation

func (*RecordTag) SetKey

func (s *RecordTag) SetKey(v string) *RecordTag

SetKey sets the Key field's value.

func (*RecordTag) SetValue

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

SetValue sets the Value field's value.

func (RecordTag) String

func (s RecordTag) String() string

String returns the string representation

type RejectPortfolioShareInput

type RejectPortfolioShareInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The portfolio identifier.
	//
	// PortfolioId is a required field
	PortfolioId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShareInput

func (RejectPortfolioShareInput) GoString

func (s RejectPortfolioShareInput) GoString() string

GoString returns the string representation

func (*RejectPortfolioShareInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*RejectPortfolioShareInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (RejectPortfolioShareInput) String

func (s RejectPortfolioShareInput) String() string

String returns the string representation

func (*RejectPortfolioShareInput) Validate

func (s *RejectPortfolioShareInput) Validate() error

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

type RejectPortfolioShareOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShareOutput

func (RejectPortfolioShareOutput) GoString

func (s RejectPortfolioShareOutput) GoString() string

GoString returns the string representation

func (RejectPortfolioShareOutput) String

String returns the string representation

type ScanProvisionedProductsInput

type ScanProvisionedProductsInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The access level for obtaining results. If left unspecified, User level access
	// is used.
	AccessLevelFilter *AccessLevelFilter `type:"structure"`

	// The maximum number of items to return in the results. If more results exist
	// than fit in the specified PageSize, the value of NextPageToken in the response
	// is non-null.
	PageSize *int64 `type:"integer"`

	// The page token of the first page retrieved. If null, this retrieves the first
	// page of size PageSize.
	PageToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProductsInput

func (ScanProvisionedProductsInput) GoString

func (s ScanProvisionedProductsInput) GoString() string

GoString returns the string representation

func (*ScanProvisionedProductsInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*ScanProvisionedProductsInput) SetAccessLevelFilter

SetAccessLevelFilter sets the AccessLevelFilter field's value.

func (*ScanProvisionedProductsInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ScanProvisionedProductsInput) SetPageToken

SetPageToken sets the PageToken field's value.

func (ScanProvisionedProductsInput) String

String returns the string representation

type ScanProvisionedProductsOutput

type ScanProvisionedProductsOutput struct {

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`

	// A list of ProvisionedProduct detail objects.
	ProvisionedProducts []*ProvisionedProductDetail `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProductsOutput

func (ScanProvisionedProductsOutput) GoString

GoString returns the string representation

func (*ScanProvisionedProductsOutput) SetNextPageToken

SetNextPageToken sets the NextPageToken field's value.

func (*ScanProvisionedProductsOutput) SetProvisionedProducts

SetProvisionedProducts sets the ProvisionedProducts field's value.

func (ScanProvisionedProductsOutput) String

String returns the string representation

type SearchProductsAsAdminInput

type SearchProductsAsAdminInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The list of filters with which to limit search results. If no search filters
	// are specified, the output is all the products to which the administrator
	// has access.
	Filters map[string][]*string `type:"map"`

	// The maximum number of items to return in the results. If more results exist
	// than fit in the specified PageSize, the value of NextPageToken in the response
	// is non-null.
	PageSize *int64 `type:"integer"`

	// The page token of the first page retrieved. If null, this retrieves the first
	// page of size PageSize.
	PageToken *string `type:"string"`

	// The portfolio identifier.
	PortfolioId *string `min:"1" type:"string"`

	// Access level of the source of the product.
	ProductSource *string `type:"string" enum:"ProductSource"`

	// The sort field specifier. If no value is specified, results are not sorted.
	SortBy *string `type:"string" enum:"ProductViewSortBy"`

	// The sort order specifier. If no value is specified, results are not sorted.
	SortOrder *string `type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdminInput

func (SearchProductsAsAdminInput) GoString

func (s SearchProductsAsAdminInput) GoString() string

GoString returns the string representation

func (*SearchProductsAsAdminInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*SearchProductsAsAdminInput) SetFilters

SetFilters sets the Filters field's value.

func (*SearchProductsAsAdminInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*SearchProductsAsAdminInput) SetPageToken

SetPageToken sets the PageToken field's value.

func (*SearchProductsAsAdminInput) SetPortfolioId

SetPortfolioId sets the PortfolioId field's value.

func (*SearchProductsAsAdminInput) SetProductSource

SetProductSource sets the ProductSource field's value.

func (*SearchProductsAsAdminInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (*SearchProductsAsAdminInput) SetSortOrder

SetSortOrder sets the SortOrder field's value.

func (SearchProductsAsAdminInput) String

String returns the string representation

func (*SearchProductsAsAdminInput) Validate

func (s *SearchProductsAsAdminInput) Validate() error

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

type SearchProductsAsAdminOutput

type SearchProductsAsAdminOutput struct {

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`

	// List of detailed product view information objects.
	ProductViewDetails []*ProductViewDetail `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdminOutput

func (SearchProductsAsAdminOutput) GoString

func (s SearchProductsAsAdminOutput) GoString() string

GoString returns the string representation

func (*SearchProductsAsAdminOutput) SetNextPageToken

SetNextPageToken sets the NextPageToken field's value.

func (*SearchProductsAsAdminOutput) SetProductViewDetails

SetProductViewDetails sets the ProductViewDetails field's value.

func (SearchProductsAsAdminOutput) String

String returns the string representation

type SearchProductsInput

type SearchProductsInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The list of filters with which to limit search results. If no search filters
	// are specified, the output is all the products to which the calling user has
	// access.
	Filters map[string][]*string `type:"map"`

	// The maximum number of items to return in the results. If more results exist
	// than fit in the specified PageSize, the value of NextPageToken in the response
	// is non-null.
	PageSize *int64 `type:"integer"`

	// The page token of the first page retrieved. If null, this retrieves the first
	// page of size PageSize.
	PageToken *string `type:"string"`

	// The sort field specifier. If no value is specified, results are not sorted.
	SortBy *string `type:"string" enum:"ProductViewSortBy"`

	// The sort order specifier. If no value is specified, results are not sorted.
	SortOrder *string `type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsInput

func (SearchProductsInput) GoString

func (s SearchProductsInput) GoString() string

GoString returns the string representation

func (*SearchProductsInput) SetAcceptLanguage

func (s *SearchProductsInput) SetAcceptLanguage(v string) *SearchProductsInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*SearchProductsInput) SetFilters

func (s *SearchProductsInput) SetFilters(v map[string][]*string) *SearchProductsInput

SetFilters sets the Filters field's value.

func (*SearchProductsInput) SetPageSize

func (s *SearchProductsInput) SetPageSize(v int64) *SearchProductsInput

SetPageSize sets the PageSize field's value.

func (*SearchProductsInput) SetPageToken

func (s *SearchProductsInput) SetPageToken(v string) *SearchProductsInput

SetPageToken sets the PageToken field's value.

func (*SearchProductsInput) SetSortBy

SetSortBy sets the SortBy field's value.

func (*SearchProductsInput) SetSortOrder

func (s *SearchProductsInput) SetSortOrder(v string) *SearchProductsInput

SetSortOrder sets the SortOrder field's value.

func (SearchProductsInput) String

func (s SearchProductsInput) String() string

String returns the string representation

type SearchProductsOutput

type SearchProductsOutput struct {

	// The page token to use to retrieve the next page of results for this operation.
	// If there are no more pages, this value is null.
	NextPageToken *string `type:"string"`

	// A list of the product view aggregation value objects.
	ProductViewAggregations map[string][]*ProductViewAggregationValue `type:"map"`

	// A list of the product view summary objects.
	ProductViewSummaries []*ProductViewSummary `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsOutput

func (SearchProductsOutput) GoString

func (s SearchProductsOutput) GoString() string

GoString returns the string representation

func (*SearchProductsOutput) SetNextPageToken

func (s *SearchProductsOutput) SetNextPageToken(v string) *SearchProductsOutput

SetNextPageToken sets the NextPageToken field's value.

func (*SearchProductsOutput) SetProductViewAggregations

func (s *SearchProductsOutput) SetProductViewAggregations(v map[string][]*ProductViewAggregationValue) *SearchProductsOutput

SetProductViewAggregations sets the ProductViewAggregations field's value.

func (*SearchProductsOutput) SetProductViewSummaries

func (s *SearchProductsOutput) SetProductViewSummaries(v []*ProductViewSummary) *SearchProductsOutput

SetProductViewSummaries sets the ProductViewSummaries field's value.

func (SearchProductsOutput) String

func (s SearchProductsOutput) String() string

String returns the string representation

type ServiceCatalog

type ServiceCatalog struct {
	*client.Client
}

ServiceCatalog provides the API operation methods for making requests to AWS Service Catalog. See this package's package overview docs for details on the service.

ServiceCatalog 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) *ServiceCatalog

New creates a new instance of the ServiceCatalog 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:

// Create a ServiceCatalog client from just a session.
svc := servicecatalog.New(mySession)

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

func (*ServiceCatalog) AcceptPortfolioShare

func (c *ServiceCatalog) AcceptPortfolioShare(input *AcceptPortfolioShareInput) (*AcceptPortfolioShareOutput, error)

AcceptPortfolioShare API operation for AWS Service Catalog.

Accepts an offer to share a portfolio.

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 Service Catalog's API operation AcceptPortfolioShare for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeLimitExceededException "LimitExceededException" The current limits of the service would have been exceeded by this operation. Reduce the resource use or increase the service limits and retry the operation.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShare

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.AcceptPortfolioShareInput{
		PortfolioId:    aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.AcceptPortfolioShare(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) AcceptPortfolioShareRequest

func (c *ServiceCatalog) AcceptPortfolioShareRequest(input *AcceptPortfolioShareInput) (req *request.Request, output *AcceptPortfolioShareOutput)

AcceptPortfolioShareRequest generates a "aws/request.Request" representing the client's request for the AcceptPortfolioShare operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AcceptPortfolioShare for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AcceptPortfolioShare method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AcceptPortfolioShareRequest method.
req, resp := client.AcceptPortfolioShareRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShare

func (*ServiceCatalog) AcceptPortfolioShareWithContext

func (c *ServiceCatalog) AcceptPortfolioShareWithContext(ctx aws.Context, input *AcceptPortfolioShareInput, opts ...request.Option) (*AcceptPortfolioShareOutput, error)

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

See AcceptPortfolioShare 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 (*ServiceCatalog) AssociatePrincipalWithPortfolio

AssociatePrincipalWithPortfolio API operation for AWS Service Catalog.

Associates the specified principal ARN with the specified portfolio.

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 Service Catalog's API operation AssociatePrincipalWithPortfolio for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeLimitExceededException "LimitExceededException" The current limits of the service would have been exceeded by this operation. Reduce the resource use or increase the service limits and retry the operation.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolio

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.AssociatePrincipalWithPortfolioInput{
		PortfolioId:    aws.String("Id"),            // Required
		PrincipalARN:   aws.String("PrincipalARN"),  // Required
		PrincipalType:  aws.String("PrincipalType"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.AssociatePrincipalWithPortfolio(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) AssociatePrincipalWithPortfolioRequest

func (c *ServiceCatalog) AssociatePrincipalWithPortfolioRequest(input *AssociatePrincipalWithPortfolioInput) (req *request.Request, output *AssociatePrincipalWithPortfolioOutput)

AssociatePrincipalWithPortfolioRequest generates a "aws/request.Request" representing the client's request for the AssociatePrincipalWithPortfolio operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AssociatePrincipalWithPortfolio for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AssociatePrincipalWithPortfolio method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AssociatePrincipalWithPortfolioRequest method.
req, resp := client.AssociatePrincipalWithPortfolioRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolio

func (*ServiceCatalog) AssociatePrincipalWithPortfolioWithContext

func (c *ServiceCatalog) AssociatePrincipalWithPortfolioWithContext(ctx aws.Context, input *AssociatePrincipalWithPortfolioInput, opts ...request.Option) (*AssociatePrincipalWithPortfolioOutput, error)

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

See AssociatePrincipalWithPortfolio 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 (*ServiceCatalog) AssociateProductWithPortfolio

AssociateProductWithPortfolio API operation for AWS Service Catalog.

Associates a product with a portfolio.

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 Service Catalog's API operation AssociateProductWithPortfolio for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeLimitExceededException "LimitExceededException" The current limits of the service would have been exceeded by this operation. Reduce the resource use or increase the service limits and retry the operation.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolio

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.AssociateProductWithPortfolioInput{
		PortfolioId:       aws.String("Id"), // Required
		ProductId:         aws.String("Id"), // Required
		AcceptLanguage:    aws.String("AcceptLanguage"),
		SourcePortfolioId: aws.String("Id"),
	}
	resp, err := svc.AssociateProductWithPortfolio(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) AssociateProductWithPortfolioRequest

func (c *ServiceCatalog) AssociateProductWithPortfolioRequest(input *AssociateProductWithPortfolioInput) (req *request.Request, output *AssociateProductWithPortfolioOutput)

AssociateProductWithPortfolioRequest generates a "aws/request.Request" representing the client's request for the AssociateProductWithPortfolio operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AssociateProductWithPortfolio for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AssociateProductWithPortfolio method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AssociateProductWithPortfolioRequest method.
req, resp := client.AssociateProductWithPortfolioRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolio

func (*ServiceCatalog) AssociateProductWithPortfolioWithContext

func (c *ServiceCatalog) AssociateProductWithPortfolioWithContext(ctx aws.Context, input *AssociateProductWithPortfolioInput, opts ...request.Option) (*AssociateProductWithPortfolioOutput, error)

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

See AssociateProductWithPortfolio 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 (*ServiceCatalog) CreateConstraint

func (c *ServiceCatalog) CreateConstraint(input *CreateConstraintInput) (*CreateConstraintOutput, error)

CreateConstraint API operation for AWS Service Catalog.

Creates a new constraint.

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 Service Catalog's API operation CreateConstraint for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeLimitExceededException "LimitExceededException" The current limits of the service would have been exceeded by this operation. Reduce the resource use or increase the service limits and retry the operation.

  • ErrCodeDuplicateResourceException "DuplicateResourceException" The specified resource is a duplicate.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraint

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.CreateConstraintInput{
		IdempotencyToken: aws.String("IdempotencyToken"),     // Required
		Parameters:       aws.String("ConstraintParameters"), // Required
		PortfolioId:      aws.String("Id"),                   // Required
		ProductId:        aws.String("Id"),                   // Required
		Type:             aws.String("ConstraintType"),       // Required
		AcceptLanguage:   aws.String("AcceptLanguage"),
		Description:      aws.String("ConstraintDescription"),
	}
	resp, err := svc.CreateConstraint(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) CreateConstraintRequest

func (c *ServiceCatalog) CreateConstraintRequest(input *CreateConstraintInput) (req *request.Request, output *CreateConstraintOutput)

CreateConstraintRequest generates a "aws/request.Request" representing the client's request for the CreateConstraint operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateConstraint for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateConstraint method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateConstraintRequest method.
req, resp := client.CreateConstraintRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraint

func (*ServiceCatalog) CreateConstraintWithContext

func (c *ServiceCatalog) CreateConstraintWithContext(ctx aws.Context, input *CreateConstraintInput, opts ...request.Option) (*CreateConstraintOutput, error)

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

See CreateConstraint 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 (*ServiceCatalog) CreatePortfolio

func (c *ServiceCatalog) CreatePortfolio(input *CreatePortfolioInput) (*CreatePortfolioOutput, error)

CreatePortfolio API operation for AWS Service Catalog.

Creates a new portfolio.

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 Service Catalog's API operation CreatePortfolio for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeLimitExceededException "LimitExceededException" The current limits of the service would have been exceeded by this operation. Reduce the resource use or increase the service limits and retry the operation.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolio

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.CreatePortfolioInput{
		DisplayName:      aws.String("PortfolioDisplayName"), // Required
		IdempotencyToken: aws.String("IdempotencyToken"),     // Required
		ProviderName:     aws.String("ProviderName"),         // Required
		AcceptLanguage:   aws.String("AcceptLanguage"),
		Description:      aws.String("PortfolioDescription"),
		Tags: []*servicecatalog.Tag{
			{ // Required
				Key:   aws.String("TagKey"),   // Required
				Value: aws.String("TagValue"), // Required
			},
			// More values...
		},
	}
	resp, err := svc.CreatePortfolio(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) CreatePortfolioRequest

func (c *ServiceCatalog) CreatePortfolioRequest(input *CreatePortfolioInput) (req *request.Request, output *CreatePortfolioOutput)

CreatePortfolioRequest generates a "aws/request.Request" representing the client's request for the CreatePortfolio operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreatePortfolio for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreatePortfolio method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreatePortfolioRequest method.
req, resp := client.CreatePortfolioRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolio

func (*ServiceCatalog) CreatePortfolioShare

func (c *ServiceCatalog) CreatePortfolioShare(input *CreatePortfolioShareInput) (*CreatePortfolioShareOutput, error)

CreatePortfolioShare API operation for AWS Service Catalog.

Creates a new portfolio share.

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 Service Catalog's API operation CreatePortfolioShare for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeLimitExceededException "LimitExceededException" The current limits of the service would have been exceeded by this operation. Reduce the resource use or increase the service limits and retry the operation.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShare

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.CreatePortfolioShareInput{
		AccountId:      aws.String("AccountId"), // Required
		PortfolioId:    aws.String("Id"),        // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.CreatePortfolioShare(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) CreatePortfolioShareRequest

func (c *ServiceCatalog) CreatePortfolioShareRequest(input *CreatePortfolioShareInput) (req *request.Request, output *CreatePortfolioShareOutput)

CreatePortfolioShareRequest generates a "aws/request.Request" representing the client's request for the CreatePortfolioShare operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreatePortfolioShare for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreatePortfolioShare method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreatePortfolioShareRequest method.
req, resp := client.CreatePortfolioShareRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShare

func (*ServiceCatalog) CreatePortfolioShareWithContext

func (c *ServiceCatalog) CreatePortfolioShareWithContext(ctx aws.Context, input *CreatePortfolioShareInput, opts ...request.Option) (*CreatePortfolioShareOutput, error)

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

See CreatePortfolioShare 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 (*ServiceCatalog) CreatePortfolioWithContext

func (c *ServiceCatalog) CreatePortfolioWithContext(ctx aws.Context, input *CreatePortfolioInput, opts ...request.Option) (*CreatePortfolioOutput, error)

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

See CreatePortfolio 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 (*ServiceCatalog) CreateProduct

func (c *ServiceCatalog) CreateProduct(input *CreateProductInput) (*CreateProductOutput, error)

CreateProduct API operation for AWS Service Catalog.

Creates a new product.

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 Service Catalog's API operation CreateProduct for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeLimitExceededException "LimitExceededException" The current limits of the service would have been exceeded by this operation. Reduce the resource use or increase the service limits and retry the operation.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProduct

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.CreateProductInput{
		IdempotencyToken: aws.String("IdempotencyToken"), // Required
		Name:             aws.String("ProductViewName"),  // Required
		Owner:            aws.String("ProductViewOwner"), // Required
		ProductType:      aws.String("ProductType"),      // Required
		ProvisioningArtifactParameters: &servicecatalog.ProvisioningArtifactProperties{ // Required
			Info: map[string]*string{ // Required
				"Key": aws.String("ProvisioningArtifactInfoValue"), // Required
				// More values...
			},
			Description: aws.String("ProvisioningArtifactDescription"),
			Name:        aws.String("ProvisioningArtifactName"),
			Type:        aws.String("ProvisioningArtifactType"),
		},
		AcceptLanguage:     aws.String("AcceptLanguage"),
		Description:        aws.String("ProductViewShortDescription"),
		Distributor:        aws.String("ProductViewOwner"),
		SupportDescription: aws.String("SupportDescription"),
		SupportEmail:       aws.String("SupportEmail"),
		SupportUrl:         aws.String("SupportUrl"),
		Tags: []*servicecatalog.Tag{
			{ // Required
				Key:   aws.String("TagKey"),   // Required
				Value: aws.String("TagValue"), // Required
			},
			// More values...
		},
	}
	resp, err := svc.CreateProduct(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) CreateProductRequest

func (c *ServiceCatalog) CreateProductRequest(input *CreateProductInput) (req *request.Request, output *CreateProductOutput)

CreateProductRequest generates a "aws/request.Request" representing the client's request for the CreateProduct operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateProduct for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateProduct method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateProductRequest method.
req, resp := client.CreateProductRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProduct

func (*ServiceCatalog) CreateProductWithContext

func (c *ServiceCatalog) CreateProductWithContext(ctx aws.Context, input *CreateProductInput, opts ...request.Option) (*CreateProductOutput, error)

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

See CreateProduct 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 (*ServiceCatalog) CreateProvisioningArtifact

CreateProvisioningArtifact API operation for AWS Service Catalog.

Create a new provisioning artifact for the specified product. This operation will not work with a product that has been shared with you.

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 Service Catalog's API operation CreateProvisioningArtifact for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeLimitExceededException "LimitExceededException" The current limits of the service would have been exceeded by this operation. Reduce the resource use or increase the service limits and retry the operation.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifact

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.CreateProvisioningArtifactInput{
		IdempotencyToken: aws.String("IdempotencyToken"), // Required
		Parameters: &servicecatalog.ProvisioningArtifactProperties{ // Required
			Info: map[string]*string{ // Required
				"Key": aws.String("ProvisioningArtifactInfoValue"), // Required
				// More values...
			},
			Description: aws.String("ProvisioningArtifactDescription"),
			Name:        aws.String("ProvisioningArtifactName"),
			Type:        aws.String("ProvisioningArtifactType"),
		},
		ProductId:      aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.CreateProvisioningArtifact(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) CreateProvisioningArtifactRequest

func (c *ServiceCatalog) CreateProvisioningArtifactRequest(input *CreateProvisioningArtifactInput) (req *request.Request, output *CreateProvisioningArtifactOutput)

CreateProvisioningArtifactRequest generates a "aws/request.Request" representing the client's request for the CreateProvisioningArtifact operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateProvisioningArtifact for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateProvisioningArtifact method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateProvisioningArtifactRequest method.
req, resp := client.CreateProvisioningArtifactRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifact

func (*ServiceCatalog) CreateProvisioningArtifactWithContext

func (c *ServiceCatalog) CreateProvisioningArtifactWithContext(ctx aws.Context, input *CreateProvisioningArtifactInput, opts ...request.Option) (*CreateProvisioningArtifactOutput, error)

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

See CreateProvisioningArtifact 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 (*ServiceCatalog) DeleteConstraint

func (c *ServiceCatalog) DeleteConstraint(input *DeleteConstraintInput) (*DeleteConstraintOutput, error)

DeleteConstraint API operation for AWS Service Catalog.

Deletes the specified constraint.

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 Service Catalog's API operation DeleteConstraint for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraint

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DeleteConstraintInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.DeleteConstraint(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DeleteConstraintRequest

func (c *ServiceCatalog) DeleteConstraintRequest(input *DeleteConstraintInput) (req *request.Request, output *DeleteConstraintOutput)

DeleteConstraintRequest generates a "aws/request.Request" representing the client's request for the DeleteConstraint operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteConstraint for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteConstraint method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteConstraintRequest method.
req, resp := client.DeleteConstraintRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraint

func (*ServiceCatalog) DeleteConstraintWithContext

func (c *ServiceCatalog) DeleteConstraintWithContext(ctx aws.Context, input *DeleteConstraintInput, opts ...request.Option) (*DeleteConstraintOutput, error)

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

See DeleteConstraint 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 (*ServiceCatalog) DeletePortfolio

func (c *ServiceCatalog) DeletePortfolio(input *DeletePortfolioInput) (*DeletePortfolioOutput, error)

DeletePortfolio API operation for AWS Service Catalog.

Deletes the specified portfolio. This operation will not work with a portfolio that has been shared with you or if it has products, users, constraints, or shared accounts associated with it.

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 Service Catalog's API operation DeletePortfolio for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeResourceInUseException "ResourceInUseException" The operation was requested against a resource that is currently in use. Free the resource from use and retry the operation.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolio

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DeletePortfolioInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.DeletePortfolio(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DeletePortfolioRequest

func (c *ServiceCatalog) DeletePortfolioRequest(input *DeletePortfolioInput) (req *request.Request, output *DeletePortfolioOutput)

DeletePortfolioRequest generates a "aws/request.Request" representing the client's request for the DeletePortfolio operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeletePortfolio for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeletePortfolio method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeletePortfolioRequest method.
req, resp := client.DeletePortfolioRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolio

func (*ServiceCatalog) DeletePortfolioShare

func (c *ServiceCatalog) DeletePortfolioShare(input *DeletePortfolioShareInput) (*DeletePortfolioShareOutput, error)

DeletePortfolioShare API operation for AWS Service Catalog.

Deletes the specified portfolio share.

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 Service Catalog's API operation DeletePortfolioShare for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShare

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DeletePortfolioShareInput{
		AccountId:      aws.String("AccountId"), // Required
		PortfolioId:    aws.String("Id"),        // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.DeletePortfolioShare(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DeletePortfolioShareRequest

func (c *ServiceCatalog) DeletePortfolioShareRequest(input *DeletePortfolioShareInput) (req *request.Request, output *DeletePortfolioShareOutput)

DeletePortfolioShareRequest generates a "aws/request.Request" representing the client's request for the DeletePortfolioShare operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeletePortfolioShare for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeletePortfolioShare method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeletePortfolioShareRequest method.
req, resp := client.DeletePortfolioShareRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShare

func (*ServiceCatalog) DeletePortfolioShareWithContext

func (c *ServiceCatalog) DeletePortfolioShareWithContext(ctx aws.Context, input *DeletePortfolioShareInput, opts ...request.Option) (*DeletePortfolioShareOutput, error)

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

See DeletePortfolioShare 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 (*ServiceCatalog) DeletePortfolioWithContext

func (c *ServiceCatalog) DeletePortfolioWithContext(ctx aws.Context, input *DeletePortfolioInput, opts ...request.Option) (*DeletePortfolioOutput, error)

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

See DeletePortfolio 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 (*ServiceCatalog) DeleteProduct

func (c *ServiceCatalog) DeleteProduct(input *DeleteProductInput) (*DeleteProductOutput, error)

DeleteProduct API operation for AWS Service Catalog.

Deletes the specified product. This operation will not work with a product that has been shared with you or is associated with a portfolio.

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 Service Catalog's API operation DeleteProduct for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeResourceInUseException "ResourceInUseException" The operation was requested against a resource that is currently in use. Free the resource from use and retry the operation.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProduct

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DeleteProductInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.DeleteProduct(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DeleteProductRequest

func (c *ServiceCatalog) DeleteProductRequest(input *DeleteProductInput) (req *request.Request, output *DeleteProductOutput)

DeleteProductRequest generates a "aws/request.Request" representing the client's request for the DeleteProduct operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteProduct for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteProduct method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteProductRequest method.
req, resp := client.DeleteProductRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProduct

func (*ServiceCatalog) DeleteProductWithContext

func (c *ServiceCatalog) DeleteProductWithContext(ctx aws.Context, input *DeleteProductInput, opts ...request.Option) (*DeleteProductOutput, error)

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

See DeleteProduct 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 (*ServiceCatalog) DeleteProvisioningArtifact

DeleteProvisioningArtifact API operation for AWS Service Catalog.

Deletes the specified provisioning artifact. This operation will not work on a provisioning artifact associated with a product that has been shared with you, or on the last provisioning artifact associated with a product (a product must have at least one provisioning artifact).

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 Service Catalog's API operation DeleteProvisioningArtifact for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeResourceInUseException "ResourceInUseException" The operation was requested against a resource that is currently in use. Free the resource from use and retry the operation.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifact

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DeleteProvisioningArtifactInput{
		ProductId:              aws.String("Id"), // Required
		ProvisioningArtifactId: aws.String("Id"), // Required
		AcceptLanguage:         aws.String("AcceptLanguage"),
	}
	resp, err := svc.DeleteProvisioningArtifact(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DeleteProvisioningArtifactRequest

func (c *ServiceCatalog) DeleteProvisioningArtifactRequest(input *DeleteProvisioningArtifactInput) (req *request.Request, output *DeleteProvisioningArtifactOutput)

DeleteProvisioningArtifactRequest generates a "aws/request.Request" representing the client's request for the DeleteProvisioningArtifact operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteProvisioningArtifact for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteProvisioningArtifact method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteProvisioningArtifactRequest method.
req, resp := client.DeleteProvisioningArtifactRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifact

func (*ServiceCatalog) DeleteProvisioningArtifactWithContext

func (c *ServiceCatalog) DeleteProvisioningArtifactWithContext(ctx aws.Context, input *DeleteProvisioningArtifactInput, opts ...request.Option) (*DeleteProvisioningArtifactOutput, error)

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

See DeleteProvisioningArtifact 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 (*ServiceCatalog) DescribeConstraint

func (c *ServiceCatalog) DescribeConstraint(input *DescribeConstraintInput) (*DescribeConstraintOutput, error)

DescribeConstraint API operation for AWS Service Catalog.

Retrieves detailed information for a specified constraint.

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 Service Catalog's API operation DescribeConstraint for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraint

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DescribeConstraintInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.DescribeConstraint(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DescribeConstraintRequest

func (c *ServiceCatalog) DescribeConstraintRequest(input *DescribeConstraintInput) (req *request.Request, output *DescribeConstraintOutput)

DescribeConstraintRequest generates a "aws/request.Request" representing the client's request for the DescribeConstraint operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeConstraint for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeConstraint method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeConstraintRequest method.
req, resp := client.DescribeConstraintRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraint

func (*ServiceCatalog) DescribeConstraintWithContext

func (c *ServiceCatalog) DescribeConstraintWithContext(ctx aws.Context, input *DescribeConstraintInput, opts ...request.Option) (*DescribeConstraintOutput, error)

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

See DescribeConstraint 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 (*ServiceCatalog) DescribePortfolio

func (c *ServiceCatalog) DescribePortfolio(input *DescribePortfolioInput) (*DescribePortfolioOutput, error)

DescribePortfolio API operation for AWS Service Catalog.

Retrieves detailed information and any tags associated with the specified portfolio.

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 Service Catalog's API operation DescribePortfolio for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolio

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DescribePortfolioInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.DescribePortfolio(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DescribePortfolioRequest

func (c *ServiceCatalog) DescribePortfolioRequest(input *DescribePortfolioInput) (req *request.Request, output *DescribePortfolioOutput)

DescribePortfolioRequest generates a "aws/request.Request" representing the client's request for the DescribePortfolio operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribePortfolio for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribePortfolio method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribePortfolioRequest method.
req, resp := client.DescribePortfolioRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolio

func (*ServiceCatalog) DescribePortfolioWithContext

func (c *ServiceCatalog) DescribePortfolioWithContext(ctx aws.Context, input *DescribePortfolioInput, opts ...request.Option) (*DescribePortfolioOutput, error)

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

See DescribePortfolio 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 (*ServiceCatalog) DescribeProduct

func (c *ServiceCatalog) DescribeProduct(input *DescribeProductInput) (*DescribeProductOutput, error)

DescribeProduct API operation for AWS Service Catalog.

Retrieves information about a specified product.

This operation is functionally identical to DescribeProductView except that it takes as input ProductId instead of ProductViewId.

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 Service Catalog's API operation DescribeProduct for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProduct

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DescribeProductInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.DescribeProduct(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DescribeProductAsAdmin

func (c *ServiceCatalog) DescribeProductAsAdmin(input *DescribeProductAsAdminInput) (*DescribeProductAsAdminOutput, error)

DescribeProductAsAdmin API operation for AWS Service Catalog.

Retrieves information about a specified product, run with administrator access.

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 Service Catalog's API operation DescribeProductAsAdmin for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdmin

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DescribeProductAsAdminInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.DescribeProductAsAdmin(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DescribeProductAsAdminRequest

func (c *ServiceCatalog) DescribeProductAsAdminRequest(input *DescribeProductAsAdminInput) (req *request.Request, output *DescribeProductAsAdminOutput)

DescribeProductAsAdminRequest generates a "aws/request.Request" representing the client's request for the DescribeProductAsAdmin operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeProductAsAdmin for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeProductAsAdmin method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeProductAsAdminRequest method.
req, resp := client.DescribeProductAsAdminRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdmin

func (*ServiceCatalog) DescribeProductAsAdminWithContext

func (c *ServiceCatalog) DescribeProductAsAdminWithContext(ctx aws.Context, input *DescribeProductAsAdminInput, opts ...request.Option) (*DescribeProductAsAdminOutput, error)

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

See DescribeProductAsAdmin 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 (*ServiceCatalog) DescribeProductRequest

func (c *ServiceCatalog) DescribeProductRequest(input *DescribeProductInput) (req *request.Request, output *DescribeProductOutput)

DescribeProductRequest generates a "aws/request.Request" representing the client's request for the DescribeProduct operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeProduct for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeProduct method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeProductRequest method.
req, resp := client.DescribeProductRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProduct

func (*ServiceCatalog) DescribeProductView

func (c *ServiceCatalog) DescribeProductView(input *DescribeProductViewInput) (*DescribeProductViewOutput, error)

DescribeProductView API operation for AWS Service Catalog.

Retrieves information about a specified product.

This operation is functionally identical to DescribeProduct except that it takes as input ProductViewId instead of ProductId.

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 Service Catalog's API operation DescribeProductView for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductView

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DescribeProductViewInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.DescribeProductView(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DescribeProductViewRequest

func (c *ServiceCatalog) DescribeProductViewRequest(input *DescribeProductViewInput) (req *request.Request, output *DescribeProductViewOutput)

DescribeProductViewRequest generates a "aws/request.Request" representing the client's request for the DescribeProductView operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeProductView for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeProductView method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeProductViewRequest method.
req, resp := client.DescribeProductViewRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductView

func (*ServiceCatalog) DescribeProductViewWithContext

func (c *ServiceCatalog) DescribeProductViewWithContext(ctx aws.Context, input *DescribeProductViewInput, opts ...request.Option) (*DescribeProductViewOutput, error)

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

See DescribeProductView 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 (*ServiceCatalog) DescribeProductWithContext

func (c *ServiceCatalog) DescribeProductWithContext(ctx aws.Context, input *DescribeProductInput, opts ...request.Option) (*DescribeProductOutput, error)

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

See DescribeProduct 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 (*ServiceCatalog) DescribeProvisioningArtifact

DescribeProvisioningArtifact API operation for AWS Service Catalog.

Retrieves detailed information about the specified provisioning artifact.

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 Service Catalog's API operation DescribeProvisioningArtifact for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifact

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DescribeProvisioningArtifactInput{
		ProductId:              aws.String("Id"), // Required
		ProvisioningArtifactId: aws.String("Id"), // Required
		AcceptLanguage:         aws.String("AcceptLanguage"),
	}
	resp, err := svc.DescribeProvisioningArtifact(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DescribeProvisioningArtifactRequest

func (c *ServiceCatalog) DescribeProvisioningArtifactRequest(input *DescribeProvisioningArtifactInput) (req *request.Request, output *DescribeProvisioningArtifactOutput)

DescribeProvisioningArtifactRequest generates a "aws/request.Request" representing the client's request for the DescribeProvisioningArtifact operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeProvisioningArtifact for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeProvisioningArtifact method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeProvisioningArtifactRequest method.
req, resp := client.DescribeProvisioningArtifactRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifact

func (*ServiceCatalog) DescribeProvisioningArtifactWithContext

func (c *ServiceCatalog) DescribeProvisioningArtifactWithContext(ctx aws.Context, input *DescribeProvisioningArtifactInput, opts ...request.Option) (*DescribeProvisioningArtifactOutput, error)

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

See DescribeProvisioningArtifact 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 (*ServiceCatalog) DescribeProvisioningParameters

DescribeProvisioningParameters API operation for AWS Service Catalog.

Provides information about parameters required to provision a specified product in a specified manner. Use this operation to obtain the list of ProvisioningArtifactParameters parameters available to call the ProvisionProduct operation for the specified product.

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 Service Catalog's API operation DescribeProvisioningParameters for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParameters

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DescribeProvisioningParametersInput{
		ProductId:              aws.String("Id"), // Required
		ProvisioningArtifactId: aws.String("Id"), // Required
		AcceptLanguage:         aws.String("AcceptLanguage"),
		PathId:                 aws.String("Id"),
	}
	resp, err := svc.DescribeProvisioningParameters(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DescribeProvisioningParametersRequest

func (c *ServiceCatalog) DescribeProvisioningParametersRequest(input *DescribeProvisioningParametersInput) (req *request.Request, output *DescribeProvisioningParametersOutput)

DescribeProvisioningParametersRequest generates a "aws/request.Request" representing the client's request for the DescribeProvisioningParameters operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeProvisioningParameters for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeProvisioningParameters method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeProvisioningParametersRequest method.
req, resp := client.DescribeProvisioningParametersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParameters

func (*ServiceCatalog) DescribeProvisioningParametersWithContext

func (c *ServiceCatalog) DescribeProvisioningParametersWithContext(ctx aws.Context, input *DescribeProvisioningParametersInput, opts ...request.Option) (*DescribeProvisioningParametersOutput, error)

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

See DescribeProvisioningParameters 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 (*ServiceCatalog) DescribeRecord

func (c *ServiceCatalog) DescribeRecord(input *DescribeRecordInput) (*DescribeRecordOutput, error)

DescribeRecord API operation for AWS Service Catalog.

Retrieves a paginated list of the full details of a specific request. Use this operation after calling a request operation (ProvisionProduct, TerminateProvisionedProduct, or UpdateProvisionedProduct).

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 Service Catalog's API operation DescribeRecord for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecord

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DescribeRecordInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
		PageSize:       aws.Int64(1),
		PageToken:      aws.String("PageToken"),
	}
	resp, err := svc.DescribeRecord(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DescribeRecordRequest

func (c *ServiceCatalog) DescribeRecordRequest(input *DescribeRecordInput) (req *request.Request, output *DescribeRecordOutput)

DescribeRecordRequest generates a "aws/request.Request" representing the client's request for the DescribeRecord operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeRecord for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeRecord method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeRecordRequest method.
req, resp := client.DescribeRecordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecord

func (*ServiceCatalog) DescribeRecordWithContext

func (c *ServiceCatalog) DescribeRecordWithContext(ctx aws.Context, input *DescribeRecordInput, opts ...request.Option) (*DescribeRecordOutput, error)

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

See DescribeRecord 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 (*ServiceCatalog) DisassociatePrincipalFromPortfolio

DisassociatePrincipalFromPortfolio API operation for AWS Service Catalog.

Disassociates a previously associated principal ARN from a specified portfolio.

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 Service Catalog's API operation DisassociatePrincipalFromPortfolio for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolio

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DisassociatePrincipalFromPortfolioInput{
		PortfolioId:    aws.String("Id"),           // Required
		PrincipalARN:   aws.String("PrincipalARN"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.DisassociatePrincipalFromPortfolio(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DisassociatePrincipalFromPortfolioRequest

func (c *ServiceCatalog) DisassociatePrincipalFromPortfolioRequest(input *DisassociatePrincipalFromPortfolioInput) (req *request.Request, output *DisassociatePrincipalFromPortfolioOutput)

DisassociatePrincipalFromPortfolioRequest generates a "aws/request.Request" representing the client's request for the DisassociatePrincipalFromPortfolio operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DisassociatePrincipalFromPortfolio for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DisassociatePrincipalFromPortfolio method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DisassociatePrincipalFromPortfolioRequest method.
req, resp := client.DisassociatePrincipalFromPortfolioRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolio

func (*ServiceCatalog) DisassociatePrincipalFromPortfolioWithContext

func (c *ServiceCatalog) DisassociatePrincipalFromPortfolioWithContext(ctx aws.Context, input *DisassociatePrincipalFromPortfolioInput, opts ...request.Option) (*DisassociatePrincipalFromPortfolioOutput, error)

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

See DisassociatePrincipalFromPortfolio 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 (*ServiceCatalog) DisassociateProductFromPortfolio

DisassociateProductFromPortfolio API operation for AWS Service Catalog.

Disassociates the specified product from the specified portfolio.

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 Service Catalog's API operation DisassociateProductFromPortfolio for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolio

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.DisassociateProductFromPortfolioInput{
		PortfolioId:    aws.String("Id"), // Required
		ProductId:      aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.DisassociateProductFromPortfolio(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) DisassociateProductFromPortfolioRequest

func (c *ServiceCatalog) DisassociateProductFromPortfolioRequest(input *DisassociateProductFromPortfolioInput) (req *request.Request, output *DisassociateProductFromPortfolioOutput)

DisassociateProductFromPortfolioRequest generates a "aws/request.Request" representing the client's request for the DisassociateProductFromPortfolio operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DisassociateProductFromPortfolio for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DisassociateProductFromPortfolio method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DisassociateProductFromPortfolioRequest method.
req, resp := client.DisassociateProductFromPortfolioRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolio

func (*ServiceCatalog) DisassociateProductFromPortfolioWithContext

func (c *ServiceCatalog) DisassociateProductFromPortfolioWithContext(ctx aws.Context, input *DisassociateProductFromPortfolioInput, opts ...request.Option) (*DisassociateProductFromPortfolioOutput, error)

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

See DisassociateProductFromPortfolio 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 (*ServiceCatalog) ListAcceptedPortfolioShares

ListAcceptedPortfolioShares API operation for AWS Service Catalog.

Lists details of all portfolios for which sharing was accepted by this account.

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 Service Catalog's API operation ListAcceptedPortfolioShares for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioShares

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.ListAcceptedPortfolioSharesInput{
		AcceptLanguage: aws.String("AcceptLanguage"),
		PageSize:       aws.Int64(1),
		PageToken:      aws.String("PageToken"),
	}
	resp, err := svc.ListAcceptedPortfolioShares(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) ListAcceptedPortfolioSharesRequest

func (c *ServiceCatalog) ListAcceptedPortfolioSharesRequest(input *ListAcceptedPortfolioSharesInput) (req *request.Request, output *ListAcceptedPortfolioSharesOutput)

ListAcceptedPortfolioSharesRequest generates a "aws/request.Request" representing the client's request for the ListAcceptedPortfolioShares operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListAcceptedPortfolioShares for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListAcceptedPortfolioShares method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListAcceptedPortfolioSharesRequest method.
req, resp := client.ListAcceptedPortfolioSharesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioShares

func (*ServiceCatalog) ListAcceptedPortfolioSharesWithContext

func (c *ServiceCatalog) ListAcceptedPortfolioSharesWithContext(ctx aws.Context, input *ListAcceptedPortfolioSharesInput, opts ...request.Option) (*ListAcceptedPortfolioSharesOutput, error)

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

See ListAcceptedPortfolioShares 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 (*ServiceCatalog) ListConstraintsForPortfolio

ListConstraintsForPortfolio API operation for AWS Service Catalog.

Retrieves detailed constraint information for the specified portfolio and product.

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 Service Catalog's API operation ListConstraintsForPortfolio for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolio

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.ListConstraintsForPortfolioInput{
		PortfolioId:    aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
		PageSize:       aws.Int64(1),
		PageToken:      aws.String("PageToken"),
		ProductId:      aws.String("Id"),
	}
	resp, err := svc.ListConstraintsForPortfolio(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) ListConstraintsForPortfolioRequest

func (c *ServiceCatalog) ListConstraintsForPortfolioRequest(input *ListConstraintsForPortfolioInput) (req *request.Request, output *ListConstraintsForPortfolioOutput)

ListConstraintsForPortfolioRequest generates a "aws/request.Request" representing the client's request for the ListConstraintsForPortfolio operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListConstraintsForPortfolio for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListConstraintsForPortfolio method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListConstraintsForPortfolioRequest method.
req, resp := client.ListConstraintsForPortfolioRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolio

func (*ServiceCatalog) ListConstraintsForPortfolioWithContext

func (c *ServiceCatalog) ListConstraintsForPortfolioWithContext(ctx aws.Context, input *ListConstraintsForPortfolioInput, opts ...request.Option) (*ListConstraintsForPortfolioOutput, error)

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

See ListConstraintsForPortfolio 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 (*ServiceCatalog) ListLaunchPaths

func (c *ServiceCatalog) ListLaunchPaths(input *ListLaunchPathsInput) (*ListLaunchPathsOutput, error)

ListLaunchPaths API operation for AWS Service Catalog.

Returns a paginated list of all paths to a specified product. A path is how the user has access to a specified product, and is necessary when provisioning a product. A path also determines the constraints put on the product.

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 Service Catalog's API operation ListLaunchPaths for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPaths

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.ListLaunchPathsInput{
		ProductId:      aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
		PageSize:       aws.Int64(1),
		PageToken:      aws.String("PageToken"),
	}
	resp, err := svc.ListLaunchPaths(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) ListLaunchPathsRequest

func (c *ServiceCatalog) ListLaunchPathsRequest(input *ListLaunchPathsInput) (req *request.Request, output *ListLaunchPathsOutput)

ListLaunchPathsRequest generates a "aws/request.Request" representing the client's request for the ListLaunchPaths operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListLaunchPaths for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListLaunchPaths method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListLaunchPathsRequest method.
req, resp := client.ListLaunchPathsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPaths

func (*ServiceCatalog) ListLaunchPathsWithContext

func (c *ServiceCatalog) ListLaunchPathsWithContext(ctx aws.Context, input *ListLaunchPathsInput, opts ...request.Option) (*ListLaunchPathsOutput, error)

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

See ListLaunchPaths 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 (*ServiceCatalog) ListPortfolioAccess

func (c *ServiceCatalog) ListPortfolioAccess(input *ListPortfolioAccessInput) (*ListPortfolioAccessOutput, error)

ListPortfolioAccess API operation for AWS Service Catalog.

Lists the account IDs that have been authorized sharing of the specified portfolio.

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 Service Catalog's API operation ListPortfolioAccess for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccess

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.ListPortfolioAccessInput{
		PortfolioId:    aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.ListPortfolioAccess(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) ListPortfolioAccessRequest

func (c *ServiceCatalog) ListPortfolioAccessRequest(input *ListPortfolioAccessInput) (req *request.Request, output *ListPortfolioAccessOutput)

ListPortfolioAccessRequest generates a "aws/request.Request" representing the client's request for the ListPortfolioAccess operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListPortfolioAccess for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListPortfolioAccess method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListPortfolioAccessRequest method.
req, resp := client.ListPortfolioAccessRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccess

func (*ServiceCatalog) ListPortfolioAccessWithContext

func (c *ServiceCatalog) ListPortfolioAccessWithContext(ctx aws.Context, input *ListPortfolioAccessInput, opts ...request.Option) (*ListPortfolioAccessOutput, error)

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

See ListPortfolioAccess 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 (*ServiceCatalog) ListPortfolios

func (c *ServiceCatalog) ListPortfolios(input *ListPortfoliosInput) (*ListPortfoliosOutput, error)

ListPortfolios API operation for AWS Service Catalog.

Lists all portfolios in the catalog.

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 Service Catalog's API operation ListPortfolios for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolios

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.ListPortfoliosInput{
		AcceptLanguage: aws.String("AcceptLanguage"),
		PageSize:       aws.Int64(1),
		PageToken:      aws.String("PageToken"),
	}
	resp, err := svc.ListPortfolios(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) ListPortfoliosForProduct

func (c *ServiceCatalog) ListPortfoliosForProduct(input *ListPortfoliosForProductInput) (*ListPortfoliosForProductOutput, error)

ListPortfoliosForProduct API operation for AWS Service Catalog.

Lists all portfolios that the specified product is associated with.

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 Service Catalog's API operation ListPortfoliosForProduct for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProduct

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.ListPortfoliosForProductInput{
		ProductId:      aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
		PageSize:       aws.Int64(1),
		PageToken:      aws.String("PageToken"),
	}
	resp, err := svc.ListPortfoliosForProduct(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) ListPortfoliosForProductRequest

func (c *ServiceCatalog) ListPortfoliosForProductRequest(input *ListPortfoliosForProductInput) (req *request.Request, output *ListPortfoliosForProductOutput)

ListPortfoliosForProductRequest generates a "aws/request.Request" representing the client's request for the ListPortfoliosForProduct operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListPortfoliosForProduct for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListPortfoliosForProduct method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListPortfoliosForProductRequest method.
req, resp := client.ListPortfoliosForProductRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProduct

func (*ServiceCatalog) ListPortfoliosForProductWithContext

func (c *ServiceCatalog) ListPortfoliosForProductWithContext(ctx aws.Context, input *ListPortfoliosForProductInput, opts ...request.Option) (*ListPortfoliosForProductOutput, error)

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

See ListPortfoliosForProduct 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 (*ServiceCatalog) ListPortfoliosRequest

func (c *ServiceCatalog) ListPortfoliosRequest(input *ListPortfoliosInput) (req *request.Request, output *ListPortfoliosOutput)

ListPortfoliosRequest generates a "aws/request.Request" representing the client's request for the ListPortfolios operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListPortfolios for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListPortfolios method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListPortfoliosRequest method.
req, resp := client.ListPortfoliosRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolios

func (*ServiceCatalog) ListPortfoliosWithContext

func (c *ServiceCatalog) ListPortfoliosWithContext(ctx aws.Context, input *ListPortfoliosInput, opts ...request.Option) (*ListPortfoliosOutput, error)

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

See ListPortfolios 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 (*ServiceCatalog) ListPrincipalsForPortfolio

ListPrincipalsForPortfolio API operation for AWS Service Catalog.

Lists all principal ARNs associated with the specified portfolio.

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 Service Catalog's API operation ListPrincipalsForPortfolio for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolio

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.ListPrincipalsForPortfolioInput{
		PortfolioId:    aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
		PageSize:       aws.Int64(1),
		PageToken:      aws.String("PageToken"),
	}
	resp, err := svc.ListPrincipalsForPortfolio(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) ListPrincipalsForPortfolioRequest

func (c *ServiceCatalog) ListPrincipalsForPortfolioRequest(input *ListPrincipalsForPortfolioInput) (req *request.Request, output *ListPrincipalsForPortfolioOutput)

ListPrincipalsForPortfolioRequest generates a "aws/request.Request" representing the client's request for the ListPrincipalsForPortfolio operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListPrincipalsForPortfolio for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListPrincipalsForPortfolio method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListPrincipalsForPortfolioRequest method.
req, resp := client.ListPrincipalsForPortfolioRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolio

func (*ServiceCatalog) ListPrincipalsForPortfolioWithContext

func (c *ServiceCatalog) ListPrincipalsForPortfolioWithContext(ctx aws.Context, input *ListPrincipalsForPortfolioInput, opts ...request.Option) (*ListPrincipalsForPortfolioOutput, error)

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

See ListPrincipalsForPortfolio 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 (*ServiceCatalog) ListProvisioningArtifacts

ListProvisioningArtifacts API operation for AWS Service Catalog.

Lists all provisioning artifacts associated with the specified product.

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 Service Catalog's API operation ListProvisioningArtifacts for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifacts

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.ListProvisioningArtifactsInput{
		ProductId:      aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.ListProvisioningArtifacts(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) ListProvisioningArtifactsRequest

func (c *ServiceCatalog) ListProvisioningArtifactsRequest(input *ListProvisioningArtifactsInput) (req *request.Request, output *ListProvisioningArtifactsOutput)

ListProvisioningArtifactsRequest generates a "aws/request.Request" representing the client's request for the ListProvisioningArtifacts operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListProvisioningArtifacts for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListProvisioningArtifacts method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListProvisioningArtifactsRequest method.
req, resp := client.ListProvisioningArtifactsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifacts

func (*ServiceCatalog) ListProvisioningArtifactsWithContext

func (c *ServiceCatalog) ListProvisioningArtifactsWithContext(ctx aws.Context, input *ListProvisioningArtifactsInput, opts ...request.Option) (*ListProvisioningArtifactsOutput, error)

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

See ListProvisioningArtifacts 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 (*ServiceCatalog) ListRecordHistory

func (c *ServiceCatalog) ListRecordHistory(input *ListRecordHistoryInput) (*ListRecordHistoryOutput, error)

ListRecordHistory API operation for AWS Service Catalog.

Returns a paginated list of all performed requests, in the form of RecordDetails objects that are filtered as specified.

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 Service Catalog's API operation ListRecordHistory for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistory

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.ListRecordHistoryInput{
		AcceptLanguage: aws.String("AcceptLanguage"),
		AccessLevelFilter: &servicecatalog.AccessLevelFilter{
			Key:   aws.String("AccessLevelFilterKey"),
			Value: aws.String("AccessLevelFilterValue"),
		},
		PageSize:  aws.Int64(1),
		PageToken: aws.String("PageToken"),
		SearchFilter: &servicecatalog.ListRecordHistorySearchFilter{
			Key:   aws.String("SearchFilterKey"),
			Value: aws.String("SearchFilterValue"),
		},
	}
	resp, err := svc.ListRecordHistory(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) ListRecordHistoryRequest

func (c *ServiceCatalog) ListRecordHistoryRequest(input *ListRecordHistoryInput) (req *request.Request, output *ListRecordHistoryOutput)

ListRecordHistoryRequest generates a "aws/request.Request" representing the client's request for the ListRecordHistory operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListRecordHistory for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListRecordHistory method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListRecordHistoryRequest method.
req, resp := client.ListRecordHistoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistory

func (*ServiceCatalog) ListRecordHistoryWithContext

func (c *ServiceCatalog) ListRecordHistoryWithContext(ctx aws.Context, input *ListRecordHistoryInput, opts ...request.Option) (*ListRecordHistoryOutput, error)

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

See ListRecordHistory 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 (*ServiceCatalog) ProvisionProduct

func (c *ServiceCatalog) ProvisionProduct(input *ProvisionProductInput) (*ProvisionProductOutput, error)

ProvisionProduct API operation for AWS Service Catalog.

Requests a Provision of a specified product. A ProvisionedProduct is a resourced instance for a product. For example, provisioning a CloudFormation-template-backed product results in launching a CloudFormation stack and all the underlying resources that come with it.

You can check the status of this request using the DescribeRecord operation.

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 Service Catalog's API operation ProvisionProduct for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeDuplicateResourceException "DuplicateResourceException" The specified resource is a duplicate.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProduct

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.ProvisionProductInput{
		ProductId:              aws.String("Id"),                     // Required
		ProvisionToken:         aws.String("IdempotencyToken"),       // Required
		ProvisionedProductName: aws.String("ProvisionedProductName"), // Required
		ProvisioningArtifactId: aws.String("Id"),                     // Required
		AcceptLanguage:         aws.String("AcceptLanguage"),
		NotificationArns: []*string{
			aws.String("NotificationArn"), // Required
			// More values...
		},
		PathId: aws.String("Id"),
		ProvisioningParameters: []*servicecatalog.ProvisioningParameter{
			{ // Required
				Key:   aws.String("ParameterKey"),
				Value: aws.String("ParameterValue"),
			},
			// More values...
		},
		Tags: []*servicecatalog.Tag{
			{ // Required
				Key:   aws.String("TagKey"),   // Required
				Value: aws.String("TagValue"), // Required
			},
			// More values...
		},
	}
	resp, err := svc.ProvisionProduct(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) ProvisionProductRequest

func (c *ServiceCatalog) ProvisionProductRequest(input *ProvisionProductInput) (req *request.Request, output *ProvisionProductOutput)

ProvisionProductRequest generates a "aws/request.Request" representing the client's request for the ProvisionProduct operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ProvisionProduct for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ProvisionProduct method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ProvisionProductRequest method.
req, resp := client.ProvisionProductRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProduct

func (*ServiceCatalog) ProvisionProductWithContext

func (c *ServiceCatalog) ProvisionProductWithContext(ctx aws.Context, input *ProvisionProductInput, opts ...request.Option) (*ProvisionProductOutput, error)

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

See ProvisionProduct 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 (*ServiceCatalog) RejectPortfolioShare

func (c *ServiceCatalog) RejectPortfolioShare(input *RejectPortfolioShareInput) (*RejectPortfolioShareOutput, error)

RejectPortfolioShare API operation for AWS Service Catalog.

Rejects an offer to share a portfolio.

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 Service Catalog's API operation RejectPortfolioShare for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShare

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.RejectPortfolioShareInput{
		PortfolioId:    aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
	}
	resp, err := svc.RejectPortfolioShare(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) RejectPortfolioShareRequest

func (c *ServiceCatalog) RejectPortfolioShareRequest(input *RejectPortfolioShareInput) (req *request.Request, output *RejectPortfolioShareOutput)

RejectPortfolioShareRequest generates a "aws/request.Request" representing the client's request for the RejectPortfolioShare operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See RejectPortfolioShare for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RejectPortfolioShare method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the RejectPortfolioShareRequest method.
req, resp := client.RejectPortfolioShareRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShare

func (*ServiceCatalog) RejectPortfolioShareWithContext

func (c *ServiceCatalog) RejectPortfolioShareWithContext(ctx aws.Context, input *RejectPortfolioShareInput, opts ...request.Option) (*RejectPortfolioShareOutput, error)

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

See RejectPortfolioShare 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 (*ServiceCatalog) ScanProvisionedProducts

func (c *ServiceCatalog) ScanProvisionedProducts(input *ScanProvisionedProductsInput) (*ScanProvisionedProductsOutput, error)

ScanProvisionedProducts API operation for AWS Service Catalog.

Returns a paginated list of all the ProvisionedProduct objects that are currently available (not terminated).

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 Service Catalog's API operation ScanProvisionedProducts for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProducts

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.ScanProvisionedProductsInput{
		AcceptLanguage: aws.String("AcceptLanguage"),
		AccessLevelFilter: &servicecatalog.AccessLevelFilter{
			Key:   aws.String("AccessLevelFilterKey"),
			Value: aws.String("AccessLevelFilterValue"),
		},
		PageSize:  aws.Int64(1),
		PageToken: aws.String("PageToken"),
	}
	resp, err := svc.ScanProvisionedProducts(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) ScanProvisionedProductsRequest

func (c *ServiceCatalog) ScanProvisionedProductsRequest(input *ScanProvisionedProductsInput) (req *request.Request, output *ScanProvisionedProductsOutput)

ScanProvisionedProductsRequest generates a "aws/request.Request" representing the client's request for the ScanProvisionedProducts operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ScanProvisionedProducts for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ScanProvisionedProducts method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ScanProvisionedProductsRequest method.
req, resp := client.ScanProvisionedProductsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProducts

func (*ServiceCatalog) ScanProvisionedProductsWithContext

func (c *ServiceCatalog) ScanProvisionedProductsWithContext(ctx aws.Context, input *ScanProvisionedProductsInput, opts ...request.Option) (*ScanProvisionedProductsOutput, error)

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

See ScanProvisionedProducts 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 (*ServiceCatalog) SearchProducts

func (c *ServiceCatalog) SearchProducts(input *SearchProductsInput) (*SearchProductsOutput, error)

SearchProducts API operation for AWS Service Catalog.

Returns a paginated list all of the Products objects to which the caller has access.

The output of this operation can be used as input for other operations, such as DescribeProductView.

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 Service Catalog's API operation SearchProducts for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProducts

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.SearchProductsInput{
		AcceptLanguage: aws.String("AcceptLanguage"),
		Filters: map[string][]*string{
			"Key": { // Required
				aws.String("ProductViewFilterValue"), // Required
				// More values...
			},
			// More values...
		},
		PageSize:  aws.Int64(1),
		PageToken: aws.String("PageToken"),
		SortBy:    aws.String("ProductViewSortBy"),
		SortOrder: aws.String("SortOrder"),
	}
	resp, err := svc.SearchProducts(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) SearchProductsAsAdmin

func (c *ServiceCatalog) SearchProductsAsAdmin(input *SearchProductsAsAdminInput) (*SearchProductsAsAdminOutput, error)

SearchProductsAsAdmin API operation for AWS Service Catalog.

Retrieves summary and status information about all products created within the caller's account. If a portfolio ID is provided, this operation retrieves information for only those products that are associated with the specified portfolio.

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 Service Catalog's API operation SearchProductsAsAdmin for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdmin

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.SearchProductsAsAdminInput{
		AcceptLanguage: aws.String("AcceptLanguage"),
		Filters: map[string][]*string{
			"Key": { // Required
				aws.String("ProductViewFilterValue"), // Required
				// More values...
			},
			// More values...
		},
		PageSize:      aws.Int64(1),
		PageToken:     aws.String("PageToken"),
		PortfolioId:   aws.String("Id"),
		ProductSource: aws.String("ProductSource"),
		SortBy:        aws.String("ProductViewSortBy"),
		SortOrder:     aws.String("SortOrder"),
	}
	resp, err := svc.SearchProductsAsAdmin(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) SearchProductsAsAdminRequest

func (c *ServiceCatalog) SearchProductsAsAdminRequest(input *SearchProductsAsAdminInput) (req *request.Request, output *SearchProductsAsAdminOutput)

SearchProductsAsAdminRequest generates a "aws/request.Request" representing the client's request for the SearchProductsAsAdmin operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See SearchProductsAsAdmin for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the SearchProductsAsAdmin method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the SearchProductsAsAdminRequest method.
req, resp := client.SearchProductsAsAdminRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdmin

func (*ServiceCatalog) SearchProductsAsAdminWithContext

func (c *ServiceCatalog) SearchProductsAsAdminWithContext(ctx aws.Context, input *SearchProductsAsAdminInput, opts ...request.Option) (*SearchProductsAsAdminOutput, error)

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

See SearchProductsAsAdmin 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 (*ServiceCatalog) SearchProductsRequest

func (c *ServiceCatalog) SearchProductsRequest(input *SearchProductsInput) (req *request.Request, output *SearchProductsOutput)

SearchProductsRequest generates a "aws/request.Request" representing the client's request for the SearchProducts operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See SearchProducts for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the SearchProducts method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the SearchProductsRequest method.
req, resp := client.SearchProductsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProducts

func (*ServiceCatalog) SearchProductsWithContext

func (c *ServiceCatalog) SearchProductsWithContext(ctx aws.Context, input *SearchProductsInput, opts ...request.Option) (*SearchProductsOutput, error)

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

See SearchProducts 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 (*ServiceCatalog) TerminateProvisionedProduct

TerminateProvisionedProduct API operation for AWS Service Catalog.

Requests termination of an existing ProvisionedProduct object. If there are Tags associated with the object, they are terminated when the ProvisionedProduct object is terminated.

This operation does not delete any records associated with the ProvisionedProduct object.

You can check the status of this request using the DescribeRecord operation.

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 Service Catalog's API operation TerminateProvisionedProduct for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProduct

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.TerminateProvisionedProductInput{
		TerminateToken:         aws.String("IdempotencyToken"), // Required
		AcceptLanguage:         aws.String("AcceptLanguage"),
		IgnoreErrors:           aws.Bool(true),
		ProvisionedProductId:   aws.String("Id"),
		ProvisionedProductName: aws.String("ProvisionedProductNameOrArn"),
	}
	resp, err := svc.TerminateProvisionedProduct(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) TerminateProvisionedProductRequest

func (c *ServiceCatalog) TerminateProvisionedProductRequest(input *TerminateProvisionedProductInput) (req *request.Request, output *TerminateProvisionedProductOutput)

TerminateProvisionedProductRequest generates a "aws/request.Request" representing the client's request for the TerminateProvisionedProduct operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See TerminateProvisionedProduct for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the TerminateProvisionedProduct method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the TerminateProvisionedProductRequest method.
req, resp := client.TerminateProvisionedProductRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProduct

func (*ServiceCatalog) TerminateProvisionedProductWithContext

func (c *ServiceCatalog) TerminateProvisionedProductWithContext(ctx aws.Context, input *TerminateProvisionedProductInput, opts ...request.Option) (*TerminateProvisionedProductOutput, error)

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

See TerminateProvisionedProduct 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 (*ServiceCatalog) UpdateConstraint

func (c *ServiceCatalog) UpdateConstraint(input *UpdateConstraintInput) (*UpdateConstraintOutput, error)

UpdateConstraint API operation for AWS Service Catalog.

Updates an existing constraint.

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 Service Catalog's API operation UpdateConstraint for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraint

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.UpdateConstraintInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
		Description:    aws.String("ConstraintDescription"),
	}
	resp, err := svc.UpdateConstraint(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) UpdateConstraintRequest

func (c *ServiceCatalog) UpdateConstraintRequest(input *UpdateConstraintInput) (req *request.Request, output *UpdateConstraintOutput)

UpdateConstraintRequest generates a "aws/request.Request" representing the client's request for the UpdateConstraint operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateConstraint for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateConstraint method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateConstraintRequest method.
req, resp := client.UpdateConstraintRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraint

func (*ServiceCatalog) UpdateConstraintWithContext

func (c *ServiceCatalog) UpdateConstraintWithContext(ctx aws.Context, input *UpdateConstraintInput, opts ...request.Option) (*UpdateConstraintOutput, error)

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

See UpdateConstraint 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 (*ServiceCatalog) UpdatePortfolio

func (c *ServiceCatalog) UpdatePortfolio(input *UpdatePortfolioInput) (*UpdatePortfolioOutput, error)

UpdatePortfolio API operation for AWS Service Catalog.

Updates the specified portfolio's details. This operation will not work with a product that has been shared with you.

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 Service Catalog's API operation UpdatePortfolio for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeLimitExceededException "LimitExceededException" The current limits of the service would have been exceeded by this operation. Reduce the resource use or increase the service limits and retry the operation.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolio

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.UpdatePortfolioInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
		AddTags: []*servicecatalog.Tag{
			{ // Required
				Key:   aws.String("TagKey"),   // Required
				Value: aws.String("TagValue"), // Required
			},
			// More values...
		},
		Description:  aws.String("PortfolioDescription"),
		DisplayName:  aws.String("PortfolioDisplayName"),
		ProviderName: aws.String("ProviderName"),
		RemoveTags: []*string{
			aws.String("TagKey"), // Required
			// More values...
		},
	}
	resp, err := svc.UpdatePortfolio(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) UpdatePortfolioRequest

func (c *ServiceCatalog) UpdatePortfolioRequest(input *UpdatePortfolioInput) (req *request.Request, output *UpdatePortfolioOutput)

UpdatePortfolioRequest generates a "aws/request.Request" representing the client's request for the UpdatePortfolio operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdatePortfolio for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdatePortfolio method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdatePortfolioRequest method.
req, resp := client.UpdatePortfolioRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolio

func (*ServiceCatalog) UpdatePortfolioWithContext

func (c *ServiceCatalog) UpdatePortfolioWithContext(ctx aws.Context, input *UpdatePortfolioInput, opts ...request.Option) (*UpdatePortfolioOutput, error)

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

See UpdatePortfolio 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 (*ServiceCatalog) UpdateProduct

func (c *ServiceCatalog) UpdateProduct(input *UpdateProductInput) (*UpdateProductOutput, error)

UpdateProduct API operation for AWS Service Catalog.

Updates an existing product.

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 Service Catalog's API operation UpdateProduct for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProduct

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.UpdateProductInput{
		Id:             aws.String("Id"), // Required
		AcceptLanguage: aws.String("AcceptLanguage"),
		AddTags: []*servicecatalog.Tag{
			{ // Required
				Key:   aws.String("TagKey"),   // Required
				Value: aws.String("TagValue"), // Required
			},
			// More values...
		},
		Description: aws.String("ProductViewShortDescription"),
		Distributor: aws.String("ProductViewOwner"),
		Name:        aws.String("ProductViewName"),
		Owner:       aws.String("ProductViewOwner"),
		RemoveTags: []*string{
			aws.String("TagKey"), // Required
			// More values...
		},
		SupportDescription: aws.String("SupportDescription"),
		SupportEmail:       aws.String("SupportEmail"),
		SupportUrl:         aws.String("SupportUrl"),
	}
	resp, err := svc.UpdateProduct(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) UpdateProductRequest

func (c *ServiceCatalog) UpdateProductRequest(input *UpdateProductInput) (req *request.Request, output *UpdateProductOutput)

UpdateProductRequest generates a "aws/request.Request" representing the client's request for the UpdateProduct operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateProduct for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateProduct method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateProductRequest method.
req, resp := client.UpdateProductRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProduct

func (*ServiceCatalog) UpdateProductWithContext

func (c *ServiceCatalog) UpdateProductWithContext(ctx aws.Context, input *UpdateProductInput, opts ...request.Option) (*UpdateProductOutput, error)

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

See UpdateProduct 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 (*ServiceCatalog) UpdateProvisionedProduct

func (c *ServiceCatalog) UpdateProvisionedProduct(input *UpdateProvisionedProductInput) (*UpdateProvisionedProductOutput, error)

UpdateProvisionedProduct API operation for AWS Service Catalog.

Requests updates to the configuration of an existing ProvisionedProduct object. If there are tags associated with the object, they cannot be updated or added with this operation. Depending on the specific updates requested, this operation may update with no interruption, with some interruption, or replace the ProvisionedProduct object entirely.

You can check the status of this request using the DescribeRecord operation.

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 Service Catalog's API operation UpdateProvisionedProduct for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProduct

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.UpdateProvisionedProductInput{
		UpdateToken:            aws.String("IdempotencyToken"), // Required
		AcceptLanguage:         aws.String("AcceptLanguage"),
		PathId:                 aws.String("Id"),
		ProductId:              aws.String("Id"),
		ProvisionedProductId:   aws.String("Id"),
		ProvisionedProductName: aws.String("ProvisionedProductNameOrArn"),
		ProvisioningArtifactId: aws.String("Id"),
		ProvisioningParameters: []*servicecatalog.UpdateProvisioningParameter{
			{ // Required
				Key:              aws.String("ParameterKey"),
				UsePreviousValue: aws.Bool(true),
				Value:            aws.String("ParameterValue"),
			},
			// More values...
		},
	}
	resp, err := svc.UpdateProvisionedProduct(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) UpdateProvisionedProductRequest

func (c *ServiceCatalog) UpdateProvisionedProductRequest(input *UpdateProvisionedProductInput) (req *request.Request, output *UpdateProvisionedProductOutput)

UpdateProvisionedProductRequest generates a "aws/request.Request" representing the client's request for the UpdateProvisionedProduct operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateProvisionedProduct for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateProvisionedProduct method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateProvisionedProductRequest method.
req, resp := client.UpdateProvisionedProductRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProduct

func (*ServiceCatalog) UpdateProvisionedProductWithContext

func (c *ServiceCatalog) UpdateProvisionedProductWithContext(ctx aws.Context, input *UpdateProvisionedProductInput, opts ...request.Option) (*UpdateProvisionedProductOutput, error)

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

See UpdateProvisionedProduct 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 (*ServiceCatalog) UpdateProvisioningArtifact

UpdateProvisioningArtifact API operation for AWS Service Catalog.

Updates an existing provisioning artifact's information. This operation will not work on a provisioning artifact associated with a product that has been shared with you.

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 Service Catalog's API operation UpdateProvisioningArtifact for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParametersException "InvalidParametersException" One or more parameters provided to the operation are invalid.

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifact

Example
package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/servicecatalog"
)

func main() {
	sess := session.Must(session.NewSession())

	svc := servicecatalog.New(sess)

	params := &servicecatalog.UpdateProvisioningArtifactInput{
		ProductId:              aws.String("Id"), // Required
		ProvisioningArtifactId: aws.String("Id"), // Required
		AcceptLanguage:         aws.String("AcceptLanguage"),
		Description:            aws.String("ProvisioningArtifactDescription"),
		Name:                   aws.String("ProvisioningArtifactName"),
	}
	resp, err := svc.UpdateProvisioningArtifact(params)

	if err != nil {
		// Print the error, cast err to awserr.Error to get the Code and
		// Message from an error.
		fmt.Println(err.Error())
		return
	}

	// Pretty-print the response data.
	fmt.Println(resp)
}
Output:

func (*ServiceCatalog) UpdateProvisioningArtifactRequest

func (c *ServiceCatalog) UpdateProvisioningArtifactRequest(input *UpdateProvisioningArtifactInput) (req *request.Request, output *UpdateProvisioningArtifactOutput)

UpdateProvisioningArtifactRequest generates a "aws/request.Request" representing the client's request for the UpdateProvisioningArtifact operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateProvisioningArtifact for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateProvisioningArtifact method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateProvisioningArtifactRequest method.
req, resp := client.UpdateProvisioningArtifactRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifact

func (*ServiceCatalog) UpdateProvisioningArtifactWithContext

func (c *ServiceCatalog) UpdateProvisioningArtifactWithContext(ctx aws.Context, input *UpdateProvisioningArtifactInput, opts ...request.Option) (*UpdateProvisioningArtifactOutput, error)

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

See UpdateProvisioningArtifact 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 Tag

type Tag struct {

	// The ProvisioningArtifactParameter.TagKey parameter from DescribeProvisioningParameters.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// The esired value for this key.
	//
	// Value is a required field
	Value *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Key/value pairs to associate with this provisioning. These tags are entirely discretionary and are propagated to the resources created in the provisioning. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/Tag

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

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

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TerminateProvisionedProductInput

type TerminateProvisionedProductInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// If set to true, AWS Service Catalog stops managing the specified ProvisionedProduct
	// object even if it cannot delete the underlying resources.
	IgnoreErrors *bool `type:"boolean"`

	// The identifier of the ProvisionedProduct object to terminate. You must specify
	// either ProvisionedProductName or ProvisionedProductId, but not both.
	ProvisionedProductId *string `min:"1" type:"string"`

	// The name of the ProvisionedProduct object to terminate. You must specify
	// either ProvisionedProductName or ProvisionedProductId, but not both.
	ProvisionedProductName *string `min:"1" type:"string"`

	// An idempotency token that uniquely identifies the termination request. This
	// token is only valid during the termination process. After the ProvisionedProduct
	// object is terminated, further requests to terminate the same ProvisionedProduct
	// object always return ResourceNotFound regardless of the value of TerminateToken.
	//
	// TerminateToken is a required field
	TerminateToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProductInput

func (TerminateProvisionedProductInput) GoString

GoString returns the string representation

func (*TerminateProvisionedProductInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*TerminateProvisionedProductInput) SetIgnoreErrors

SetIgnoreErrors sets the IgnoreErrors field's value.

func (*TerminateProvisionedProductInput) SetProvisionedProductId

SetProvisionedProductId sets the ProvisionedProductId field's value.

func (*TerminateProvisionedProductInput) SetProvisionedProductName

SetProvisionedProductName sets the ProvisionedProductName field's value.

func (*TerminateProvisionedProductInput) SetTerminateToken

SetTerminateToken sets the TerminateToken field's value.

func (TerminateProvisionedProductInput) String

String returns the string representation

func (*TerminateProvisionedProductInput) Validate

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

type TerminateProvisionedProductOutput

type TerminateProvisionedProductOutput struct {

	// The detailed result of the TerminateProvisionedProduct request, containing
	// the inputs made to that request, the current state of the request, a pointer
	// to the ProvisionedProduct object that the request is modifying, and a list
	// of any errors that the request encountered.
	RecordDetail *RecordDetail `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProductOutput

func (TerminateProvisionedProductOutput) GoString

GoString returns the string representation

func (*TerminateProvisionedProductOutput) SetRecordDetail

SetRecordDetail sets the RecordDetail field's value.

func (TerminateProvisionedProductOutput) String

String returns the string representation

type UpdateConstraintInput

type UpdateConstraintInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The updated text description of the constraint.
	Description *string `type:"string"`

	// The identifier of the constraint to update.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraintInput

func (UpdateConstraintInput) GoString

func (s UpdateConstraintInput) GoString() string

GoString returns the string representation

func (*UpdateConstraintInput) SetAcceptLanguage

func (s *UpdateConstraintInput) SetAcceptLanguage(v string) *UpdateConstraintInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*UpdateConstraintInput) SetDescription

func (s *UpdateConstraintInput) SetDescription(v string) *UpdateConstraintInput

SetDescription sets the Description field's value.

func (*UpdateConstraintInput) SetId

SetId sets the Id field's value.

func (UpdateConstraintInput) String

func (s UpdateConstraintInput) String() string

String returns the string representation

func (*UpdateConstraintInput) Validate

func (s *UpdateConstraintInput) Validate() error

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

type UpdateConstraintOutput

type UpdateConstraintOutput struct {

	// The resulting detailed constraint information.
	ConstraintDetail *ConstraintDetail `type:"structure"`

	// The resulting updated constraint parameters.
	ConstraintParameters *string `type:"string"`

	// The status of the current request.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraintOutput

func (UpdateConstraintOutput) GoString

func (s UpdateConstraintOutput) GoString() string

GoString returns the string representation

func (*UpdateConstraintOutput) SetConstraintDetail

SetConstraintDetail sets the ConstraintDetail field's value.

func (*UpdateConstraintOutput) SetConstraintParameters

func (s *UpdateConstraintOutput) SetConstraintParameters(v string) *UpdateConstraintOutput

SetConstraintParameters sets the ConstraintParameters field's value.

func (*UpdateConstraintOutput) SetStatus

SetStatus sets the Status field's value.

func (UpdateConstraintOutput) String

func (s UpdateConstraintOutput) String() string

String returns the string representation

type UpdatePortfolioInput

type UpdatePortfolioInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// Tags to add to the existing list of tags associated with the portfolio.
	AddTags []*Tag `type:"list"`

	// The updated text description of the portfolio.
	Description *string `type:"string"`

	// The name to use for display purposes.
	DisplayName *string `min:"1" type:"string"`

	// The identifier of the portfolio for the update request.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`

	// The updated name of the portfolio provider.
	ProviderName *string `min:"1" type:"string"`

	// Tags to remove from the existing list of tags associated with the portfolio.
	RemoveTags []*string `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioInput

func (UpdatePortfolioInput) GoString

func (s UpdatePortfolioInput) GoString() string

GoString returns the string representation

func (*UpdatePortfolioInput) SetAcceptLanguage

func (s *UpdatePortfolioInput) SetAcceptLanguage(v string) *UpdatePortfolioInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*UpdatePortfolioInput) SetAddTags

func (s *UpdatePortfolioInput) SetAddTags(v []*Tag) *UpdatePortfolioInput

SetAddTags sets the AddTags field's value.

func (*UpdatePortfolioInput) SetDescription

func (s *UpdatePortfolioInput) SetDescription(v string) *UpdatePortfolioInput

SetDescription sets the Description field's value.

func (*UpdatePortfolioInput) SetDisplayName

func (s *UpdatePortfolioInput) SetDisplayName(v string) *UpdatePortfolioInput

SetDisplayName sets the DisplayName field's value.

func (*UpdatePortfolioInput) SetId

SetId sets the Id field's value.

func (*UpdatePortfolioInput) SetProviderName

func (s *UpdatePortfolioInput) SetProviderName(v string) *UpdatePortfolioInput

SetProviderName sets the ProviderName field's value.

func (*UpdatePortfolioInput) SetRemoveTags

func (s *UpdatePortfolioInput) SetRemoveTags(v []*string) *UpdatePortfolioInput

SetRemoveTags sets the RemoveTags field's value.

func (UpdatePortfolioInput) String

func (s UpdatePortfolioInput) String() string

String returns the string representation

func (*UpdatePortfolioInput) Validate

func (s *UpdatePortfolioInput) Validate() error

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

type UpdatePortfolioOutput

type UpdatePortfolioOutput struct {

	// The resulting detailed portfolio information.
	PortfolioDetail *PortfolioDetail `type:"structure"`

	// Tags associated with the portfolio.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioOutput

func (UpdatePortfolioOutput) GoString

func (s UpdatePortfolioOutput) GoString() string

GoString returns the string representation

func (*UpdatePortfolioOutput) SetPortfolioDetail

func (s *UpdatePortfolioOutput) SetPortfolioDetail(v *PortfolioDetail) *UpdatePortfolioOutput

SetPortfolioDetail sets the PortfolioDetail field's value.

func (*UpdatePortfolioOutput) SetTags

SetTags sets the Tags field's value.

func (UpdatePortfolioOutput) String

func (s UpdatePortfolioOutput) String() string

String returns the string representation

type UpdateProductInput

type UpdateProductInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// Tags to add to the existing list of tags associated with the product.
	AddTags []*Tag `type:"list"`

	// The updated text description of the product.
	Description *string `type:"string"`

	// The updated distributor of the product.
	Distributor *string `type:"string"`

	// The identifier of the product for the update request.
	//
	// Id is a required field
	Id *string `min:"1" type:"string" required:"true"`

	// The updated product name.
	Name *string `type:"string"`

	// The updated owner of the product.
	Owner *string `type:"string"`

	// Tags to remove from the existing list of tags associated with the product.
	RemoveTags []*string `type:"list"`

	// The updated support description for the product.
	SupportDescription *string `type:"string"`

	// The updated support email for the product.
	SupportEmail *string `type:"string"`

	// The updated support URL for the product.
	SupportUrl *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProductInput

func (UpdateProductInput) GoString

func (s UpdateProductInput) GoString() string

GoString returns the string representation

func (*UpdateProductInput) SetAcceptLanguage

func (s *UpdateProductInput) SetAcceptLanguage(v string) *UpdateProductInput

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*UpdateProductInput) SetAddTags

func (s *UpdateProductInput) SetAddTags(v []*Tag) *UpdateProductInput

SetAddTags sets the AddTags field's value.

func (*UpdateProductInput) SetDescription

func (s *UpdateProductInput) SetDescription(v string) *UpdateProductInput

SetDescription sets the Description field's value.

func (*UpdateProductInput) SetDistributor

func (s *UpdateProductInput) SetDistributor(v string) *UpdateProductInput

SetDistributor sets the Distributor field's value.

func (*UpdateProductInput) SetId

SetId sets the Id field's value.

func (*UpdateProductInput) SetName

SetName sets the Name field's value.

func (*UpdateProductInput) SetOwner

SetOwner sets the Owner field's value.

func (*UpdateProductInput) SetRemoveTags

func (s *UpdateProductInput) SetRemoveTags(v []*string) *UpdateProductInput

SetRemoveTags sets the RemoveTags field's value.

func (*UpdateProductInput) SetSupportDescription

func (s *UpdateProductInput) SetSupportDescription(v string) *UpdateProductInput

SetSupportDescription sets the SupportDescription field's value.

func (*UpdateProductInput) SetSupportEmail

func (s *UpdateProductInput) SetSupportEmail(v string) *UpdateProductInput

SetSupportEmail sets the SupportEmail field's value.

func (*UpdateProductInput) SetSupportUrl

func (s *UpdateProductInput) SetSupportUrl(v string) *UpdateProductInput

SetSupportUrl sets the SupportUrl field's value.

func (UpdateProductInput) String

func (s UpdateProductInput) String() string

String returns the string representation

func (*UpdateProductInput) Validate

func (s *UpdateProductInput) Validate() error

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

type UpdateProductOutput

type UpdateProductOutput struct {

	// The resulting detailed product view information.
	ProductViewDetail *ProductViewDetail `type:"structure"`

	// Tags associated with the product.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProductOutput

func (UpdateProductOutput) GoString

func (s UpdateProductOutput) GoString() string

GoString returns the string representation

func (*UpdateProductOutput) SetProductViewDetail

func (s *UpdateProductOutput) SetProductViewDetail(v *ProductViewDetail) *UpdateProductOutput

SetProductViewDetail sets the ProductViewDetail field's value.

func (*UpdateProductOutput) SetTags

func (s *UpdateProductOutput) SetTags(v []*Tag) *UpdateProductOutput

SetTags sets the Tags field's value.

func (UpdateProductOutput) String

func (s UpdateProductOutput) String() string

String returns the string representation

type UpdateProvisionedProductInput

type UpdateProvisionedProductInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The identifier of the path to use in the updated ProvisionedProduct object.
	// This value is optional if the product has a default path, and is required
	// if there is more than one path for the specified product.
	PathId *string `min:"1" type:"string"`

	// The identifier of the ProvisionedProduct object.
	ProductId *string `min:"1" type:"string"`

	// The identifier of the ProvisionedProduct object to update. You must specify
	// either ProvisionedProductName or ProvisionedProductId, but not both.
	ProvisionedProductId *string `min:"1" type:"string"`

	// The updated name of the ProvisionedProduct object . You must specify either
	// ProvisionedProductName or ProvisionedProductId, but not both.
	ProvisionedProductName *string `min:"1" type:"string"`

	// The provisioning artifact identifier for this product.
	ProvisioningArtifactId *string `min:"1" type:"string"`

	// A list of ProvisioningParameter objects used to update the ProvisionedProduct
	// object.
	ProvisioningParameters []*UpdateProvisioningParameter `type:"list"`

	// The idempotency token that uniquely identifies the provisioning update request.
	//
	// UpdateToken is a required field
	UpdateToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductInput

func (UpdateProvisionedProductInput) GoString

GoString returns the string representation

func (*UpdateProvisionedProductInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*UpdateProvisionedProductInput) SetPathId

SetPathId sets the PathId field's value.

func (*UpdateProvisionedProductInput) SetProductId

SetProductId sets the ProductId field's value.

func (*UpdateProvisionedProductInput) SetProvisionedProductId

SetProvisionedProductId sets the ProvisionedProductId field's value.

func (*UpdateProvisionedProductInput) SetProvisionedProductName

func (s *UpdateProvisionedProductInput) SetProvisionedProductName(v string) *UpdateProvisionedProductInput

SetProvisionedProductName sets the ProvisionedProductName field's value.

func (*UpdateProvisionedProductInput) SetProvisioningArtifactId

func (s *UpdateProvisionedProductInput) SetProvisioningArtifactId(v string) *UpdateProvisionedProductInput

SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.

func (*UpdateProvisionedProductInput) SetProvisioningParameters

SetProvisioningParameters sets the ProvisioningParameters field's value.

func (*UpdateProvisionedProductInput) SetUpdateToken

SetUpdateToken sets the UpdateToken field's value.

func (UpdateProvisionedProductInput) String

String returns the string representation

func (*UpdateProvisionedProductInput) Validate

func (s *UpdateProvisionedProductInput) Validate() error

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

type UpdateProvisionedProductOutput

type UpdateProvisionedProductOutput struct {

	// The detailed result of the UpdateProvisionedProduct request, containing the
	// inputs made to that request, the current state of the request, a pointer
	// to the ProvisionedProduct object that the request is modifying, and a list
	// of any errors that the request encountered.
	RecordDetail *RecordDetail `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductOutput

func (UpdateProvisionedProductOutput) GoString

GoString returns the string representation

func (*UpdateProvisionedProductOutput) SetRecordDetail

SetRecordDetail sets the RecordDetail field's value.

func (UpdateProvisionedProductOutput) String

String returns the string representation

type UpdateProvisioningArtifactInput

type UpdateProvisioningArtifactInput struct {

	// The language code to use for this operation. Supported language codes are
	// as follows:
	//
	// "en" (English)
	//
	// "jp" (Japanese)
	//
	// "zh" (Chinese)
	//
	// If no code is specified, "en" is used as the default.
	AcceptLanguage *string `type:"string"`

	// The updated text description of the provisioning artifact.
	Description *string `type:"string"`

	// The updated name of the provisioning artifact.
	Name *string `type:"string"`

	// The product identifier.
	//
	// ProductId is a required field
	ProductId *string `min:"1" type:"string" required:"true"`

	// The identifier of the provisioning artifact for the update request.
	//
	// ProvisioningArtifactId is a required field
	ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifactInput

func (UpdateProvisioningArtifactInput) GoString

GoString returns the string representation

func (*UpdateProvisioningArtifactInput) SetAcceptLanguage

SetAcceptLanguage sets the AcceptLanguage field's value.

func (*UpdateProvisioningArtifactInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateProvisioningArtifactInput) SetName

SetName sets the Name field's value.

func (*UpdateProvisioningArtifactInput) SetProductId

SetProductId sets the ProductId field's value.

func (*UpdateProvisioningArtifactInput) SetProvisioningArtifactId

SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.

func (UpdateProvisioningArtifactInput) String

String returns the string representation

func (*UpdateProvisioningArtifactInput) Validate

func (s *UpdateProvisioningArtifactInput) Validate() error

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

type UpdateProvisioningArtifactOutput

type UpdateProvisioningArtifactOutput struct {

	// Additional information about the provisioning artifact update request.
	Info map[string]*string `min:"1" type:"map"`

	// The resulting detailed provisioning artifact information.
	ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"`

	// The status of the current request.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifactOutput

func (UpdateProvisioningArtifactOutput) GoString

GoString returns the string representation

func (*UpdateProvisioningArtifactOutput) SetInfo

SetInfo sets the Info field's value.

func (*UpdateProvisioningArtifactOutput) SetProvisioningArtifactDetail

SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value.

func (*UpdateProvisioningArtifactOutput) SetStatus

SetStatus sets the Status field's value.

func (UpdateProvisioningArtifactOutput) String

String returns the string representation

type UpdateProvisioningParameter

type UpdateProvisioningParameter struct {

	// The ProvisioningArtifactParameter.ParameterKey parameter from DescribeProvisioningParameters.
	Key *string `min:"1" type:"string"`

	// If true, uses the currently set value for Key, ignoring UpdateProvisioningParameter.Value.
	UsePreviousValue *bool `type:"boolean"`

	// The value to use for updating the product provisioning. Any constraints on
	// this value can be found in the ProvisioningArtifactParameter parameter for
	// Key.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

The parameter key/value pair used to update a ProvisionedProduct object. If UsePreviousValue is set to true, Value is ignored and the value for Key is kept as previously set (current value). Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningParameter

func (UpdateProvisioningParameter) GoString

func (s UpdateProvisioningParameter) GoString() string

GoString returns the string representation

func (*UpdateProvisioningParameter) SetKey

SetKey sets the Key field's value.

func (*UpdateProvisioningParameter) SetUsePreviousValue

SetUsePreviousValue sets the UsePreviousValue field's value.

func (*UpdateProvisioningParameter) SetValue

SetValue sets the Value field's value.

func (UpdateProvisioningParameter) String

String returns the string representation

func (*UpdateProvisioningParameter) Validate

func (s *UpdateProvisioningParameter) Validate() error

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

type UsageInstruction

type UsageInstruction struct {

	// The usage instruction type for the value.
	Type *string `type:"string"`

	// The usage instruction value for this type.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Additional information provided by the administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UsageInstruction

func (UsageInstruction) GoString

func (s UsageInstruction) GoString() string

GoString returns the string representation

func (*UsageInstruction) SetType

func (s *UsageInstruction) SetType(v string) *UsageInstruction

SetType sets the Type field's value.

func (*UsageInstruction) SetValue

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

SetValue sets the Value field's value.

func (UsageInstruction) String

func (s UsageInstruction) String() string

String returns the string representation

Directories

Path Synopsis
Package servicecatalogiface provides an interface to enable mocking the AWS Service Catalog service client for testing your code.
Package servicecatalogiface provides an interface to enable mocking the AWS Service Catalog service client for testing your code.

Jump to

Keyboard shortcuts

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