func BytesMeasure_Values() []string
BytesMeasure_Values returns all elements of the BytesMeasure enum
func DeploymentEventType_Values() []string
DeploymentEventType_Values returns all elements of the DeploymentEventType enum
func DeploymentState_Values() []string
DeploymentState_Values returns all elements of the DeploymentState enum
func EnvironmentState_Values() []string
EnvironmentState_Values returns all elements of the EnvironmentState enum
func GrowthType_Values() []string
GrowthType_Values returns all elements of the GrowthType enum
func ReplicateTo_Values() []string
ReplicateTo_Values returns all elements of the ReplicateTo enum
func TriggeredBy_Values() []string
TriggeredBy_Values returns all elements of the TriggeredBy enum
func ValidatorType_Values() []string
ValidatorType_Values returns all elements of the ValidatorType enum
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(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 (c *AppConfig) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error)
CreateApplication API operation for Amazon AppConfig.
An application in AppConfig is a logical unit of code that provides capabilities for your customers. For example, an application can be a microservice that runs on Amazon EC2 instances, a mobile application installed by your users, a serverless application using Amazon API Gateway and AWS Lambda, or any system you run on behalf of others.
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 AWS service. * InternalServerException There was an internal failure in the AppConfig service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication
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 (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 (c *AppConfig) CreateConfigurationProfile(input *CreateConfigurationProfileInput) (*CreateConfigurationProfileOutput, error)
CreateConfigurationProfile API operation for Amazon AppConfig.
Information that enables AppConfig to access the configuration source. Valid configuration sources include Systems Manager (SSM) documents, SSM Parameter Store parameters, and Amazon S3 objects. A configuration profile includes the following information.
* The Uri location of the configuration data. * The AWS 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 AWS Lambda function.
For more information, see Create a Configuration and a Configuration Profile (http://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-creating-configuration-and-profile.html) in the AWS 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 AWS 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/CreateConfigurationProfile
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 (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 (c *AppConfig) CreateDeploymentStrategy(input *CreateDeploymentStrategyInput) (*CreateDeploymentStrategyOutput, error)
CreateDeploymentStrategy API operation for Amazon AppConfig.
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 CreateDeploymentStrategy 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy
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 (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 (c *AppConfig) CreateEnvironment(input *CreateEnvironmentInput) (*CreateEnvironmentOutput, error)
CreateEnvironment API operation for Amazon AppConfig.
For each application, you define one or more environments. An environment is a logical 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment
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 (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 (c *AppConfig) CreateHostedConfigurationVersion(input *CreateHostedConfigurationVersionInput) (*CreateHostedConfigurationVersionOutput, error)
CreateHostedConfigurationVersion API operation for Amazon AppConfig.
Create a new configuration in the AppConfig 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 AWS service. * ServiceQuotaExceededException The number of hosted configuration versions exceeds the limit for the AppConfig configuration store. Delete one or more versions and try again. * 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
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 (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 (c *AppConfig) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error)
DeleteApplication API operation for Amazon AppConfig.
Delete 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication
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 (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 (c *AppConfig) DeleteConfigurationProfile(input *DeleteConfigurationProfileInput) (*DeleteConfigurationProfileOutput, error)
DeleteConfigurationProfile API operation for Amazon AppConfig.
Delete 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile
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 (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 (c *AppConfig) DeleteDeploymentStrategy(input *DeleteDeploymentStrategyInput) (*DeleteDeploymentStrategyOutput, error)
DeleteDeploymentStrategy API operation for Amazon AppConfig.
Delete 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy
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 (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 (c *AppConfig) DeleteEnvironment(input *DeleteEnvironmentInput) (*DeleteEnvironmentOutput, error)
DeleteEnvironment API operation for Amazon AppConfig.
Delete 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment
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 (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 (c *AppConfig) DeleteHostedConfigurationVersion(input *DeleteHostedConfigurationVersionInput) (*DeleteHostedConfigurationVersionOutput, error)
DeleteHostedConfigurationVersion API operation for Amazon AppConfig.
Delete a version of a configuration from the AppConfig 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 AWS 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
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 (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 (c *AppConfig) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error)
GetApplication API operation for Amazon AppConfig.
Retrieve 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication
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 (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 (c *AppConfig) GetConfiguration(input *GetConfigurationInput) (*GetConfigurationOutput, error)
GetConfiguration API operation for Amazon AppConfig.
Receive information about a configuration.
AWS 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 that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter.
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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration
func (c *AppConfig) GetConfigurationProfile(input *GetConfigurationProfileInput) (*GetConfigurationProfileOutput, error)
GetConfigurationProfile API operation for Amazon AppConfig.
Retrieve 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile
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 (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 (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
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.
func (c *AppConfig) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error)
GetDeployment API operation for Amazon AppConfig.
Retrieve 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment
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 (c *AppConfig) GetDeploymentStrategy(input *GetDeploymentStrategyInput) (*GetDeploymentStrategyOutput, error)
GetDeploymentStrategy API operation for Amazon AppConfig.
Retrieve 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy
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 (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 (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 (c *AppConfig) GetEnvironment(input *GetEnvironmentInput) (*GetEnvironmentOutput, error)
GetEnvironment API operation for Amazon AppConfig.
Retrieve information about an environment. An environment is a logical 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment
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 (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 (c *AppConfig) GetHostedConfigurationVersion(input *GetHostedConfigurationVersionInput) (*GetHostedConfigurationVersionOutput, error)
GetHostedConfigurationVersion API operation for Amazon AppConfig.
Get 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 AWS 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
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 (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 (c *AppConfig) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error)
ListApplications API operation for Amazon AppConfig.
List all applications in your AWS 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications
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 (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 (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 (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 (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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles
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 (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 (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 (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 (c *AppConfig) ListDeploymentStrategies(input *ListDeploymentStrategiesInput) (*ListDeploymentStrategiesOutput, error)
ListDeploymentStrategies API operation for Amazon AppConfig.
List 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies
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 (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 (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 (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 (c *AppConfig) ListDeployments(input *ListDeploymentsInput) (*ListDeploymentsOutput, error)
ListDeployments API operation for Amazon AppConfig.
Lists the deployments for 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 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments
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 (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 (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 (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 (c *AppConfig) ListEnvironments(input *ListEnvironmentsInput) (*ListEnvironmentsOutput, error)
ListEnvironments API operation for Amazon AppConfig.
List 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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments
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 (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 (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 (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 (c *AppConfig) ListHostedConfigurationVersions(input *ListHostedConfigurationVersionsInput) (*ListHostedConfigurationVersionsOutput, error)
ListHostedConfigurationVersions API operation for Amazon AppConfig.
View a list of configurations stored in the AppConfig 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 AWS 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
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 (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 (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 (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 (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 AWS 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
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 (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 (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 AWS 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
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 (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 (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 AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment
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 (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 (c *AppConfig) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon AppConfig.
Metadata to assign 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 AWS 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
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 (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 (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 AWS 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
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 (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 (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 AWS 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
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 (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 (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 AWS 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
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 (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 (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 AWS 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
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 (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 (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 AWS 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
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 (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 (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 AWS 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
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 (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 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 (s Application) GoString() string
GoString returns the string representation
func (s *Application) SetDescription(v string) *Application
SetDescription sets the Description field's value.
func (s *Application) SetId(v string) *Application
SetId sets the Id field's value.
func (s *Application) SetName(v string) *Application
SetName sets the Name field's value.
func (s Application) String() string
String returns the string representation
type BadRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The input fails to satisfy the constraints specified by an AWS service.
func (s *BadRequestException) Code() string
Code returns the exception type name.
func (s *BadRequestException) Error() string
func (s BadRequestException) GoString() string
GoString returns the string representation
func (s *BadRequestException) Message() string
Message returns the exception's message.
func (s *BadRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *BadRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *BadRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s BadRequestException) String() string
String returns the string representation
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 types of validators in the configuration profile. ValidatorTypes []*string `type:"list"` // contains filtered or unexported fields }
A summary of a configuration profile.
func (s ConfigurationProfileSummary) GoString() string
GoString returns the string representation
func (s *ConfigurationProfileSummary) SetApplicationId(v string) *ConfigurationProfileSummary
SetApplicationId sets the ApplicationId field's value.
func (s *ConfigurationProfileSummary) SetId(v string) *ConfigurationProfileSummary
SetId sets the Id field's value.
func (s *ConfigurationProfileSummary) SetLocationUri(v string) *ConfigurationProfileSummary
SetLocationUri sets the LocationUri field's value.
func (s *ConfigurationProfileSummary) SetName(v string) *ConfigurationProfileSummary
SetName sets the Name field's value.
func (s *ConfigurationProfileSummary) SetValidatorTypes(v []*string) *ConfigurationProfileSummary
SetValidatorTypes sets the ValidatorTypes field's value.
func (s ConfigurationProfileSummary) String() string
String returns the string representation
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 (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
func (s ConflictException) GoString() string
GoString returns the string representation
func (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ConflictException) String() string
String returns the string representation
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 (s CreateApplicationInput) GoString() string
GoString returns the string representation
func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput
SetDescription sets the Description field's value.
func (s *CreateApplicationInput) SetName(v string) *CreateApplicationInput
SetName sets the Name field's value.
func (s *CreateApplicationInput) SetTags(v map[string]*string) *CreateApplicationInput
SetTags sets the Tags field's value.
func (s CreateApplicationInput) String() string
String returns the string representation
func (s *CreateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s CreateApplicationOutput) GoString() string
GoString returns the string representation
func (s *CreateApplicationOutput) SetDescription(v string) *CreateApplicationOutput
SetDescription sets the Description field's value.
func (s *CreateApplicationOutput) SetId(v string) *CreateApplicationOutput
SetId sets the Id field's value.
func (s *CreateApplicationOutput) SetName(v string) *CreateApplicationOutput
SetName sets the Name field's value.
func (s CreateApplicationOutput) String() string
String returns the string representation
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"` // A URI to locate the configuration. You can specify a Systems Manager (SSM) // document, an SSM Parameter Store parameter, or an Amazon S3 object. For an // SSM document, specify either the document name in the format ssm-document://<Document_name> // or the Amazon Resource Name (ARN). For a parameter, specify either the parameter // name in the format ssm-parameter://<Parameter_name> or the ARN. 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 // // 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. 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"` // A list of methods for validating the configuration. Validators []*Validator `type:"list"` // contains filtered or unexported fields }
func (s CreateConfigurationProfileInput) GoString() string
GoString returns the string representation
func (s *CreateConfigurationProfileInput) SetApplicationId(v string) *CreateConfigurationProfileInput
SetApplicationId sets the ApplicationId field's value.
func (s *CreateConfigurationProfileInput) SetDescription(v string) *CreateConfigurationProfileInput
SetDescription sets the Description field's value.
func (s *CreateConfigurationProfileInput) SetLocationUri(v string) *CreateConfigurationProfileInput
SetLocationUri sets the LocationUri field's value.
func (s *CreateConfigurationProfileInput) SetName(v string) *CreateConfigurationProfileInput
SetName sets the Name field's value.
func (s *CreateConfigurationProfileInput) SetRetrievalRoleArn(v string) *CreateConfigurationProfileInput
SetRetrievalRoleArn sets the RetrievalRoleArn field's value.
func (s *CreateConfigurationProfileInput) SetTags(v map[string]*string) *CreateConfigurationProfileInput
SetTags sets the Tags field's value.
func (s *CreateConfigurationProfileInput) SetValidators(v []*Validator) *CreateConfigurationProfileInput
SetValidators sets the Validators field's value.
func (s CreateConfigurationProfileInput) String() string
String returns the string representation
func (s *CreateConfigurationProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 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"` // A list of methods for validating the configuration. Validators []*Validator `type:"list"` // contains filtered or unexported fields }
func (s CreateConfigurationProfileOutput) GoString() string
GoString returns the string representation
func (s *CreateConfigurationProfileOutput) SetApplicationId(v string) *CreateConfigurationProfileOutput
SetApplicationId sets the ApplicationId field's value.
func (s *CreateConfigurationProfileOutput) SetDescription(v string) *CreateConfigurationProfileOutput
SetDescription sets the Description field's value.
func (s *CreateConfigurationProfileOutput) SetId(v string) *CreateConfigurationProfileOutput
SetId sets the Id field's value.
func (s *CreateConfigurationProfileOutput) SetLocationUri(v string) *CreateConfigurationProfileOutput
SetLocationUri sets the LocationUri field's value.
func (s *CreateConfigurationProfileOutput) SetName(v string) *CreateConfigurationProfileOutput
SetName sets the Name field's value.
func (s *CreateConfigurationProfileOutput) SetRetrievalRoleArn(v string) *CreateConfigurationProfileOutput
SetRetrievalRoleArn sets the RetrievalRoleArn field's value.
func (s *CreateConfigurationProfileOutput) SetValidators(v []*Validator) *CreateConfigurationProfileOutput
SetValidators sets the Validators field's value.
func (s CreateConfigurationProfileOutput) String() string
String returns the string representation
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"` // The amount of time AppConfig monitors for alarms before considering the deployment // to be complete and no longer eligible for automatic roll back. 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. AWS 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 is a required field ReplicateTo *string `type:"string" required:"true" 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 (s CreateDeploymentStrategyInput) GoString() string
GoString returns the string representation
func (s *CreateDeploymentStrategyInput) SetDeploymentDurationInMinutes(v int64) *CreateDeploymentStrategyInput
SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.
func (s *CreateDeploymentStrategyInput) SetDescription(v string) *CreateDeploymentStrategyInput
SetDescription sets the Description field's value.
func (s *CreateDeploymentStrategyInput) SetFinalBakeTimeInMinutes(v int64) *CreateDeploymentStrategyInput
SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.
func (s *CreateDeploymentStrategyInput) SetGrowthFactor(v float64) *CreateDeploymentStrategyInput
SetGrowthFactor sets the GrowthFactor field's value.
func (s *CreateDeploymentStrategyInput) SetGrowthType(v string) *CreateDeploymentStrategyInput
SetGrowthType sets the GrowthType field's value.
func (s *CreateDeploymentStrategyInput) SetName(v string) *CreateDeploymentStrategyInput
SetName sets the Name field's value.
func (s *CreateDeploymentStrategyInput) SetReplicateTo(v string) *CreateDeploymentStrategyInput
SetReplicateTo sets the ReplicateTo field's value.
func (s *CreateDeploymentStrategyInput) SetTags(v map[string]*string) *CreateDeploymentStrategyInput
SetTags sets the Tags field's value.
func (s CreateDeploymentStrategyInput) String() string
String returns the string representation
func (s *CreateDeploymentStrategyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic roll back. 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 (s CreateDeploymentStrategyOutput) GoString() string
GoString returns the string representation
func (s *CreateDeploymentStrategyOutput) SetDeploymentDurationInMinutes(v int64) *CreateDeploymentStrategyOutput
SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.
func (s *CreateDeploymentStrategyOutput) SetDescription(v string) *CreateDeploymentStrategyOutput
SetDescription sets the Description field's value.
func (s *CreateDeploymentStrategyOutput) SetFinalBakeTimeInMinutes(v int64) *CreateDeploymentStrategyOutput
SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.
func (s *CreateDeploymentStrategyOutput) SetGrowthFactor(v float64) *CreateDeploymentStrategyOutput
SetGrowthFactor sets the GrowthFactor field's value.
func (s *CreateDeploymentStrategyOutput) SetGrowthType(v string) *CreateDeploymentStrategyOutput
SetGrowthType sets the GrowthType field's value.
func (s *CreateDeploymentStrategyOutput) SetId(v string) *CreateDeploymentStrategyOutput
SetId sets the Id field's value.
func (s *CreateDeploymentStrategyOutput) SetName(v string) *CreateDeploymentStrategyOutput
SetName sets the Name field's value.
func (s *CreateDeploymentStrategyOutput) SetReplicateTo(v string) *CreateDeploymentStrategyOutput
SetReplicateTo sets the ReplicateTo field's value.
func (s CreateDeploymentStrategyOutput) String() string
String returns the string representation
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 (s CreateEnvironmentInput) GoString() string
GoString returns the string representation
func (s *CreateEnvironmentInput) SetApplicationId(v string) *CreateEnvironmentInput
SetApplicationId sets the ApplicationId field's value.
func (s *CreateEnvironmentInput) SetDescription(v string) *CreateEnvironmentInput
SetDescription sets the Description field's value.
func (s *CreateEnvironmentInput) SetMonitors(v []*Monitor) *CreateEnvironmentInput
SetMonitors sets the Monitors field's value.
func (s *CreateEnvironmentInput) SetName(v string) *CreateEnvironmentInput
SetName sets the Name field's value.
func (s *CreateEnvironmentInput) SetTags(v map[string]*string) *CreateEnvironmentInput
SetTags sets the Tags field's value.
func (s CreateEnvironmentInput) String() string
String returns the string representation
func (s *CreateEnvironmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s CreateEnvironmentOutput) GoString() string
GoString returns the string representation
func (s *CreateEnvironmentOutput) SetApplicationId(v string) *CreateEnvironmentOutput
SetApplicationId sets the ApplicationId field's value.
func (s *CreateEnvironmentOutput) SetDescription(v string) *CreateEnvironmentOutput
SetDescription sets the Description field's value.
func (s *CreateEnvironmentOutput) SetId(v string) *CreateEnvironmentOutput
SetId sets the Id field's value.
func (s *CreateEnvironmentOutput) SetMonitors(v []*Monitor) *CreateEnvironmentOutput
SetMonitors sets the Monitors field's value.
func (s *CreateEnvironmentOutput) SetName(v string) *CreateEnvironmentOutput
SetName sets the Name field's value.
func (s *CreateEnvironmentOutput) SetState(v string) *CreateEnvironmentOutput
SetState sets the State field's value.
func (s CreateEnvironmentOutput) String() string
String returns the string representation
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 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://docs.aws.amazon.com/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 of the latest hosted configuration version. LatestVersionNumber *int64 `location:"header" locationName:"Latest-Version-Number" type:"integer"` // contains filtered or unexported fields }
func (s CreateHostedConfigurationVersionInput) GoString() string
GoString returns the string representation
func (s *CreateHostedConfigurationVersionInput) SetApplicationId(v string) *CreateHostedConfigurationVersionInput
SetApplicationId sets the ApplicationId field's value.
func (s *CreateHostedConfigurationVersionInput) SetConfigurationProfileId(v string) *CreateHostedConfigurationVersionInput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *CreateHostedConfigurationVersionInput) SetContent(v []byte) *CreateHostedConfigurationVersionInput
SetContent sets the Content field's value.
func (s *CreateHostedConfigurationVersionInput) SetContentType(v string) *CreateHostedConfigurationVersionInput
SetContentType sets the ContentType field's value.
func (s *CreateHostedConfigurationVersionInput) SetDescription(v string) *CreateHostedConfigurationVersionInput
SetDescription sets the Description field's value.
func (s *CreateHostedConfigurationVersionInput) SetLatestVersionNumber(v int64) *CreateHostedConfigurationVersionInput
SetLatestVersionNumber sets the LatestVersionNumber field's value.
func (s CreateHostedConfigurationVersionInput) String() string
String returns the string representation
func (s *CreateHostedConfigurationVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 []byte `type:"blob" sensitive:"true"` // A standard MIME type describing the format of the configuration content. // For more information, see Content-Type (https://docs.aws.amazon.com/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 configuration version. VersionNumber *int64 `location:"header" locationName:"Version-Number" type:"integer"` // contains filtered or unexported fields }
func (s CreateHostedConfigurationVersionOutput) GoString() string
GoString returns the string representation
func (s *CreateHostedConfigurationVersionOutput) SetApplicationId(v string) *CreateHostedConfigurationVersionOutput
SetApplicationId sets the ApplicationId field's value.
func (s *CreateHostedConfigurationVersionOutput) SetConfigurationProfileId(v string) *CreateHostedConfigurationVersionOutput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *CreateHostedConfigurationVersionOutput) SetContent(v []byte) *CreateHostedConfigurationVersionOutput
SetContent sets the Content field's value.
func (s *CreateHostedConfigurationVersionOutput) SetContentType(v string) *CreateHostedConfigurationVersionOutput
SetContentType sets the ContentType field's value.
func (s *CreateHostedConfigurationVersionOutput) SetDescription(v string) *CreateHostedConfigurationVersionOutput
SetDescription sets the Description field's value.
func (s *CreateHostedConfigurationVersionOutput) SetVersionNumber(v int64) *CreateHostedConfigurationVersionOutput
SetVersionNumber sets the VersionNumber field's value.
func (s CreateHostedConfigurationVersionOutput) String() string
String returns the string representation
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 (s DeleteApplicationInput) GoString() string
GoString returns the string representation
func (s *DeleteApplicationInput) SetApplicationId(v string) *DeleteApplicationInput
SetApplicationId sets the ApplicationId field's value.
func (s DeleteApplicationInput) String() string
String returns the string representation
func (s *DeleteApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteApplicationOutput struct {
// contains filtered or unexported fields
}
func (s DeleteApplicationOutput) GoString() string
GoString returns the string representation
func (s DeleteApplicationOutput) String() string
String returns the string representation
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 (s DeleteConfigurationProfileInput) GoString() string
GoString returns the string representation
func (s *DeleteConfigurationProfileInput) SetApplicationId(v string) *DeleteConfigurationProfileInput
SetApplicationId sets the ApplicationId field's value.
func (s *DeleteConfigurationProfileInput) SetConfigurationProfileId(v string) *DeleteConfigurationProfileInput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s DeleteConfigurationProfileInput) String() string
String returns the string representation
func (s *DeleteConfigurationProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteConfigurationProfileOutput struct {
// contains filtered or unexported fields
}
func (s DeleteConfigurationProfileOutput) GoString() string
GoString returns the string representation
func (s DeleteConfigurationProfileOutput) String() string
String returns the string representation
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 (s DeleteDeploymentStrategyInput) GoString() string
GoString returns the string representation
func (s *DeleteDeploymentStrategyInput) SetDeploymentStrategyId(v string) *DeleteDeploymentStrategyInput
SetDeploymentStrategyId sets the DeploymentStrategyId field's value.
func (s DeleteDeploymentStrategyInput) String() string
String returns the string representation
func (s *DeleteDeploymentStrategyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDeploymentStrategyOutput struct {
// contains filtered or unexported fields
}
func (s DeleteDeploymentStrategyOutput) GoString() string
GoString returns the string representation
func (s DeleteDeploymentStrategyOutput) String() string
String returns the string representation
type DeleteEnvironmentInput struct { // The application ID that includes the environment you want to delete. // // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"` // The ID of the environment 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 (s DeleteEnvironmentInput) GoString() string
GoString returns the string representation
func (s *DeleteEnvironmentInput) SetApplicationId(v string) *DeleteEnvironmentInput
SetApplicationId sets the ApplicationId field's value.
func (s *DeleteEnvironmentInput) SetEnvironmentId(v string) *DeleteEnvironmentInput
SetEnvironmentId sets the EnvironmentId field's value.
func (s DeleteEnvironmentInput) String() string
String returns the string representation
func (s *DeleteEnvironmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteEnvironmentOutput struct {
// contains filtered or unexported fields
}
func (s DeleteEnvironmentOutput) GoString() string
GoString returns the string representation
func (s DeleteEnvironmentOutput) String() string
String returns the string representation
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 (s DeleteHostedConfigurationVersionInput) GoString() string
GoString returns the string representation
func (s *DeleteHostedConfigurationVersionInput) SetApplicationId(v string) *DeleteHostedConfigurationVersionInput
SetApplicationId sets the ApplicationId field's value.
func (s *DeleteHostedConfigurationVersionInput) SetConfigurationProfileId(v string) *DeleteHostedConfigurationVersionInput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *DeleteHostedConfigurationVersionInput) SetVersionNumber(v int64) *DeleteHostedConfigurationVersionInput
SetVersionNumber sets the VersionNumber field's value.
func (s DeleteHostedConfigurationVersionInput) String() string
String returns the string representation
func (s *DeleteHostedConfigurationVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteHostedConfigurationVersionOutput struct {
// contains filtered or unexported fields
}
func (s DeleteHostedConfigurationVersionOutput) GoString() string
GoString returns the string representation
func (s DeleteHostedConfigurationVersionOutput) String() string
String returns the string representation
type DeploymentEvent struct { // A description of the deployment event. Descriptions include, but are not // limited to, the user account or the CloudWatch alarm ARN that initiated a // rollback, the percentage of hosts that received the deployment, or in the // case of an internal error, a recommendation to attempt a new deployment. 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; 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, AWS 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 (s DeploymentEvent) GoString() string
GoString returns the string representation
func (s *DeploymentEvent) SetDescription(v string) *DeploymentEvent
SetDescription sets the Description field's value.
func (s *DeploymentEvent) SetEventType(v string) *DeploymentEvent
SetEventType sets the EventType field's value.
func (s *DeploymentEvent) SetOccurredAt(v time.Time) *DeploymentEvent
SetOccurredAt sets the OccurredAt field's value.
func (s *DeploymentEvent) SetTriggeredBy(v string) *DeploymentEvent
SetTriggeredBy sets the TriggeredBy field's value.
func (s DeploymentEvent) String() string
String returns the string representation
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 AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic roll back. 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 (s DeploymentStrategy) GoString() string
GoString returns the string representation
func (s *DeploymentStrategy) SetDeploymentDurationInMinutes(v int64) *DeploymentStrategy
SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.
func (s *DeploymentStrategy) SetDescription(v string) *DeploymentStrategy
SetDescription sets the Description field's value.
func (s *DeploymentStrategy) SetFinalBakeTimeInMinutes(v int64) *DeploymentStrategy
SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.
func (s *DeploymentStrategy) SetGrowthFactor(v float64) *DeploymentStrategy
SetGrowthFactor sets the GrowthFactor field's value.
func (s *DeploymentStrategy) SetGrowthType(v string) *DeploymentStrategy
SetGrowthType sets the GrowthType field's value.
func (s *DeploymentStrategy) SetId(v string) *DeploymentStrategy
SetId sets the Id field's value.
func (s *DeploymentStrategy) SetName(v string) *DeploymentStrategy
SetName sets the Name field's value.
func (s *DeploymentStrategy) SetReplicateTo(v string) *DeploymentStrategy
SetReplicateTo sets the ReplicateTo field's value.
func (s DeploymentStrategy) String() string
String returns the string representation
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 AppConfig monitors for alarms before considering the deployment // to be complete and no longer eligible for automatic roll back. 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"` // contains filtered or unexported fields }
Information about the deployment.
func (s DeploymentSummary) GoString() string
GoString returns the string representation
func (s *DeploymentSummary) SetCompletedAt(v time.Time) *DeploymentSummary
SetCompletedAt sets the CompletedAt field's value.
func (s *DeploymentSummary) SetConfigurationName(v string) *DeploymentSummary
SetConfigurationName sets the ConfigurationName field's value.
func (s *DeploymentSummary) SetConfigurationVersion(v string) *DeploymentSummary
SetConfigurationVersion sets the ConfigurationVersion field's value.
func (s *DeploymentSummary) SetDeploymentDurationInMinutes(v int64) *DeploymentSummary
SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.
func (s *DeploymentSummary) SetDeploymentNumber(v int64) *DeploymentSummary
SetDeploymentNumber sets the DeploymentNumber field's value.
func (s *DeploymentSummary) SetFinalBakeTimeInMinutes(v int64) *DeploymentSummary
SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.
func (s *DeploymentSummary) SetGrowthFactor(v float64) *DeploymentSummary
SetGrowthFactor sets the GrowthFactor field's value.
func (s *DeploymentSummary) SetGrowthType(v string) *DeploymentSummary
SetGrowthType sets the GrowthType field's value.
func (s *DeploymentSummary) SetPercentageComplete(v float64) *DeploymentSummary
SetPercentageComplete sets the PercentageComplete field's value.
func (s *DeploymentSummary) SetStartedAt(v time.Time) *DeploymentSummary
SetStartedAt sets the StartedAt field's value.
func (s *DeploymentSummary) SetState(v string) *DeploymentSummary
SetState sets the State field's value.
func (s DeploymentSummary) String() string
String returns the string representation
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 (s Environment) GoString() string
GoString returns the string representation
func (s *Environment) SetApplicationId(v string) *Environment
SetApplicationId sets the ApplicationId field's value.
func (s *Environment) SetDescription(v string) *Environment
SetDescription sets the Description field's value.
func (s *Environment) SetId(v string) *Environment
SetId sets the Id field's value.
func (s *Environment) SetMonitors(v []*Monitor) *Environment
SetMonitors sets the Monitors field's value.
func (s *Environment) SetName(v string) *Environment
SetName sets the Name field's value.
func (s *Environment) SetState(v string) *Environment
SetState sets the State field's value.
func (s Environment) String() string
String returns the string representation
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 (s GetApplicationInput) GoString() string
GoString returns the string representation
func (s *GetApplicationInput) SetApplicationId(v string) *GetApplicationInput
SetApplicationId sets the ApplicationId field's value.
func (s GetApplicationInput) String() string
String returns the string representation
func (s *GetApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s GetApplicationOutput) GoString() string
GoString returns the string representation
func (s *GetApplicationOutput) SetDescription(v string) *GetApplicationOutput
SetDescription sets the Description field's value.
func (s *GetApplicationOutput) SetId(v string) *GetApplicationOutput
SetId sets the Id field's value.
func (s *GetApplicationOutput) SetName(v string) *GetApplicationOutput
SetName sets the Name field's value.
func (s GetApplicationOutput) String() string
String returns the string representation
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. // // AWS 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 that you include the ClientConfigurationVersion // value with every call to GetConfiguration. This value must be saved on your // client. Subsequent calls to GetConfiguration must pass this value by using // the ClientConfigurationVersion parameter. // // For more information about working with configurations, see Retrieving the // Configuration (https://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-retrieving-the-configuration.html) // in the AWS AppConfig User Guide. ClientConfigurationVersion *string `location:"querystring" locationName:"client_configuration_version" min:"1" type:"string"` // A unique 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 (s GetConfigurationInput) GoString() string
GoString returns the string representation
func (s *GetConfigurationInput) SetApplication(v string) *GetConfigurationInput
SetApplication sets the Application field's value.
func (s *GetConfigurationInput) SetClientConfigurationVersion(v string) *GetConfigurationInput
SetClientConfigurationVersion sets the ClientConfigurationVersion field's value.
func (s *GetConfigurationInput) SetClientId(v string) *GetConfigurationInput
SetClientId sets the ClientId field's value.
func (s *GetConfigurationInput) SetConfiguration(v string) *GetConfigurationInput
SetConfiguration sets the Configuration field's value.
func (s *GetConfigurationInput) SetEnvironment(v string) *GetConfigurationInput
SetEnvironment sets the Environment field's value.
func (s GetConfigurationInput) String() string
String returns the string representation
func (s *GetConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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. 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 (s GetConfigurationOutput) GoString() string
GoString returns the string representation
func (s *GetConfigurationOutput) SetConfigurationVersion(v string) *GetConfigurationOutput
SetConfigurationVersion sets the ConfigurationVersion field's value.
func (s *GetConfigurationOutput) SetContent(v []byte) *GetConfigurationOutput
SetContent sets the Content field's value.
func (s *GetConfigurationOutput) SetContentType(v string) *GetConfigurationOutput
SetContentType sets the ContentType field's value.
func (s GetConfigurationOutput) String() string
String returns the string representation
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 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 (s GetConfigurationProfileInput) GoString() string
GoString returns the string representation
func (s *GetConfigurationProfileInput) SetApplicationId(v string) *GetConfigurationProfileInput
SetApplicationId sets the ApplicationId field's value.
func (s *GetConfigurationProfileInput) SetConfigurationProfileId(v string) *GetConfigurationProfileInput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s GetConfigurationProfileInput) String() string
String returns the string representation
func (s *GetConfigurationProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 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"` // A list of methods for validating the configuration. Validators []*Validator `type:"list"` // contains filtered or unexported fields }
func (s GetConfigurationProfileOutput) GoString() string
GoString returns the string representation
func (s *GetConfigurationProfileOutput) SetApplicationId(v string) *GetConfigurationProfileOutput
SetApplicationId sets the ApplicationId field's value.
func (s *GetConfigurationProfileOutput) SetDescription(v string) *GetConfigurationProfileOutput
SetDescription sets the Description field's value.
func (s *GetConfigurationProfileOutput) SetId(v string) *GetConfigurationProfileOutput
SetId sets the Id field's value.
func (s *GetConfigurationProfileOutput) SetLocationUri(v string) *GetConfigurationProfileOutput
SetLocationUri sets the LocationUri field's value.
func (s *GetConfigurationProfileOutput) SetName(v string) *GetConfigurationProfileOutput
SetName sets the Name field's value.
func (s *GetConfigurationProfileOutput) SetRetrievalRoleArn(v string) *GetConfigurationProfileOutput
SetRetrievalRoleArn sets the RetrievalRoleArn field's value.
func (s *GetConfigurationProfileOutput) SetValidators(v []*Validator) *GetConfigurationProfileOutput
SetValidators sets the Validators field's value.
func (s GetConfigurationProfileOutput) String() string
String returns the string representation
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 (s GetDeploymentInput) GoString() string
GoString returns the string representation
func (s *GetDeploymentInput) SetApplicationId(v string) *GetDeploymentInput
SetApplicationId sets the ApplicationId field's value.
func (s *GetDeploymentInput) SetDeploymentNumber(v int64) *GetDeploymentInput
SetDeploymentNumber sets the DeploymentNumber field's value.
func (s *GetDeploymentInput) SetEnvironmentId(v string) *GetDeploymentInput
SetEnvironmentId sets the EnvironmentId field's value.
func (s GetDeploymentInput) String() string
String returns the string representation
func (s *GetDeploymentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDeploymentOutput struct { // The ID of the application that was deployed. ApplicationId *string `type:"string"` // 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 AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic roll back. 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 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"` // contains filtered or unexported fields }
func (s GetDeploymentOutput) GoString() string
GoString returns the string representation
func (s *GetDeploymentOutput) SetApplicationId(v string) *GetDeploymentOutput
SetApplicationId sets the ApplicationId field's value.
func (s *GetDeploymentOutput) SetCompletedAt(v time.Time) *GetDeploymentOutput
SetCompletedAt sets the CompletedAt field's value.
func (s *GetDeploymentOutput) SetConfigurationLocationUri(v string) *GetDeploymentOutput
SetConfigurationLocationUri sets the ConfigurationLocationUri field's value.
func (s *GetDeploymentOutput) SetConfigurationName(v string) *GetDeploymentOutput
SetConfigurationName sets the ConfigurationName field's value.
func (s *GetDeploymentOutput) SetConfigurationProfileId(v string) *GetDeploymentOutput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *GetDeploymentOutput) SetConfigurationVersion(v string) *GetDeploymentOutput
SetConfigurationVersion sets the ConfigurationVersion field's value.
func (s *GetDeploymentOutput) SetDeploymentDurationInMinutes(v int64) *GetDeploymentOutput
SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.
func (s *GetDeploymentOutput) SetDeploymentNumber(v int64) *GetDeploymentOutput
SetDeploymentNumber sets the DeploymentNumber field's value.
func (s *GetDeploymentOutput) SetDeploymentStrategyId(v string) *GetDeploymentOutput
SetDeploymentStrategyId sets the DeploymentStrategyId field's value.
func (s *GetDeploymentOutput) SetDescription(v string) *GetDeploymentOutput
SetDescription sets the Description field's value.
func (s *GetDeploymentOutput) SetEnvironmentId(v string) *GetDeploymentOutput
SetEnvironmentId sets the EnvironmentId field's value.
func (s *GetDeploymentOutput) SetEventLog(v []*DeploymentEvent) *GetDeploymentOutput
SetEventLog sets the EventLog field's value.
func (s *GetDeploymentOutput) SetFinalBakeTimeInMinutes(v int64) *GetDeploymentOutput
SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.
func (s *GetDeploymentOutput) SetGrowthFactor(v float64) *GetDeploymentOutput
SetGrowthFactor sets the GrowthFactor field's value.
func (s *GetDeploymentOutput) SetGrowthType(v string) *GetDeploymentOutput
SetGrowthType sets the GrowthType field's value.
func (s *GetDeploymentOutput) SetPercentageComplete(v float64) *GetDeploymentOutput
SetPercentageComplete sets the PercentageComplete field's value.
func (s *GetDeploymentOutput) SetStartedAt(v time.Time) *GetDeploymentOutput
SetStartedAt sets the StartedAt field's value.
func (s *GetDeploymentOutput) SetState(v string) *GetDeploymentOutput
SetState sets the State field's value.
func (s GetDeploymentOutput) String() string
String returns the string representation
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 (s GetDeploymentStrategyInput) GoString() string
GoString returns the string representation
func (s *GetDeploymentStrategyInput) SetDeploymentStrategyId(v string) *GetDeploymentStrategyInput
SetDeploymentStrategyId sets the DeploymentStrategyId field's value.
func (s GetDeploymentStrategyInput) String() string
String returns the string representation
func (s *GetDeploymentStrategyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic roll back. 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 (s GetDeploymentStrategyOutput) GoString() string
GoString returns the string representation
func (s *GetDeploymentStrategyOutput) SetDeploymentDurationInMinutes(v int64) *GetDeploymentStrategyOutput
SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.
func (s *GetDeploymentStrategyOutput) SetDescription(v string) *GetDeploymentStrategyOutput
SetDescription sets the Description field's value.
func (s *GetDeploymentStrategyOutput) SetFinalBakeTimeInMinutes(v int64) *GetDeploymentStrategyOutput
SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.
func (s *GetDeploymentStrategyOutput) SetGrowthFactor(v float64) *GetDeploymentStrategyOutput
SetGrowthFactor sets the GrowthFactor field's value.
func (s *GetDeploymentStrategyOutput) SetGrowthType(v string) *GetDeploymentStrategyOutput
SetGrowthType sets the GrowthType field's value.
func (s *GetDeploymentStrategyOutput) SetId(v string) *GetDeploymentStrategyOutput
SetId sets the Id field's value.
func (s *GetDeploymentStrategyOutput) SetName(v string) *GetDeploymentStrategyOutput
SetName sets the Name field's value.
func (s *GetDeploymentStrategyOutput) SetReplicateTo(v string) *GetDeploymentStrategyOutput
SetReplicateTo sets the ReplicateTo field's value.
func (s GetDeploymentStrategyOutput) String() string
String returns the string representation
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 you wnat to get. // // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetEnvironmentInput) GoString() string
GoString returns the string representation
func (s *GetEnvironmentInput) SetApplicationId(v string) *GetEnvironmentInput
SetApplicationId sets the ApplicationId field's value.
func (s *GetEnvironmentInput) SetEnvironmentId(v string) *GetEnvironmentInput
SetEnvironmentId sets the EnvironmentId field's value.
func (s GetEnvironmentInput) String() string
String returns the string representation
func (s *GetEnvironmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s GetEnvironmentOutput) GoString() string
GoString returns the string representation
func (s *GetEnvironmentOutput) SetApplicationId(v string) *GetEnvironmentOutput
SetApplicationId sets the ApplicationId field's value.
func (s *GetEnvironmentOutput) SetDescription(v string) *GetEnvironmentOutput
SetDescription sets the Description field's value.
func (s *GetEnvironmentOutput) SetId(v string) *GetEnvironmentOutput
SetId sets the Id field's value.
func (s *GetEnvironmentOutput) SetMonitors(v []*Monitor) *GetEnvironmentOutput
SetMonitors sets the Monitors field's value.
func (s *GetEnvironmentOutput) SetName(v string) *GetEnvironmentOutput
SetName sets the Name field's value.
func (s *GetEnvironmentOutput) SetState(v string) *GetEnvironmentOutput
SetState sets the State field's value.
func (s GetEnvironmentOutput) String() string
String returns the string representation
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 (s GetHostedConfigurationVersionInput) GoString() string
GoString returns the string representation
func (s *GetHostedConfigurationVersionInput) SetApplicationId(v string) *GetHostedConfigurationVersionInput
SetApplicationId sets the ApplicationId field's value.
func (s *GetHostedConfigurationVersionInput) SetConfigurationProfileId(v string) *GetHostedConfigurationVersionInput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *GetHostedConfigurationVersionInput) SetVersionNumber(v int64) *GetHostedConfigurationVersionInput
SetVersionNumber sets the VersionNumber field's value.
func (s GetHostedConfigurationVersionInput) String() string
String returns the string representation
func (s *GetHostedConfigurationVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 []byte `type:"blob" sensitive:"true"` // A standard MIME type describing the format of the configuration content. // For more information, see Content-Type (https://docs.aws.amazon.com/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 configuration version. VersionNumber *int64 `location:"header" locationName:"Version-Number" type:"integer"` // contains filtered or unexported fields }
func (s GetHostedConfigurationVersionOutput) GoString() string
GoString returns the string representation
func (s *GetHostedConfigurationVersionOutput) SetApplicationId(v string) *GetHostedConfigurationVersionOutput
SetApplicationId sets the ApplicationId field's value.
func (s *GetHostedConfigurationVersionOutput) SetConfigurationProfileId(v string) *GetHostedConfigurationVersionOutput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *GetHostedConfigurationVersionOutput) SetContent(v []byte) *GetHostedConfigurationVersionOutput
SetContent sets the Content field's value.
func (s *GetHostedConfigurationVersionOutput) SetContentType(v string) *GetHostedConfigurationVersionOutput
SetContentType sets the ContentType field's value.
func (s *GetHostedConfigurationVersionOutput) SetDescription(v string) *GetHostedConfigurationVersionOutput
SetDescription sets the Description field's value.
func (s *GetHostedConfigurationVersionOutput) SetVersionNumber(v int64) *GetHostedConfigurationVersionOutput
SetVersionNumber sets the VersionNumber field's value.
func (s GetHostedConfigurationVersionOutput) String() string
String returns the string representation
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://docs.aws.amazon.com/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 configuration version. VersionNumber *int64 `type:"integer"` // contains filtered or unexported fields }
Information about the configuration.
func (s HostedConfigurationVersionSummary) GoString() string
GoString returns the string representation
func (s *HostedConfigurationVersionSummary) SetApplicationId(v string) *HostedConfigurationVersionSummary
SetApplicationId sets the ApplicationId field's value.
func (s *HostedConfigurationVersionSummary) SetConfigurationProfileId(v string) *HostedConfigurationVersionSummary
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *HostedConfigurationVersionSummary) SetContentType(v string) *HostedConfigurationVersionSummary
SetContentType sets the ContentType field's value.
func (s *HostedConfigurationVersionSummary) SetDescription(v string) *HostedConfigurationVersionSummary
SetDescription sets the Description field's value.
func (s *HostedConfigurationVersionSummary) SetVersionNumber(v int64) *HostedConfigurationVersionSummary
SetVersionNumber sets the VersionNumber field's value.
func (s HostedConfigurationVersionSummary) String() string
String returns the string representation
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 (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
func (s InternalServerException) GoString() string
GoString returns the string representation
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalServerException) String() string
String returns the string representation
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. 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 (s ListApplicationsInput) GoString() string
GoString returns the string representation
func (s *ListApplicationsInput) SetMaxResults(v int64) *ListApplicationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput
SetNextToken sets the NextToken field's value.
func (s ListApplicationsInput) String() string
String returns the string representation
func (s *ListApplicationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListApplicationsOutput) GoString() string
GoString returns the string representation
func (s *ListApplicationsOutput) SetItems(v []*Application) *ListApplicationsOutput
SetItems sets the Items field's value.
func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput
SetNextToken sets the NextToken field's value.
func (s ListApplicationsOutput) String() string
String returns the string representation
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"` // contains filtered or unexported fields }
func (s ListConfigurationProfilesInput) GoString() string
GoString returns the string representation
func (s *ListConfigurationProfilesInput) SetApplicationId(v string) *ListConfigurationProfilesInput
SetApplicationId sets the ApplicationId field's value.
func (s *ListConfigurationProfilesInput) SetMaxResults(v int64) *ListConfigurationProfilesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListConfigurationProfilesInput) SetNextToken(v string) *ListConfigurationProfilesInput
SetNextToken sets the NextToken field's value.
func (s ListConfigurationProfilesInput) String() string
String returns the string representation
func (s *ListConfigurationProfilesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListConfigurationProfilesOutput) GoString() string
GoString returns the string representation
func (s *ListConfigurationProfilesOutput) SetItems(v []*ConfigurationProfileSummary) *ListConfigurationProfilesOutput
SetItems sets the Items field's value.
func (s *ListConfigurationProfilesOutput) SetNextToken(v string) *ListConfigurationProfilesOutput
SetNextToken sets the NextToken field's value.
func (s ListConfigurationProfilesOutput) String() string
String returns the string representation
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 (s ListDeploymentStrategiesInput) GoString() string
GoString returns the string representation
func (s *ListDeploymentStrategiesInput) SetMaxResults(v int64) *ListDeploymentStrategiesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListDeploymentStrategiesInput) SetNextToken(v string) *ListDeploymentStrategiesInput
SetNextToken sets the NextToken field's value.
func (s ListDeploymentStrategiesInput) String() string
String returns the string representation
func (s *ListDeploymentStrategiesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListDeploymentStrategiesOutput) GoString() string
GoString returns the string representation
func (s *ListDeploymentStrategiesOutput) SetItems(v []*DeploymentStrategy) *ListDeploymentStrategiesOutput
SetItems sets the Items field's value.
func (s *ListDeploymentStrategiesOutput) SetNextToken(v string) *ListDeploymentStrategiesOutput
SetNextToken sets the NextToken field's value.
func (s ListDeploymentStrategiesOutput) String() string
String returns the string representation
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 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 (s ListDeploymentsInput) GoString() string
GoString returns the string representation
func (s *ListDeploymentsInput) SetApplicationId(v string) *ListDeploymentsInput
SetApplicationId sets the ApplicationId field's value.
func (s *ListDeploymentsInput) SetEnvironmentId(v string) *ListDeploymentsInput
SetEnvironmentId sets the EnvironmentId field's value.
func (s *ListDeploymentsInput) SetMaxResults(v int64) *ListDeploymentsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListDeploymentsInput) SetNextToken(v string) *ListDeploymentsInput
SetNextToken sets the NextToken field's value.
func (s ListDeploymentsInput) String() string
String returns the string representation
func (s *ListDeploymentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListDeploymentsOutput) GoString() string
GoString returns the string representation
func (s *ListDeploymentsOutput) SetItems(v []*DeploymentSummary) *ListDeploymentsOutput
SetItems sets the Items field's value.
func (s *ListDeploymentsOutput) SetNextToken(v string) *ListDeploymentsOutput
SetNextToken sets the NextToken field's value.
func (s ListDeploymentsOutput) String() string
String returns the string representation
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 (s ListEnvironmentsInput) GoString() string
GoString returns the string representation
func (s *ListEnvironmentsInput) SetApplicationId(v string) *ListEnvironmentsInput
SetApplicationId sets the ApplicationId field's value.
func (s *ListEnvironmentsInput) SetMaxResults(v int64) *ListEnvironmentsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListEnvironmentsInput) SetNextToken(v string) *ListEnvironmentsInput
SetNextToken sets the NextToken field's value.
func (s ListEnvironmentsInput) String() string
String returns the string representation
func (s *ListEnvironmentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListEnvironmentsOutput) GoString() string
GoString returns the string representation
func (s *ListEnvironmentsOutput) SetItems(v []*Environment) *ListEnvironmentsOutput
SetItems sets the Items field's value.
func (s *ListEnvironmentsOutput) SetNextToken(v string) *ListEnvironmentsOutput
SetNextToken sets the NextToken field's value.
func (s ListEnvironmentsOutput) String() string
String returns the string representation
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"` // contains filtered or unexported fields }
func (s ListHostedConfigurationVersionsInput) GoString() string
GoString returns the string representation
func (s *ListHostedConfigurationVersionsInput) SetApplicationId(v string) *ListHostedConfigurationVersionsInput
SetApplicationId sets the ApplicationId field's value.
func (s *ListHostedConfigurationVersionsInput) SetConfigurationProfileId(v string) *ListHostedConfigurationVersionsInput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *ListHostedConfigurationVersionsInput) SetMaxResults(v int64) *ListHostedConfigurationVersionsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListHostedConfigurationVersionsInput) SetNextToken(v string) *ListHostedConfigurationVersionsInput
SetNextToken sets the NextToken field's value.
func (s ListHostedConfigurationVersionsInput) String() string
String returns the string representation
func (s *ListHostedConfigurationVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListHostedConfigurationVersionsOutput) GoString() string
GoString returns the string representation
func (s *ListHostedConfigurationVersionsOutput) SetItems(v []*HostedConfigurationVersionSummary) *ListHostedConfigurationVersionsOutput
SetItems sets the Items field's value.
func (s *ListHostedConfigurationVersionsOutput) SetNextToken(v string) *ListHostedConfigurationVersionsOutput
SetNextToken sets the NextToken field's value.
func (s ListHostedConfigurationVersionsOutput) String() string
String returns the string representation
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 (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type Monitor struct { // ARN of the Amazon CloudWatch alarm. AlarmArn *string `min:"20" type:"string"` // ARN of an 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 (s Monitor) GoString() string
GoString returns the string representation
func (s *Monitor) SetAlarmArn(v string) *Monitor
SetAlarmArn sets the AlarmArn field's value.
func (s *Monitor) SetAlarmRoleArn(v string) *Monitor
SetAlarmRoleArn sets the AlarmRoleArn field's value.
func (s Monitor) String() string
String returns the string representation
func (s *Monitor) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s *PayloadTooLargeException) Code() string
Code returns the exception type name.
func (s *PayloadTooLargeException) Error() string
func (s PayloadTooLargeException) GoString() string
GoString returns the string representation
func (s *PayloadTooLargeException) Message() string
Message returns the exception's message.
func (s *PayloadTooLargeException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *PayloadTooLargeException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *PayloadTooLargeException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s PayloadTooLargeException) String() string
String returns the string representation
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 (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ResourceNotFoundException) String() string
String returns the string representation
type ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The number of hosted configuration versions exceeds the limit for the AppConfig configuration store. Delete one or more versions and try again.
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (s *ServiceQuotaExceededException) Error() string
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ServiceQuotaExceededException) String() string
String returns the string representation
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. // // 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"` // 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 (s StartDeploymentInput) GoString() string
GoString returns the string representation
func (s *StartDeploymentInput) SetApplicationId(v string) *StartDeploymentInput
SetApplicationId sets the ApplicationId field's value.
func (s *StartDeploymentInput) SetConfigurationProfileId(v string) *StartDeploymentInput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *StartDeploymentInput) SetConfigurationVersion(v string) *StartDeploymentInput
SetConfigurationVersion sets the ConfigurationVersion field's value.
func (s *StartDeploymentInput) SetDeploymentStrategyId(v string) *StartDeploymentInput
SetDeploymentStrategyId sets the DeploymentStrategyId field's value.
func (s *StartDeploymentInput) SetDescription(v string) *StartDeploymentInput
SetDescription sets the Description field's value.
func (s *StartDeploymentInput) SetEnvironmentId(v string) *StartDeploymentInput
SetEnvironmentId sets the EnvironmentId field's value.
func (s *StartDeploymentInput) SetTags(v map[string]*string) *StartDeploymentInput
SetTags sets the Tags field's value.
func (s StartDeploymentInput) String() string
String returns the string representation
func (s *StartDeploymentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartDeploymentOutput struct { // The ID of the application that was deployed. ApplicationId *string `type:"string"` // 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 AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic roll back. 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 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"` // contains filtered or unexported fields }
func (s StartDeploymentOutput) GoString() string
GoString returns the string representation
func (s *StartDeploymentOutput) SetApplicationId(v string) *StartDeploymentOutput
SetApplicationId sets the ApplicationId field's value.
func (s *StartDeploymentOutput) SetCompletedAt(v time.Time) *StartDeploymentOutput
SetCompletedAt sets the CompletedAt field's value.
func (s *StartDeploymentOutput) SetConfigurationLocationUri(v string) *StartDeploymentOutput
SetConfigurationLocationUri sets the ConfigurationLocationUri field's value.
func (s *StartDeploymentOutput) SetConfigurationName(v string) *StartDeploymentOutput
SetConfigurationName sets the ConfigurationName field's value.
func (s *StartDeploymentOutput) SetConfigurationProfileId(v string) *StartDeploymentOutput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *StartDeploymentOutput) SetConfigurationVersion(v string) *StartDeploymentOutput
SetConfigurationVersion sets the ConfigurationVersion field's value.
func (s *StartDeploymentOutput) SetDeploymentDurationInMinutes(v int64) *StartDeploymentOutput
SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.
func (s *StartDeploymentOutput) SetDeploymentNumber(v int64) *StartDeploymentOutput
SetDeploymentNumber sets the DeploymentNumber field's value.
func (s *StartDeploymentOutput) SetDeploymentStrategyId(v string) *StartDeploymentOutput
SetDeploymentStrategyId sets the DeploymentStrategyId field's value.
func (s *StartDeploymentOutput) SetDescription(v string) *StartDeploymentOutput
SetDescription sets the Description field's value.
func (s *StartDeploymentOutput) SetEnvironmentId(v string) *StartDeploymentOutput
SetEnvironmentId sets the EnvironmentId field's value.
func (s *StartDeploymentOutput) SetEventLog(v []*DeploymentEvent) *StartDeploymentOutput
SetEventLog sets the EventLog field's value.
func (s *StartDeploymentOutput) SetFinalBakeTimeInMinutes(v int64) *StartDeploymentOutput
SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.
func (s *StartDeploymentOutput) SetGrowthFactor(v float64) *StartDeploymentOutput
SetGrowthFactor sets the GrowthFactor field's value.
func (s *StartDeploymentOutput) SetGrowthType(v string) *StartDeploymentOutput
SetGrowthType sets the GrowthType field's value.
func (s *StartDeploymentOutput) SetPercentageComplete(v float64) *StartDeploymentOutput
SetPercentageComplete sets the PercentageComplete field's value.
func (s *StartDeploymentOutput) SetStartedAt(v time.Time) *StartDeploymentOutput
SetStartedAt sets the StartedAt field's value.
func (s *StartDeploymentOutput) SetState(v string) *StartDeploymentOutput
SetState sets the State field's value.
func (s StartDeploymentOutput) String() string
String returns the string representation
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 (s StopDeploymentInput) GoString() string
GoString returns the string representation
func (s *StopDeploymentInput) SetApplicationId(v string) *StopDeploymentInput
SetApplicationId sets the ApplicationId field's value.
func (s *StopDeploymentInput) SetDeploymentNumber(v int64) *StopDeploymentInput
SetDeploymentNumber sets the DeploymentNumber field's value.
func (s *StopDeploymentInput) SetEnvironmentId(v string) *StopDeploymentInput
SetEnvironmentId sets the EnvironmentId field's value.
func (s StopDeploymentInput) String() string
String returns the string representation
func (s *StopDeploymentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopDeploymentOutput struct { // The ID of the application that was deployed. ApplicationId *string `type:"string"` // 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 AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic roll back. 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 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"` // contains filtered or unexported fields }
func (s StopDeploymentOutput) GoString() string
GoString returns the string representation
func (s *StopDeploymentOutput) SetApplicationId(v string) *StopDeploymentOutput
SetApplicationId sets the ApplicationId field's value.
func (s *StopDeploymentOutput) SetCompletedAt(v time.Time) *StopDeploymentOutput
SetCompletedAt sets the CompletedAt field's value.
func (s *StopDeploymentOutput) SetConfigurationLocationUri(v string) *StopDeploymentOutput
SetConfigurationLocationUri sets the ConfigurationLocationUri field's value.
func (s *StopDeploymentOutput) SetConfigurationName(v string) *StopDeploymentOutput
SetConfigurationName sets the ConfigurationName field's value.
func (s *StopDeploymentOutput) SetConfigurationProfileId(v string) *StopDeploymentOutput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *StopDeploymentOutput) SetConfigurationVersion(v string) *StopDeploymentOutput
SetConfigurationVersion sets the ConfigurationVersion field's value.
func (s *StopDeploymentOutput) SetDeploymentDurationInMinutes(v int64) *StopDeploymentOutput
SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.
func (s *StopDeploymentOutput) SetDeploymentNumber(v int64) *StopDeploymentOutput
SetDeploymentNumber sets the DeploymentNumber field's value.
func (s *StopDeploymentOutput) SetDeploymentStrategyId(v string) *StopDeploymentOutput
SetDeploymentStrategyId sets the DeploymentStrategyId field's value.
func (s *StopDeploymentOutput) SetDescription(v string) *StopDeploymentOutput
SetDescription sets the Description field's value.
func (s *StopDeploymentOutput) SetEnvironmentId(v string) *StopDeploymentOutput
SetEnvironmentId sets the EnvironmentId field's value.
func (s *StopDeploymentOutput) SetEventLog(v []*DeploymentEvent) *StopDeploymentOutput
SetEventLog sets the EventLog field's value.
func (s *StopDeploymentOutput) SetFinalBakeTimeInMinutes(v int64) *StopDeploymentOutput
SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.
func (s *StopDeploymentOutput) SetGrowthFactor(v float64) *StopDeploymentOutput
SetGrowthFactor sets the GrowthFactor field's value.
func (s *StopDeploymentOutput) SetGrowthType(v string) *StopDeploymentOutput
SetGrowthType sets the GrowthType field's value.
func (s *StopDeploymentOutput) SetPercentageComplete(v float64) *StopDeploymentOutput
SetPercentageComplete sets the PercentageComplete field's value.
func (s *StopDeploymentOutput) SetStartedAt(v time.Time) *StopDeploymentOutput
SetStartedAt sets the StartedAt field's value.
func (s *StopDeploymentOutput) SetState(v string) *StopDeploymentOutput
SetState sets the State field's value.
func (s StopDeploymentOutput) String() string
String returns the string representation
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 (s TagResourceInput) GoString() string
GoString returns the string representation
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (s TagResourceInput) String() string
String returns the string representation
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (s TagResourceOutput) GoString() string
GoString returns the string representation
func (s TagResourceOutput) String() string
String returns the string representation
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 (s UntagResourceInput) GoString() string
GoString returns the string representation
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (s UntagResourceInput) String() string
String returns the string representation
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (s UntagResourceOutput) GoString() string
GoString returns the string representation
func (s UntagResourceOutput) String() string
String returns the string representation
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 (s UpdateApplicationInput) GoString() string
GoString returns the string representation
func (s *UpdateApplicationInput) SetApplicationId(v string) *UpdateApplicationInput
SetApplicationId sets the ApplicationId field's value.
func (s *UpdateApplicationInput) SetDescription(v string) *UpdateApplicationInput
SetDescription sets the Description field's value.
func (s *UpdateApplicationInput) SetName(v string) *UpdateApplicationInput
SetName sets the Name field's value.
func (s UpdateApplicationInput) String() string
String returns the string representation
func (s *UpdateApplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s UpdateApplicationOutput) GoString() string
GoString returns the string representation
func (s *UpdateApplicationOutput) SetDescription(v string) *UpdateApplicationOutput
SetDescription sets the Description field's value.
func (s *UpdateApplicationOutput) SetId(v string) *UpdateApplicationOutput
SetId sets the Id field's value.
func (s *UpdateApplicationOutput) SetName(v string) *UpdateApplicationOutput
SetName sets the Name field's value.
func (s UpdateApplicationOutput) String() string
String returns the string representation
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 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 (s UpdateConfigurationProfileInput) GoString() string
GoString returns the string representation
func (s *UpdateConfigurationProfileInput) SetApplicationId(v string) *UpdateConfigurationProfileInput
SetApplicationId sets the ApplicationId field's value.
func (s *UpdateConfigurationProfileInput) SetConfigurationProfileId(v string) *UpdateConfigurationProfileInput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *UpdateConfigurationProfileInput) SetDescription(v string) *UpdateConfigurationProfileInput
SetDescription sets the Description field's value.
func (s *UpdateConfigurationProfileInput) SetName(v string) *UpdateConfigurationProfileInput
SetName sets the Name field's value.
func (s *UpdateConfigurationProfileInput) SetRetrievalRoleArn(v string) *UpdateConfigurationProfileInput
SetRetrievalRoleArn sets the RetrievalRoleArn field's value.
func (s *UpdateConfigurationProfileInput) SetValidators(v []*Validator) *UpdateConfigurationProfileInput
SetValidators sets the Validators field's value.
func (s UpdateConfigurationProfileInput) String() string
String returns the string representation
func (s *UpdateConfigurationProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 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"` // A list of methods for validating the configuration. Validators []*Validator `type:"list"` // contains filtered or unexported fields }
func (s UpdateConfigurationProfileOutput) GoString() string
GoString returns the string representation
func (s *UpdateConfigurationProfileOutput) SetApplicationId(v string) *UpdateConfigurationProfileOutput
SetApplicationId sets the ApplicationId field's value.
func (s *UpdateConfigurationProfileOutput) SetDescription(v string) *UpdateConfigurationProfileOutput
SetDescription sets the Description field's value.
func (s *UpdateConfigurationProfileOutput) SetId(v string) *UpdateConfigurationProfileOutput
SetId sets the Id field's value.
func (s *UpdateConfigurationProfileOutput) SetLocationUri(v string) *UpdateConfigurationProfileOutput
SetLocationUri sets the LocationUri field's value.
func (s *UpdateConfigurationProfileOutput) SetName(v string) *UpdateConfigurationProfileOutput
SetName sets the Name field's value.
func (s *UpdateConfigurationProfileOutput) SetRetrievalRoleArn(v string) *UpdateConfigurationProfileOutput
SetRetrievalRoleArn sets the RetrievalRoleArn field's value.
func (s *UpdateConfigurationProfileOutput) SetValidators(v []*Validator) *UpdateConfigurationProfileOutput
SetValidators sets the Validators field's value.
func (s UpdateConfigurationProfileOutput) String() string
String returns the string representation
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 AppConfig monitors for alarms before considering the deployment // to be complete and no longer eligible for automatic roll back. 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. AWS 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 (s UpdateDeploymentStrategyInput) GoString() string
GoString returns the string representation
func (s *UpdateDeploymentStrategyInput) SetDeploymentDurationInMinutes(v int64) *UpdateDeploymentStrategyInput
SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.
func (s *UpdateDeploymentStrategyInput) SetDeploymentStrategyId(v string) *UpdateDeploymentStrategyInput
SetDeploymentStrategyId sets the DeploymentStrategyId field's value.
func (s *UpdateDeploymentStrategyInput) SetDescription(v string) *UpdateDeploymentStrategyInput
SetDescription sets the Description field's value.
func (s *UpdateDeploymentStrategyInput) SetFinalBakeTimeInMinutes(v int64) *UpdateDeploymentStrategyInput
SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.
func (s *UpdateDeploymentStrategyInput) SetGrowthFactor(v float64) *UpdateDeploymentStrategyInput
SetGrowthFactor sets the GrowthFactor field's value.
func (s *UpdateDeploymentStrategyInput) SetGrowthType(v string) *UpdateDeploymentStrategyInput
SetGrowthType sets the GrowthType field's value.
func (s UpdateDeploymentStrategyInput) String() string
String returns the string representation
func (s *UpdateDeploymentStrategyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic roll back. 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 (s UpdateDeploymentStrategyOutput) GoString() string
GoString returns the string representation
func (s *UpdateDeploymentStrategyOutput) SetDeploymentDurationInMinutes(v int64) *UpdateDeploymentStrategyOutput
SetDeploymentDurationInMinutes sets the DeploymentDurationInMinutes field's value.
func (s *UpdateDeploymentStrategyOutput) SetDescription(v string) *UpdateDeploymentStrategyOutput
SetDescription sets the Description field's value.
func (s *UpdateDeploymentStrategyOutput) SetFinalBakeTimeInMinutes(v int64) *UpdateDeploymentStrategyOutput
SetFinalBakeTimeInMinutes sets the FinalBakeTimeInMinutes field's value.
func (s *UpdateDeploymentStrategyOutput) SetGrowthFactor(v float64) *UpdateDeploymentStrategyOutput
SetGrowthFactor sets the GrowthFactor field's value.
func (s *UpdateDeploymentStrategyOutput) SetGrowthType(v string) *UpdateDeploymentStrategyOutput
SetGrowthType sets the GrowthType field's value.
func (s *UpdateDeploymentStrategyOutput) SetId(v string) *UpdateDeploymentStrategyOutput
SetId sets the Id field's value.
func (s *UpdateDeploymentStrategyOutput) SetName(v string) *UpdateDeploymentStrategyOutput
SetName sets the Name field's value.
func (s *UpdateDeploymentStrategyOutput) SetReplicateTo(v string) *UpdateDeploymentStrategyOutput
SetReplicateTo sets the ReplicateTo field's value.
func (s UpdateDeploymentStrategyOutput) String() string
String returns the string representation
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 (s UpdateEnvironmentInput) GoString() string
GoString returns the string representation
func (s *UpdateEnvironmentInput) SetApplicationId(v string) *UpdateEnvironmentInput
SetApplicationId sets the ApplicationId field's value.
func (s *UpdateEnvironmentInput) SetDescription(v string) *UpdateEnvironmentInput
SetDescription sets the Description field's value.
func (s *UpdateEnvironmentInput) SetEnvironmentId(v string) *UpdateEnvironmentInput
SetEnvironmentId sets the EnvironmentId field's value.
func (s *UpdateEnvironmentInput) SetMonitors(v []*Monitor) *UpdateEnvironmentInput
SetMonitors sets the Monitors field's value.
func (s *UpdateEnvironmentInput) SetName(v string) *UpdateEnvironmentInput
SetName sets the Name field's value.
func (s UpdateEnvironmentInput) String() string
String returns the string representation
func (s *UpdateEnvironmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s UpdateEnvironmentOutput) GoString() string
GoString returns the string representation
func (s *UpdateEnvironmentOutput) SetApplicationId(v string) *UpdateEnvironmentOutput
SetApplicationId sets the ApplicationId field's value.
func (s *UpdateEnvironmentOutput) SetDescription(v string) *UpdateEnvironmentOutput
SetDescription sets the Description field's value.
func (s *UpdateEnvironmentOutput) SetId(v string) *UpdateEnvironmentOutput
SetId sets the Id field's value.
func (s *UpdateEnvironmentOutput) SetMonitors(v []*Monitor) *UpdateEnvironmentOutput
SetMonitors sets the Monitors field's value.
func (s *UpdateEnvironmentOutput) SetName(v string) *UpdateEnvironmentOutput
SetName sets the Name field's value.
func (s *UpdateEnvironmentOutput) SetState(v string) *UpdateEnvironmentOutput
SetState sets the State field's value.
func (s UpdateEnvironmentOutput) String() string
String returns the string representation
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 (s ValidateConfigurationInput) GoString() string
GoString returns the string representation
func (s *ValidateConfigurationInput) SetApplicationId(v string) *ValidateConfigurationInput
SetApplicationId sets the ApplicationId field's value.
func (s *ValidateConfigurationInput) SetConfigurationProfileId(v string) *ValidateConfigurationInput
SetConfigurationProfileId sets the ConfigurationProfileId field's value.
func (s *ValidateConfigurationInput) SetConfigurationVersion(v string) *ValidateConfigurationInput
SetConfigurationVersion sets the ConfigurationVersion field's value.
func (s ValidateConfigurationInput) String() string
String returns the string representation
func (s *ValidateConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ValidateConfigurationOutput struct {
// contains filtered or unexported fields
}
func (s ValidateConfigurationOutput) GoString() string
GoString returns the string representation
func (s ValidateConfigurationOutput) String() string
String returns the string representation
type Validator struct { // Either the JSON Schema content or the Amazon Resource Name (ARN) of an AWS // Lambda function. // // 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 you want to deploy functions as intended. To validate your application configuration data, you provide a schema or a Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.
func (s Validator) GoString() string
GoString returns the string representation
func (s *Validator) SetContent(v string) *Validator
SetContent sets the Content field's value.
func (s *Validator) SetType(v string) *Validator
SetType sets the Type field's value.
func (s Validator) String() string
String returns the string representation
func (s *Validator) Validate() error
Validate inspects the fields of the type to determine if they are valid.