appconfig

package
v1.50.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 37

Documentation

Overview

Package appconfig provides the client and types for making API requests to Amazon AppConfig.

Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, and quickly deploy application configurations. AppConfig supports controlled deployments to applications of any size and includes built-in validation checks and monitoring. You can use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers, mobile applications, or IoT devices.

To prevent errors when deploying application configurations, especially for production systems where a simple typo could cause an unexpected outage, AppConfig includes validators. A validator provides a syntactic or semantic check to ensure that the configuration you want to deploy works as intended. To validate your application configuration data, you provide a schema or an Amazon Web Services Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.

During a configuration deployment, AppConfig monitors the application to ensure that the deployment is successful. If the system encounters an error, AppConfig rolls back the change to minimize impact for your application users. You can configure a deployment strategy for each application or environment that includes deployment criteria, including velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment triggers an alarm, AppConfig automatically rolls back to the previous version.

AppConfig supports multiple use cases. Here are some examples:

  • Feature flags: Use AppConfig to turn on new features that require a timely deployment, such as a product launch or announcement.

  • Application tuning: Use AppConfig to carefully introduce changes to your application that can only be tested with production traffic.

  • Allow list: Use AppConfig to allow premium subscribers to access paid content.

  • Operational issues: Use AppConfig to reduce stress on your application when a dependency or other external factor impacts the system.

This reference is intended to be used with the AppConfig User Guide (http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html).

See https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09 for more information on this service.

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

Using the Client

To contact Amazon AppConfig with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

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

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon AppConfig client AppConfig for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/appconfig/#New

Index

Examples

Constants

View Source
const (
	// ActionPointPreCreateHostedConfigurationVersion is a ActionPoint enum value
	ActionPointPreCreateHostedConfigurationVersion = "PRE_CREATE_HOSTED_CONFIGURATION_VERSION"

	// ActionPointPreStartDeployment is a ActionPoint enum value
	ActionPointPreStartDeployment = "PRE_START_DEPLOYMENT"

	// ActionPointOnDeploymentStart is a ActionPoint enum value
	ActionPointOnDeploymentStart = "ON_DEPLOYMENT_START"

	// ActionPointOnDeploymentStep is a ActionPoint enum value
	ActionPointOnDeploymentStep = "ON_DEPLOYMENT_STEP"

	// ActionPointOnDeploymentBaking is a ActionPoint enum value
	ActionPointOnDeploymentBaking = "ON_DEPLOYMENT_BAKING"

	// ActionPointOnDeploymentComplete is a ActionPoint enum value
	ActionPointOnDeploymentComplete = "ON_DEPLOYMENT_COMPLETE"

	// ActionPointOnDeploymentRolledBack is a ActionPoint enum value
	ActionPointOnDeploymentRolledBack = "ON_DEPLOYMENT_ROLLED_BACK"
)
View Source
const (
	// DeploymentEventTypePercentageUpdated is a DeploymentEventType enum value
	DeploymentEventTypePercentageUpdated = "PERCENTAGE_UPDATED"

	// DeploymentEventTypeRollbackStarted is a DeploymentEventType enum value
	DeploymentEventTypeRollbackStarted = "ROLLBACK_STARTED"

	// DeploymentEventTypeRollbackCompleted is a DeploymentEventType enum value
	DeploymentEventTypeRollbackCompleted = "ROLLBACK_COMPLETED"

	// DeploymentEventTypeBakeTimeStarted is a DeploymentEventType enum value
	DeploymentEventTypeBakeTimeStarted = "BAKE_TIME_STARTED"

	// DeploymentEventTypeDeploymentStarted is a DeploymentEventType enum value
	DeploymentEventTypeDeploymentStarted = "DEPLOYMENT_STARTED"

	// DeploymentEventTypeDeploymentCompleted is a DeploymentEventType enum value
	DeploymentEventTypeDeploymentCompleted = "DEPLOYMENT_COMPLETED"
)
View Source
const (
	// DeploymentStateBaking is a DeploymentState enum value
	DeploymentStateBaking = "BAKING"

	// DeploymentStateValidating is a DeploymentState enum value
	DeploymentStateValidating = "VALIDATING"

	// DeploymentStateDeploying is a DeploymentState enum value
	DeploymentStateDeploying = "DEPLOYING"

	// DeploymentStateComplete is a DeploymentState enum value
	DeploymentStateComplete = "COMPLETE"

	// DeploymentStateRollingBack is a DeploymentState enum value
	DeploymentStateRollingBack = "ROLLING_BACK"

	// DeploymentStateRolledBack is a DeploymentState enum value
	DeploymentStateRolledBack = "ROLLED_BACK"
)
View Source
const (
	// EnvironmentStateReadyForDeployment is a EnvironmentState enum value
	EnvironmentStateReadyForDeployment = "READY_FOR_DEPLOYMENT"

	// EnvironmentStateDeploying is a EnvironmentState enum value
	EnvironmentStateDeploying = "DEPLOYING"

	// EnvironmentStateRollingBack is a EnvironmentState enum value
	EnvironmentStateRollingBack = "ROLLING_BACK"

	// EnvironmentStateRolledBack is a EnvironmentState enum value
	EnvironmentStateRolledBack = "ROLLED_BACK"
)
View Source
const (
	// GrowthTypeLinear is a GrowthType enum value
	GrowthTypeLinear = "LINEAR"

	// GrowthTypeExponential is a GrowthType enum value
	GrowthTypeExponential = "EXPONENTIAL"
)
View Source
const (
	// ReplicateToNone is a ReplicateTo enum value
	ReplicateToNone = "NONE"

	// ReplicateToSsmDocument is a ReplicateTo enum value
	ReplicateToSsmDocument = "SSM_DOCUMENT"
)
View Source
const (
	// TriggeredByUser is a TriggeredBy enum value
	TriggeredByUser = "USER"

	// TriggeredByAppconfig is a TriggeredBy enum value
	TriggeredByAppconfig = "APPCONFIG"

	// TriggeredByCloudwatchAlarm is a TriggeredBy enum value
	TriggeredByCloudwatchAlarm = "CLOUDWATCH_ALARM"

	// TriggeredByInternalError is a TriggeredBy enum value
	TriggeredByInternalError = "INTERNAL_ERROR"
)
View Source
const (
	// ValidatorTypeJsonSchema is a ValidatorType enum value
	ValidatorTypeJsonSchema = "JSON_SCHEMA"

	// ValidatorTypeLambda is a ValidatorType enum value
	ValidatorTypeLambda = "LAMBDA"
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// The input fails to satisfy the constraints specified by an Amazon Web Services
	// service.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The request could not be processed because of conflict in the current state
	// of the resource.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// There was an internal failure in the AppConfig service.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodePayloadTooLargeException for service response error code
	// "PayloadTooLargeException".
	//
	// The configuration size is too large.
	ErrCodePayloadTooLargeException = "PayloadTooLargeException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The requested resource could not be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// The number of one more AppConfig resources exceeds the maximum allowed. Verify
	// that your environment doesn't exceed the following service quotas:
	//
	// Applications: 100 max
	//
	// Deployment strategies: 20 max
	//
	// Configuration profiles: 100 max per application
	//
	// Environments: 20 max per application
	//
	// To resolve this issue, you can delete one or more resources and try again.
	// Or, you can request a quota increase. For more information about quotas and
	// to request an increase, see Service quotas for AppConfig (https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig)
	// in the Amazon Web Services General Reference.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
)
View Source
const (
	ServiceName = "AppConfig" // Name of service.
	EndpointsID = "appconfig" // ID to lookup a service endpoint with.
	ServiceID   = "AppConfig" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// BadRequestReasonInvalidConfiguration is a BadRequestReason enum value
	BadRequestReasonInvalidConfiguration = "InvalidConfiguration"
)
View Source
const (
	// BytesMeasureKilobytes is a BytesMeasure enum value
	BytesMeasureKilobytes = "KILOBYTES"
)

Variables

This section is empty.

Functions

func ActionPoint_Values added in v1.44.54

func ActionPoint_Values() []string

ActionPoint_Values returns all elements of the ActionPoint enum

func BadRequestReason_Values added in v1.42.8

func BadRequestReason_Values() []string

BadRequestReason_Values returns all elements of the BadRequestReason enum

func BytesMeasure_Values added in v1.34.3

func BytesMeasure_Values() []string

BytesMeasure_Values returns all elements of the BytesMeasure enum

func DeploymentEventType_Values added in v1.34.3

func DeploymentEventType_Values() []string

DeploymentEventType_Values returns all elements of the DeploymentEventType enum

func DeploymentState_Values added in v1.34.3

func DeploymentState_Values() []string

DeploymentState_Values returns all elements of the DeploymentState enum

func EnvironmentState_Values added in v1.34.3

func EnvironmentState_Values() []string

EnvironmentState_Values returns all elements of the EnvironmentState enum

func GrowthType_Values added in v1.34.3

func GrowthType_Values() []string

GrowthType_Values returns all elements of the GrowthType enum

func ReplicateTo_Values added in v1.34.3

func ReplicateTo_Values() []string

ReplicateTo_Values returns all elements of the ReplicateTo enum

func TriggeredBy_Values added in v1.34.3

func TriggeredBy_Values() []string

TriggeredBy_Values returns all elements of the TriggeredBy enum

func ValidatorType_Values added in v1.34.3

func ValidatorType_Values() []string

ValidatorType_Values returns all elements of the ValidatorType enum

Types

type Action added in v1.44.54

type Action struct {

	// Information about the action.
	Description *string `type:"string"`

	// The action name.
	Name *string `min:"1" type:"string"`

	// An Amazon Resource Name (ARN) for an Identity and Access Management assume
	// role.
	RoleArn *string `min:"20" type:"string"`

	// The extension URI associated to the action point in the extension definition.
	// The URI can be an Amazon Resource Name (ARN) for one of the following: an
	// Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification
	// Service topic, or the Amazon EventBridge default event bus.
	Uri *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

An action defines the tasks that the extension performs during the AppConfig workflow. Each action includes an action point such as ON_CREATE_HOSTED_CONFIGURATION, PRE_DEPLOYMENT, or ON_DEPLOYMENT. Each action also includes a name, a URI to an Lambda function, and an Amazon Resource Name (ARN) for an Identity and Access Management assume role. You specify the name, URI, and ARN for each action point defined in the extension. You can specify the following actions for an extension:

  • PRE_CREATE_HOSTED_CONFIGURATION_VERSION

  • PRE_START_DEPLOYMENT

  • ON_DEPLOYMENT_START

  • ON_DEPLOYMENT_STEP

  • ON_DEPLOYMENT_BAKING

  • ON_DEPLOYMENT_COMPLETE

  • ON_DEPLOYMENT_ROLLED_BACK

func (Action) GoString added in v1.44.54

func (s Action) GoString() string

GoString returns the string representation.

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

func (*Action) SetDescription added in v1.44.54

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

SetDescription sets the Description field's value.

func (*Action) SetName added in v1.44.54

func (s *Action) SetName(v string) *Action

SetName sets the Name field's value.

func (*Action) SetRoleArn added in v1.44.54

func (s *Action) SetRoleArn(v string) *Action

SetRoleArn sets the RoleArn field's value.

func (*Action) SetUri added in v1.44.54

func (s *Action) SetUri(v string) *Action

SetUri sets the Uri field's value.

func (Action) String added in v1.44.54

func (s Action) String() string

String returns the string representation.

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

type ActionInvocation added in v1.44.54

type ActionInvocation struct {

	// The name of the action.
	ActionName *string `min:"1" type:"string"`

	// The error code when an extension invocation fails.
	ErrorCode *string `type:"string"`

	// The error message when an extension invocation fails.
	ErrorMessage *string `type:"string"`

	// The name, the ID, or the Amazon Resource Name (ARN) of the extension.
	ExtensionIdentifier *string `min:"1" type:"string"`

	// A system-generated ID for this invocation.
	InvocationId *string `type:"string"`

	// An Amazon Resource Name (ARN) for an Identity and Access Management assume
	// role.
	RoleArn *string `min:"20" type:"string"`

	// The extension URI associated to the action point in the extension definition.
	// The URI can be an Amazon Resource Name (ARN) for one of the following: an
	// Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification
	// Service topic, or the Amazon EventBridge default event bus.
	Uri *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

An extension that was invoked as part of a deployment event.

func (ActionInvocation) GoString added in v1.44.54

func (s ActionInvocation) GoString() string

GoString returns the string representation.

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

func (*ActionInvocation) SetActionName added in v1.44.54

func (s *ActionInvocation) SetActionName(v string) *ActionInvocation

SetActionName sets the ActionName field's value.

func (*ActionInvocation) SetErrorCode added in v1.44.54

func (s *ActionInvocation) SetErrorCode(v string) *ActionInvocation

SetErrorCode sets the ErrorCode field's value.

func (*ActionInvocation) SetErrorMessage added in v1.44.54

func (s *ActionInvocation) SetErrorMessage(v string) *ActionInvocation

SetErrorMessage sets the ErrorMessage field's value.

func (*ActionInvocation) SetExtensionIdentifier added in v1.44.54

func (s *ActionInvocation) SetExtensionIdentifier(v string) *ActionInvocation

SetExtensionIdentifier sets the ExtensionIdentifier field's value.

func (*ActionInvocation) SetInvocationId added in v1.44.54

func (s *ActionInvocation) SetInvocationId(v string) *ActionInvocation

SetInvocationId sets the InvocationId field's value.

func (*ActionInvocation) SetRoleArn added in v1.44.54

func (s *ActionInvocation) SetRoleArn(v string) *ActionInvocation

SetRoleArn sets the RoleArn field's value.

func (*ActionInvocation) SetUri added in v1.44.54

SetUri sets the Uri field's value.

func (ActionInvocation) String added in v1.44.54

func (s ActionInvocation) String() string

String returns the string representation.

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

type AppConfig

type AppConfig struct {
	*client.Client
}

AppConfig provides the API operation methods for making requests to Amazon AppConfig. See this package's package overview docs for details on the service.

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

New creates a new instance of the AppConfig client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a AppConfig client from just a session.
svc := appconfig.New(mySession)

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

func (*AppConfig) CreateApplication

func (c *AppConfig) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error)

CreateApplication API operation for Amazon AppConfig.

Creates an application. In AppConfig, an application is simply an organizational construct like a folder. This organizational construct has a relationship with some unit of executable code. For example, you could create an application called MyMobileApp to organize and manage configuration data for a mobile application installed by your users.

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 Amazon AppConfig's API operation CreateApplication for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

    Applications: 100 max

    Deployment strategies: 20 max

    Configuration profiles: 100 max per application

    Environments: 20 max per application

    To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig (https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig) in the Amazon Web Services General Reference.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication

Example (Shared00)

To create an application The following create-application example creates an application in AWS AppConfig.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.CreateApplicationInput{
		Description: aws.String("An application used for creating an example."),
		Name:        aws.String("example-application"),
	}

	result, err := svc.CreateApplication(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeServiceQuotaExceededException:
				fmt.Println(appconfig.ErrCodeServiceQuotaExceededException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) CreateApplicationRequest

func (c *AppConfig) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput)

CreateApplicationRequest generates a "aws/request.Request" representing the client's request for the CreateApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateApplication for more information on using the CreateApplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication

func (*AppConfig) CreateApplicationWithContext

func (c *AppConfig) CreateApplicationWithContext(ctx aws.Context, input *CreateApplicationInput, opts ...request.Option) (*CreateApplicationOutput, error)

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

See CreateApplication 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 (*AppConfig) CreateConfigurationProfile

func (c *AppConfig) CreateConfigurationProfile(input *CreateConfigurationProfileInput) (*CreateConfigurationProfileOutput, error)

CreateConfigurationProfile API operation for Amazon AppConfig.

Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the following:

  • Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted configuration store

  • Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) bucket

  • Pipelines stored in CodePipeline

  • Secrets stored in Secrets Manager

  • Standard and secure string parameters stored in Amazon Web Services Systems Manager Parameter Store

  • Configuration data in SSM documents stored in the Systems Manager document store

A configuration profile includes the following information:

  • The URI location of the configuration data.

  • The Identity and Access Management (IAM) role that provides access to the configuration data.

  • A validator for the configuration data. Available validators include either a JSON Schema or an Amazon Web Services Lambda function.

For more information, see Create a Configuration and a Configuration Profile (http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html) in the AppConfig User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppConfig's API operation CreateConfigurationProfile for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

    Applications: 100 max

    Deployment strategies: 20 max

    Configuration profiles: 100 max per application

    Environments: 20 max per application

    To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig (https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig) in the Amazon Web Services General Reference.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile

Example (Shared00)

To create a configuration profile The following create-configuration-profile example creates a configuration profile using a configuration stored in Parameter Store, a capability of Systems Manager.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.CreateConfigurationProfileInput{
		ApplicationId:    aws.String("339ohji"),
		LocationUri:      aws.String("ssm-parameter://Example-Parameter"),
		Name:             aws.String("Example-Configuration-Profile"),
		RetrievalRoleArn: aws.String("arn:aws:iam::111122223333:role/Example-App-Config-Role"),
	}

	result, err := svc.CreateConfigurationProfile(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeServiceQuotaExceededException:
				fmt.Println(appconfig.ErrCodeServiceQuotaExceededException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) CreateConfigurationProfileRequest

func (c *AppConfig) CreateConfigurationProfileRequest(input *CreateConfigurationProfileInput) (req *request.Request, output *CreateConfigurationProfileOutput)

CreateConfigurationProfileRequest generates a "aws/request.Request" representing the client's request for the CreateConfigurationProfile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateConfigurationProfile for more information on using the CreateConfigurationProfile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile

func (*AppConfig) CreateConfigurationProfileWithContext

func (c *AppConfig) CreateConfigurationProfileWithContext(ctx aws.Context, input *CreateConfigurationProfileInput, opts ...request.Option) (*CreateConfigurationProfileOutput, error)

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

See CreateConfigurationProfile 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 (*AppConfig) CreateDeploymentStrategy

func (c *AppConfig) CreateDeploymentStrategy(input *CreateDeploymentStrategyInput) (*CreateDeploymentStrategyOutput, error)

CreateDeploymentStrategy API operation for Amazon AppConfig.

Creates a deployment strategy that defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.

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 Amazon AppConfig's API operation CreateDeploymentStrategy for usage and error information.

Returned Error Types:

  • InternalServerException There was an internal failure in the AppConfig service.

  • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

    Applications: 100 max

    Deployment strategies: 20 max

    Configuration profiles: 100 max per application

    Environments: 20 max per application

    To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig (https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig) in the Amazon Web Services General Reference.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy

Example (Shared00)

To create a deployment strategy The following create-deployment-strategy example creates a deployment strategy called Example-Deployment that takes 15 minutes and deploys the configuration to 25% of the application at a time. The strategy is also copied to an SSM Document.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.CreateDeploymentStrategyInput{
		DeploymentDurationInMinutes: aws.Int64(15),
		GrowthFactor:                aws.Float64(25.000000),
		Name:                        aws.String("Example-Deployment"),
		ReplicateTo:                 aws.String("SSM_DOCUMENT"),
	}

	result, err := svc.CreateDeploymentStrategy(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeServiceQuotaExceededException:
				fmt.Println(appconfig.ErrCodeServiceQuotaExceededException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) CreateDeploymentStrategyRequest

func (c *AppConfig) CreateDeploymentStrategyRequest(input *CreateDeploymentStrategyInput) (req *request.Request, output *CreateDeploymentStrategyOutput)

CreateDeploymentStrategyRequest generates a "aws/request.Request" representing the client's request for the CreateDeploymentStrategy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDeploymentStrategy for more information on using the CreateDeploymentStrategy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy

func (*AppConfig) CreateDeploymentStrategyWithContext

func (c *AppConfig) CreateDeploymentStrategyWithContext(ctx aws.Context, input *CreateDeploymentStrategyInput, opts ...request.Option) (*CreateDeploymentStrategyOutput, error)

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

See CreateDeploymentStrategy 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 (*AppConfig) CreateEnvironment

func (c *AppConfig) CreateEnvironment(input *CreateEnvironmentInput) (*CreateEnvironmentOutput, error)

CreateEnvironment API operation for Amazon AppConfig.

Creates an environment. For each application, you define one or more environments. An environment is a deployment group of AppConfig targets, such as applications in a Beta or Production environment. You can also define environments for application subcomponents such as the Web, Mobile and Back-end components for your application. You can configure Amazon CloudWatch alarms for each environment. The system monitors alarms during a configuration deployment. If an alarm is triggered, the system rolls back the configuration.

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 Amazon AppConfig's API operation CreateEnvironment for usage and error information.

Returned Error Types:

  • InternalServerException There was an internal failure in the AppConfig service.

  • ResourceNotFoundException The requested resource could not be found.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

    Applications: 100 max

    Deployment strategies: 20 max

    Configuration profiles: 100 max per application

    Environments: 20 max per application

    To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig (https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig) in the Amazon Web Services General Reference.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment

Example (Shared00)

To create an environment The following create-environment example creates an AWS AppConfig environment named Example-Environment using the application you created using create-application

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.CreateEnvironmentInput{
		ApplicationId: aws.String("339ohji"),
		Name:          aws.String("Example-Environment"),
	}

	result, err := svc.CreateEnvironment(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeServiceQuotaExceededException:
				fmt.Println(appconfig.ErrCodeServiceQuotaExceededException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) CreateEnvironmentRequest

func (c *AppConfig) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *request.Request, output *CreateEnvironmentOutput)

CreateEnvironmentRequest generates a "aws/request.Request" representing the client's request for the CreateEnvironment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateEnvironment for more information on using the CreateEnvironment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment

func (*AppConfig) CreateEnvironmentWithContext

func (c *AppConfig) CreateEnvironmentWithContext(ctx aws.Context, input *CreateEnvironmentInput, opts ...request.Option) (*CreateEnvironmentOutput, error)

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

See CreateEnvironment 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 (*AppConfig) CreateExtension added in v1.44.54

func (c *AppConfig) CreateExtension(input *CreateExtensionInput) (*CreateExtensionOutput, error)

CreateExtension API operation for Amazon AppConfig.

Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration.

You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the Uri field for the new extension version.

  • For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the Uri field.

  • For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Uri field.

  • For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the Uri field.

For more information about extensions, see Working with AppConfig extensions (https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html) in the AppConfig User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppConfig's API operation CreateExtension for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ConflictException The request could not be processed because of conflict in the current state of the resource.

  • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

    Applications: 100 max

    Deployment strategies: 20 max

    Configuration profiles: 100 max per application

    Environments: 20 max per application

    To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig (https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig) in the Amazon Web Services General Reference.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension

func (*AppConfig) CreateExtensionAssociation added in v1.44.54

func (c *AppConfig) CreateExtensionAssociation(input *CreateExtensionAssociationInput) (*CreateExtensionAssociationOutput, error)

CreateExtensionAssociation API operation for Amazon AppConfig.

When you create an extension or configure an Amazon Web Services authored extension, you associate the extension with an AppConfig application, environment, or configuration profile. For example, you can choose to run the AppConfig deployment events to Amazon SNS Amazon Web Services authored extension and receive notifications on an Amazon SNS topic anytime a configuration deployment is started for a specific application. Defining which extension to associate with an AppConfig resource is called an extension association. An extension association is a specified relationship between an extension and an AppConfig resource, such as an application or a configuration profile. For more information about extensions and associations, see Working with AppConfig extensions (https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html) in the AppConfig User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppConfig's API operation CreateExtensionAssociation for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

    Applications: 100 max

    Deployment strategies: 20 max

    Configuration profiles: 100 max per application

    Environments: 20 max per application

    To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig (https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig) in the Amazon Web Services General Reference.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation

func (*AppConfig) CreateExtensionAssociationRequest added in v1.44.54

func (c *AppConfig) CreateExtensionAssociationRequest(input *CreateExtensionAssociationInput) (req *request.Request, output *CreateExtensionAssociationOutput)

CreateExtensionAssociationRequest generates a "aws/request.Request" representing the client's request for the CreateExtensionAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateExtensionAssociation for more information on using the CreateExtensionAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtensionAssociation

func (*AppConfig) CreateExtensionAssociationWithContext added in v1.44.54

func (c *AppConfig) CreateExtensionAssociationWithContext(ctx aws.Context, input *CreateExtensionAssociationInput, opts ...request.Option) (*CreateExtensionAssociationOutput, error)

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

See CreateExtensionAssociation 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 (*AppConfig) CreateExtensionRequest added in v1.44.54

func (c *AppConfig) CreateExtensionRequest(input *CreateExtensionInput) (req *request.Request, output *CreateExtensionOutput)

CreateExtensionRequest generates a "aws/request.Request" representing the client's request for the CreateExtension operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateExtension for more information on using the CreateExtension API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExtension

func (*AppConfig) CreateExtensionWithContext added in v1.44.54

func (c *AppConfig) CreateExtensionWithContext(ctx aws.Context, input *CreateExtensionInput, opts ...request.Option) (*CreateExtensionOutput, error)

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

See CreateExtension 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 (*AppConfig) CreateHostedConfigurationVersion added in v1.32.2

func (c *AppConfig) CreateHostedConfigurationVersion(input *CreateHostedConfigurationVersionInput) (*CreateHostedConfigurationVersionOutput, error)

CreateHostedConfigurationVersion API operation for Amazon AppConfig.

Creates a new configuration in the AppConfig hosted configuration store.

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 Amazon AppConfig's API operation CreateHostedConfigurationVersion for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

    Applications: 100 max

    Deployment strategies: 20 max

    Configuration profiles: 100 max per application

    Environments: 20 max per application

    To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig (https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig) in the Amazon Web Services General Reference.

  • ResourceNotFoundException The requested resource could not be found.

  • ConflictException The request could not be processed because of conflict in the current state of the resource.

  • PayloadTooLargeException The configuration size is too large.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion

Example (Shared00)

To create a hosted configuration version The following create-hosted-configuration-version example creates a new configuration in the AWS AppConfig configuration store.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.CreateHostedConfigurationVersionInput{
		ApplicationId:          aws.String("339ohji"),
		ConfigurationProfileId: aws.String("ur8hx2f"),
		Content:                []byte("eyAiTmFtZSI6ICJFeGFtcGxlQXBwbGljYXRpb24iLCAiSWQiOiBFeGFtcGxlSUQsICJSYW5rIjogNyB9"),
		ContentType:            aws.String("text"),
		LatestVersionNumber:    aws.Int64(1),
	}

	result, err := svc.CreateHostedConfigurationVersion(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeServiceQuotaExceededException:
				fmt.Println(appconfig.ErrCodeServiceQuotaExceededException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeConflictException:
				fmt.Println(appconfig.ErrCodeConflictException, aerr.Error())
			case appconfig.ErrCodePayloadTooLargeException:
				fmt.Println(appconfig.ErrCodePayloadTooLargeException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) CreateHostedConfigurationVersionRequest added in v1.32.2

func (c *AppConfig) CreateHostedConfigurationVersionRequest(input *CreateHostedConfigurationVersionInput) (req *request.Request, output *CreateHostedConfigurationVersionOutput)

CreateHostedConfigurationVersionRequest generates a "aws/request.Request" representing the client's request for the CreateHostedConfigurationVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateHostedConfigurationVersion for more information on using the CreateHostedConfigurationVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion

func (*AppConfig) CreateHostedConfigurationVersionWithContext added in v1.32.2

func (c *AppConfig) CreateHostedConfigurationVersionWithContext(ctx aws.Context, input *CreateHostedConfigurationVersionInput, opts ...request.Option) (*CreateHostedConfigurationVersionOutput, error)

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

See CreateHostedConfigurationVersion 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 (*AppConfig) DeleteApplication

func (c *AppConfig) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error)

DeleteApplication API operation for Amazon AppConfig.

Deletes an application. Deleting an application does not delete a configuration from a host.

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 Amazon AppConfig's API operation DeleteApplication for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication

Example (Shared00)

To delete an application The following delete-application example deletes the specified application.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.DeleteApplicationInput{
		ApplicationId: aws.String("339ohji"),
	}

	result, err := svc.DeleteApplication(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) DeleteApplicationRequest

func (c *AppConfig) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput)

DeleteApplicationRequest generates a "aws/request.Request" representing the client's request for the DeleteApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteApplication for more information on using the DeleteApplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication

func (*AppConfig) DeleteApplicationWithContext

func (c *AppConfig) DeleteApplicationWithContext(ctx aws.Context, input *DeleteApplicationInput, opts ...request.Option) (*DeleteApplicationOutput, error)

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

See DeleteApplication 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 (*AppConfig) DeleteConfigurationProfile

func (c *AppConfig) DeleteConfigurationProfile(input *DeleteConfigurationProfileInput) (*DeleteConfigurationProfileOutput, error)

DeleteConfigurationProfile API operation for Amazon AppConfig.

Deletes a configuration profile. Deleting a configuration profile does not delete a configuration from a host.

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 Amazon AppConfig's API operation DeleteConfigurationProfile for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • ConflictException The request could not be processed because of conflict in the current state of the resource.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile

Example (Shared00)

To delete a configuration profile The following delete-configuration-profile example deletes the specified configuration profile.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.DeleteConfigurationProfileInput{
		ApplicationId:          aws.String("339ohji"),
		ConfigurationProfileId: aws.String("ur8hx2f"),
	}

	result, err := svc.DeleteConfigurationProfile(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeConflictException:
				fmt.Println(appconfig.ErrCodeConflictException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) DeleteConfigurationProfileRequest

func (c *AppConfig) DeleteConfigurationProfileRequest(input *DeleteConfigurationProfileInput) (req *request.Request, output *DeleteConfigurationProfileOutput)

DeleteConfigurationProfileRequest generates a "aws/request.Request" representing the client's request for the DeleteConfigurationProfile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteConfigurationProfile for more information on using the DeleteConfigurationProfile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile

func (*AppConfig) DeleteConfigurationProfileWithContext

func (c *AppConfig) DeleteConfigurationProfileWithContext(ctx aws.Context, input *DeleteConfigurationProfileInput, opts ...request.Option) (*DeleteConfigurationProfileOutput, error)

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

See DeleteConfigurationProfile 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 (*AppConfig) DeleteDeploymentStrategy

func (c *AppConfig) DeleteDeploymentStrategy(input *DeleteDeploymentStrategyInput) (*DeleteDeploymentStrategyOutput, error)

DeleteDeploymentStrategy API operation for Amazon AppConfig.

Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.

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 Amazon AppConfig's API operation DeleteDeploymentStrategy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy

Example (Shared00)

To delete a deployment strategy The following delete-deployment-strategy example deletes the specified deployment strategy.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.DeleteDeploymentStrategyInput{
		DeploymentStrategyId: aws.String("1225qzk"),
	}

	result, err := svc.DeleteDeploymentStrategy(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) DeleteDeploymentStrategyRequest

func (c *AppConfig) DeleteDeploymentStrategyRequest(input *DeleteDeploymentStrategyInput) (req *request.Request, output *DeleteDeploymentStrategyOutput)

DeleteDeploymentStrategyRequest generates a "aws/request.Request" representing the client's request for the DeleteDeploymentStrategy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDeploymentStrategy for more information on using the DeleteDeploymentStrategy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy

func (*AppConfig) DeleteDeploymentStrategyWithContext

func (c *AppConfig) DeleteDeploymentStrategyWithContext(ctx aws.Context, input *DeleteDeploymentStrategyInput, opts ...request.Option) (*DeleteDeploymentStrategyOutput, error)

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

See DeleteDeploymentStrategy 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 (*AppConfig) DeleteEnvironment

func (c *AppConfig) DeleteEnvironment(input *DeleteEnvironmentInput) (*DeleteEnvironmentOutput, error)

DeleteEnvironment API operation for Amazon AppConfig.

Deletes an environment. Deleting an environment does not delete a configuration from a host.

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 Amazon AppConfig's API operation DeleteEnvironment for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • ConflictException The request could not be processed because of conflict in the current state of the resource.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment

Example (Shared00)

To delete an environment The following delete-environment example deletes the specified application environment.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.DeleteEnvironmentInput{
		ApplicationId: aws.String("339ohji"),
		EnvironmentId: aws.String("54j1r29"),
	}

	result, err := svc.DeleteEnvironment(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeConflictException:
				fmt.Println(appconfig.ErrCodeConflictException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) DeleteEnvironmentRequest

func (c *AppConfig) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req *request.Request, output *DeleteEnvironmentOutput)

DeleteEnvironmentRequest generates a "aws/request.Request" representing the client's request for the DeleteEnvironment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteEnvironment for more information on using the DeleteEnvironment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment

func (*AppConfig) DeleteEnvironmentWithContext

func (c *AppConfig) DeleteEnvironmentWithContext(ctx aws.Context, input *DeleteEnvironmentInput, opts ...request.Option) (*DeleteEnvironmentOutput, error)

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

See DeleteEnvironment 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 (*AppConfig) DeleteExtension added in v1.44.54

func (c *AppConfig) DeleteExtension(input *DeleteExtensionInput) (*DeleteExtensionOutput, error)

DeleteExtension API operation for Amazon AppConfig.

Deletes an AppConfig extension. You must delete all associations to an extension before you delete the extension.

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 Amazon AppConfig's API operation DeleteExtension for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension

func (*AppConfig) DeleteExtensionAssociation added in v1.44.54

func (c *AppConfig) DeleteExtensionAssociation(input *DeleteExtensionAssociationInput) (*DeleteExtensionAssociationOutput, error)

DeleteExtensionAssociation API operation for Amazon AppConfig.

Deletes an extension association. This action doesn't delete extensions defined in the association.

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 Amazon AppConfig's API operation DeleteExtensionAssociation for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation

func (*AppConfig) DeleteExtensionAssociationRequest added in v1.44.54

func (c *AppConfig) DeleteExtensionAssociationRequest(input *DeleteExtensionAssociationInput) (req *request.Request, output *DeleteExtensionAssociationOutput)

DeleteExtensionAssociationRequest generates a "aws/request.Request" representing the client's request for the DeleteExtensionAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteExtensionAssociation for more information on using the DeleteExtensionAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtensionAssociation

func (*AppConfig) DeleteExtensionAssociationWithContext added in v1.44.54

func (c *AppConfig) DeleteExtensionAssociationWithContext(ctx aws.Context, input *DeleteExtensionAssociationInput, opts ...request.Option) (*DeleteExtensionAssociationOutput, error)

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

See DeleteExtensionAssociation 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 (*AppConfig) DeleteExtensionRequest added in v1.44.54

func (c *AppConfig) DeleteExtensionRequest(input *DeleteExtensionInput) (req *request.Request, output *DeleteExtensionOutput)

DeleteExtensionRequest generates a "aws/request.Request" representing the client's request for the DeleteExtension operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteExtension for more information on using the DeleteExtension API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExtension

func (*AppConfig) DeleteExtensionWithContext added in v1.44.54

func (c *AppConfig) DeleteExtensionWithContext(ctx aws.Context, input *DeleteExtensionInput, opts ...request.Option) (*DeleteExtensionOutput, error)

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

See DeleteExtension 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 (*AppConfig) DeleteHostedConfigurationVersion added in v1.32.2

func (c *AppConfig) DeleteHostedConfigurationVersion(input *DeleteHostedConfigurationVersionInput) (*DeleteHostedConfigurationVersionOutput, error)

DeleteHostedConfigurationVersion API operation for Amazon AppConfig.

Deletes a version of a configuration from the AppConfig hosted configuration store.

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 Amazon AppConfig's API operation DeleteHostedConfigurationVersion for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion

Example (Shared00)

To delete a hosted configuration version The following delete-hosted-configuration-version example deletes a configuration version hosted in the AWS AppConfig configuration store.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.DeleteHostedConfigurationVersionInput{
		ApplicationId:          aws.String("339ohji"),
		ConfigurationProfileId: aws.String("ur8hx2f"),
		VersionNumber:          aws.Int64(1),
	}

	result, err := svc.DeleteHostedConfigurationVersion(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) DeleteHostedConfigurationVersionRequest added in v1.32.2

func (c *AppConfig) DeleteHostedConfigurationVersionRequest(input *DeleteHostedConfigurationVersionInput) (req *request.Request, output *DeleteHostedConfigurationVersionOutput)

DeleteHostedConfigurationVersionRequest generates a "aws/request.Request" representing the client's request for the DeleteHostedConfigurationVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteHostedConfigurationVersion for more information on using the DeleteHostedConfigurationVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion

func (*AppConfig) DeleteHostedConfigurationVersionWithContext added in v1.32.2

func (c *AppConfig) DeleteHostedConfigurationVersionWithContext(ctx aws.Context, input *DeleteHostedConfigurationVersionInput, opts ...request.Option) (*DeleteHostedConfigurationVersionOutput, error)

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

See DeleteHostedConfigurationVersion 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 (*AppConfig) GetApplication

func (c *AppConfig) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error)

GetApplication API operation for Amazon AppConfig.

Retrieves information about an application.

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 Amazon AppConfig's API operation GetApplication for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication

Example (Shared00)

To list details of an application The following get-application example lists the details of the specified application.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.GetApplicationInput{
		ApplicationId: aws.String("339ohji"),
	}

	result, err := svc.GetApplication(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) GetApplicationRequest

func (c *AppConfig) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput)

GetApplicationRequest generates a "aws/request.Request" representing the client's request for the GetApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetApplication for more information on using the GetApplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication

func (*AppConfig) GetApplicationWithContext

func (c *AppConfig) GetApplicationWithContext(ctx aws.Context, input *GetApplicationInput, opts ...request.Option) (*GetApplicationOutput, error)

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

See GetApplication 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 (*AppConfig) GetConfiguration deprecated

func (c *AppConfig) GetConfiguration(input *GetConfigurationInput) (*GetConfigurationOutput, error)

GetConfiguration API operation for Amazon AppConfig.

(Deprecated) Retrieves the latest deployed configuration.

Note the following important information.

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 Amazon AppConfig's API operation GetConfiguration for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration

Deprecated: This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.

Example (Shared00)

To retrieve configuration details The following get-configuration example returns the configuration details of the example application. On subsequent calls to get-configuration, use the client-configuration-version parameter to only update the configuration of your application if the version has changed. Only updating the configuration when the version has changed avoids excess charges incurred by calling get-configuration.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.GetConfigurationInput{
		Application:   aws.String("example-application"),
		ClientId:      aws.String("example-id"),
		Configuration: aws.String("Example-Configuration-Profile"),
		Environment:   aws.String("Example-Environment"),
	}

	result, err := svc.GetConfiguration(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) GetConfigurationProfile

func (c *AppConfig) GetConfigurationProfile(input *GetConfigurationProfileInput) (*GetConfigurationProfileOutput, error)

GetConfigurationProfile API operation for Amazon AppConfig.

Retrieves information about a configuration profile.

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 Amazon AppConfig's API operation GetConfigurationProfile for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile

Example (Shared00)

To retrieve configuration profile details The following get-configuration-profile example returns the details of the specified configuration profile.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.GetConfigurationProfileInput{
		ApplicationId:          aws.String("339ohji"),
		ConfigurationProfileId: aws.String("ur8hx2f"),
	}

	result, err := svc.GetConfigurationProfile(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) GetConfigurationProfileRequest

func (c *AppConfig) GetConfigurationProfileRequest(input *GetConfigurationProfileInput) (req *request.Request, output *GetConfigurationProfileOutput)

GetConfigurationProfileRequest generates a "aws/request.Request" representing the client's request for the GetConfigurationProfile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetConfigurationProfile for more information on using the GetConfigurationProfile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile

func (*AppConfig) GetConfigurationProfileWithContext

func (c *AppConfig) GetConfigurationProfileWithContext(ctx aws.Context, input *GetConfigurationProfileInput, opts ...request.Option) (*GetConfigurationProfileOutput, error)

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

See GetConfigurationProfile 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 (*AppConfig) GetConfigurationRequest deprecated

func (c *AppConfig) GetConfigurationRequest(input *GetConfigurationInput) (req *request.Request, output *GetConfigurationOutput)

GetConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetConfiguration for more information on using the GetConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration

Deprecated: This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.

func (*AppConfig) GetConfigurationWithContext deprecated

func (c *AppConfig) GetConfigurationWithContext(ctx aws.Context, input *GetConfigurationInput, opts ...request.Option) (*GetConfigurationOutput, error)

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

See GetConfiguration 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.

Deprecated: This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.

func (*AppConfig) GetDeployment

func (c *AppConfig) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error)

GetDeployment API operation for Amazon AppConfig.

Retrieves information about a configuration deployment.

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 Amazon AppConfig's API operation GetDeployment for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment

Example (Shared00)

To retrieve deployment details The following get-deployment example lists details of the deployment to the application in the specified environment and deployment.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.GetDeploymentInput{
		ApplicationId:    aws.String("339ohji"),
		DeploymentNumber: aws.Int64(1),
		EnvironmentId:    aws.String("54j1r29"),
	}

	result, err := svc.GetDeployment(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) GetDeploymentRequest

func (c *AppConfig) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput)

GetDeploymentRequest generates a "aws/request.Request" representing the client's request for the GetDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDeployment for more information on using the GetDeployment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment

func (*AppConfig) GetDeploymentStrategy

func (c *AppConfig) GetDeploymentStrategy(input *GetDeploymentStrategyInput) (*GetDeploymentStrategyOutput, error)

GetDeploymentStrategy API operation for Amazon AppConfig.

Retrieves information about a deployment strategy. A deployment strategy defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.

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 Amazon AppConfig's API operation GetDeploymentStrategy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy

Example (Shared00)

To retrieve details of a deployment strategy The following get-deployment-strategy example lists the details of the specified deployment strategy.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.GetDeploymentStrategyInput{
		DeploymentStrategyId: aws.String("1225qzk"),
	}

	result, err := svc.GetDeploymentStrategy(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) GetDeploymentStrategyRequest

func (c *AppConfig) GetDeploymentStrategyRequest(input *GetDeploymentStrategyInput) (req *request.Request, output *GetDeploymentStrategyOutput)

GetDeploymentStrategyRequest generates a "aws/request.Request" representing the client's request for the GetDeploymentStrategy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDeploymentStrategy for more information on using the GetDeploymentStrategy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy

func (*AppConfig) GetDeploymentStrategyWithContext

func (c *AppConfig) GetDeploymentStrategyWithContext(ctx aws.Context, input *GetDeploymentStrategyInput, opts ...request.Option) (*GetDeploymentStrategyOutput, error)

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

See GetDeploymentStrategy 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 (*AppConfig) GetDeploymentWithContext

func (c *AppConfig) GetDeploymentWithContext(ctx aws.Context, input *GetDeploymentInput, opts ...request.Option) (*GetDeploymentOutput, error)

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

See GetDeployment 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 (*AppConfig) GetEnvironment

func (c *AppConfig) GetEnvironment(input *GetEnvironmentInput) (*GetEnvironmentOutput, error)

GetEnvironment API operation for Amazon AppConfig.

Retrieves information about an environment. An environment is a deployment group of AppConfig applications, such as applications in a Production environment or in an EU_Region environment. Each configuration deployment targets an environment. You can enable one or more Amazon CloudWatch alarms for an environment. If an alarm is triggered during a deployment, AppConfig roles back the configuration.

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 Amazon AppConfig's API operation GetEnvironment for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment

Example (Shared00)

To retrieve environment details The following get-environment example returns the details and state of the specified environment.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.GetEnvironmentInput{
		ApplicationId: aws.String("339ohji"),
		EnvironmentId: aws.String("54j1r29"),
	}

	result, err := svc.GetEnvironment(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) GetEnvironmentRequest

func (c *AppConfig) GetEnvironmentRequest(input *GetEnvironmentInput) (req *request.Request, output *GetEnvironmentOutput)

GetEnvironmentRequest generates a "aws/request.Request" representing the client's request for the GetEnvironment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetEnvironment for more information on using the GetEnvironment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment

func (*AppConfig) GetEnvironmentWithContext

func (c *AppConfig) GetEnvironmentWithContext(ctx aws.Context, input *GetEnvironmentInput, opts ...request.Option) (*GetEnvironmentOutput, error)

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

See GetEnvironment 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 (*AppConfig) GetExtension added in v1.44.54

func (c *AppConfig) GetExtension(input *GetExtensionInput) (*GetExtensionOutput, error)

GetExtension API operation for Amazon AppConfig.

Returns information about an AppConfig extension.

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 Amazon AppConfig's API operation GetExtension for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension

func (*AppConfig) GetExtensionAssociation added in v1.44.54

func (c *AppConfig) GetExtensionAssociation(input *GetExtensionAssociationInput) (*GetExtensionAssociationOutput, error)

GetExtensionAssociation API operation for Amazon AppConfig.

Returns information about an AppConfig extension association. For more information about extensions and associations, see Working with AppConfig extensions (https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html) in the AppConfig User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppConfig's API operation GetExtensionAssociation for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation

func (*AppConfig) GetExtensionAssociationRequest added in v1.44.54

func (c *AppConfig) GetExtensionAssociationRequest(input *GetExtensionAssociationInput) (req *request.Request, output *GetExtensionAssociationOutput)

GetExtensionAssociationRequest generates a "aws/request.Request" representing the client's request for the GetExtensionAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetExtensionAssociation for more information on using the GetExtensionAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtensionAssociation

func (*AppConfig) GetExtensionAssociationWithContext added in v1.44.54

func (c *AppConfig) GetExtensionAssociationWithContext(ctx aws.Context, input *GetExtensionAssociationInput, opts ...request.Option) (*GetExtensionAssociationOutput, error)

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

See GetExtensionAssociation 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 (*AppConfig) GetExtensionRequest added in v1.44.54

func (c *AppConfig) GetExtensionRequest(input *GetExtensionInput) (req *request.Request, output *GetExtensionOutput)

GetExtensionRequest generates a "aws/request.Request" representing the client's request for the GetExtension operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetExtension for more information on using the GetExtension API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExtension

func (*AppConfig) GetExtensionWithContext added in v1.44.54

func (c *AppConfig) GetExtensionWithContext(ctx aws.Context, input *GetExtensionInput, opts ...request.Option) (*GetExtensionOutput, error)

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

See GetExtension 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 (*AppConfig) GetHostedConfigurationVersion added in v1.32.2

func (c *AppConfig) GetHostedConfigurationVersion(input *GetHostedConfigurationVersionInput) (*GetHostedConfigurationVersionOutput, error)

GetHostedConfigurationVersion API operation for Amazon AppConfig.

Retrieves information about a specific configuration version.

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 Amazon AppConfig's API operation GetHostedConfigurationVersion for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion

Example (Shared00)

To retrieve hosted configuration details The following get-hosted-configuration-version example retrieves the configuration details of the AWS AppConfig hosted configuration.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.GetHostedConfigurationVersionInput{
		ApplicationId:          aws.String("339ohji"),
		ConfigurationProfileId: aws.String("ur8hx2f"),
		VersionNumber:          aws.Int64(1),
	}

	result, err := svc.GetHostedConfigurationVersion(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) GetHostedConfigurationVersionRequest added in v1.32.2

func (c *AppConfig) GetHostedConfigurationVersionRequest(input *GetHostedConfigurationVersionInput) (req *request.Request, output *GetHostedConfigurationVersionOutput)

GetHostedConfigurationVersionRequest generates a "aws/request.Request" representing the client's request for the GetHostedConfigurationVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetHostedConfigurationVersion for more information on using the GetHostedConfigurationVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion

func (*AppConfig) GetHostedConfigurationVersionWithContext added in v1.32.2

func (c *AppConfig) GetHostedConfigurationVersionWithContext(ctx aws.Context, input *GetHostedConfigurationVersionInput, opts ...request.Option) (*GetHostedConfigurationVersionOutput, error)

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

See GetHostedConfigurationVersion 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 (*AppConfig) ListApplications

func (c *AppConfig) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error)

ListApplications API operation for Amazon AppConfig.

Lists all applications in your Amazon Web Services 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 Amazon AppConfig's API operation ListApplications for usage and error information.

Returned Error Types:

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications

Example (Shared00)

To list the available applications The following list-applications example lists the available applications in your AWS account.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.ListApplicationsInput{}

	result, err := svc.ListApplications(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) ListApplicationsPages

func (c *AppConfig) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error

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

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

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

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

func (*AppConfig) ListApplicationsPagesWithContext

func (c *AppConfig) ListApplicationsPagesWithContext(ctx aws.Context, input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool, opts ...request.Option) error

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppConfig) ListApplicationsRequest

func (c *AppConfig) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput)

ListApplicationsRequest generates a "aws/request.Request" representing the client's request for the ListApplications operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListApplications for more information on using the ListApplications API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications

func (*AppConfig) ListApplicationsWithContext

func (c *AppConfig) ListApplicationsWithContext(ctx aws.Context, input *ListApplicationsInput, opts ...request.Option) (*ListApplicationsOutput, error)

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

See ListApplications 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 (*AppConfig) ListConfigurationProfiles

func (c *AppConfig) ListConfigurationProfiles(input *ListConfigurationProfilesInput) (*ListConfigurationProfilesOutput, error)

ListConfigurationProfiles API operation for Amazon AppConfig.

Lists the configuration profiles for an application.

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 Amazon AppConfig's API operation ListConfigurationProfiles for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles

Example (Shared00)

To list the available configuration profiles The following list-configuration-profiles example lists the available configuration profiles for the specified application.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.ListConfigurationProfilesInput{
		ApplicationId: aws.String("339ohji"),
	}

	result, err := svc.ListConfigurationProfiles(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) ListConfigurationProfilesPages

func (c *AppConfig) ListConfigurationProfilesPages(input *ListConfigurationProfilesInput, fn func(*ListConfigurationProfilesOutput, bool) bool) error

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

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

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

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

func (*AppConfig) ListConfigurationProfilesPagesWithContext

func (c *AppConfig) ListConfigurationProfilesPagesWithContext(ctx aws.Context, input *ListConfigurationProfilesInput, fn func(*ListConfigurationProfilesOutput, bool) bool, opts ...request.Option) error

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppConfig) ListConfigurationProfilesRequest

func (c *AppConfig) ListConfigurationProfilesRequest(input *ListConfigurationProfilesInput) (req *request.Request, output *ListConfigurationProfilesOutput)

ListConfigurationProfilesRequest generates a "aws/request.Request" representing the client's request for the ListConfigurationProfiles operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListConfigurationProfiles for more information on using the ListConfigurationProfiles API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles

func (*AppConfig) ListConfigurationProfilesWithContext

func (c *AppConfig) ListConfigurationProfilesWithContext(ctx aws.Context, input *ListConfigurationProfilesInput, opts ...request.Option) (*ListConfigurationProfilesOutput, error)

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

See ListConfigurationProfiles 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 (*AppConfig) ListDeploymentStrategies

func (c *AppConfig) ListDeploymentStrategies(input *ListDeploymentStrategiesInput) (*ListDeploymentStrategiesOutput, error)

ListDeploymentStrategies API operation for Amazon AppConfig.

Lists deployment strategies.

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 Amazon AppConfig's API operation ListDeploymentStrategies for usage and error information.

Returned Error Types:

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies

Example (Shared00)

To list the available deployment strategies The following list-deployment-strategies example lists the available deployment strategies in your AWS account.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.ListDeploymentStrategiesInput{}

	result, err := svc.ListDeploymentStrategies(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) ListDeploymentStrategiesPages

func (c *AppConfig) ListDeploymentStrategiesPages(input *ListDeploymentStrategiesInput, fn func(*ListDeploymentStrategiesOutput, bool) bool) error

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

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

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

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

func (*AppConfig) ListDeploymentStrategiesPagesWithContext

func (c *AppConfig) ListDeploymentStrategiesPagesWithContext(ctx aws.Context, input *ListDeploymentStrategiesInput, fn func(*ListDeploymentStrategiesOutput, bool) bool, opts ...request.Option) error

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppConfig) ListDeploymentStrategiesRequest

func (c *AppConfig) ListDeploymentStrategiesRequest(input *ListDeploymentStrategiesInput) (req *request.Request, output *ListDeploymentStrategiesOutput)

ListDeploymentStrategiesRequest generates a "aws/request.Request" representing the client's request for the ListDeploymentStrategies operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDeploymentStrategies for more information on using the ListDeploymentStrategies API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies

func (*AppConfig) ListDeploymentStrategiesWithContext

func (c *AppConfig) ListDeploymentStrategiesWithContext(ctx aws.Context, input *ListDeploymentStrategiesInput, opts ...request.Option) (*ListDeploymentStrategiesOutput, error)

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

See ListDeploymentStrategies 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 (*AppConfig) ListDeployments

func (c *AppConfig) ListDeployments(input *ListDeploymentsInput) (*ListDeploymentsOutput, error)

ListDeployments API operation for Amazon AppConfig.

Lists the deployments for an environment in descending deployment number order.

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 Amazon AppConfig's API operation ListDeployments for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments

Example (Shared00)

To list the available deployments The following list-deployments example lists the available deployments in your AWS account for the specified application and environment.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.ListDeploymentsInput{
		ApplicationId: aws.String("339ohji"),
		EnvironmentId: aws.String("54j1r29"),
	}

	result, err := svc.ListDeployments(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) ListDeploymentsPages

func (c *AppConfig) ListDeploymentsPages(input *ListDeploymentsInput, fn func(*ListDeploymentsOutput, bool) bool) error

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

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

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

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

func (*AppConfig) ListDeploymentsPagesWithContext

func (c *AppConfig) ListDeploymentsPagesWithContext(ctx aws.Context, input *ListDeploymentsInput, fn func(*ListDeploymentsOutput, bool) bool, opts ...request.Option) error

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppConfig) ListDeploymentsRequest

func (c *AppConfig) ListDeploymentsRequest(input *ListDeploymentsInput) (req *request.Request, output *ListDeploymentsOutput)

ListDeploymentsRequest generates a "aws/request.Request" representing the client's request for the ListDeployments operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDeployments for more information on using the ListDeployments API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments

func (*AppConfig) ListDeploymentsWithContext

func (c *AppConfig) ListDeploymentsWithContext(ctx aws.Context, input *ListDeploymentsInput, opts ...request.Option) (*ListDeploymentsOutput, error)

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

See ListDeployments 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 (*AppConfig) ListEnvironments

func (c *AppConfig) ListEnvironments(input *ListEnvironmentsInput) (*ListEnvironmentsOutput, error)

ListEnvironments API operation for Amazon AppConfig.

Lists the environments for an application.

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 Amazon AppConfig's API operation ListEnvironments for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments

Example (Shared00)

To list the available environments The following list-environments example lists the available environments in your AWS account for the specified application.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.ListEnvironmentsInput{
		ApplicationId: aws.String("339ohji"),
	}

	result, err := svc.ListEnvironments(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) ListEnvironmentsPages

func (c *AppConfig) ListEnvironmentsPages(input *ListEnvironmentsInput, fn func(*ListEnvironmentsOutput, bool) bool) error

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

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

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

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

func (*AppConfig) ListEnvironmentsPagesWithContext

func (c *AppConfig) ListEnvironmentsPagesWithContext(ctx aws.Context, input *ListEnvironmentsInput, fn func(*ListEnvironmentsOutput, bool) bool, opts ...request.Option) error

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppConfig) ListEnvironmentsRequest

func (c *AppConfig) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *request.Request, output *ListEnvironmentsOutput)

ListEnvironmentsRequest generates a "aws/request.Request" representing the client's request for the ListEnvironments operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListEnvironments for more information on using the ListEnvironments API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments

func (*AppConfig) ListEnvironmentsWithContext

func (c *AppConfig) ListEnvironmentsWithContext(ctx aws.Context, input *ListEnvironmentsInput, opts ...request.Option) (*ListEnvironmentsOutput, error)

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

See ListEnvironments 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 (*AppConfig) ListExtensionAssociations added in v1.44.54

func (c *AppConfig) ListExtensionAssociations(input *ListExtensionAssociationsInput) (*ListExtensionAssociationsOutput, error)

ListExtensionAssociations API operation for Amazon AppConfig.

Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Working with AppConfig extensions (https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html) in the AppConfig User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppConfig's API operation ListExtensionAssociations for usage and error information.

Returned Error Types:

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations

func (*AppConfig) ListExtensionAssociationsPages added in v1.44.54

func (c *AppConfig) ListExtensionAssociationsPages(input *ListExtensionAssociationsInput, fn func(*ListExtensionAssociationsOutput, bool) bool) error

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

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

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

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

func (*AppConfig) ListExtensionAssociationsPagesWithContext added in v1.44.54

func (c *AppConfig) ListExtensionAssociationsPagesWithContext(ctx aws.Context, input *ListExtensionAssociationsInput, fn func(*ListExtensionAssociationsOutput, bool) bool, opts ...request.Option) error

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppConfig) ListExtensionAssociationsRequest added in v1.44.54

func (c *AppConfig) ListExtensionAssociationsRequest(input *ListExtensionAssociationsInput) (req *request.Request, output *ListExtensionAssociationsOutput)

ListExtensionAssociationsRequest generates a "aws/request.Request" representing the client's request for the ListExtensionAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListExtensionAssociations for more information on using the ListExtensionAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensionAssociations

func (*AppConfig) ListExtensionAssociationsWithContext added in v1.44.54

func (c *AppConfig) ListExtensionAssociationsWithContext(ctx aws.Context, input *ListExtensionAssociationsInput, opts ...request.Option) (*ListExtensionAssociationsOutput, error)

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

See ListExtensionAssociations 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 (*AppConfig) ListExtensions added in v1.44.54

func (c *AppConfig) ListExtensions(input *ListExtensionsInput) (*ListExtensionsOutput, error)

ListExtensions API operation for Amazon AppConfig.

Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about extensions, see Working with AppConfig extensions (https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html) in the AppConfig User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppConfig's API operation ListExtensions for usage and error information.

Returned Error Types:

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions

func (*AppConfig) ListExtensionsPages added in v1.44.54

func (c *AppConfig) ListExtensionsPages(input *ListExtensionsInput, fn func(*ListExtensionsOutput, bool) bool) error

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

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

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

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

func (*AppConfig) ListExtensionsPagesWithContext added in v1.44.54

func (c *AppConfig) ListExtensionsPagesWithContext(ctx aws.Context, input *ListExtensionsInput, fn func(*ListExtensionsOutput, bool) bool, opts ...request.Option) error

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppConfig) ListExtensionsRequest added in v1.44.54

func (c *AppConfig) ListExtensionsRequest(input *ListExtensionsInput) (req *request.Request, output *ListExtensionsOutput)

ListExtensionsRequest generates a "aws/request.Request" representing the client's request for the ListExtensions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListExtensions for more information on using the ListExtensions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExtensions

func (*AppConfig) ListExtensionsWithContext added in v1.44.54

func (c *AppConfig) ListExtensionsWithContext(ctx aws.Context, input *ListExtensionsInput, opts ...request.Option) (*ListExtensionsOutput, error)

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

See ListExtensions 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 (*AppConfig) ListHostedConfigurationVersions added in v1.32.2

func (c *AppConfig) ListHostedConfigurationVersions(input *ListHostedConfigurationVersionsInput) (*ListHostedConfigurationVersionsOutput, error)

ListHostedConfigurationVersions API operation for Amazon AppConfig.

Lists configurations stored in the AppConfig hosted configuration store by version.

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 Amazon AppConfig's API operation ListHostedConfigurationVersions for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions

Example (Shared00)

To list the available hosted configuration versions The following list-hosted-configuration-versions example lists the configurations versions hosted in the AWS AppConfig hosted configuration store for the specified application and configuration profile.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.ListHostedConfigurationVersionsInput{
		ApplicationId:          aws.String("339ohji"),
		ConfigurationProfileId: aws.String("ur8hx2f"),
	}

	result, err := svc.ListHostedConfigurationVersions(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) ListHostedConfigurationVersionsPages added in v1.32.2

func (c *AppConfig) ListHostedConfigurationVersionsPages(input *ListHostedConfigurationVersionsInput, fn func(*ListHostedConfigurationVersionsOutput, bool) bool) error

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

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

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

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

func (*AppConfig) ListHostedConfigurationVersionsPagesWithContext added in v1.32.2

func (c *AppConfig) ListHostedConfigurationVersionsPagesWithContext(ctx aws.Context, input *ListHostedConfigurationVersionsInput, fn func(*ListHostedConfigurationVersionsOutput, bool) bool, opts ...request.Option) error

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*AppConfig) ListHostedConfigurationVersionsRequest added in v1.32.2

func (c *AppConfig) ListHostedConfigurationVersionsRequest(input *ListHostedConfigurationVersionsInput) (req *request.Request, output *ListHostedConfigurationVersionsOutput)

ListHostedConfigurationVersionsRequest generates a "aws/request.Request" representing the client's request for the ListHostedConfigurationVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListHostedConfigurationVersions for more information on using the ListHostedConfigurationVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions

func (*AppConfig) ListHostedConfigurationVersionsWithContext added in v1.32.2

func (c *AppConfig) ListHostedConfigurationVersionsWithContext(ctx aws.Context, input *ListHostedConfigurationVersionsInput, opts ...request.Option) (*ListHostedConfigurationVersionsOutput, error)

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

See ListHostedConfigurationVersions 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 (*AppConfig) ListTagsForResource

func (c *AppConfig) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon AppConfig.

Retrieves the list of key-value tags assigned to the resource.

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 Amazon AppConfig's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource

Example (Shared00)

To list the tags of an application The following list-tags-for-resource example lists the tags of a specified application.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.ListTagsForResourceInput{
		ResourceArn: aws.String("arn:aws:appconfig:us-east-1:111122223333:application/339ohji"),
	}

	result, err := svc.ListTagsForResource(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) ListTagsForResourceRequest

func (c *AppConfig) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource

func (*AppConfig) ListTagsForResourceWithContext

func (c *AppConfig) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

See ListTagsForResource 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 (*AppConfig) StartDeployment

func (c *AppConfig) StartDeployment(input *StartDeploymentInput) (*StartDeploymentOutput, error)

StartDeployment API operation for Amazon AppConfig.

Starts a deployment.

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 Amazon AppConfig's API operation StartDeployment for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • ConflictException The request could not be processed because of conflict in the current state of the resource.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment

Example (Shared00)

To start a configuration deployment The following start-deployment example starts a deployment to the application using the specified environment, deployment strategy, and configuration profile.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.StartDeploymentInput{
		ApplicationId:          aws.String("339ohji"),
		ConfigurationProfileId: aws.String("ur8hx2f"),
		ConfigurationVersion:   aws.String("1"),
		DeploymentStrategyId:   aws.String("1225qzk"),
		Description:            aws.String(""),
		EnvironmentId:          aws.String("54j1r29"),
		Tags:                   map[string]*string{},
	}

	result, err := svc.StartDeployment(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeConflictException:
				fmt.Println(appconfig.ErrCodeConflictException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) StartDeploymentRequest

func (c *AppConfig) StartDeploymentRequest(input *StartDeploymentInput) (req *request.Request, output *StartDeploymentOutput)

StartDeploymentRequest generates a "aws/request.Request" representing the client's request for the StartDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartDeployment for more information on using the StartDeployment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment

func (*AppConfig) StartDeploymentWithContext

func (c *AppConfig) StartDeploymentWithContext(ctx aws.Context, input *StartDeploymentInput, opts ...request.Option) (*StartDeploymentOutput, error)

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

See StartDeployment 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 (*AppConfig) StopDeployment

func (c *AppConfig) StopDeployment(input *StopDeploymentInput) (*StopDeploymentOutput, error)

StopDeployment API operation for Amazon AppConfig.

Stops a deployment. This API action works only on deployments that have a status of DEPLOYING. This action moves the deployment to a status of ROLLED_BACK.

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 Amazon AppConfig's API operation StopDeployment for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment

Example (Shared00)

To stop configuration deployment The following stop-deployment example stops the deployment of an application configuration to the specified environment.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.StopDeploymentInput{
		ApplicationId:    aws.String("339ohji"),
		DeploymentNumber: aws.Int64(2),
		EnvironmentId:    aws.String("54j1r29"),
	}

	result, err := svc.StopDeployment(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) StopDeploymentRequest

func (c *AppConfig) StopDeploymentRequest(input *StopDeploymentInput) (req *request.Request, output *StopDeploymentOutput)

StopDeploymentRequest generates a "aws/request.Request" representing the client's request for the StopDeployment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopDeployment for more information on using the StopDeployment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment

func (*AppConfig) StopDeploymentWithContext

func (c *AppConfig) StopDeploymentWithContext(ctx aws.Context, input *StopDeploymentInput, opts ...request.Option) (*StopDeploymentOutput, error)

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

See StopDeployment 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 (*AppConfig) TagResource

func (c *AppConfig) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon AppConfig.

Assigns metadata to an AppConfig resource. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.

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 Amazon AppConfig's API operation TagResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource

Example (Shared00)

To tag an application The following tag-resource example tags an application resource.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.TagResourceInput{
		ResourceArn: aws.String("arn:aws:appconfig:us-east-1:111122223333:application/339ohji"),
		Tags: map[string]*string{
			"group1": aws.String("1"),
		},
	}

	result, err := svc.TagResource(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) TagResourceRequest

func (c *AppConfig) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource

func (*AppConfig) TagResourceWithContext

func (c *AppConfig) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

See TagResource 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 (*AppConfig) UntagResource

func (c *AppConfig) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon AppConfig.

Deletes a tag key and value from an AppConfig resource.

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 Amazon AppConfig's API operation UntagResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The requested resource could not be found.

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource

Example (Shared00)

To remove a tag from an application The following untag-resource example removes the group1 tag from the specified application.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.UntagResourceInput{
		ResourceArn: aws.String("arn:aws:appconfig:us-east-1:111122223333:application/339ohji"),
		TagKeys: []*string{
			aws.String("group1"),
		},
	}

	result, err := svc.UntagResource(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) UntagResourceRequest

func (c *AppConfig) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource

func (*AppConfig) UntagResourceWithContext

func (c *AppConfig) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

See UntagResource 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 (*AppConfig) UpdateApplication

func (c *AppConfig) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error)

UpdateApplication API operation for Amazon AppConfig.

Updates an application.

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 Amazon AppConfig's API operation UpdateApplication for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication

Example (Shared00)

To update an application The following update-application example updates the name of the specified application.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.UpdateApplicationInput{
		ApplicationId: aws.String("339ohji"),
		Description:   aws.String(""),
		Name:          aws.String("Example-Application"),
	}

	result, err := svc.UpdateApplication(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) UpdateApplicationRequest

func (c *AppConfig) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput)

UpdateApplicationRequest generates a "aws/request.Request" representing the client's request for the UpdateApplication operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateApplication for more information on using the UpdateApplication API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication

func (*AppConfig) UpdateApplicationWithContext

func (c *AppConfig) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error)

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

See UpdateApplication 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 (*AppConfig) UpdateConfigurationProfile

func (c *AppConfig) UpdateConfigurationProfile(input *UpdateConfigurationProfileInput) (*UpdateConfigurationProfileOutput, error)

UpdateConfigurationProfile API operation for Amazon AppConfig.

Updates a configuration profile.

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 Amazon AppConfig's API operation UpdateConfigurationProfile for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile

Example (Shared00)

To update a configuration profile The following update-configuration-profile example updates the description of the specified configuration profile.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.UpdateConfigurationProfileInput{
		ApplicationId:          aws.String("339ohji"),
		ConfigurationProfileId: aws.String("ur8hx2f"),
		Description:            aws.String("Configuration profile used for examples."),
	}

	result, err := svc.UpdateConfigurationProfile(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) UpdateConfigurationProfileRequest

func (c *AppConfig) UpdateConfigurationProfileRequest(input *UpdateConfigurationProfileInput) (req *request.Request, output *UpdateConfigurationProfileOutput)

UpdateConfigurationProfileRequest generates a "aws/request.Request" representing the client's request for the UpdateConfigurationProfile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateConfigurationProfile for more information on using the UpdateConfigurationProfile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile

func (*AppConfig) UpdateConfigurationProfileWithContext

func (c *AppConfig) UpdateConfigurationProfileWithContext(ctx aws.Context, input *UpdateConfigurationProfileInput, opts ...request.Option) (*UpdateConfigurationProfileOutput, error)

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

See UpdateConfigurationProfile 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 (*AppConfig) UpdateDeploymentStrategy

func (c *AppConfig) UpdateDeploymentStrategy(input *UpdateDeploymentStrategyInput) (*UpdateDeploymentStrategyOutput, error)

UpdateDeploymentStrategy API operation for Amazon AppConfig.

Updates a deployment strategy.

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 Amazon AppConfig's API operation UpdateDeploymentStrategy for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy

Example (Shared00)

To update a deployment strategy The following update-deployment-strategy example updates final bake time to 20 minutes in the specified deployment strategy. ::

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.UpdateDeploymentStrategyInput{
		DeploymentStrategyId:   aws.String("1225qzk"),
		FinalBakeTimeInMinutes: aws.Int64(20),
	}

	result, err := svc.UpdateDeploymentStrategy(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) UpdateDeploymentStrategyRequest

func (c *AppConfig) UpdateDeploymentStrategyRequest(input *UpdateDeploymentStrategyInput) (req *request.Request, output *UpdateDeploymentStrategyOutput)

UpdateDeploymentStrategyRequest generates a "aws/request.Request" representing the client's request for the UpdateDeploymentStrategy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDeploymentStrategy for more information on using the UpdateDeploymentStrategy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy

func (*AppConfig) UpdateDeploymentStrategyWithContext

func (c *AppConfig) UpdateDeploymentStrategyWithContext(ctx aws.Context, input *UpdateDeploymentStrategyInput, opts ...request.Option) (*UpdateDeploymentStrategyOutput, error)

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

See UpdateDeploymentStrategy 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 (*AppConfig) UpdateEnvironment

func (c *AppConfig) UpdateEnvironment(input *UpdateEnvironmentInput) (*UpdateEnvironmentOutput, error)

UpdateEnvironment API operation for Amazon AppConfig.

Updates an environment.

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 Amazon AppConfig's API operation UpdateEnvironment for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment

Example (Shared00)

To update an environment The following update-environment example updates an environment's description.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.UpdateEnvironmentInput{
		ApplicationId: aws.String("339ohji"),
		Description:   aws.String("An environment for examples."),
		EnvironmentId: aws.String("54j1r29"),
	}

	result, err := svc.UpdateEnvironment(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) UpdateEnvironmentRequest

func (c *AppConfig) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *request.Request, output *UpdateEnvironmentOutput)

UpdateEnvironmentRequest generates a "aws/request.Request" representing the client's request for the UpdateEnvironment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateEnvironment for more information on using the UpdateEnvironment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment

func (*AppConfig) UpdateEnvironmentWithContext

func (c *AppConfig) UpdateEnvironmentWithContext(ctx aws.Context, input *UpdateEnvironmentInput, opts ...request.Option) (*UpdateEnvironmentOutput, error)

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

See UpdateEnvironment 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 (*AppConfig) UpdateExtension added in v1.44.54

func (c *AppConfig) UpdateExtension(input *UpdateExtensionInput) (*UpdateExtensionOutput, error)

UpdateExtension API operation for Amazon AppConfig.

Updates an AppConfig extension. For more information about extensions, see Working with AppConfig extensions (https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html) in the AppConfig User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppConfig's API operation UpdateExtension for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • ConflictException The request could not be processed because of conflict in the current state of the resource.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension

func (*AppConfig) UpdateExtensionAssociation added in v1.44.54

func (c *AppConfig) UpdateExtensionAssociation(input *UpdateExtensionAssociationInput) (*UpdateExtensionAssociationOutput, error)

UpdateExtensionAssociation API operation for Amazon AppConfig.

Updates an association. For more information about extensions and associations, see Working with AppConfig extensions (https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html) in the AppConfig User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppConfig's API operation UpdateExtensionAssociation for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation

func (*AppConfig) UpdateExtensionAssociationRequest added in v1.44.54

func (c *AppConfig) UpdateExtensionAssociationRequest(input *UpdateExtensionAssociationInput) (req *request.Request, output *UpdateExtensionAssociationOutput)

UpdateExtensionAssociationRequest generates a "aws/request.Request" representing the client's request for the UpdateExtensionAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateExtensionAssociation for more information on using the UpdateExtensionAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtensionAssociation

func (*AppConfig) UpdateExtensionAssociationWithContext added in v1.44.54

func (c *AppConfig) UpdateExtensionAssociationWithContext(ctx aws.Context, input *UpdateExtensionAssociationInput, opts ...request.Option) (*UpdateExtensionAssociationOutput, error)

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

See UpdateExtensionAssociation 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 (*AppConfig) UpdateExtensionRequest added in v1.44.54

func (c *AppConfig) UpdateExtensionRequest(input *UpdateExtensionInput) (req *request.Request, output *UpdateExtensionOutput)

UpdateExtensionRequest generates a "aws/request.Request" representing the client's request for the UpdateExtension operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateExtension for more information on using the UpdateExtension API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExtension

func (*AppConfig) UpdateExtensionWithContext added in v1.44.54

func (c *AppConfig) UpdateExtensionWithContext(ctx aws.Context, input *UpdateExtensionInput, opts ...request.Option) (*UpdateExtensionOutput, error)

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

See UpdateExtension 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 (*AppConfig) ValidateConfiguration

func (c *AppConfig) ValidateConfiguration(input *ValidateConfigurationInput) (*ValidateConfigurationOutput, error)

ValidateConfiguration API operation for Amazon AppConfig.

Uses the validators in a configuration profile to validate a configuration.

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 Amazon AppConfig's API operation ValidateConfiguration for usage and error information.

Returned Error Types:

  • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.

  • ResourceNotFoundException The requested resource could not be found.

  • InternalServerException There was an internal failure in the AppConfig service.

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration

Example (Shared00)

To validate a configuration The following validate-configuration example uses the validators in a configuration profile to validate a configuration.

package main

import (
	"fmt"

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

func main() {
	svc := appconfig.New(session.New())
	input := &appconfig.ValidateConfigurationInput{
		ApplicationId:          aws.String("abc1234"),
		ConfigurationProfileId: aws.String("ur8hx2f"),
		ConfigurationVersion:   aws.String("1"),
	}

	result, err := svc.ValidateConfiguration(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case appconfig.ErrCodeBadRequestException:
				fmt.Println(appconfig.ErrCodeBadRequestException, aerr.Error())
			case appconfig.ErrCodeResourceNotFoundException:
				fmt.Println(appconfig.ErrCodeResourceNotFoundException, aerr.Error())
			case appconfig.ErrCodeInternalServerException:
				fmt.Println(appconfig.ErrCodeInternalServerException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*AppConfig) ValidateConfigurationRequest

func (c *AppConfig) ValidateConfigurationRequest(input *ValidateConfigurationInput) (req *request.Request, output *ValidateConfigurationOutput)

ValidateConfigurationRequest generates a "aws/request.Request" representing the client's request for the ValidateConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ValidateConfiguration for more information on using the ValidateConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration

func (*AppConfig) ValidateConfigurationWithContext

func (c *AppConfig) ValidateConfigurationWithContext(ctx aws.Context, input *ValidateConfigurationInput, opts ...request.Option) (*ValidateConfigurationOutput, error)

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

See ValidateConfiguration 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 Application

type Application struct {

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

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (Application) GoString

func (s Application) GoString() string

GoString returns the string representation.

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

func (*Application) SetDescription

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

SetDescription sets the Description field's value.

func (*Application) SetId

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

SetId sets the Id field's value.

func (*Application) SetName

func (s *Application) SetName(v string) *Application

SetName sets the Name field's value.

func (Application) String

func (s Application) String() string

String returns the string representation.

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

type AppliedExtension added in v1.44.54

type AppliedExtension struct {

	// The system-generated ID for the association.
	ExtensionAssociationId *string `type:"string"`

	// The system-generated ID of the extension.
	ExtensionId *string `type:"string"`

	// One or more parameters for the actions called by the extension.
	Parameters map[string]*string `type:"map"`

	// The extension version number.
	VersionNumber *int64 `type:"integer"`
	// contains filtered or unexported fields
}

An extension that was invoked during a deployment.

func (AppliedExtension) GoString added in v1.44.54

func (s AppliedExtension) GoString() string

GoString returns the string representation.

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

func (*AppliedExtension) SetExtensionAssociationId added in v1.44.54

func (s *AppliedExtension) SetExtensionAssociationId(v string) *AppliedExtension

SetExtensionAssociationId sets the ExtensionAssociationId field's value.

func (*AppliedExtension) SetExtensionId added in v1.44.54

func (s *AppliedExtension) SetExtensionId(v string) *AppliedExtension

SetExtensionId sets the ExtensionId field's value.

func (*AppliedExtension) SetParameters added in v1.44.54

func (s *AppliedExtension) SetParameters(v map[string]*string) *AppliedExtension

SetParameters sets the Parameters field's value.

func (*AppliedExtension) SetVersionNumber added in v1.44.54

func (s *AppliedExtension) SetVersionNumber(v int64) *AppliedExtension

SetVersionNumber sets the VersionNumber field's value.

func (AppliedExtension) String added in v1.44.54

func (s AppliedExtension) String() string

String returns the string representation.

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

type BadRequestDetails added in v1.42.8

type BadRequestDetails struct {

	// Detailed information about the bad request exception error when creating
	// a hosted configuration version.
	InvalidConfiguration []*InvalidConfigurationDetail `type:"list"`
	// contains filtered or unexported fields
}

Detailed information about the input that failed to satisfy the constraints specified by a call.

func (BadRequestDetails) GoString added in v1.42.8

func (s BadRequestDetails) GoString() string

GoString returns the string representation.

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

func (*BadRequestDetails) SetInvalidConfiguration added in v1.42.8

func (s *BadRequestDetails) SetInvalidConfiguration(v []*InvalidConfigurationDetail) *BadRequestDetails

SetInvalidConfiguration sets the InvalidConfiguration field's value.

func (BadRequestDetails) String added in v1.42.8

func (s BadRequestDetails) String() string

String returns the string representation.

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

type BadRequestException added in v1.28.0

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

	// Detailed information about the input that failed to satisfy the constraints
	// specified by a call.
	Details *BadRequestDetails `type:"structure"`

	Message_ *string `locationName:"Message" type:"string"`

	Reason *string `type:"string" enum:"BadRequestReason"`
	// contains filtered or unexported fields
}

The input fails to satisfy the constraints specified by an Amazon Web Services service.

func (*BadRequestException) Code added in v1.28.0

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error added in v1.28.0

func (s *BadRequestException) Error() string

func (BadRequestException) GoString added in v1.28.0

func (s BadRequestException) GoString() string

GoString returns the string representation.

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

func (*BadRequestException) Message added in v1.28.0

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr added in v1.28.0

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID added in v1.28.0

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode added in v1.28.0

func (s *BadRequestException) StatusCode() int

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

func (BadRequestException) String added in v1.28.0

func (s BadRequestException) String() string

String returns the string representation.

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

type ConfigurationProfileSummary

type ConfigurationProfileSummary struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The ID of the configuration profile.
	Id *string `type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The type of configurations contained in the profile. AppConfig supports feature
	// flags and freeform configurations. We recommend you create feature flag configurations
	// to enable or disable new features and freeform configurations to distribute
	// configurations to an application. When calling this API, enter one of the
	// following values for Type:
	//
	// AWS.AppConfig.FeatureFlags
	//
	// AWS.Freeform
	Type *string `type:"string"`

	// The types of validators in the configuration profile.
	ValidatorTypes []*string `type:"list" enum:"ValidatorType"`
	// contains filtered or unexported fields
}

A summary of a configuration profile.

func (ConfigurationProfileSummary) GoString

func (s ConfigurationProfileSummary) GoString() string

GoString returns the string representation.

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

func (*ConfigurationProfileSummary) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*ConfigurationProfileSummary) SetId

SetId sets the Id field's value.

func (*ConfigurationProfileSummary) SetLocationUri

SetLocationUri sets the LocationUri field's value.

func (*ConfigurationProfileSummary) SetName

SetName sets the Name field's value.

func (*ConfigurationProfileSummary) SetType added in v1.42.8

SetType sets the Type field's value.

func (*ConfigurationProfileSummary) SetValidatorTypes

SetValidatorTypes sets the ValidatorTypes field's value.

func (ConfigurationProfileSummary) String

String returns the string representation.

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

type ConflictException added in v1.28.0

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

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

The request could not be processed because of conflict in the current state of the resource.

func (*ConflictException) Code added in v1.28.0

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error added in v1.28.0

func (s *ConflictException) Error() string

func (ConflictException) GoString added in v1.28.0

func (s ConflictException) GoString() string

GoString returns the string representation.

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

func (*ConflictException) Message added in v1.28.0

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr added in v1.28.0

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID added in v1.28.0

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode added in v1.28.0

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String added in v1.28.0

func (s ConflictException) String() string

String returns the string representation.

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

type CreateApplicationInput

type CreateApplicationInput struct {

	// A description of the application.
	Description *string `type:"string"`

	// A name for the application.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// Metadata to assign to the application. Tags help organize and categorize
	// your AppConfig resources. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (CreateApplicationInput) GoString

func (s CreateApplicationInput) GoString() string

GoString returns the string representation.

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

func (*CreateApplicationInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateApplicationInput) SetName

SetName sets the Name field's value.

func (*CreateApplicationInput) SetTags

SetTags sets the Tags field's value.

func (CreateApplicationInput) String

func (s CreateApplicationInput) String() string

String returns the string representation.

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

func (*CreateApplicationInput) Validate

func (s *CreateApplicationInput) Validate() error

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

type CreateApplicationOutput

type CreateApplicationOutput struct {

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

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateApplicationOutput) GoString

func (s CreateApplicationOutput) GoString() string

GoString returns the string representation.

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

func (*CreateApplicationOutput) SetDescription

SetDescription sets the Description field's value.

func (*CreateApplicationOutput) SetId

SetId sets the Id field's value.

func (*CreateApplicationOutput) SetName

SetName sets the Name field's value.

func (CreateApplicationOutput) String

func (s CreateApplicationOutput) String() string

String returns the string representation.

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

type CreateConfigurationProfileInput

type CreateConfigurationProfileInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the configuration profile.
	Description *string `type:"string"`

	// The identifier for an Key Management Service key to encrypt new configuration
	// data versions in the AppConfig hosted configuration store. This attribute
	// is only used for hosted configuration types. The identifier can be an KMS
	// key ID, alias, or the Amazon Resource Name (ARN) of the key ID or alias.
	// To encrypt data managed in other configuration stores, see the documentation
	// for how to specify an KMS key for that particular service.
	KmsKeyIdentifier *string `min:"1" type:"string"`

	// A URI to locate the configuration. You can specify the following:
	//
	//    * For the AppConfig hosted configuration store and for feature flags,
	//    specify hosted.
	//
	//    * For an Amazon Web Services Systems Manager Parameter Store parameter,
	//    specify either the parameter name in the format ssm-parameter://<parameter
	//    name> or the ARN.
	//
	//    * For an Amazon Web Services CodePipeline pipeline, specify the URI in
	//    the following format: codepipeline://<pipeline name>.
	//
	//    * For an Secrets Manager secret, specify the URI in the following format:
	//    secretsmanager://<secret name>.
	//
	//    * For an Amazon S3 object, specify the URI in the following format: s3://<bucket>/<objectKey>
	//    . Here is an example: s3://my-bucket/my-app/us-east-1/my-config.json
	//
	//    * For an SSM document, specify either the document name in the format
	//    ssm-document://<document name> or the Amazon Resource Name (ARN).
	//
	// LocationUri is a required field
	LocationUri *string `min:"1" type:"string" required:"true"`

	// A name for the configuration profile.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	//
	// A retrieval role ARN is not required for configurations stored in the AppConfig
	// hosted configuration store. It is required for all other sources that store
	// your configuration.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// Metadata to assign to the configuration profile. Tags help organize and categorize
	// your AppConfig resources. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]*string `type:"map"`

	// The type of configurations contained in the profile. AppConfig supports feature
	// flags and freeform configurations. We recommend you create feature flag configurations
	// to enable or disable new features and freeform configurations to distribute
	// configurations to an application. When calling this API, enter one of the
	// following values for Type:
	//
	// AWS.AppConfig.FeatureFlags
	//
	// AWS.Freeform
	Type *string `type:"string"`

	// A list of methods for validating the configuration.
	Validators []*Validator `type:"list"`
	// contains filtered or unexported fields
}

func (CreateConfigurationProfileInput) GoString

GoString returns the string representation.

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

func (*CreateConfigurationProfileInput) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*CreateConfigurationProfileInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateConfigurationProfileInput) SetKmsKeyIdentifier added in v1.45.22

SetKmsKeyIdentifier sets the KmsKeyIdentifier field's value.

func (*CreateConfigurationProfileInput) SetLocationUri

SetLocationUri sets the LocationUri field's value.

func (*CreateConfigurationProfileInput) SetName

SetName sets the Name field's value.

func (*CreateConfigurationProfileInput) SetRetrievalRoleArn

SetRetrievalRoleArn sets the RetrievalRoleArn field's value.

func (*CreateConfigurationProfileInput) SetTags

SetTags sets the Tags field's value.

func (*CreateConfigurationProfileInput) SetType added in v1.42.8

SetType sets the Type field's value.

func (*CreateConfigurationProfileInput) SetValidators

SetValidators sets the Validators field's value.

func (CreateConfigurationProfileInput) String

String returns the string representation.

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

func (*CreateConfigurationProfileInput) Validate

func (s *CreateConfigurationProfileInput) Validate() error

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

type CreateConfigurationProfileOutput

type CreateConfigurationProfileOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The configuration profile description.
	Description *string `type:"string"`

	// The configuration profile ID.
	Id *string `type:"string"`

	// The Amazon Resource Name of the Key Management Service key to encrypt new
	// configuration data versions in the AppConfig hosted configuration store.
	// This attribute is only used for hosted configuration types. To encrypt data
	// managed in other configuration stores, see the documentation for how to specify
	// an KMS key for that particular service.
	KmsKeyArn *string `min:"20" type:"string"`

	// The Key Management Service key identifier (key ID, key alias, or key ARN)
	// provided when the resource was created or updated.
	KmsKeyIdentifier *string `min:"1" type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// The type of configurations contained in the profile. AppConfig supports feature
	// flags and freeform configurations. We recommend you create feature flag configurations
	// to enable or disable new features and freeform configurations to distribute
	// configurations to an application. When calling this API, enter one of the
	// following values for Type:
	//
	// AWS.AppConfig.FeatureFlags
	//
	// AWS.Freeform
	Type *string `type:"string"`

	// A list of methods for validating the configuration.
	Validators []*Validator `type:"list"`
	// contains filtered or unexported fields
}

func (CreateConfigurationProfileOutput) GoString

GoString returns the string representation.

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

func (*CreateConfigurationProfileOutput) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*CreateConfigurationProfileOutput) SetDescription

SetDescription sets the Description field's value.

func (*CreateConfigurationProfileOutput) SetId

SetId sets the Id field's value.

func (*CreateConfigurationProfileOutput) SetKmsKeyArn added in v1.45.22

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*CreateConfigurationProfileOutput) SetKmsKeyIdentifier added in v1.45.22

SetKmsKeyIdentifier sets the KmsKeyIdentifier field's value.

func (*CreateConfigurationProfileOutput) SetLocationUri

SetLocationUri sets the LocationUri field's value.

func (*CreateConfigurationProfileOutput) SetName

SetName sets the Name field's value.

func (*CreateConfigurationProfileOutput) SetRetrievalRoleArn

SetRetrievalRoleArn sets the RetrievalRoleArn field's value.

func (*CreateConfigurationProfileOutput) SetType added in v1.42.8

SetType sets the Type field's value.

func (*CreateConfigurationProfileOutput) SetValidators

SetValidators sets the Validators field's value.

func (CreateConfigurationProfileOutput) String

String returns the string representation.

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

type CreateDeploymentStrategyInput

type CreateDeploymentStrategyInput struct {

	// Total amount of time for a deployment to last.
	//
	// DeploymentDurationInMinutes is a required field
	DeploymentDurationInMinutes *int64 `type:"integer" required:"true"`

	// A description of the deployment strategy.
	Description *string `type:"string"`

	// Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms
	// after the configuration has been deployed to 100% of its targets, before
	// considering the deployment to be complete. If an alarm is triggered during
	// this time, AppConfig rolls back the deployment. You must configure permissions
	// for AppConfig to roll back based on CloudWatch alarms. For more information,
	// see Configuring permissions for rollback based on Amazon CloudWatch alarms
	// (https://docs.aws.amazon.com/appconfig/latest/userguide/getting-started-with-appconfig-cloudwatch-alarms-permissions.html)
	// in the AppConfig User Guide.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	//
	// GrowthFactor is a required field
	GrowthFactor *float64 `min:"1" type:"float" required:"true"`

	// The algorithm used to define how percentage grows over time. AppConfig supports
	// the following growth types:
	//
	// Linear: For this type, AppConfig processes the deployment by dividing the
	// total number of targets by the value specified for Step percentage. For example,
	// a linear deployment that uses a Step percentage of 10 deploys the configuration
	// to 10 percent of the hosts. After those deployments are complete, the system
	// deploys the configuration to the next 10 percent. This continues until 100%
	// of the targets have successfully received the configuration.
	//
	// Exponential: For this type, AppConfig processes the deployment exponentially
	// using the following formula: G*(2^N). In this formula, G is the growth factor
	// specified by the user and N is the number of steps until the configuration
	// is deployed to all targets. For example, if you specify a growth factor of
	// 2, then the system rolls out the configuration as follows:
	//
	// 2*(2^0)
	//
	// 2*(2^1)
	//
	// 2*(2^2)
	//
	// Expressed numerically, the deployment rolls out as follows: 2% of the targets,
	// 4% of the targets, 8% of the targets, and continues until the configuration
	// has been deployed to all targets.
	GrowthType *string `type:"string" enum:"GrowthType"`

	// A name for the deployment strategy.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo *string `type:"string" enum:"ReplicateTo"`

	// Metadata to assign to the deployment strategy. Tags help organize and categorize
	// your AppConfig resources. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (CreateDeploymentStrategyInput) GoString

GoString returns the string representation.

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

func (*CreateDeploymentStrategyInput) SetDeploymentDurationInMinutes

func (s *CreateDeploymentStrategyInput) SetDeploymentDurationInMinutes(v int64) *CreateDeploymentStrategyInput

SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.

func (*CreateDeploymentStrategyInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateDeploymentStrategyInput) SetFinalBakeTimeInMinutes

func (s *CreateDeploymentStrategyInput) SetFinalBakeTimeInMinutes(v int64) *CreateDeploymentStrategyInput

SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.

func (*CreateDeploymentStrategyInput) SetGrowthFactor

SetGrowthFactor sets the GrowthFactor field's value.

func (*CreateDeploymentStrategyInput) SetGrowthType

SetGrowthType sets the GrowthType field's value.

func (*CreateDeploymentStrategyInput) SetName

SetName sets the Name field's value.

func (*CreateDeploymentStrategyInput) SetReplicateTo

SetReplicateTo sets the ReplicateTo field's value.

func (*CreateDeploymentStrategyInput) SetTags

SetTags sets the Tags field's value.

func (CreateDeploymentStrategyInput) String

String returns the string representation.

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

func (*CreateDeploymentStrategyInput) Validate

func (s *CreateDeploymentStrategyInput) Validate() error

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

type CreateDeploymentStrategyOutput

type CreateDeploymentStrategyOutput struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time that AppConfig monitored for alarms before considering
	// the deployment to be complete and no longer eligible for automatic rollback.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType *string `type:"string" enum:"GrowthType"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo *string `type:"string" enum:"ReplicateTo"`
	// contains filtered or unexported fields
}

func (CreateDeploymentStrategyOutput) GoString

GoString returns the string representation.

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

func (*CreateDeploymentStrategyOutput) SetDeploymentDurationInMinutes

func (s *CreateDeploymentStrategyOutput) SetDeploymentDurationInMinutes(v int64) *CreateDeploymentStrategyOutput

SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.

func (*CreateDeploymentStrategyOutput) SetDescription

SetDescription sets the Description field's value.

func (*CreateDeploymentStrategyOutput) SetFinalBakeTimeInMinutes

func (s *CreateDeploymentStrategyOutput) SetFinalBakeTimeInMinutes(v int64) *CreateDeploymentStrategyOutput

SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.

func (*CreateDeploymentStrategyOutput) SetGrowthFactor

SetGrowthFactor sets the GrowthFactor field's value.

func (*CreateDeploymentStrategyOutput) SetGrowthType

SetGrowthType sets the GrowthType field's value.

func (*CreateDeploymentStrategyOutput) SetId

SetId sets the Id field's value.

func (*CreateDeploymentStrategyOutput) SetName

SetName sets the Name field's value.

func (*CreateDeploymentStrategyOutput) SetReplicateTo

SetReplicateTo sets the ReplicateTo field's value.

func (CreateDeploymentStrategyOutput) String

String returns the string representation.

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

type CreateEnvironmentInput

type CreateEnvironmentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the environment.
	Description *string `type:"string"`

	// Amazon CloudWatch alarms to monitor during the deployment process.
	Monitors []*Monitor `type:"list"`

	// A name for the environment.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// Metadata to assign to the environment. Tags help organize and categorize
	// your AppConfig resources. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (CreateEnvironmentInput) GoString

func (s CreateEnvironmentInput) GoString() string

GoString returns the string representation.

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

func (*CreateEnvironmentInput) SetApplicationId

func (s *CreateEnvironmentInput) SetApplicationId(v string) *CreateEnvironmentInput

SetApplicationId sets the ApplicationId field's value.

func (*CreateEnvironmentInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateEnvironmentInput) SetMonitors

SetMonitors sets the Monitors field's value.

func (*CreateEnvironmentInput) SetName

SetName sets the Name field's value.

func (*CreateEnvironmentInput) SetTags

SetTags sets the Tags field's value.

func (CreateEnvironmentInput) String

func (s CreateEnvironmentInput) String() string

String returns the string representation.

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

func (*CreateEnvironmentInput) Validate

func (s *CreateEnvironmentInput) Validate() error

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

type CreateEnvironmentOutput

type CreateEnvironmentOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

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

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []*Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"string"`

	// The state of the environment. An environment can be in one of the following
	// states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
	State *string `type:"string" enum:"EnvironmentState"`
	// contains filtered or unexported fields
}

func (CreateEnvironmentOutput) GoString

func (s CreateEnvironmentOutput) GoString() string

GoString returns the string representation.

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

func (*CreateEnvironmentOutput) SetApplicationId

func (s *CreateEnvironmentOutput) SetApplicationId(v string) *CreateEnvironmentOutput

SetApplicationId sets the ApplicationId field's value.

func (*CreateEnvironmentOutput) SetDescription

SetDescription sets the Description field's value.

func (*CreateEnvironmentOutput) SetId

SetId sets the Id field's value.

func (*CreateEnvironmentOutput) SetMonitors

SetMonitors sets the Monitors field's value.

func (*CreateEnvironmentOutput) SetName

SetName sets the Name field's value.

func (*CreateEnvironmentOutput) SetState

SetState sets the State field's value.

func (CreateEnvironmentOutput) String

func (s CreateEnvironmentOutput) String() string

String returns the string representation.

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

type CreateExtensionAssociationInput added in v1.44.54

type CreateExtensionAssociationInput struct {

	// The name, the ID, or the Amazon Resource Name (ARN) of the extension.
	//
	// ExtensionIdentifier is a required field
	ExtensionIdentifier *string `min:"1" type:"string" required:"true"`

	// The version number of the extension. If not specified, AppConfig uses the
	// maximum version of the extension.
	ExtensionVersionNumber *int64 `type:"integer"`

	// The parameter names and values defined in the extensions. Extension parameters
	// marked Required must be entered for this field.
	Parameters map[string]*string `type:"map"`

	// The ARN of an application, configuration profile, or environment.
	//
	// ResourceIdentifier is a required field
	ResourceIdentifier *string `min:"1" type:"string" required:"true"`

	// Adds one or more tags for the specified extension association. Tags are metadata
	// that help you categorize resources in different ways, for example, by purpose,
	// owner, or environment. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (CreateExtensionAssociationInput) GoString added in v1.44.54

GoString returns the string representation.

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

func (*CreateExtensionAssociationInput) SetExtensionIdentifier added in v1.44.54

SetExtensionIdentifier sets the ExtensionIdentifier field's value.

func (*CreateExtensionAssociationInput) SetExtensionVersionNumber added in v1.44.54

SetExtensionVersionNumber sets the ExtensionVersionNumber field's value.

func (*CreateExtensionAssociationInput) SetParameters added in v1.44.54

SetParameters sets the Parameters field's value.

func (*CreateExtensionAssociationInput) SetResourceIdentifier added in v1.44.54

SetResourceIdentifier sets the ResourceIdentifier field's value.

func (*CreateExtensionAssociationInput) SetTags added in v1.44.54

SetTags sets the Tags field's value.

func (CreateExtensionAssociationInput) String added in v1.44.54

String returns the string representation.

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

func (*CreateExtensionAssociationInput) Validate added in v1.44.54

func (s *CreateExtensionAssociationInput) Validate() error

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

type CreateExtensionAssociationOutput added in v1.44.54

type CreateExtensionAssociationOutput struct {

	// The system-generated Amazon Resource Name (ARN) for the extension.
	Arn *string `min:"20" type:"string"`

	// The ARN of the extension defined in the association.
	ExtensionArn *string `min:"20" type:"string"`

	// The version number for the extension defined in the association.
	ExtensionVersionNumber *int64 `type:"integer"`

	// The system-generated ID for the association.
	Id *string `min:"1" type:"string"`

	// The parameter names and values defined in the association.
	Parameters map[string]*string `type:"map"`

	// The ARNs of applications, configuration profiles, or environments defined
	// in the association.
	ResourceArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (CreateExtensionAssociationOutput) GoString added in v1.44.54

GoString returns the string representation.

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

func (*CreateExtensionAssociationOutput) SetArn added in v1.44.54

SetArn sets the Arn field's value.

func (*CreateExtensionAssociationOutput) SetExtensionArn added in v1.44.54

SetExtensionArn sets the ExtensionArn field's value.

func (*CreateExtensionAssociationOutput) SetExtensionVersionNumber added in v1.44.54

SetExtensionVersionNumber sets the ExtensionVersionNumber field's value.

func (*CreateExtensionAssociationOutput) SetId added in v1.44.54

SetId sets the Id field's value.

func (*CreateExtensionAssociationOutput) SetParameters added in v1.44.54

SetParameters sets the Parameters field's value.

func (*CreateExtensionAssociationOutput) SetResourceArn added in v1.44.54

SetResourceArn sets the ResourceArn field's value.

func (CreateExtensionAssociationOutput) String added in v1.44.54

String returns the string representation.

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

type CreateExtensionInput added in v1.44.54

type CreateExtensionInput struct {

	// The actions defined in the extension.
	//
	// Actions is a required field
	Actions map[string][]*Action `min:"1" type:"map" required:"true"`

	// Information about the extension.
	Description *string `type:"string"`

	// You can omit this field when you create an extension. When you create a new
	// version, specify the most recent current version number. For example, you
	// create version 3, enter 2 for this field.
	LatestVersionNumber *int64 `location:"header" locationName:"Latest-Version-Number" type:"integer"`

	// A name for the extension. Each extension name in your account must be unique.
	// Extension versions use the same name.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The parameters accepted by the extension. You specify parameter values when
	// you associate the extension to an AppConfig resource by using the CreateExtensionAssociation
	// API action. For Lambda extension actions, these parameters are included in
	// the Lambda request object.
	Parameters map[string]*Parameter `min:"1" type:"map"`

	// Adds one or more tags for the specified extension. Tags are metadata that
	// help you categorize resources in different ways, for example, by purpose,
	// owner, or environment. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (CreateExtensionInput) GoString added in v1.44.54

func (s CreateExtensionInput) GoString() string

GoString returns the string representation.

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

func (*CreateExtensionInput) SetActions added in v1.44.54

func (s *CreateExtensionInput) SetActions(v map[string][]*Action) *CreateExtensionInput

SetActions sets the Actions field's value.

func (*CreateExtensionInput) SetDescription added in v1.44.54

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

SetDescription sets the Description field's value.

func (*CreateExtensionInput) SetLatestVersionNumber added in v1.44.54

func (s *CreateExtensionInput) SetLatestVersionNumber(v int64) *CreateExtensionInput

SetLatestVersionNumber sets the LatestVersionNumber field's value.

func (*CreateExtensionInput) SetName added in v1.44.54

SetName sets the Name field's value.

func (*CreateExtensionInput) SetParameters added in v1.44.54

func (s *CreateExtensionInput) SetParameters(v map[string]*Parameter) *CreateExtensionInput

SetParameters sets the Parameters field's value.

func (*CreateExtensionInput) SetTags added in v1.44.54

SetTags sets the Tags field's value.

func (CreateExtensionInput) String added in v1.44.54

func (s CreateExtensionInput) String() string

String returns the string representation.

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

func (*CreateExtensionInput) Validate added in v1.44.54

func (s *CreateExtensionInput) Validate() error

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

type CreateExtensionOutput added in v1.44.54

type CreateExtensionOutput struct {

	// The actions defined in the extension.
	Actions map[string][]*Action `min:"1" type:"map"`

	// The system-generated Amazon Resource Name (ARN) for the extension.
	Arn *string `min:"20" type:"string"`

	// Information about the extension.
	Description *string `type:"string"`

	// The system-generated ID of the extension.
	Id *string `type:"string"`

	// The extension name.
	Name *string `min:"1" type:"string"`

	// The parameters accepted by the extension. You specify parameter values when
	// you associate the extension to an AppConfig resource by using the CreateExtensionAssociation
	// API action. For Lambda extension actions, these parameters are included in
	// the Lambda request object.
	Parameters map[string]*Parameter `min:"1" type:"map"`

	// The extension version number.
	VersionNumber *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (CreateExtensionOutput) GoString added in v1.44.54

func (s CreateExtensionOutput) GoString() string

GoString returns the string representation.

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

func (*CreateExtensionOutput) SetActions added in v1.44.54

func (s *CreateExtensionOutput) SetActions(v map[string][]*Action) *CreateExtensionOutput

SetActions sets the Actions field's value.

func (*CreateExtensionOutput) SetArn added in v1.44.54

SetArn sets the Arn field's value.

func (*CreateExtensionOutput) SetDescription added in v1.44.54

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

SetDescription sets the Description field's value.

func (*CreateExtensionOutput) SetId added in v1.44.54

SetId sets the Id field's value.

func (*CreateExtensionOutput) SetName added in v1.44.54

SetName sets the Name field's value.

func (*CreateExtensionOutput) SetParameters added in v1.44.54

func (s *CreateExtensionOutput) SetParameters(v map[string]*Parameter) *CreateExtensionOutput

SetParameters sets the Parameters field's value.

func (*CreateExtensionOutput) SetVersionNumber added in v1.44.54

func (s *CreateExtensionOutput) SetVersionNumber(v int64) *CreateExtensionOutput

SetVersionNumber sets the VersionNumber field's value.

func (CreateExtensionOutput) String added in v1.44.54

func (s CreateExtensionOutput) String() string

String returns the string representation.

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

type CreateHostedConfigurationVersionInput added in v1.32.2

type CreateHostedConfigurationVersionInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// The content of the configuration or the configuration data.
	//
	// Content is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateHostedConfigurationVersionInput's
	// String and GoString methods.
	//
	// Content is a required field
	Content []byte `type:"blob" required:"true" sensitive:"true"`

	// A standard MIME type describing the format of the configuration content.
	// For more information, see Content-Type (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	//
	// ContentType is a required field
	ContentType *string `location:"header" locationName:"Content-Type" min:"1" type:"string" required:"true"`

	// A description of the configuration.
	Description *string `location:"header" locationName:"Description" type:"string"`

	// An optional locking token used to prevent race conditions from overwriting
	// configuration updates when creating a new version. To ensure your data is
	// not overwritten when creating multiple hosted configuration versions in rapid
	// succession, specify the version number of the latest hosted configuration
	// version.
	LatestVersionNumber *int64 `location:"header" locationName:"Latest-Version-Number" type:"integer"`

	// An optional, user-defined label for the AppConfig hosted configuration version.
	// This value must contain at least one non-numeric character. For example,
	// "v2.2.0".
	VersionLabel *string `location:"header" locationName:"VersionLabel" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateHostedConfigurationVersionInput) GoString added in v1.32.2

GoString returns the string representation.

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

func (*CreateHostedConfigurationVersionInput) SetApplicationId added in v1.32.2

SetApplicationId sets the ApplicationId field's value.

func (*CreateHostedConfigurationVersionInput) SetConfigurationProfileId added in v1.32.2

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*CreateHostedConfigurationVersionInput) SetContent added in v1.32.2

SetContent sets the Content field's value.

func (*CreateHostedConfigurationVersionInput) SetContentType added in v1.32.2

SetContentType sets the ContentType field's value.

func (*CreateHostedConfigurationVersionInput) SetDescription added in v1.32.2

SetDescription sets the Description field's value.

func (*CreateHostedConfigurationVersionInput) SetLatestVersionNumber added in v1.32.2

SetLatestVersionNumber sets the LatestVersionNumber field's value.

func (*CreateHostedConfigurationVersionInput) SetVersionLabel added in v1.44.201

SetVersionLabel sets the VersionLabel field's value.

func (CreateHostedConfigurationVersionInput) String added in v1.32.2

String returns the string representation.

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

func (*CreateHostedConfigurationVersionInput) Validate added in v1.32.2

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

type CreateHostedConfigurationVersionOutput added in v1.32.2

type CreateHostedConfigurationVersionOutput struct {

	// The application ID.
	ApplicationId *string `location:"header" locationName:"Application-Id" type:"string"`

	// The configuration profile ID.
	ConfigurationProfileId *string `location:"header" locationName:"Configuration-Profile-Id" type:"string"`

	// The content of the configuration or the configuration data.
	//
	// Content is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateHostedConfigurationVersionOutput's
	// String and GoString methods.
	Content []byte `type:"blob" sensitive:"true"`

	// A standard MIME type describing the format of the configuration content.
	// For more information, see Content-Type (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType *string `location:"header" locationName:"Content-Type" min:"1" type:"string"`

	// A description of the configuration.
	Description *string `location:"header" locationName:"Description" type:"string"`

	// The Amazon Resource Name of the Key Management Service key that was used
	// to encrypt this specific version of the configuration data in the AppConfig
	// hosted configuration store.
	KmsKeyArn *string `location:"header" locationName:"KmsKeyArn" min:"20" type:"string"`

	// A user-defined label for an AppConfig hosted configuration version.
	VersionLabel *string `location:"header" locationName:"VersionLabel" min:"1" type:"string"`

	// The configuration version.
	VersionNumber *int64 `location:"header" locationName:"Version-Number" type:"integer"`
	// contains filtered or unexported fields
}

func (CreateHostedConfigurationVersionOutput) GoString added in v1.32.2

GoString returns the string representation.

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

func (*CreateHostedConfigurationVersionOutput) SetApplicationId added in v1.32.2

SetApplicationId sets the ApplicationId field's value.

func (*CreateHostedConfigurationVersionOutput) SetConfigurationProfileId added in v1.32.2

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*CreateHostedConfigurationVersionOutput) SetContent added in v1.32.2

SetContent sets the Content field's value.

func (*CreateHostedConfigurationVersionOutput) SetContentType added in v1.32.2

SetContentType sets the ContentType field's value.

func (*CreateHostedConfigurationVersionOutput) SetDescription added in v1.32.2

SetDescription sets the Description field's value.

func (*CreateHostedConfigurationVersionOutput) SetKmsKeyArn added in v1.45.22

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*CreateHostedConfigurationVersionOutput) SetVersionLabel added in v1.44.201

SetVersionLabel sets the VersionLabel field's value.

func (*CreateHostedConfigurationVersionOutput) SetVersionNumber added in v1.32.2

SetVersionNumber sets the VersionNumber field's value.

func (CreateHostedConfigurationVersionOutput) String added in v1.32.2

String returns the string representation.

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

type DeleteApplicationInput

type DeleteApplicationInput struct {

	// The ID of the application to delete.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteApplicationInput) GoString

func (s DeleteApplicationInput) GoString() string

GoString returns the string representation.

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

func (*DeleteApplicationInput) SetApplicationId

func (s *DeleteApplicationInput) SetApplicationId(v string) *DeleteApplicationInput

SetApplicationId sets the ApplicationId field's value.

func (DeleteApplicationInput) String

func (s DeleteApplicationInput) String() string

String returns the string representation.

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

func (*DeleteApplicationInput) Validate

func (s *DeleteApplicationInput) Validate() error

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

type DeleteApplicationOutput

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

func (DeleteApplicationOutput) GoString

func (s DeleteApplicationOutput) GoString() string

GoString returns the string representation.

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

func (DeleteApplicationOutput) String

func (s DeleteApplicationOutput) String() string

String returns the string representation.

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

type DeleteConfigurationProfileInput

type DeleteConfigurationProfileInput struct {

	// The application ID that includes the configuration profile you want to delete.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the configuration profile you want to delete.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteConfigurationProfileInput) GoString

GoString returns the string representation.

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

func (*DeleteConfigurationProfileInput) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*DeleteConfigurationProfileInput) SetConfigurationProfileId

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (DeleteConfigurationProfileInput) String

String returns the string representation.

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

func (*DeleteConfigurationProfileInput) Validate

func (s *DeleteConfigurationProfileInput) Validate() error

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

type DeleteConfigurationProfileOutput

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

func (DeleteConfigurationProfileOutput) GoString

GoString returns the string representation.

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

func (DeleteConfigurationProfileOutput) String

String returns the string representation.

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

type DeleteDeploymentStrategyInput

type DeleteDeploymentStrategyInput struct {

	// The ID of the deployment strategy you want to delete.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `location:"uri" locationName:"DeploymentStrategyId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDeploymentStrategyInput) GoString

GoString returns the string representation.

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

func (*DeleteDeploymentStrategyInput) SetDeploymentStrategyId

SetDeploymentStrategyId sets the DeploymentStrategyId field's value.

func (DeleteDeploymentStrategyInput) String

String returns the string representation.

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

func (*DeleteDeploymentStrategyInput) Validate

func (s *DeleteDeploymentStrategyInput) Validate() error

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

type DeleteDeploymentStrategyOutput

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

func (DeleteDeploymentStrategyOutput) GoString

GoString returns the string representation.

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

func (DeleteDeploymentStrategyOutput) String

String returns the string representation.

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

type DeleteEnvironmentInput

type DeleteEnvironmentInput struct {

	// The application ID that includes the environment that you want to delete.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the environment that you want to delete.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteEnvironmentInput) GoString

func (s DeleteEnvironmentInput) GoString() string

GoString returns the string representation.

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

func (*DeleteEnvironmentInput) SetApplicationId

func (s *DeleteEnvironmentInput) SetApplicationId(v string) *DeleteEnvironmentInput

SetApplicationId sets the ApplicationId field's value.

func (*DeleteEnvironmentInput) SetEnvironmentId

func (s *DeleteEnvironmentInput) SetEnvironmentId(v string) *DeleteEnvironmentInput

SetEnvironmentId sets the EnvironmentId field's value.

func (DeleteEnvironmentInput) String

func (s DeleteEnvironmentInput) String() string

String returns the string representation.

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

func (*DeleteEnvironmentInput) Validate

func (s *DeleteEnvironmentInput) Validate() error

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

type DeleteEnvironmentOutput

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

func (DeleteEnvironmentOutput) GoString

func (s DeleteEnvironmentOutput) GoString() string

GoString returns the string representation.

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

func (DeleteEnvironmentOutput) String

func (s DeleteEnvironmentOutput) String() string

String returns the string representation.

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

type DeleteExtensionAssociationInput added in v1.44.54

type DeleteExtensionAssociationInput struct {

	// The ID of the extension association to delete.
	//
	// ExtensionAssociationId is a required field
	ExtensionAssociationId *string `location:"uri" locationName:"ExtensionAssociationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteExtensionAssociationInput) GoString added in v1.44.54

GoString returns the string representation.

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

func (*DeleteExtensionAssociationInput) SetExtensionAssociationId added in v1.44.54

SetExtensionAssociationId sets the ExtensionAssociationId field's value.

func (DeleteExtensionAssociationInput) String added in v1.44.54

String returns the string representation.

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

func (*DeleteExtensionAssociationInput) Validate added in v1.44.54

func (s *DeleteExtensionAssociationInput) Validate() error

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

type DeleteExtensionAssociationOutput added in v1.44.54

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

func (DeleteExtensionAssociationOutput) GoString added in v1.44.54

GoString returns the string representation.

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

func (DeleteExtensionAssociationOutput) String added in v1.44.54

String returns the string representation.

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

type DeleteExtensionInput added in v1.44.54

type DeleteExtensionInput struct {

	// The name, ID, or Amazon Resource Name (ARN) of the extension you want to
	// delete.
	//
	// ExtensionIdentifier is a required field
	ExtensionIdentifier *string `location:"uri" locationName:"ExtensionIdentifier" min:"1" type:"string" required:"true"`

	// A specific version of an extension to delete. If omitted, the highest version
	// is deleted.
	VersionNumber *int64 `location:"querystring" locationName:"version" type:"integer"`
	// contains filtered or unexported fields
}

func (DeleteExtensionInput) GoString added in v1.44.54

func (s DeleteExtensionInput) GoString() string

GoString returns the string representation.

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

func (*DeleteExtensionInput) SetExtensionIdentifier added in v1.44.54

func (s *DeleteExtensionInput) SetExtensionIdentifier(v string) *DeleteExtensionInput

SetExtensionIdentifier sets the ExtensionIdentifier field's value.

func (*DeleteExtensionInput) SetVersionNumber added in v1.44.54

func (s *DeleteExtensionInput) SetVersionNumber(v int64) *DeleteExtensionInput

SetVersionNumber sets the VersionNumber field's value.

func (DeleteExtensionInput) String added in v1.44.54

func (s DeleteExtensionInput) String() string

String returns the string representation.

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

func (*DeleteExtensionInput) Validate added in v1.44.54

func (s *DeleteExtensionInput) Validate() error

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

type DeleteExtensionOutput added in v1.44.54

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

func (DeleteExtensionOutput) GoString added in v1.44.54

func (s DeleteExtensionOutput) GoString() string

GoString returns the string representation.

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

func (DeleteExtensionOutput) String added in v1.44.54

func (s DeleteExtensionOutput) String() string

String returns the string representation.

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

type DeleteHostedConfigurationVersionInput added in v1.32.2

type DeleteHostedConfigurationVersionInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// The versions number to delete.
	//
	// VersionNumber is a required field
	VersionNumber *int64 `location:"uri" locationName:"VersionNumber" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteHostedConfigurationVersionInput) GoString added in v1.32.2

GoString returns the string representation.

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

func (*DeleteHostedConfigurationVersionInput) SetApplicationId added in v1.32.2

SetApplicationId sets the ApplicationId field's value.

func (*DeleteHostedConfigurationVersionInput) SetConfigurationProfileId added in v1.32.2

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*DeleteHostedConfigurationVersionInput) SetVersionNumber added in v1.32.2

SetVersionNumber sets the VersionNumber field's value.

func (DeleteHostedConfigurationVersionInput) String added in v1.32.2

String returns the string representation.

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

func (*DeleteHostedConfigurationVersionInput) Validate added in v1.32.2

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

type DeleteHostedConfigurationVersionOutput added in v1.32.2

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

func (DeleteHostedConfigurationVersionOutput) GoString added in v1.32.2

GoString returns the string representation.

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

func (DeleteHostedConfigurationVersionOutput) String added in v1.32.2

String returns the string representation.

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

type DeploymentEvent added in v1.30.1

type DeploymentEvent struct {

	// The list of extensions that were invoked as part of the deployment.
	ActionInvocations []*ActionInvocation `type:"list"`

	// A description of the deployment event. Descriptions include, but are not
	// limited to, the following:
	//
	//    * The Amazon Web Services account or the Amazon CloudWatch alarm ARN that
	//    initiated a rollback.
	//
	//    * The percentage of hosts that received the deployment.
	//
	//    * A recommendation to attempt a new deployment (in the case of an internal
	//    error).
	Description *string `type:"string"`

	// The type of deployment event. Deployment event types include the start, stop,
	// or completion of a deployment; a percentage update; the start or stop of
	// a bake period; and the start or completion of a rollback.
	EventType *string `type:"string" enum:"DeploymentEventType"`

	// The date and time the event occurred.
	OccurredAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The entity that triggered the deployment event. Events can be triggered by
	// a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.
	TriggeredBy *string `type:"string" enum:"TriggeredBy"`
	// contains filtered or unexported fields
}

An object that describes a deployment event.

func (DeploymentEvent) GoString added in v1.30.1

func (s DeploymentEvent) GoString() string

GoString returns the string representation.

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

func (*DeploymentEvent) SetActionInvocations added in v1.44.54

func (s *DeploymentEvent) SetActionInvocations(v []*ActionInvocation) *DeploymentEvent

SetActionInvocations sets the ActionInvocations field's value.

func (*DeploymentEvent) SetDescription added in v1.30.1

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

SetDescription sets the Description field's value.

func (*DeploymentEvent) SetEventType added in v1.30.1

func (s *DeploymentEvent) SetEventType(v string) *DeploymentEvent

SetEventType sets the EventType field's value.

func (*DeploymentEvent) SetOccurredAt added in v1.30.1

func (s *DeploymentEvent) SetOccurredAt(v time.Time) *DeploymentEvent

SetOccurredAt sets the OccurredAt field's value.

func (*DeploymentEvent) SetTriggeredBy added in v1.30.1

func (s *DeploymentEvent) SetTriggeredBy(v string) *DeploymentEvent

SetTriggeredBy sets the TriggeredBy field's value.

func (DeploymentEvent) String added in v1.30.1

func (s DeploymentEvent) String() string

String returns the string representation.

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

type DeploymentStrategy

type DeploymentStrategy struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time that AppConfig monitored for alarms before considering
	// the deployment to be complete and no longer eligible for automatic rollback.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType *string `type:"string" enum:"GrowthType"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo *string `type:"string" enum:"ReplicateTo"`
	// contains filtered or unexported fields
}

func (DeploymentStrategy) GoString

func (s DeploymentStrategy) GoString() string

GoString returns the string representation.

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

func (*DeploymentStrategy) SetDeploymentDurationInMinutes

func (s *DeploymentStrategy) SetDeploymentDurationInMinutes(v int64) *DeploymentStrategy

SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.

func (*DeploymentStrategy) SetDescription

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

SetDescription sets the Description field's value.

func (*DeploymentStrategy) SetFinalBakeTimeInMinutes

func (s *DeploymentStrategy) SetFinalBakeTimeInMinutes(v int64) *DeploymentStrategy

SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.

func (*DeploymentStrategy) SetGrowthFactor

func (s *DeploymentStrategy) SetGrowthFactor(v float64) *DeploymentStrategy

SetGrowthFactor sets the GrowthFactor field's value.

func (*DeploymentStrategy) SetGrowthType

func (s *DeploymentStrategy) SetGrowthType(v string) *DeploymentStrategy

SetGrowthType sets the GrowthType field's value.

func (*DeploymentStrategy) SetId

SetId sets the Id field's value.

func (*DeploymentStrategy) SetName

SetName sets the Name field's value.

func (*DeploymentStrategy) SetReplicateTo

func (s *DeploymentStrategy) SetReplicateTo(v string) *DeploymentStrategy

SetReplicateTo sets the ReplicateTo field's value.

func (DeploymentStrategy) String

func (s DeploymentStrategy) String() string

String returns the string representation.

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

type DeploymentSummary

type DeploymentSummary struct {

	// Time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The version of the configuration.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The amount of time that AppConfig monitors for alarms before considering
	// the deployment to be complete and no longer eligible for automatic rollback.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grows over time.
	GrowthType *string `type:"string" enum:"GrowthType"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// Time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State *string `type:"string" enum:"DeploymentState"`

	// A user-defined label for an AppConfig hosted configuration version.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about the deployment.

func (DeploymentSummary) GoString

func (s DeploymentSummary) GoString() string

GoString returns the string representation.

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

func (*DeploymentSummary) SetCompletedAt

func (s *DeploymentSummary) SetCompletedAt(v time.Time) *DeploymentSummary

SetCompletedAt sets the CompletedAt field's value.

func (*DeploymentSummary) SetConfigurationName

func (s *DeploymentSummary) SetConfigurationName(v string) *DeploymentSummary

SetConfigurationName sets the ConfigurationName field's value.

func (*DeploymentSummary) SetConfigurationVersion

func (s *DeploymentSummary) SetConfigurationVersion(v string) *DeploymentSummary

SetConfigurationVersion sets the ConfigurationVersion field's value.

func (*DeploymentSummary) SetDeploymentDurationInMinutes

func (s *DeploymentSummary) SetDeploymentDurationInMinutes(v int64) *DeploymentSummary

SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.

func (*DeploymentSummary) SetDeploymentNumber

func (s *DeploymentSummary) SetDeploymentNumber(v int64) *DeploymentSummary

SetDeploymentNumber sets the DeploymentNumber field's value.

func (*DeploymentSummary) SetFinalBakeTimeInMinutes

func (s *DeploymentSummary) SetFinalBakeTimeInMinutes(v int64) *DeploymentSummary

SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.

func (*DeploymentSummary) SetGrowthFactor

func (s *DeploymentSummary) SetGrowthFactor(v float64) *DeploymentSummary

SetGrowthFactor sets the GrowthFactor field's value.

func (*DeploymentSummary) SetGrowthType

func (s *DeploymentSummary) SetGrowthType(v string) *DeploymentSummary

SetGrowthType sets the GrowthType field's value.

func (*DeploymentSummary) SetPercentageComplete

func (s *DeploymentSummary) SetPercentageComplete(v float64) *DeploymentSummary

SetPercentageComplete sets the PercentageComplete field's value.

func (*DeploymentSummary) SetStartedAt

func (s *DeploymentSummary) SetStartedAt(v time.Time) *DeploymentSummary

SetStartedAt sets the StartedAt field's value.

func (*DeploymentSummary) SetState

func (s *DeploymentSummary) SetState(v string) *DeploymentSummary

SetState sets the State field's value.

func (*DeploymentSummary) SetVersionLabel added in v1.45.14

func (s *DeploymentSummary) SetVersionLabel(v string) *DeploymentSummary

SetVersionLabel sets the VersionLabel field's value.

func (DeploymentSummary) String

func (s DeploymentSummary) String() string

String returns the string representation.

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

type Environment

type Environment struct {

	// The application ID.
	ApplicationId *string `type:"string"`

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

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []*Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"string"`

	// The state of the environment. An environment can be in one of the following
	// states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
	State *string `type:"string" enum:"EnvironmentState"`
	// contains filtered or unexported fields
}

func (Environment) GoString

func (s Environment) GoString() string

GoString returns the string representation.

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

func (*Environment) SetApplicationId

func (s *Environment) SetApplicationId(v string) *Environment

SetApplicationId sets the ApplicationId field's value.

func (*Environment) SetDescription

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

SetDescription sets the Description field's value.

func (*Environment) SetId

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

SetId sets the Id field's value.

func (*Environment) SetMonitors

func (s *Environment) SetMonitors(v []*Monitor) *Environment

SetMonitors sets the Monitors field's value.

func (*Environment) SetName

func (s *Environment) SetName(v string) *Environment

SetName sets the Name field's value.

func (*Environment) SetState

func (s *Environment) SetState(v string) *Environment

SetState sets the State field's value.

func (Environment) String

func (s Environment) String() string

String returns the string representation.

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

type ExtensionAssociationSummary added in v1.44.54

type ExtensionAssociationSummary struct {

	// The system-generated Amazon Resource Name (ARN) for the extension.
	ExtensionArn *string `min:"20" type:"string"`

	// The extension association ID. This ID is used to call other ExtensionAssociation
	// API actions such as GetExtensionAssociation or DeleteExtensionAssociation.
	Id *string `min:"1" type:"string"`

	// The ARNs of applications, configuration profiles, or environments defined
	// in the association.
	ResourceArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

Information about an association between an extension and an AppConfig resource such as an application, environment, or configuration profile. Call GetExtensionAssociation to get more information about an association.

func (ExtensionAssociationSummary) GoString added in v1.44.54

func (s ExtensionAssociationSummary) GoString() string

GoString returns the string representation.

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

func (*ExtensionAssociationSummary) SetExtensionArn added in v1.44.54

SetExtensionArn sets the ExtensionArn field's value.

func (*ExtensionAssociationSummary) SetId added in v1.44.54

SetId sets the Id field's value.

func (*ExtensionAssociationSummary) SetResourceArn added in v1.44.54

SetResourceArn sets the ResourceArn field's value.

func (ExtensionAssociationSummary) String added in v1.44.54

String returns the string representation.

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

type ExtensionSummary added in v1.44.54

type ExtensionSummary struct {

	// The system-generated Amazon Resource Name (ARN) for the extension.
	Arn *string `min:"20" type:"string"`

	// Information about the extension.
	Description *string `type:"string"`

	// The system-generated ID of the extension.
	Id *string `type:"string"`

	// The extension name.
	Name *string `min:"1" type:"string"`

	// The extension version number.
	VersionNumber *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Information about an extension. Call GetExtension to get more information about an extension.

func (ExtensionSummary) GoString added in v1.44.54

func (s ExtensionSummary) GoString() string

GoString returns the string representation.

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

func (*ExtensionSummary) SetArn added in v1.44.54

SetArn sets the Arn field's value.

func (*ExtensionSummary) SetDescription added in v1.44.54

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

SetDescription sets the Description field's value.

func (*ExtensionSummary) SetId added in v1.44.54

SetId sets the Id field's value.

func (*ExtensionSummary) SetName added in v1.44.54

func (s *ExtensionSummary) SetName(v string) *ExtensionSummary

SetName sets the Name field's value.

func (*ExtensionSummary) SetVersionNumber added in v1.44.54

func (s *ExtensionSummary) SetVersionNumber(v int64) *ExtensionSummary

SetVersionNumber sets the VersionNumber field's value.

func (ExtensionSummary) String added in v1.44.54

func (s ExtensionSummary) String() string

String returns the string representation.

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

type GetApplicationInput

type GetApplicationInput struct {

	// The ID of the application you want to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetApplicationInput) GoString

func (s GetApplicationInput) GoString() string

GoString returns the string representation.

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

func (*GetApplicationInput) SetApplicationId

func (s *GetApplicationInput) SetApplicationId(v string) *GetApplicationInput

SetApplicationId sets the ApplicationId field's value.

func (GetApplicationInput) String

func (s GetApplicationInput) String() string

String returns the string representation.

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

func (*GetApplicationInput) Validate

func (s *GetApplicationInput) Validate() error

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

type GetApplicationOutput

type GetApplicationOutput struct {

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

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetApplicationOutput) GoString

func (s GetApplicationOutput) GoString() string

GoString returns the string representation.

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

func (*GetApplicationOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*GetApplicationOutput) SetId

SetId sets the Id field's value.

func (*GetApplicationOutput) SetName

SetName sets the Name field's value.

func (GetApplicationOutput) String

func (s GetApplicationOutput) String() string

String returns the string representation.

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

type GetConfigurationInput

type GetConfigurationInput struct {

	// The application to get. Specify either the application name or the application
	// ID.
	//
	// Application is a required field
	Application *string `location:"uri" locationName:"Application" min:"1" type:"string" required:"true"`

	// The configuration version returned in the most recent GetConfiguration response.
	//
	// AppConfig uses the value of the ClientConfigurationVersion parameter to identify
	// the configuration version on your clients. If you don’t send ClientConfigurationVersion
	// with each call to GetConfiguration, your clients receive the current configuration.
	// You are charged each time your clients receive a configuration.
	//
	// To avoid excess charges, we recommend you use the StartConfigurationSession
	// (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html)
	// and GetLatestConfiguration (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html)
	// APIs, which track the client configuration version on your behalf. If you
	// choose to continue using GetConfiguration, we recommend that you include
	// the ClientConfigurationVersion value with every call to GetConfiguration.
	// The value to use for ClientConfigurationVersion comes from the ConfigurationVersion
	// attribute returned by GetConfiguration when there is new or updated data,
	// and should be saved for subsequent calls to GetConfiguration.
	//
	// For more information about working with configurations, see Retrieving the
	// Configuration (http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration.html)
	// in the AppConfig User Guide.
	ClientConfigurationVersion *string `location:"querystring" locationName:"client_configuration_version" min:"1" type:"string"`

	// The clientId parameter in the following command is a unique, user-specified
	// ID to identify the client for the configuration. This ID enables AppConfig
	// to deploy the configuration in intervals, as defined in the deployment strategy.
	//
	// ClientId is a required field
	ClientId *string `location:"querystring" locationName:"client_id" min:"1" type:"string" required:"true"`

	// The configuration to get. Specify either the configuration name or the configuration
	// ID.
	//
	// Configuration is a required field
	Configuration *string `location:"uri" locationName:"Configuration" min:"1" type:"string" required:"true"`

	// The environment to get. Specify either the environment name or the environment
	// ID.
	//
	// Environment is a required field
	Environment *string `location:"uri" locationName:"Environment" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetConfigurationInput) GoString

func (s GetConfigurationInput) GoString() string

GoString returns the string representation.

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

func (*GetConfigurationInput) SetApplication

func (s *GetConfigurationInput) SetApplication(v string) *GetConfigurationInput

SetApplication sets the Application field's value.

func (*GetConfigurationInput) SetClientConfigurationVersion

func (s *GetConfigurationInput) SetClientConfigurationVersion(v string) *GetConfigurationInput

SetClientConfigurationVersion sets the ClientConfigurationVersion field's value.

func (*GetConfigurationInput) SetClientId

SetClientId sets the ClientId field's value.

func (*GetConfigurationInput) SetConfiguration

func (s *GetConfigurationInput) SetConfiguration(v string) *GetConfigurationInput

SetConfiguration sets the Configuration field's value.

func (*GetConfigurationInput) SetEnvironment

func (s *GetConfigurationInput) SetEnvironment(v string) *GetConfigurationInput

SetEnvironment sets the Environment field's value.

func (GetConfigurationInput) String

func (s GetConfigurationInput) String() string

String returns the string representation.

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

func (*GetConfigurationInput) Validate

func (s *GetConfigurationInput) Validate() error

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

type GetConfigurationOutput

type GetConfigurationOutput struct {

	// The configuration version.
	ConfigurationVersion *string `location:"header" locationName:"Configuration-Version" min:"1" type:"string"`

	// The content of the configuration or the configuration data.
	//
	// The Content attribute only contains data if the system finds new or updated
	// configuration data. If there is no new or updated data and ClientConfigurationVersion
	// matches the version of the current configuration, AppConfig returns a 204
	// No Content HTTP response code and the Content value will be empty.
	//
	// Content is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetConfigurationOutput's
	// String and GoString methods.
	Content []byte `type:"blob" sensitive:"true"`

	// A standard MIME type describing the format of the configuration content.
	// For more information, see Content-Type (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType *string `location:"header" locationName:"Content-Type" type:"string"`
	// contains filtered or unexported fields
}

func (GetConfigurationOutput) GoString

func (s GetConfigurationOutput) GoString() string

GoString returns the string representation.

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

func (*GetConfigurationOutput) SetConfigurationVersion

func (s *GetConfigurationOutput) SetConfigurationVersion(v string) *GetConfigurationOutput

SetConfigurationVersion sets the ConfigurationVersion field's value.

func (*GetConfigurationOutput) SetContent

SetContent sets the Content field's value.

func (*GetConfigurationOutput) SetContentType

SetContentType sets the ContentType field's value.

func (GetConfigurationOutput) String

func (s GetConfigurationOutput) String() string

String returns the string representation.

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

type GetConfigurationProfileInput

type GetConfigurationProfileInput struct {

	// The ID of the application that includes the configuration profile you want
	// to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the configuration profile that you want to get.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetConfigurationProfileInput) GoString

func (s GetConfigurationProfileInput) GoString() string

GoString returns the string representation.

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

func (*GetConfigurationProfileInput) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*GetConfigurationProfileInput) SetConfigurationProfileId

func (s *GetConfigurationProfileInput) SetConfigurationProfileId(v string) *GetConfigurationProfileInput

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (GetConfigurationProfileInput) String

String returns the string representation.

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

func (*GetConfigurationProfileInput) Validate

func (s *GetConfigurationProfileInput) Validate() error

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

type GetConfigurationProfileOutput

type GetConfigurationProfileOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The configuration profile description.
	Description *string `type:"string"`

	// The configuration profile ID.
	Id *string `type:"string"`

	// The Amazon Resource Name of the Key Management Service key to encrypt new
	// configuration data versions in the AppConfig hosted configuration store.
	// This attribute is only used for hosted configuration types. To encrypt data
	// managed in other configuration stores, see the documentation for how to specify
	// an KMS key for that particular service.
	KmsKeyArn *string `min:"20" type:"string"`

	// The Key Management Service key identifier (key ID, key alias, or key ARN)
	// provided when the resource was created or updated.
	KmsKeyIdentifier *string `min:"1" type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// The type of configurations contained in the profile. AppConfig supports feature
	// flags and freeform configurations. We recommend you create feature flag configurations
	// to enable or disable new features and freeform configurations to distribute
	// configurations to an application. When calling this API, enter one of the
	// following values for Type:
	//
	// AWS.AppConfig.FeatureFlags
	//
	// AWS.Freeform
	Type *string `type:"string"`

	// A list of methods for validating the configuration.
	Validators []*Validator `type:"list"`
	// contains filtered or unexported fields
}

func (GetConfigurationProfileOutput) GoString

GoString returns the string representation.

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

func (*GetConfigurationProfileOutput) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*GetConfigurationProfileOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetConfigurationProfileOutput) SetId

SetId sets the Id field's value.

func (*GetConfigurationProfileOutput) SetKmsKeyArn added in v1.45.22

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*GetConfigurationProfileOutput) SetKmsKeyIdentifier added in v1.45.22

SetKmsKeyIdentifier sets the KmsKeyIdentifier field's value.

func (*GetConfigurationProfileOutput) SetLocationUri

SetLocationUri sets the LocationUri field's value.

func (*GetConfigurationProfileOutput) SetName

SetName sets the Name field's value.

func (*GetConfigurationProfileOutput) SetRetrievalRoleArn

SetRetrievalRoleArn sets the RetrievalRoleArn field's value.

func (*GetConfigurationProfileOutput) SetType added in v1.42.8

SetType sets the Type field's value.

func (*GetConfigurationProfileOutput) SetValidators

SetValidators sets the Validators field's value.

func (GetConfigurationProfileOutput) String

String returns the string representation.

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

type GetDeploymentInput

type GetDeploymentInput struct {

	// The ID of the application that includes the deployment you want to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The sequence number of the deployment.
	//
	// DeploymentNumber is a required field
	DeploymentNumber *int64 `location:"uri" locationName:"DeploymentNumber" type:"integer" required:"true"`

	// The ID of the environment that includes the deployment you want to get.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDeploymentInput) GoString

func (s GetDeploymentInput) GoString() string

GoString returns the string representation.

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

func (*GetDeploymentInput) SetApplicationId

func (s *GetDeploymentInput) SetApplicationId(v string) *GetDeploymentInput

SetApplicationId sets the ApplicationId field's value.

func (*GetDeploymentInput) SetDeploymentNumber

func (s *GetDeploymentInput) SetDeploymentNumber(v int64) *GetDeploymentInput

SetDeploymentNumber sets the DeploymentNumber field's value.

func (*GetDeploymentInput) SetEnvironmentId

func (s *GetDeploymentInput) SetEnvironmentId(v string) *GetDeploymentInput

SetEnvironmentId sets the EnvironmentId field's value.

func (GetDeploymentInput) String

func (s GetDeploymentInput) String() string

String returns the string representation.

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

func (*GetDeploymentInput) Validate

func (s *GetDeploymentInput) Validate() error

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

type GetDeploymentOutput

type GetDeploymentOutput struct {

	// The ID of the application that was deployed.
	ApplicationId *string `type:"string"`

	// A list of extensions that were processed as part of the deployment. The extensions
	// that were previously associated to the configuration profile, environment,
	// or the application when StartDeployment was called.
	AppliedExtensions []*AppliedExtension `type:"list"`

	// The time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Information about the source location of the configuration.
	ConfigurationLocationUri *string `min:"1" type:"string"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The ID of the configuration profile that was deployed.
	ConfigurationProfileId *string `type:"string"`

	// The configuration version that was deployed.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The ID of the deployment strategy that was deployed.
	DeploymentStrategyId *string `type:"string"`

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

	// The ID of the environment that was deployed.
	EnvironmentId *string `type:"string"`

	// A list containing all events related to a deployment. The most recent events
	// are displayed first.
	EventLog []*DeploymentEvent `type:"list"`

	// The amount of time that AppConfig monitored for alarms before considering
	// the deployment to be complete and no longer eligible for automatic rollback.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType *string `type:"string" enum:"GrowthType"`

	// The Amazon Resource Name of the Key Management Service key used to encrypt
	// configuration data. You can encrypt secrets stored in Secrets Manager, Amazon
	// Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure
	// string parameters stored in Amazon Web Services Systems Manager Parameter
	// Store.
	KmsKeyArn *string `min:"20" type:"string"`

	// The Key Management Service key identifier (key ID, key alias, or key ARN)
	// provided when the resource was created or updated.
	KmsKeyIdentifier *string `min:"1" type:"string"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// The time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State *string `type:"string" enum:"DeploymentState"`

	// A user-defined label for an AppConfig hosted configuration version.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetDeploymentOutput) GoString

func (s GetDeploymentOutput) GoString() string

GoString returns the string representation.

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

func (*GetDeploymentOutput) SetApplicationId

func (s *GetDeploymentOutput) SetApplicationId(v string) *GetDeploymentOutput

SetApplicationId sets the ApplicationId field's value.

func (*GetDeploymentOutput) SetAppliedExtensions added in v1.44.54

func (s *GetDeploymentOutput) SetAppliedExtensions(v []*AppliedExtension) *GetDeploymentOutput

SetAppliedExtensions sets the AppliedExtensions field's value.

func (*GetDeploymentOutput) SetCompletedAt

func (s *GetDeploymentOutput) SetCompletedAt(v time.Time) *GetDeploymentOutput

SetCompletedAt sets the CompletedAt field's value.

func (*GetDeploymentOutput) SetConfigurationLocationUri

func (s *GetDeploymentOutput) SetConfigurationLocationUri(v string) *GetDeploymentOutput

SetConfigurationLocationUri sets the ConfigurationLocationUri field's value.

func (*GetDeploymentOutput) SetConfigurationName

func (s *GetDeploymentOutput) SetConfigurationName(v string) *GetDeploymentOutput

SetConfigurationName sets the ConfigurationName field's value.

func (*GetDeploymentOutput) SetConfigurationProfileId

func (s *GetDeploymentOutput) SetConfigurationProfileId(v string) *GetDeploymentOutput

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*GetDeploymentOutput) SetConfigurationVersion

func (s *GetDeploymentOutput) SetConfigurationVersion(v string) *GetDeploymentOutput

SetConfigurationVersion sets the ConfigurationVersion field's value.

func (*GetDeploymentOutput) SetDeploymentDurationInMinutes

func (s *GetDeploymentOutput) SetDeploymentDurationInMinutes(v int64) *GetDeploymentOutput

SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.

func (*GetDeploymentOutput) SetDeploymentNumber

func (s *GetDeploymentOutput) SetDeploymentNumber(v int64) *GetDeploymentOutput

SetDeploymentNumber sets the DeploymentNumber field's value.

func (*GetDeploymentOutput) SetDeploymentStrategyId

func (s *GetDeploymentOutput) SetDeploymentStrategyId(v string) *GetDeploymentOutput

SetDeploymentStrategyId sets the DeploymentStrategyId field's value.

func (*GetDeploymentOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*GetDeploymentOutput) SetEnvironmentId

func (s *GetDeploymentOutput) SetEnvironmentId(v string) *GetDeploymentOutput

SetEnvironmentId sets the EnvironmentId field's value.

func (*GetDeploymentOutput) SetEventLog added in v1.30.1

SetEventLog sets the EventLog field's value.

func (*GetDeploymentOutput) SetFinalBakeTimeInMinutes

func (s *GetDeploymentOutput) SetFinalBakeTimeInMinutes(v int64) *GetDeploymentOutput

SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.

func (*GetDeploymentOutput) SetGrowthFactor

func (s *GetDeploymentOutput) SetGrowthFactor(v float64) *GetDeploymentOutput

SetGrowthFactor sets the GrowthFactor field's value.

func (*GetDeploymentOutput) SetGrowthType

func (s *GetDeploymentOutput) SetGrowthType(v string) *GetDeploymentOutput

SetGrowthType sets the GrowthType field's value.

func (*GetDeploymentOutput) SetKmsKeyArn added in v1.44.193

func (s *GetDeploymentOutput) SetKmsKeyArn(v string) *GetDeploymentOutput

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*GetDeploymentOutput) SetKmsKeyIdentifier added in v1.44.193

func (s *GetDeploymentOutput) SetKmsKeyIdentifier(v string) *GetDeploymentOutput

SetKmsKeyIdentifier sets the KmsKeyIdentifier field's value.

func (*GetDeploymentOutput) SetPercentageComplete

func (s *GetDeploymentOutput) SetPercentageComplete(v float64) *GetDeploymentOutput

SetPercentageComplete sets the PercentageComplete field's value.

func (*GetDeploymentOutput) SetStartedAt

func (s *GetDeploymentOutput) SetStartedAt(v time.Time) *GetDeploymentOutput

SetStartedAt sets the StartedAt field's value.

func (*GetDeploymentOutput) SetState

SetState sets the State field's value.

func (*GetDeploymentOutput) SetVersionLabel added in v1.45.14

func (s *GetDeploymentOutput) SetVersionLabel(v string) *GetDeploymentOutput

SetVersionLabel sets the VersionLabel field's value.

func (GetDeploymentOutput) String

func (s GetDeploymentOutput) String() string

String returns the string representation.

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

type GetDeploymentStrategyInput

type GetDeploymentStrategyInput struct {

	// The ID of the deployment strategy to get.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `location:"uri" locationName:"DeploymentStrategyId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDeploymentStrategyInput) GoString

func (s GetDeploymentStrategyInput) GoString() string

GoString returns the string representation.

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

func (*GetDeploymentStrategyInput) SetDeploymentStrategyId

func (s *GetDeploymentStrategyInput) SetDeploymentStrategyId(v string) *GetDeploymentStrategyInput

SetDeploymentStrategyId sets the DeploymentStrategyId field's value.

func (GetDeploymentStrategyInput) String

String returns the string representation.

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

func (*GetDeploymentStrategyInput) Validate

func (s *GetDeploymentStrategyInput) Validate() error

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

type GetDeploymentStrategyOutput

type GetDeploymentStrategyOutput struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time that AppConfig monitored for alarms before considering
	// the deployment to be complete and no longer eligible for automatic rollback.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType *string `type:"string" enum:"GrowthType"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo *string `type:"string" enum:"ReplicateTo"`
	// contains filtered or unexported fields
}

func (GetDeploymentStrategyOutput) GoString

func (s GetDeploymentStrategyOutput) GoString() string

GoString returns the string representation.

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

func (*GetDeploymentStrategyOutput) SetDeploymentDurationInMinutes

func (s *GetDeploymentStrategyOutput) SetDeploymentDurationInMinutes(v int64) *GetDeploymentStrategyOutput

SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.

func (*GetDeploymentStrategyOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetDeploymentStrategyOutput) SetFinalBakeTimeInMinutes

func (s *GetDeploymentStrategyOutput) SetFinalBakeTimeInMinutes(v int64) *GetDeploymentStrategyOutput

SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.

func (*GetDeploymentStrategyOutput) SetGrowthFactor

SetGrowthFactor sets the GrowthFactor field's value.

func (*GetDeploymentStrategyOutput) SetGrowthType

SetGrowthType sets the GrowthType field's value.

func (*GetDeploymentStrategyOutput) SetId

SetId sets the Id field's value.

func (*GetDeploymentStrategyOutput) SetName

SetName sets the Name field's value.

func (*GetDeploymentStrategyOutput) SetReplicateTo

SetReplicateTo sets the ReplicateTo field's value.

func (GetDeploymentStrategyOutput) String

String returns the string representation.

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

type GetEnvironmentInput

type GetEnvironmentInput struct {

	// The ID of the application that includes the environment you want to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the environment that you want to get.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetEnvironmentInput) GoString

func (s GetEnvironmentInput) GoString() string

GoString returns the string representation.

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

func (*GetEnvironmentInput) SetApplicationId

func (s *GetEnvironmentInput) SetApplicationId(v string) *GetEnvironmentInput

SetApplicationId sets the ApplicationId field's value.

func (*GetEnvironmentInput) SetEnvironmentId

func (s *GetEnvironmentInput) SetEnvironmentId(v string) *GetEnvironmentInput

SetEnvironmentId sets the EnvironmentId field's value.

func (GetEnvironmentInput) String

func (s GetEnvironmentInput) String() string

String returns the string representation.

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

func (*GetEnvironmentInput) Validate

func (s *GetEnvironmentInput) Validate() error

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

type GetEnvironmentOutput

type GetEnvironmentOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

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

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []*Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"string"`

	// The state of the environment. An environment can be in one of the following
	// states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
	State *string `type:"string" enum:"EnvironmentState"`
	// contains filtered or unexported fields
}

func (GetEnvironmentOutput) GoString

func (s GetEnvironmentOutput) GoString() string

GoString returns the string representation.

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

func (*GetEnvironmentOutput) SetApplicationId

func (s *GetEnvironmentOutput) SetApplicationId(v string) *GetEnvironmentOutput

SetApplicationId sets the ApplicationId field's value.

func (*GetEnvironmentOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*GetEnvironmentOutput) SetId

SetId sets the Id field's value.

func (*GetEnvironmentOutput) SetMonitors

func (s *GetEnvironmentOutput) SetMonitors(v []*Monitor) *GetEnvironmentOutput

SetMonitors sets the Monitors field's value.

func (*GetEnvironmentOutput) SetName

SetName sets the Name field's value.

func (*GetEnvironmentOutput) SetState

SetState sets the State field's value.

func (GetEnvironmentOutput) String

func (s GetEnvironmentOutput) String() string

String returns the string representation.

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

type GetExtensionAssociationInput added in v1.44.54

type GetExtensionAssociationInput struct {

	// The extension association ID to get.
	//
	// ExtensionAssociationId is a required field
	ExtensionAssociationId *string `location:"uri" locationName:"ExtensionAssociationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetExtensionAssociationInput) GoString added in v1.44.54

func (s GetExtensionAssociationInput) GoString() string

GoString returns the string representation.

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

func (*GetExtensionAssociationInput) SetExtensionAssociationId added in v1.44.54

func (s *GetExtensionAssociationInput) SetExtensionAssociationId(v string) *GetExtensionAssociationInput

SetExtensionAssociationId sets the ExtensionAssociationId field's value.

func (GetExtensionAssociationInput) String added in v1.44.54

String returns the string representation.

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

func (*GetExtensionAssociationInput) Validate added in v1.44.54

func (s *GetExtensionAssociationInput) Validate() error

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

type GetExtensionAssociationOutput added in v1.44.54

type GetExtensionAssociationOutput struct {

	// The system-generated Amazon Resource Name (ARN) for the extension.
	Arn *string `min:"20" type:"string"`

	// The ARN of the extension defined in the association.
	ExtensionArn *string `min:"20" type:"string"`

	// The version number for the extension defined in the association.
	ExtensionVersionNumber *int64 `type:"integer"`

	// The system-generated ID for the association.
	Id *string `min:"1" type:"string"`

	// The parameter names and values defined in the association.
	Parameters map[string]*string `type:"map"`

	// The ARNs of applications, configuration profiles, or environments defined
	// in the association.
	ResourceArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (GetExtensionAssociationOutput) GoString added in v1.44.54

GoString returns the string representation.

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

func (*GetExtensionAssociationOutput) SetArn added in v1.44.54

SetArn sets the Arn field's value.

func (*GetExtensionAssociationOutput) SetExtensionArn added in v1.44.54

SetExtensionArn sets the ExtensionArn field's value.

func (*GetExtensionAssociationOutput) SetExtensionVersionNumber added in v1.44.54

func (s *GetExtensionAssociationOutput) SetExtensionVersionNumber(v int64) *GetExtensionAssociationOutput

SetExtensionVersionNumber sets the ExtensionVersionNumber field's value.

func (*GetExtensionAssociationOutput) SetId added in v1.44.54

SetId sets the Id field's value.

func (*GetExtensionAssociationOutput) SetParameters added in v1.44.54

SetParameters sets the Parameters field's value.

func (*GetExtensionAssociationOutput) SetResourceArn added in v1.44.54

SetResourceArn sets the ResourceArn field's value.

func (GetExtensionAssociationOutput) String added in v1.44.54

String returns the string representation.

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

type GetExtensionInput added in v1.44.54

type GetExtensionInput struct {

	// The name, the ID, or the Amazon Resource Name (ARN) of the extension.
	//
	// ExtensionIdentifier is a required field
	ExtensionIdentifier *string `location:"uri" locationName:"ExtensionIdentifier" min:"1" type:"string" required:"true"`

	// The extension version number. If no version number was defined, AppConfig
	// uses the highest version.
	VersionNumber *int64 `location:"querystring" locationName:"version_number" type:"integer"`
	// contains filtered or unexported fields
}

func (GetExtensionInput) GoString added in v1.44.54

func (s GetExtensionInput) GoString() string

GoString returns the string representation.

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

func (*GetExtensionInput) SetExtensionIdentifier added in v1.44.54

func (s *GetExtensionInput) SetExtensionIdentifier(v string) *GetExtensionInput

SetExtensionIdentifier sets the ExtensionIdentifier field's value.

func (*GetExtensionInput) SetVersionNumber added in v1.44.54

func (s *GetExtensionInput) SetVersionNumber(v int64) *GetExtensionInput

SetVersionNumber sets the VersionNumber field's value.

func (GetExtensionInput) String added in v1.44.54

func (s GetExtensionInput) String() string

String returns the string representation.

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

func (*GetExtensionInput) Validate added in v1.44.54

func (s *GetExtensionInput) Validate() error

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

type GetExtensionOutput added in v1.44.54

type GetExtensionOutput struct {

	// The actions defined in the extension.
	Actions map[string][]*Action `min:"1" type:"map"`

	// The system-generated Amazon Resource Name (ARN) for the extension.
	Arn *string `min:"20" type:"string"`

	// Information about the extension.
	Description *string `type:"string"`

	// The system-generated ID of the extension.
	Id *string `type:"string"`

	// The extension name.
	Name *string `min:"1" type:"string"`

	// The parameters accepted by the extension. You specify parameter values when
	// you associate the extension to an AppConfig resource by using the CreateExtensionAssociation
	// API action. For Lambda extension actions, these parameters are included in
	// the Lambda request object.
	Parameters map[string]*Parameter `min:"1" type:"map"`

	// The extension version number.
	VersionNumber *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (GetExtensionOutput) GoString added in v1.44.54

func (s GetExtensionOutput) GoString() string

GoString returns the string representation.

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

func (*GetExtensionOutput) SetActions added in v1.44.54

func (s *GetExtensionOutput) SetActions(v map[string][]*Action) *GetExtensionOutput

SetActions sets the Actions field's value.

func (*GetExtensionOutput) SetArn added in v1.44.54

SetArn sets the Arn field's value.

func (*GetExtensionOutput) SetDescription added in v1.44.54

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

SetDescription sets the Description field's value.

func (*GetExtensionOutput) SetId added in v1.44.54

SetId sets the Id field's value.

func (*GetExtensionOutput) SetName added in v1.44.54

SetName sets the Name field's value.

func (*GetExtensionOutput) SetParameters added in v1.44.54

func (s *GetExtensionOutput) SetParameters(v map[string]*Parameter) *GetExtensionOutput

SetParameters sets the Parameters field's value.

func (*GetExtensionOutput) SetVersionNumber added in v1.44.54

func (s *GetExtensionOutput) SetVersionNumber(v int64) *GetExtensionOutput

SetVersionNumber sets the VersionNumber field's value.

func (GetExtensionOutput) String added in v1.44.54

func (s GetExtensionOutput) String() string

String returns the string representation.

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

type GetHostedConfigurationVersionInput added in v1.32.2

type GetHostedConfigurationVersionInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// The version.
	//
	// VersionNumber is a required field
	VersionNumber *int64 `location:"uri" locationName:"VersionNumber" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

func (GetHostedConfigurationVersionInput) GoString added in v1.32.2

GoString returns the string representation.

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

func (*GetHostedConfigurationVersionInput) SetApplicationId added in v1.32.2

SetApplicationId sets the ApplicationId field's value.

func (*GetHostedConfigurationVersionInput) SetConfigurationProfileId added in v1.32.2

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*GetHostedConfigurationVersionInput) SetVersionNumber added in v1.32.2

SetVersionNumber sets the VersionNumber field's value.

func (GetHostedConfigurationVersionInput) String added in v1.32.2

String returns the string representation.

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

func (*GetHostedConfigurationVersionInput) Validate added in v1.32.2

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

type GetHostedConfigurationVersionOutput added in v1.32.2

type GetHostedConfigurationVersionOutput struct {

	// The application ID.
	ApplicationId *string `location:"header" locationName:"Application-Id" type:"string"`

	// The configuration profile ID.
	ConfigurationProfileId *string `location:"header" locationName:"Configuration-Profile-Id" type:"string"`

	// The content of the configuration or the configuration data.
	//
	// Content is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetHostedConfigurationVersionOutput's
	// String and GoString methods.
	Content []byte `type:"blob" sensitive:"true"`

	// A standard MIME type describing the format of the configuration content.
	// For more information, see Content-Type (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType *string `location:"header" locationName:"Content-Type" min:"1" type:"string"`

	// A description of the configuration.
	Description *string `location:"header" locationName:"Description" type:"string"`

	// The Amazon Resource Name of the Key Management Service key that was used
	// to encrypt this specific version of the configuration data in the AppConfig
	// hosted configuration store.
	KmsKeyArn *string `location:"header" locationName:"KmsKeyArn" min:"20" type:"string"`

	// A user-defined label for an AppConfig hosted configuration version.
	VersionLabel *string `location:"header" locationName:"VersionLabel" min:"1" type:"string"`

	// The configuration version.
	VersionNumber *int64 `location:"header" locationName:"Version-Number" type:"integer"`
	// contains filtered or unexported fields
}

func (GetHostedConfigurationVersionOutput) GoString added in v1.32.2

GoString returns the string representation.

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

func (*GetHostedConfigurationVersionOutput) SetApplicationId added in v1.32.2

SetApplicationId sets the ApplicationId field's value.

func (*GetHostedConfigurationVersionOutput) SetConfigurationProfileId added in v1.32.2

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*GetHostedConfigurationVersionOutput) SetContent added in v1.32.2

SetContent sets the Content field's value.

func (*GetHostedConfigurationVersionOutput) SetContentType added in v1.32.2

SetContentType sets the ContentType field's value.

func (*GetHostedConfigurationVersionOutput) SetDescription added in v1.32.2

SetDescription sets the Description field's value.

func (*GetHostedConfigurationVersionOutput) SetKmsKeyArn added in v1.45.22

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*GetHostedConfigurationVersionOutput) SetVersionLabel added in v1.44.201

SetVersionLabel sets the VersionLabel field's value.

func (*GetHostedConfigurationVersionOutput) SetVersionNumber added in v1.32.2

SetVersionNumber sets the VersionNumber field's value.

func (GetHostedConfigurationVersionOutput) String added in v1.32.2

String returns the string representation.

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

type HostedConfigurationVersionSummary added in v1.32.2

type HostedConfigurationVersionSummary struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The configuration profile ID.
	ConfigurationProfileId *string `type:"string"`

	// A standard MIME type describing the format of the configuration content.
	// For more information, see Content-Type (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType *string `min:"1" type:"string"`

	// A description of the configuration.
	Description *string `type:"string"`

	// The Amazon Resource Name of the Key Management Service key that was used
	// to encrypt this specific version of the configuration data in the AppConfig
	// hosted configuration store.
	KmsKeyArn *string `min:"20" type:"string"`

	// A user-defined label for an AppConfig hosted configuration version.
	VersionLabel *string `min:"1" type:"string"`

	// The configuration version.
	VersionNumber *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Information about the configuration.

func (HostedConfigurationVersionSummary) GoString added in v1.32.2

GoString returns the string representation.

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

func (*HostedConfigurationVersionSummary) SetApplicationId added in v1.32.2

SetApplicationId sets the ApplicationId field's value.

func (*HostedConfigurationVersionSummary) SetConfigurationProfileId added in v1.32.2

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*HostedConfigurationVersionSummary) SetContentType added in v1.32.2

SetContentType sets the ContentType field's value.

func (*HostedConfigurationVersionSummary) SetDescription added in v1.32.2

SetDescription sets the Description field's value.

func (*HostedConfigurationVersionSummary) SetKmsKeyArn added in v1.45.22

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*HostedConfigurationVersionSummary) SetVersionLabel added in v1.44.201

SetVersionLabel sets the VersionLabel field's value.

func (*HostedConfigurationVersionSummary) SetVersionNumber added in v1.32.2

SetVersionNumber sets the VersionNumber field's value.

func (HostedConfigurationVersionSummary) String added in v1.32.2

String returns the string representation.

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

type InternalServerException added in v1.28.0

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

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

There was an internal failure in the AppConfig service.

func (*InternalServerException) Code added in v1.28.0

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error added in v1.28.0

func (s *InternalServerException) Error() string

func (InternalServerException) GoString added in v1.28.0

func (s InternalServerException) GoString() string

GoString returns the string representation.

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

func (*InternalServerException) Message added in v1.28.0

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr added in v1.28.0

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID added in v1.28.0

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode added in v1.28.0

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String added in v1.28.0

func (s InternalServerException) String() string

String returns the string representation.

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

type InvalidConfigurationDetail added in v1.42.8

type InvalidConfigurationDetail struct {

	// The invalid or out-of-range validation constraint in your JSON schema that
	// failed validation.
	Constraint *string `type:"string"`

	// Location of the validation constraint in the configuration JSON schema that
	// failed validation.
	Location *string `type:"string"`

	// The reason for an invalid configuration error.
	Reason *string `type:"string"`

	// The type of error for an invalid configuration.
	Type *string `type:"string"`

	// Details about an error with Lambda when a synchronous extension experiences
	// an error during an invocation.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Detailed information about the bad request exception error when creating a hosted configuration version.

func (InvalidConfigurationDetail) GoString added in v1.42.8

func (s InvalidConfigurationDetail) GoString() string

GoString returns the string representation.

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

func (*InvalidConfigurationDetail) SetConstraint added in v1.42.8

SetConstraint sets the Constraint field's value.

func (*InvalidConfigurationDetail) SetLocation added in v1.42.8

SetLocation sets the Location field's value.

func (*InvalidConfigurationDetail) SetReason added in v1.42.8

SetReason sets the Reason field's value.

func (*InvalidConfigurationDetail) SetType added in v1.42.8

SetType sets the Type field's value.

func (*InvalidConfigurationDetail) SetValue added in v1.44.54

SetValue sets the Value field's value.

func (InvalidConfigurationDetail) String added in v1.42.8

String returns the string representation.

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

type ListApplicationsInput

type ListApplicationsInput struct {

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Next token is a pagination token generated by
	// AppConfig to describe what page the previous List call ended on. For the
	// first List request, the nextToken should not be set. On subsequent calls,
	// the nextToken parameter should be set to the previous responses nextToken
	// value. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListApplicationsInput) GoString

func (s ListApplicationsInput) GoString() string

GoString returns the string representation.

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

func (*ListApplicationsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListApplicationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListApplicationsInput) String

func (s ListApplicationsInput) String() string

String returns the string representation.

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

func (*ListApplicationsInput) Validate

func (s *ListApplicationsInput) Validate() error

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

type ListApplicationsOutput

type ListApplicationsOutput struct {

	// The elements from this collection.
	Items []*Application `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListApplicationsOutput) GoString

func (s ListApplicationsOutput) GoString() string

GoString returns the string representation.

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

func (*ListApplicationsOutput) SetItems

SetItems sets the Items field's value.

func (*ListApplicationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListApplicationsOutput) String

func (s ListApplicationsOutput) String() string

String returns the string representation.

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

type ListConfigurationProfilesInput

type ListConfigurationProfilesInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`

	// A filter based on the type of configurations that the configuration profile
	// contains. A configuration can be a feature flag or a freeform configuration.
	Type *string `location:"querystring" locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

func (ListConfigurationProfilesInput) GoString

GoString returns the string representation.

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

func (*ListConfigurationProfilesInput) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*ListConfigurationProfilesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListConfigurationProfilesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListConfigurationProfilesInput) SetType added in v1.42.8

SetType sets the Type field's value.

func (ListConfigurationProfilesInput) String

String returns the string representation.

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

func (*ListConfigurationProfilesInput) Validate

func (s *ListConfigurationProfilesInput) Validate() error

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

type ListConfigurationProfilesOutput

type ListConfigurationProfilesOutput struct {

	// The elements from this collection.
	Items []*ConfigurationProfileSummary `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListConfigurationProfilesOutput) GoString

GoString returns the string representation.

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

func (*ListConfigurationProfilesOutput) SetItems

SetItems sets the Items field's value.

func (*ListConfigurationProfilesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListConfigurationProfilesOutput) String

String returns the string representation.

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

type ListDeploymentStrategiesInput

type ListDeploymentStrategiesInput struct {

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentStrategiesInput) GoString

GoString returns the string representation.

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

func (*ListDeploymentStrategiesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListDeploymentStrategiesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDeploymentStrategiesInput) String

String returns the string representation.

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

func (*ListDeploymentStrategiesInput) Validate

func (s *ListDeploymentStrategiesInput) Validate() error

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

type ListDeploymentStrategiesOutput

type ListDeploymentStrategiesOutput struct {

	// The elements from this collection.
	Items []*DeploymentStrategy `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentStrategiesOutput) GoString

GoString returns the string representation.

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

func (*ListDeploymentStrategiesOutput) SetItems

SetItems sets the Items field's value.

func (*ListDeploymentStrategiesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDeploymentStrategiesOutput) String

String returns the string representation.

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

type ListDeploymentsInput

type ListDeploymentsInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`

	// The maximum number of items that may be returned for this call. If there
	// are items that have not yet been returned, the response will include a non-null
	// NextToken that you can provide in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// The token returned by a prior call to this operation indicating the next
	// set of results to be returned. If not specified, the operation will return
	// the first set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentsInput) GoString

func (s ListDeploymentsInput) GoString() string

GoString returns the string representation.

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

func (*ListDeploymentsInput) SetApplicationId

func (s *ListDeploymentsInput) SetApplicationId(v string) *ListDeploymentsInput

SetApplicationId sets the ApplicationId field's value.

func (*ListDeploymentsInput) SetEnvironmentId

func (s *ListDeploymentsInput) SetEnvironmentId(v string) *ListDeploymentsInput

SetEnvironmentId sets the EnvironmentId field's value.

func (*ListDeploymentsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListDeploymentsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListDeploymentsInput) String

func (s ListDeploymentsInput) String() string

String returns the string representation.

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

func (*ListDeploymentsInput) Validate

func (s *ListDeploymentsInput) Validate() error

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

type ListDeploymentsOutput

type ListDeploymentsOutput struct {

	// The elements from this collection.
	Items []*DeploymentSummary `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentsOutput) GoString

func (s ListDeploymentsOutput) GoString() string

GoString returns the string representation.

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

func (*ListDeploymentsOutput) SetItems

SetItems sets the Items field's value.

func (*ListDeploymentsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDeploymentsOutput) String

func (s ListDeploymentsOutput) String() string

String returns the string representation.

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

type ListEnvironmentsInput

type ListEnvironmentsInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListEnvironmentsInput) GoString

func (s ListEnvironmentsInput) GoString() string

GoString returns the string representation.

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

func (*ListEnvironmentsInput) SetApplicationId

func (s *ListEnvironmentsInput) SetApplicationId(v string) *ListEnvironmentsInput

SetApplicationId sets the ApplicationId field's value.

func (*ListEnvironmentsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListEnvironmentsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListEnvironmentsInput) String

func (s ListEnvironmentsInput) String() string

String returns the string representation.

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

func (*ListEnvironmentsInput) Validate

func (s *ListEnvironmentsInput) Validate() error

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

type ListEnvironmentsOutput

type ListEnvironmentsOutput struct {

	// The elements from this collection.
	Items []*Environment `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListEnvironmentsOutput) GoString

func (s ListEnvironmentsOutput) GoString() string

GoString returns the string representation.

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

func (*ListEnvironmentsOutput) SetItems

SetItems sets the Items field's value.

func (*ListEnvironmentsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListEnvironmentsOutput) String

func (s ListEnvironmentsOutput) String() string

String returns the string representation.

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

type ListExtensionAssociationsInput added in v1.44.54

type ListExtensionAssociationsInput struct {

	// The name, the ID, or the Amazon Resource Name (ARN) of the extension.
	ExtensionIdentifier *string `location:"querystring" locationName:"extension_identifier" min:"1" type:"string"`

	// The version number for the extension defined in the association.
	ExtensionVersionNumber *int64 `location:"querystring" locationName:"extension_version_number" type:"integer"`

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results
	// or pass null to get the first set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`

	// The ARN of an application, configuration profile, or environment.
	ResourceIdentifier *string `location:"querystring" locationName:"resource_identifier" min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (ListExtensionAssociationsInput) GoString added in v1.44.54

GoString returns the string representation.

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

func (*ListExtensionAssociationsInput) SetExtensionIdentifier added in v1.44.54

SetExtensionIdentifier sets the ExtensionIdentifier field's value.

func (*ListExtensionAssociationsInput) SetExtensionVersionNumber added in v1.44.54

func (s *ListExtensionAssociationsInput) SetExtensionVersionNumber(v int64) *ListExtensionAssociationsInput

SetExtensionVersionNumber sets the ExtensionVersionNumber field's value.

func (*ListExtensionAssociationsInput) SetMaxResults added in v1.44.54

SetMaxResults sets the MaxResults field's value.

func (*ListExtensionAssociationsInput) SetNextToken added in v1.44.54

SetNextToken sets the NextToken field's value.

func (*ListExtensionAssociationsInput) SetResourceIdentifier added in v1.44.54

SetResourceIdentifier sets the ResourceIdentifier field's value.

func (ListExtensionAssociationsInput) String added in v1.44.54

String returns the string representation.

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

func (*ListExtensionAssociationsInput) Validate added in v1.44.54

func (s *ListExtensionAssociationsInput) Validate() error

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

type ListExtensionAssociationsOutput added in v1.44.54

type ListExtensionAssociationsOutput struct {

	// The list of extension associations. Each item represents an extension association
	// to an application, environment, or configuration profile.
	Items []*ExtensionAssociationSummary `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListExtensionAssociationsOutput) GoString added in v1.44.54

GoString returns the string representation.

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

func (*ListExtensionAssociationsOutput) SetItems added in v1.44.54

SetItems sets the Items field's value.

func (*ListExtensionAssociationsOutput) SetNextToken added in v1.44.54

SetNextToken sets the NextToken field's value.

func (ListExtensionAssociationsOutput) String added in v1.44.54

String returns the string representation.

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

type ListExtensionsInput added in v1.44.54

type ListExtensionsInput struct {

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// The extension name.
	Name *string `location:"querystring" locationName:"name" min:"1" type:"string"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListExtensionsInput) GoString added in v1.44.54

func (s ListExtensionsInput) GoString() string

GoString returns the string representation.

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

func (*ListExtensionsInput) SetMaxResults added in v1.44.54

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

SetMaxResults sets the MaxResults field's value.

func (*ListExtensionsInput) SetName added in v1.44.54

SetName sets the Name field's value.

func (*ListExtensionsInput) SetNextToken added in v1.44.54

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

SetNextToken sets the NextToken field's value.

func (ListExtensionsInput) String added in v1.44.54

func (s ListExtensionsInput) String() string

String returns the string representation.

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

func (*ListExtensionsInput) Validate added in v1.44.54

func (s *ListExtensionsInput) Validate() error

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

type ListExtensionsOutput added in v1.44.54

type ListExtensionsOutput struct {

	// The list of available extensions. The list includes Amazon Web Services authored
	// and user-created extensions.
	Items []*ExtensionSummary `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListExtensionsOutput) GoString added in v1.44.54

func (s ListExtensionsOutput) GoString() string

GoString returns the string representation.

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

func (*ListExtensionsOutput) SetItems added in v1.44.54

SetItems sets the Items field's value.

func (*ListExtensionsOutput) SetNextToken added in v1.44.54

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

SetNextToken sets the NextToken field's value.

func (ListExtensionsOutput) String added in v1.44.54

func (s ListExtensionsOutput) String() string

String returns the string representation.

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

type ListHostedConfigurationVersionsInput added in v1.32.2

type ListHostedConfigurationVersionsInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`

	// An optional filter that can be used to specify the version label of an AppConfig
	// hosted configuration version. This parameter supports filtering by prefix
	// using a wildcard, for example "v2*". If you don't specify an asterisk at
	// the end of the value, only an exact match is returned.
	VersionLabel *string `location:"querystring" locationName:"version_label" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListHostedConfigurationVersionsInput) GoString added in v1.32.2

GoString returns the string representation.

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

func (*ListHostedConfigurationVersionsInput) SetApplicationId added in v1.32.2

SetApplicationId sets the ApplicationId field's value.

func (*ListHostedConfigurationVersionsInput) SetConfigurationProfileId added in v1.32.2

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*ListHostedConfigurationVersionsInput) SetMaxResults added in v1.32.2

SetMaxResults sets the MaxResults field's value.

func (*ListHostedConfigurationVersionsInput) SetNextToken added in v1.32.2

SetNextToken sets the NextToken field's value.

func (*ListHostedConfigurationVersionsInput) SetVersionLabel added in v1.44.201

SetVersionLabel sets the VersionLabel field's value.

func (ListHostedConfigurationVersionsInput) String added in v1.32.2

String returns the string representation.

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

func (*ListHostedConfigurationVersionsInput) Validate added in v1.32.2

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

type ListHostedConfigurationVersionsOutput added in v1.32.2

type ListHostedConfigurationVersionsOutput struct {

	// The elements from this collection.
	Items []*HostedConfigurationVersionSummary `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListHostedConfigurationVersionsOutput) GoString added in v1.32.2

GoString returns the string representation.

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

func (*ListHostedConfigurationVersionsOutput) SetItems added in v1.32.2

SetItems sets the Items field's value.

func (*ListHostedConfigurationVersionsOutput) SetNextToken added in v1.32.2

SetNextToken sets the NextToken field's value.

func (ListHostedConfigurationVersionsOutput) String added in v1.32.2

String returns the string representation.

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

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The resource ARN.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

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

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

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

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// Metadata to assign to AppConfig resources. Tags help organize and categorize
	// your AppConfig resources. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

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

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

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

type Monitor

type Monitor struct {

	// Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
	//
	// AlarmArn is a required field
	AlarmArn *string `min:"1" type:"string" required:"true"`

	// ARN of an Identity and Access Management (IAM) role for AppConfig to monitor
	// AlarmArn.
	AlarmRoleArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

Amazon CloudWatch alarms to monitor during the deployment process.

func (Monitor) GoString

func (s Monitor) GoString() string

GoString returns the string representation.

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

func (*Monitor) SetAlarmArn

func (s *Monitor) SetAlarmArn(v string) *Monitor

SetAlarmArn sets the AlarmArn field's value.

func (*Monitor) SetAlarmRoleArn

func (s *Monitor) SetAlarmRoleArn(v string) *Monitor

SetAlarmRoleArn sets the AlarmRoleArn field's value.

func (Monitor) String

func (s Monitor) String() string

String returns the string representation.

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

func (*Monitor) Validate

func (s *Monitor) Validate() error

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

type Parameter added in v1.44.54

type Parameter struct {

	// Information about the parameter.
	Description *string `type:"string"`

	// A parameter value must be specified in the extension association.
	Required *bool `type:"boolean"`
	// contains filtered or unexported fields
}

A value such as an Amazon Resource Name (ARN) or an Amazon Simple Notification Service topic entered in an extension when invoked. Parameter values are specified in an extension association. For more information about extensions, see Working with AppConfig extensions (https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html) in the AppConfig User Guide.

func (Parameter) GoString added in v1.44.54

func (s Parameter) GoString() string

GoString returns the string representation.

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

func (*Parameter) SetDescription added in v1.44.54

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

SetDescription sets the Description field's value.

func (*Parameter) SetRequired added in v1.44.54

func (s *Parameter) SetRequired(v bool) *Parameter

SetRequired sets the Required field's value.

func (Parameter) String added in v1.44.54

func (s Parameter) String() string

String returns the string representation.

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

type PayloadTooLargeException added in v1.32.2

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

	Limit *float64 `type:"float"`

	Measure *string `type:"string" enum:"BytesMeasure"`

	Message_ *string `locationName:"Message" type:"string"`

	Size *float64 `type:"float"`
	// contains filtered or unexported fields
}

The configuration size is too large.

func (*PayloadTooLargeException) Code added in v1.32.2

func (s *PayloadTooLargeException) Code() string

Code returns the exception type name.

func (*PayloadTooLargeException) Error added in v1.32.2

func (s *PayloadTooLargeException) Error() string

func (PayloadTooLargeException) GoString added in v1.32.2

func (s PayloadTooLargeException) GoString() string

GoString returns the string representation.

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

func (*PayloadTooLargeException) Message added in v1.32.2

func (s *PayloadTooLargeException) Message() string

Message returns the exception's message.

func (*PayloadTooLargeException) OrigErr added in v1.32.2

func (s *PayloadTooLargeException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PayloadTooLargeException) RequestID added in v1.32.2

func (s *PayloadTooLargeException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*PayloadTooLargeException) StatusCode added in v1.32.2

func (s *PayloadTooLargeException) StatusCode() int

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

func (PayloadTooLargeException) String added in v1.32.2

func (s PayloadTooLargeException) String() string

String returns the string representation.

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

type ResourceNotFoundException added in v1.28.0

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

	Message_ *string `locationName:"Message" type:"string"`

	ResourceName *string `type:"string"`
	// contains filtered or unexported fields
}

The requested resource could not be found.

func (*ResourceNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceNotFoundException) Error added in v1.28.0

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString added in v1.28.0

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

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

func (*ResourceNotFoundException) Message added in v1.28.0

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr added in v1.28.0

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID added in v1.28.0

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode added in v1.28.0

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String added in v1.28.0

func (s ResourceNotFoundException) String() string

String returns the string representation.

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

type ServiceQuotaExceededException added in v1.32.2

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

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

The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

Applications: 100 max

Deployment strategies: 20 max

Configuration profiles: 100 max per application

Environments: 20 max per application

To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig (https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig) in the Amazon Web Services General Reference.

func (*ServiceQuotaExceededException) Code added in v1.32.2

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error added in v1.32.2

func (ServiceQuotaExceededException) GoString added in v1.32.2

GoString returns the string representation.

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

func (*ServiceQuotaExceededException) Message added in v1.32.2

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr added in v1.32.2

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID added in v1.32.2

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode added in v1.32.2

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) String added in v1.32.2

String returns the string representation.

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

type StartDeploymentInput

type StartDeploymentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `type:"string" required:"true"`

	// The configuration version to deploy. If deploying an AppConfig hosted configuration
	// version, you can specify either the version number or version label. For
	// all other configurations, you must specify the version number.
	//
	// ConfigurationVersion is a required field
	ConfigurationVersion *string `min:"1" type:"string" required:"true"`

	// The deployment strategy ID.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `type:"string" required:"true"`

	// A description of the deployment.
	Description *string `type:"string"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`

	// The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this
	// ID to encrypt the configuration data using a customer managed key.
	KmsKeyIdentifier *string `min:"1" type:"string"`

	// Metadata to assign to the deployment. Tags help organize and categorize your
	// AppConfig resources. Each tag consists of a key and an optional value, both
	// of which you define.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (StartDeploymentInput) GoString

func (s StartDeploymentInput) GoString() string

GoString returns the string representation.

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

func (*StartDeploymentInput) SetApplicationId

func (s *StartDeploymentInput) SetApplicationId(v string) *StartDeploymentInput

SetApplicationId sets the ApplicationId field's value.

func (*StartDeploymentInput) SetConfigurationProfileId

func (s *StartDeploymentInput) SetConfigurationProfileId(v string) *StartDeploymentInput

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*StartDeploymentInput) SetConfigurationVersion

func (s *StartDeploymentInput) SetConfigurationVersion(v string) *StartDeploymentInput

SetConfigurationVersion sets the ConfigurationVersion field's value.

func (*StartDeploymentInput) SetDeploymentStrategyId

func (s *StartDeploymentInput) SetDeploymentStrategyId(v string) *StartDeploymentInput

SetDeploymentStrategyId sets the DeploymentStrategyId field's value.

func (*StartDeploymentInput) SetDescription

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

SetDescription sets the Description field's value.

func (*StartDeploymentInput) SetEnvironmentId

func (s *StartDeploymentInput) SetEnvironmentId(v string) *StartDeploymentInput

SetEnvironmentId sets the EnvironmentId field's value.

func (*StartDeploymentInput) SetKmsKeyIdentifier added in v1.44.193

func (s *StartDeploymentInput) SetKmsKeyIdentifier(v string) *StartDeploymentInput

SetKmsKeyIdentifier sets the KmsKeyIdentifier field's value.

func (*StartDeploymentInput) SetTags

SetTags sets the Tags field's value.

func (StartDeploymentInput) String

func (s StartDeploymentInput) String() string

String returns the string representation.

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

func (*StartDeploymentInput) Validate

func (s *StartDeploymentInput) Validate() error

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

type StartDeploymentOutput

type StartDeploymentOutput struct {

	// The ID of the application that was deployed.
	ApplicationId *string `type:"string"`

	// A list of extensions that were processed as part of the deployment. The extensions
	// that were previously associated to the configuration profile, environment,
	// or the application when StartDeployment was called.
	AppliedExtensions []*AppliedExtension `type:"list"`

	// The time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Information about the source location of the configuration.
	ConfigurationLocationUri *string `min:"1" type:"string"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The ID of the configuration profile that was deployed.
	ConfigurationProfileId *string `type:"string"`

	// The configuration version that was deployed.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The ID of the deployment strategy that was deployed.
	DeploymentStrategyId *string `type:"string"`

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

	// The ID of the environment that was deployed.
	EnvironmentId *string `type:"string"`

	// A list containing all events related to a deployment. The most recent events
	// are displayed first.
	EventLog []*DeploymentEvent `type:"list"`

	// The amount of time that AppConfig monitored for alarms before considering
	// the deployment to be complete and no longer eligible for automatic rollback.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType *string `type:"string" enum:"GrowthType"`

	// The Amazon Resource Name of the Key Management Service key used to encrypt
	// configuration data. You can encrypt secrets stored in Secrets Manager, Amazon
	// Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure
	// string parameters stored in Amazon Web Services Systems Manager Parameter
	// Store.
	KmsKeyArn *string `min:"20" type:"string"`

	// The Key Management Service key identifier (key ID, key alias, or key ARN)
	// provided when the resource was created or updated.
	KmsKeyIdentifier *string `min:"1" type:"string"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// The time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State *string `type:"string" enum:"DeploymentState"`

	// A user-defined label for an AppConfig hosted configuration version.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (StartDeploymentOutput) GoString

func (s StartDeploymentOutput) GoString() string

GoString returns the string representation.

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

func (*StartDeploymentOutput) SetApplicationId

func (s *StartDeploymentOutput) SetApplicationId(v string) *StartDeploymentOutput

SetApplicationId sets the ApplicationId field's value.

func (*StartDeploymentOutput) SetAppliedExtensions added in v1.44.54

func (s *StartDeploymentOutput) SetAppliedExtensions(v []*AppliedExtension) *StartDeploymentOutput

SetAppliedExtensions sets the AppliedExtensions field's value.

func (*StartDeploymentOutput) SetCompletedAt

func (s *StartDeploymentOutput) SetCompletedAt(v time.Time) *StartDeploymentOutput

SetCompletedAt sets the CompletedAt field's value.

func (*StartDeploymentOutput) SetConfigurationLocationUri

func (s *StartDeploymentOutput) SetConfigurationLocationUri(v string) *StartDeploymentOutput

SetConfigurationLocationUri sets the ConfigurationLocationUri field's value.

func (*StartDeploymentOutput) SetConfigurationName

func (s *StartDeploymentOutput) SetConfigurationName(v string) *StartDeploymentOutput

SetConfigurationName sets the ConfigurationName field's value.

func (*StartDeploymentOutput) SetConfigurationProfileId

func (s *StartDeploymentOutput) SetConfigurationProfileId(v string) *StartDeploymentOutput

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*StartDeploymentOutput) SetConfigurationVersion

func (s *StartDeploymentOutput) SetConfigurationVersion(v string) *StartDeploymentOutput

SetConfigurationVersion sets the ConfigurationVersion field's value.

func (*StartDeploymentOutput) SetDeploymentDurationInMinutes

func (s *StartDeploymentOutput) SetDeploymentDurationInMinutes(v int64) *StartDeploymentOutput

SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.

func (*StartDeploymentOutput) SetDeploymentNumber

func (s *StartDeploymentOutput) SetDeploymentNumber(v int64) *StartDeploymentOutput

SetDeploymentNumber sets the DeploymentNumber field's value.

func (*StartDeploymentOutput) SetDeploymentStrategyId

func (s *StartDeploymentOutput) SetDeploymentStrategyId(v string) *StartDeploymentOutput

SetDeploymentStrategyId sets the DeploymentStrategyId field's value.

func (*StartDeploymentOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*StartDeploymentOutput) SetEnvironmentId

func (s *StartDeploymentOutput) SetEnvironmentId(v string) *StartDeploymentOutput

SetEnvironmentId sets the EnvironmentId field's value.

func (*StartDeploymentOutput) SetEventLog added in v1.30.1

SetEventLog sets the EventLog field's value.

func (*StartDeploymentOutput) SetFinalBakeTimeInMinutes

func (s *StartDeploymentOutput) SetFinalBakeTimeInMinutes(v int64) *StartDeploymentOutput

SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.

func (*StartDeploymentOutput) SetGrowthFactor

func (s *StartDeploymentOutput) SetGrowthFactor(v float64) *StartDeploymentOutput

SetGrowthFactor sets the GrowthFactor field's value.

func (*StartDeploymentOutput) SetGrowthType

func (s *StartDeploymentOutput) SetGrowthType(v string) *StartDeploymentOutput

SetGrowthType sets the GrowthType field's value.

func (*StartDeploymentOutput) SetKmsKeyArn added in v1.44.193

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*StartDeploymentOutput) SetKmsKeyIdentifier added in v1.44.193

func (s *StartDeploymentOutput) SetKmsKeyIdentifier(v string) *StartDeploymentOutput

SetKmsKeyIdentifier sets the KmsKeyIdentifier field's value.

func (*StartDeploymentOutput) SetPercentageComplete

func (s *StartDeploymentOutput) SetPercentageComplete(v float64) *StartDeploymentOutput

SetPercentageComplete sets the PercentageComplete field's value.

func (*StartDeploymentOutput) SetStartedAt

SetStartedAt sets the StartedAt field's value.

func (*StartDeploymentOutput) SetState

SetState sets the State field's value.

func (*StartDeploymentOutput) SetVersionLabel added in v1.45.14

func (s *StartDeploymentOutput) SetVersionLabel(v string) *StartDeploymentOutput

SetVersionLabel sets the VersionLabel field's value.

func (StartDeploymentOutput) String

func (s StartDeploymentOutput) String() string

String returns the string representation.

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

type StopDeploymentInput

type StopDeploymentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The sequence number of the deployment.
	//
	// DeploymentNumber is a required field
	DeploymentNumber *int64 `location:"uri" locationName:"DeploymentNumber" type:"integer" required:"true"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopDeploymentInput) GoString

func (s StopDeploymentInput) GoString() string

GoString returns the string representation.

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

func (*StopDeploymentInput) SetApplicationId

func (s *StopDeploymentInput) SetApplicationId(v string) *StopDeploymentInput

SetApplicationId sets the ApplicationId field's value.

func (*StopDeploymentInput) SetDeploymentNumber

func (s *StopDeploymentInput) SetDeploymentNumber(v int64) *StopDeploymentInput

SetDeploymentNumber sets the DeploymentNumber field's value.

func (*StopDeploymentInput) SetEnvironmentId

func (s *StopDeploymentInput) SetEnvironmentId(v string) *StopDeploymentInput

SetEnvironmentId sets the EnvironmentId field's value.

func (StopDeploymentInput) String

func (s StopDeploymentInput) String() string

String returns the string representation.

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

func (*StopDeploymentInput) Validate

func (s *StopDeploymentInput) Validate() error

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

type StopDeploymentOutput

type StopDeploymentOutput struct {

	// The ID of the application that was deployed.
	ApplicationId *string `type:"string"`

	// A list of extensions that were processed as part of the deployment. The extensions
	// that were previously associated to the configuration profile, environment,
	// or the application when StartDeployment was called.
	AppliedExtensions []*AppliedExtension `type:"list"`

	// The time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Information about the source location of the configuration.
	ConfigurationLocationUri *string `min:"1" type:"string"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The ID of the configuration profile that was deployed.
	ConfigurationProfileId *string `type:"string"`

	// The configuration version that was deployed.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The ID of the deployment strategy that was deployed.
	DeploymentStrategyId *string `type:"string"`

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

	// The ID of the environment that was deployed.
	EnvironmentId *string `type:"string"`

	// A list containing all events related to a deployment. The most recent events
	// are displayed first.
	EventLog []*DeploymentEvent `type:"list"`

	// The amount of time that AppConfig monitored for alarms before considering
	// the deployment to be complete and no longer eligible for automatic rollback.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType *string `type:"string" enum:"GrowthType"`

	// The Amazon Resource Name of the Key Management Service key used to encrypt
	// configuration data. You can encrypt secrets stored in Secrets Manager, Amazon
	// Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure
	// string parameters stored in Amazon Web Services Systems Manager Parameter
	// Store.
	KmsKeyArn *string `min:"20" type:"string"`

	// The Key Management Service key identifier (key ID, key alias, or key ARN)
	// provided when the resource was created or updated.
	KmsKeyIdentifier *string `min:"1" type:"string"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// The time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State *string `type:"string" enum:"DeploymentState"`

	// A user-defined label for an AppConfig hosted configuration version.
	VersionLabel *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (StopDeploymentOutput) GoString

func (s StopDeploymentOutput) GoString() string

GoString returns the string representation.

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

func (*StopDeploymentOutput) SetApplicationId

func (s *StopDeploymentOutput) SetApplicationId(v string) *StopDeploymentOutput

SetApplicationId sets the ApplicationId field's value.

func (*StopDeploymentOutput) SetAppliedExtensions added in v1.44.54

func (s *StopDeploymentOutput) SetAppliedExtensions(v []*AppliedExtension) *StopDeploymentOutput

SetAppliedExtensions sets the AppliedExtensions field's value.

func (*StopDeploymentOutput) SetCompletedAt

func (s *StopDeploymentOutput) SetCompletedAt(v time.Time) *StopDeploymentOutput

SetCompletedAt sets the CompletedAt field's value.

func (*StopDeploymentOutput) SetConfigurationLocationUri

func (s *StopDeploymentOutput) SetConfigurationLocationUri(v string) *StopDeploymentOutput

SetConfigurationLocationUri sets the ConfigurationLocationUri field's value.

func (*StopDeploymentOutput) SetConfigurationName

func (s *StopDeploymentOutput) SetConfigurationName(v string) *StopDeploymentOutput

SetConfigurationName sets the ConfigurationName field's value.

func (*StopDeploymentOutput) SetConfigurationProfileId

func (s *StopDeploymentOutput) SetConfigurationProfileId(v string) *StopDeploymentOutput

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*StopDeploymentOutput) SetConfigurationVersion

func (s *StopDeploymentOutput) SetConfigurationVersion(v string) *StopDeploymentOutput

SetConfigurationVersion sets the ConfigurationVersion field's value.

func (*StopDeploymentOutput) SetDeploymentDurationInMinutes

func (s *StopDeploymentOutput) SetDeploymentDurationInMinutes(v int64) *StopDeploymentOutput

SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.

func (*StopDeploymentOutput) SetDeploymentNumber

func (s *StopDeploymentOutput) SetDeploymentNumber(v int64) *StopDeploymentOutput

SetDeploymentNumber sets the DeploymentNumber field's value.

func (*StopDeploymentOutput) SetDeploymentStrategyId

func (s *StopDeploymentOutput) SetDeploymentStrategyId(v string) *StopDeploymentOutput

SetDeploymentStrategyId sets the DeploymentStrategyId field's value.

func (*StopDeploymentOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*StopDeploymentOutput) SetEnvironmentId

func (s *StopDeploymentOutput) SetEnvironmentId(v string) *StopDeploymentOutput

SetEnvironmentId sets the EnvironmentId field's value.

func (*StopDeploymentOutput) SetEventLog added in v1.30.1

SetEventLog sets the EventLog field's value.

func (*StopDeploymentOutput) SetFinalBakeTimeInMinutes

func (s *StopDeploymentOutput) SetFinalBakeTimeInMinutes(v int64) *StopDeploymentOutput

SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.

func (*StopDeploymentOutput) SetGrowthFactor

func (s *StopDeploymentOutput) SetGrowthFactor(v float64) *StopDeploymentOutput

SetGrowthFactor sets the GrowthFactor field's value.

func (*StopDeploymentOutput) SetGrowthType

func (s *StopDeploymentOutput) SetGrowthType(v string) *StopDeploymentOutput

SetGrowthType sets the GrowthType field's value.

func (*StopDeploymentOutput) SetKmsKeyArn added in v1.44.193

func (s *StopDeploymentOutput) SetKmsKeyArn(v string) *StopDeploymentOutput

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*StopDeploymentOutput) SetKmsKeyIdentifier added in v1.44.193

func (s *StopDeploymentOutput) SetKmsKeyIdentifier(v string) *StopDeploymentOutput

SetKmsKeyIdentifier sets the KmsKeyIdentifier field's value.

func (*StopDeploymentOutput) SetPercentageComplete

func (s *StopDeploymentOutput) SetPercentageComplete(v float64) *StopDeploymentOutput

SetPercentageComplete sets the PercentageComplete field's value.

func (*StopDeploymentOutput) SetStartedAt

func (s *StopDeploymentOutput) SetStartedAt(v time.Time) *StopDeploymentOutput

SetStartedAt sets the StartedAt field's value.

func (*StopDeploymentOutput) SetState

SetState sets the State field's value.

func (*StopDeploymentOutput) SetVersionLabel added in v1.45.14

func (s *StopDeploymentOutput) SetVersionLabel(v string) *StopDeploymentOutput

SetVersionLabel sets the VersionLabel field's value.

func (StopDeploymentOutput) String

func (s StopDeploymentOutput) String() string

String returns the string representation.

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

type TagResourceInput

type TagResourceInput struct {

	// The ARN of the resource for which to retrieve tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" min:"20" type:"string" required:"true"`

	// The key-value string map. The valid character set is [a-zA-Z+-=._:/]. The
	// tag key can be up to 128 characters and must not start with aws:. The tag
	// value can be up to 256 characters.
	//
	// Tags is a required field
	Tags map[string]*string `type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

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

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

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

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

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

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

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

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN of the resource for which to remove tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" min:"20" type:"string" required:"true"`

	// The tag keys to delete.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

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

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

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

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

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

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

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

type UpdateApplicationInput

type UpdateApplicationInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the application.
	Description *string `type:"string"`

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

func (UpdateApplicationInput) GoString

func (s UpdateApplicationInput) GoString() string

GoString returns the string representation.

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

func (*UpdateApplicationInput) SetApplicationId

func (s *UpdateApplicationInput) SetApplicationId(v string) *UpdateApplicationInput

SetApplicationId sets the ApplicationId field's value.

func (*UpdateApplicationInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateApplicationInput) SetName

SetName sets the Name field's value.

func (UpdateApplicationInput) String

func (s UpdateApplicationInput) String() string

String returns the string representation.

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

func (*UpdateApplicationInput) Validate

func (s *UpdateApplicationInput) Validate() error

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

type UpdateApplicationOutput

type UpdateApplicationOutput struct {

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

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateApplicationOutput) GoString

func (s UpdateApplicationOutput) GoString() string

GoString returns the string representation.

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

func (*UpdateApplicationOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateApplicationOutput) SetId

SetId sets the Id field's value.

func (*UpdateApplicationOutput) SetName

SetName sets the Name field's value.

func (UpdateApplicationOutput) String

func (s UpdateApplicationOutput) String() string

String returns the string representation.

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

type UpdateConfigurationProfileInput

type UpdateConfigurationProfileInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the configuration profile.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// A description of the configuration profile.
	Description *string `type:"string"`

	// The identifier for a Key Management Service key to encrypt new configuration
	// data versions in the AppConfig hosted configuration store. This attribute
	// is only used for hosted configuration types. The identifier can be an KMS
	// key ID, alias, or the Amazon Resource Name (ARN) of the key ID or alias.
	// To encrypt data managed in other configuration stores, see the documentation
	// for how to specify an KMS key for that particular service.
	KmsKeyIdentifier *string `type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// A list of methods for validating the configuration.
	Validators []*Validator `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateConfigurationProfileInput) GoString

GoString returns the string representation.

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

func (*UpdateConfigurationProfileInput) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*UpdateConfigurationProfileInput) SetConfigurationProfileId

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*UpdateConfigurationProfileInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateConfigurationProfileInput) SetKmsKeyIdentifier added in v1.45.22

SetKmsKeyIdentifier sets the KmsKeyIdentifier field's value.

func (*UpdateConfigurationProfileInput) SetName

SetName sets the Name field's value.

func (*UpdateConfigurationProfileInput) SetRetrievalRoleArn

SetRetrievalRoleArn sets the RetrievalRoleArn field's value.

func (*UpdateConfigurationProfileInput) SetValidators

SetValidators sets the Validators field's value.

func (UpdateConfigurationProfileInput) String

String returns the string representation.

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

func (*UpdateConfigurationProfileInput) Validate

func (s *UpdateConfigurationProfileInput) Validate() error

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

type UpdateConfigurationProfileOutput

type UpdateConfigurationProfileOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The configuration profile description.
	Description *string `type:"string"`

	// The configuration profile ID.
	Id *string `type:"string"`

	// The Amazon Resource Name of the Key Management Service key to encrypt new
	// configuration data versions in the AppConfig hosted configuration store.
	// This attribute is only used for hosted configuration types. To encrypt data
	// managed in other configuration stores, see the documentation for how to specify
	// an KMS key for that particular service.
	KmsKeyArn *string `min:"20" type:"string"`

	// The Key Management Service key identifier (key ID, key alias, or key ARN)
	// provided when the resource was created or updated.
	KmsKeyIdentifier *string `min:"1" type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// The type of configurations contained in the profile. AppConfig supports feature
	// flags and freeform configurations. We recommend you create feature flag configurations
	// to enable or disable new features and freeform configurations to distribute
	// configurations to an application. When calling this API, enter one of the
	// following values for Type:
	//
	// AWS.AppConfig.FeatureFlags
	//
	// AWS.Freeform
	Type *string `type:"string"`

	// A list of methods for validating the configuration.
	Validators []*Validator `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateConfigurationProfileOutput) GoString

GoString returns the string representation.

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

func (*UpdateConfigurationProfileOutput) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*UpdateConfigurationProfileOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateConfigurationProfileOutput) SetId

SetId sets the Id field's value.

func (*UpdateConfigurationProfileOutput) SetKmsKeyArn added in v1.45.22

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*UpdateConfigurationProfileOutput) SetKmsKeyIdentifier added in v1.45.22

SetKmsKeyIdentifier sets the KmsKeyIdentifier field's value.

func (*UpdateConfigurationProfileOutput) SetLocationUri

SetLocationUri sets the LocationUri field's value.

func (*UpdateConfigurationProfileOutput) SetName

SetName sets the Name field's value.

func (*UpdateConfigurationProfileOutput) SetRetrievalRoleArn

SetRetrievalRoleArn sets the RetrievalRoleArn field's value.

func (*UpdateConfigurationProfileOutput) SetType added in v1.42.8

SetType sets the Type field's value.

func (*UpdateConfigurationProfileOutput) SetValidators

SetValidators sets the Validators field's value.

func (UpdateConfigurationProfileOutput) String

String returns the string representation.

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

type UpdateDeploymentStrategyInput

type UpdateDeploymentStrategyInput struct {

	// Total amount of time for a deployment to last.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The deployment strategy ID.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `location:"uri" locationName:"DeploymentStrategyId" type:"string" required:"true"`

	// A description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time that AppConfig monitors for alarms before considering
	// the deployment to be complete and no longer eligible for automatic rollback.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grows over time. AppConfig supports
	// the following growth types:
	//
	// Linear: For this type, AppConfig processes the deployment by increments of
	// the growth factor evenly distributed over the deployment time. For example,
	// a linear deployment that uses a growth factor of 20 initially makes the configuration
	// available to 20 percent of the targets. After 1/5th of the deployment time
	// has passed, the system updates the percentage to 40 percent. This continues
	// until 100% of the targets are set to receive the deployed configuration.
	//
	// Exponential: For this type, AppConfig processes the deployment exponentially
	// using the following formula: G*(2^N). In this formula, G is the growth factor
	// specified by the user and N is the number of steps until the configuration
	// is deployed to all targets. For example, if you specify a growth factor of
	// 2, then the system rolls out the configuration as follows:
	//
	// 2*(2^0)
	//
	// 2*(2^1)
	//
	// 2*(2^2)
	//
	// Expressed numerically, the deployment rolls out as follows: 2% of the targets,
	// 4% of the targets, 8% of the targets, and continues until the configuration
	// has been deployed to all targets.
	GrowthType *string `type:"string" enum:"GrowthType"`
	// contains filtered or unexported fields
}

func (UpdateDeploymentStrategyInput) GoString

GoString returns the string representation.

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

func (*UpdateDeploymentStrategyInput) SetDeploymentDurationInMinutes

func (s *UpdateDeploymentStrategyInput) SetDeploymentDurationInMinutes(v int64) *UpdateDeploymentStrategyInput

SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.

func (*UpdateDeploymentStrategyInput) SetDeploymentStrategyId

SetDeploymentStrategyId sets the DeploymentStrategyId field's value.

func (*UpdateDeploymentStrategyInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateDeploymentStrategyInput) SetFinalBakeTimeInMinutes

func (s *UpdateDeploymentStrategyInput) SetFinalBakeTimeInMinutes(v int64) *UpdateDeploymentStrategyInput

SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.

func (*UpdateDeploymentStrategyInput) SetGrowthFactor

SetGrowthFactor sets the GrowthFactor field's value.

func (*UpdateDeploymentStrategyInput) SetGrowthType

SetGrowthType sets the GrowthType field's value.

func (UpdateDeploymentStrategyInput) String

String returns the string representation.

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

func (*UpdateDeploymentStrategyInput) Validate

func (s *UpdateDeploymentStrategyInput) Validate() error

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

type UpdateDeploymentStrategyOutput

type UpdateDeploymentStrategyOutput struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time that AppConfig monitored for alarms before considering
	// the deployment to be complete and no longer eligible for automatic rollback.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType *string `type:"string" enum:"GrowthType"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo *string `type:"string" enum:"ReplicateTo"`
	// contains filtered or unexported fields
}

func (UpdateDeploymentStrategyOutput) GoString

GoString returns the string representation.

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

func (*UpdateDeploymentStrategyOutput) SetDeploymentDurationInMinutes

func (s *UpdateDeploymentStrategyOutput) SetDeploymentDurationInMinutes(v int64) *UpdateDeploymentStrategyOutput

SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.

func (*UpdateDeploymentStrategyOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateDeploymentStrategyOutput) SetFinalBakeTimeInMinutes

func (s *UpdateDeploymentStrategyOutput) SetFinalBakeTimeInMinutes(v int64) *UpdateDeploymentStrategyOutput

SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.

func (*UpdateDeploymentStrategyOutput) SetGrowthFactor

SetGrowthFactor sets the GrowthFactor field's value.

func (*UpdateDeploymentStrategyOutput) SetGrowthType

SetGrowthType sets the GrowthType field's value.

func (*UpdateDeploymentStrategyOutput) SetId

SetId sets the Id field's value.

func (*UpdateDeploymentStrategyOutput) SetName

SetName sets the Name field's value.

func (*UpdateDeploymentStrategyOutput) SetReplicateTo

SetReplicateTo sets the ReplicateTo field's value.

func (UpdateDeploymentStrategyOutput) String

String returns the string representation.

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

type UpdateEnvironmentInput

type UpdateEnvironmentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the environment.
	Description *string `type:"string"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`

	// Amazon CloudWatch alarms to monitor during the deployment process.
	Monitors []*Monitor `type:"list"`

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

func (UpdateEnvironmentInput) GoString

func (s UpdateEnvironmentInput) GoString() string

GoString returns the string representation.

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

func (*UpdateEnvironmentInput) SetApplicationId

func (s *UpdateEnvironmentInput) SetApplicationId(v string) *UpdateEnvironmentInput

SetApplicationId sets the ApplicationId field's value.

func (*UpdateEnvironmentInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateEnvironmentInput) SetEnvironmentId

func (s *UpdateEnvironmentInput) SetEnvironmentId(v string) *UpdateEnvironmentInput

SetEnvironmentId sets the EnvironmentId field's value.

func (*UpdateEnvironmentInput) SetMonitors

SetMonitors sets the Monitors field's value.

func (*UpdateEnvironmentInput) SetName

SetName sets the Name field's value.

func (UpdateEnvironmentInput) String

func (s UpdateEnvironmentInput) String() string

String returns the string representation.

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

func (*UpdateEnvironmentInput) Validate

func (s *UpdateEnvironmentInput) Validate() error

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

type UpdateEnvironmentOutput

type UpdateEnvironmentOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

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

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []*Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"string"`

	// The state of the environment. An environment can be in one of the following
	// states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
	State *string `type:"string" enum:"EnvironmentState"`
	// contains filtered or unexported fields
}

func (UpdateEnvironmentOutput) GoString

func (s UpdateEnvironmentOutput) GoString() string

GoString returns the string representation.

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

func (*UpdateEnvironmentOutput) SetApplicationId

func (s *UpdateEnvironmentOutput) SetApplicationId(v string) *UpdateEnvironmentOutput

SetApplicationId sets the ApplicationId field's value.

func (*UpdateEnvironmentOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateEnvironmentOutput) SetId

SetId sets the Id field's value.

func (*UpdateEnvironmentOutput) SetMonitors

SetMonitors sets the Monitors field's value.

func (*UpdateEnvironmentOutput) SetName

SetName sets the Name field's value.

func (*UpdateEnvironmentOutput) SetState

SetState sets the State field's value.

func (UpdateEnvironmentOutput) String

func (s UpdateEnvironmentOutput) String() string

String returns the string representation.

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

type UpdateExtensionAssociationInput added in v1.44.54

type UpdateExtensionAssociationInput struct {

	// The system-generated ID for the association.
	//
	// ExtensionAssociationId is a required field
	ExtensionAssociationId *string `location:"uri" locationName:"ExtensionAssociationId" type:"string" required:"true"`

	// The parameter names and values defined in the extension.
	Parameters map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (UpdateExtensionAssociationInput) GoString added in v1.44.54

GoString returns the string representation.

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

func (*UpdateExtensionAssociationInput) SetExtensionAssociationId added in v1.44.54

SetExtensionAssociationId sets the ExtensionAssociationId field's value.

func (*UpdateExtensionAssociationInput) SetParameters added in v1.44.54

SetParameters sets the Parameters field's value.

func (UpdateExtensionAssociationInput) String added in v1.44.54

String returns the string representation.

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

func (*UpdateExtensionAssociationInput) Validate added in v1.44.54

func (s *UpdateExtensionAssociationInput) Validate() error

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

type UpdateExtensionAssociationOutput added in v1.44.54

type UpdateExtensionAssociationOutput struct {

	// The system-generated Amazon Resource Name (ARN) for the extension.
	Arn *string `min:"20" type:"string"`

	// The ARN of the extension defined in the association.
	ExtensionArn *string `min:"20" type:"string"`

	// The version number for the extension defined in the association.
	ExtensionVersionNumber *int64 `type:"integer"`

	// The system-generated ID for the association.
	Id *string `min:"1" type:"string"`

	// The parameter names and values defined in the association.
	Parameters map[string]*string `type:"map"`

	// The ARNs of applications, configuration profiles, or environments defined
	// in the association.
	ResourceArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateExtensionAssociationOutput) GoString added in v1.44.54

GoString returns the string representation.

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

func (*UpdateExtensionAssociationOutput) SetArn added in v1.44.54

SetArn sets the Arn field's value.

func (*UpdateExtensionAssociationOutput) SetExtensionArn added in v1.44.54

SetExtensionArn sets the ExtensionArn field's value.

func (*UpdateExtensionAssociationOutput) SetExtensionVersionNumber added in v1.44.54

SetExtensionVersionNumber sets the ExtensionVersionNumber field's value.

func (*UpdateExtensionAssociationOutput) SetId added in v1.44.54

SetId sets the Id field's value.

func (*UpdateExtensionAssociationOutput) SetParameters added in v1.44.54

SetParameters sets the Parameters field's value.

func (*UpdateExtensionAssociationOutput) SetResourceArn added in v1.44.54

SetResourceArn sets the ResourceArn field's value.

func (UpdateExtensionAssociationOutput) String added in v1.44.54

String returns the string representation.

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

type UpdateExtensionInput added in v1.44.54

type UpdateExtensionInput struct {

	// The actions defined in the extension.
	Actions map[string][]*Action `min:"1" type:"map"`

	// Information about the extension.
	Description *string `type:"string"`

	// The name, the ID, or the Amazon Resource Name (ARN) of the extension.
	//
	// ExtensionIdentifier is a required field
	ExtensionIdentifier *string `location:"uri" locationName:"ExtensionIdentifier" min:"1" type:"string" required:"true"`

	// One or more parameters for the actions called by the extension.
	Parameters map[string]*Parameter `min:"1" type:"map"`

	// The extension version number.
	VersionNumber *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (UpdateExtensionInput) GoString added in v1.44.54

func (s UpdateExtensionInput) GoString() string

GoString returns the string representation.

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

func (*UpdateExtensionInput) SetActions added in v1.44.54

func (s *UpdateExtensionInput) SetActions(v map[string][]*Action) *UpdateExtensionInput

SetActions sets the Actions field's value.

func (*UpdateExtensionInput) SetDescription added in v1.44.54

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

SetDescription sets the Description field's value.

func (*UpdateExtensionInput) SetExtensionIdentifier added in v1.44.54

func (s *UpdateExtensionInput) SetExtensionIdentifier(v string) *UpdateExtensionInput

SetExtensionIdentifier sets the ExtensionIdentifier field's value.

func (*UpdateExtensionInput) SetParameters added in v1.44.54

func (s *UpdateExtensionInput) SetParameters(v map[string]*Parameter) *UpdateExtensionInput

SetParameters sets the Parameters field's value.

func (*UpdateExtensionInput) SetVersionNumber added in v1.44.54

func (s *UpdateExtensionInput) SetVersionNumber(v int64) *UpdateExtensionInput

SetVersionNumber sets the VersionNumber field's value.

func (UpdateExtensionInput) String added in v1.44.54

func (s UpdateExtensionInput) String() string

String returns the string representation.

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

func (*UpdateExtensionInput) Validate added in v1.44.54

func (s *UpdateExtensionInput) Validate() error

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

type UpdateExtensionOutput added in v1.44.54

type UpdateExtensionOutput struct {

	// The actions defined in the extension.
	Actions map[string][]*Action `min:"1" type:"map"`

	// The system-generated Amazon Resource Name (ARN) for the extension.
	Arn *string `min:"20" type:"string"`

	// Information about the extension.
	Description *string `type:"string"`

	// The system-generated ID of the extension.
	Id *string `type:"string"`

	// The extension name.
	Name *string `min:"1" type:"string"`

	// The parameters accepted by the extension. You specify parameter values when
	// you associate the extension to an AppConfig resource by using the CreateExtensionAssociation
	// API action. For Lambda extension actions, these parameters are included in
	// the Lambda request object.
	Parameters map[string]*Parameter `min:"1" type:"map"`

	// The extension version number.
	VersionNumber *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (UpdateExtensionOutput) GoString added in v1.44.54

func (s UpdateExtensionOutput) GoString() string

GoString returns the string representation.

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

func (*UpdateExtensionOutput) SetActions added in v1.44.54

func (s *UpdateExtensionOutput) SetActions(v map[string][]*Action) *UpdateExtensionOutput

SetActions sets the Actions field's value.

func (*UpdateExtensionOutput) SetArn added in v1.44.54

SetArn sets the Arn field's value.

func (*UpdateExtensionOutput) SetDescription added in v1.44.54

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

SetDescription sets the Description field's value.

func (*UpdateExtensionOutput) SetId added in v1.44.54

SetId sets the Id field's value.

func (*UpdateExtensionOutput) SetName added in v1.44.54

SetName sets the Name field's value.

func (*UpdateExtensionOutput) SetParameters added in v1.44.54

func (s *UpdateExtensionOutput) SetParameters(v map[string]*Parameter) *UpdateExtensionOutput

SetParameters sets the Parameters field's value.

func (*UpdateExtensionOutput) SetVersionNumber added in v1.44.54

func (s *UpdateExtensionOutput) SetVersionNumber(v int64) *UpdateExtensionOutput

SetVersionNumber sets the VersionNumber field's value.

func (UpdateExtensionOutput) String added in v1.44.54

func (s UpdateExtensionOutput) String() string

String returns the string representation.

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

type ValidateConfigurationInput

type ValidateConfigurationInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// The version of the configuration to validate.
	//
	// ConfigurationVersion is a required field
	ConfigurationVersion *string `location:"querystring" locationName:"configuration_version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ValidateConfigurationInput) GoString

func (s ValidateConfigurationInput) GoString() string

GoString returns the string representation.

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

func (*ValidateConfigurationInput) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*ValidateConfigurationInput) SetConfigurationProfileId

func (s *ValidateConfigurationInput) SetConfigurationProfileId(v string) *ValidateConfigurationInput

SetConfigurationProfileId sets the ConfigurationProfileId field's value.

func (*ValidateConfigurationInput) SetConfigurationVersion

func (s *ValidateConfigurationInput) SetConfigurationVersion(v string) *ValidateConfigurationInput

SetConfigurationVersion sets the ConfigurationVersion field's value.

func (ValidateConfigurationInput) String

String returns the string representation.

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

func (*ValidateConfigurationInput) Validate

func (s *ValidateConfigurationInput) Validate() error

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

type ValidateConfigurationOutput

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

func (ValidateConfigurationOutput) GoString

func (s ValidateConfigurationOutput) GoString() string

GoString returns the string representation.

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

func (ValidateConfigurationOutput) String

String returns the string representation.

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

type Validator

type Validator struct {

	// Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda
	// function.
	//
	// Content is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by Validator's
	// String and GoString methods.
	//
	// Content is a required field
	Content *string `type:"string" required:"true" sensitive:"true"`

	// AppConfig supports validators of type JSON_SCHEMA and LAMBDA
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"ValidatorType"`
	// contains filtered or unexported fields
}

A validator provides a syntactic or semantic check to ensure the configuration that you want to deploy functions as intended. To validate your application configuration data, you provide a schema or an Amazon Web Services Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.

func (Validator) GoString

func (s Validator) GoString() string

GoString returns the string representation.

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

func (*Validator) SetContent

func (s *Validator) SetContent(v string) *Validator

SetContent sets the Content field's value.

func (*Validator) SetType

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

SetType sets the Type field's value.

func (Validator) String

func (s Validator) String() string

String returns the string representation.

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

func (*Validator) Validate

func (s *Validator) Validate() error

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

Directories

Path Synopsis
Package appconfigiface provides an interface to enable mocking the Amazon AppConfig service client for testing your code.
Package appconfigiface provides an interface to enable mocking the Amazon AppConfig service client for testing your code.

Jump to

Keyboard shortcuts

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