// Adds or updates the remediation configuration with a specific AWS Config rule
// with the selected target or action. The API creates the RemediationConfiguration
// object for the AWS Config rule. The AWS Config rule must already exist for you
// to add a remediation configuration. The target (SSM document) must exist and
// have permissions to use the target. If you make backward incompatible changes to
// the SSM document, you must call this again to ensure the remediations can run.
Adds or updates the remediation configuration with a specific AWS Config rule
with the selected target or action. The API creates the RemediationConfiguration
object for the AWS Config rule. The AWS Config rule must already exist for you
to add a remediation configuration. The target (SSM document) must exist and
have permissions to use the target. If you make backward incompatible changes to
the SSM document, you must call this again to ensure the remediations can run.
// Adds or updates the remediation configuration with a specific AWS Config rule // with the selected target or action . The API creates the RemediationConfiguration // object for the AWS Config rule . The AWS Config rule must already exist for you // to add a remediation configuration . The target ( SSM document ) must exist and // have permissions to use the target . If you make backward incompatible changes to // the SSM document you must call this again to ensure the remediations can run .
func (c *Client) PutRemediationConfigurations(ctx context.Context, params *PutRemediationConfigurationsInput, optFns ...func(*Options)) (*PutRemediationConfigurationsOutput, error) {
	if params == nil {
		params = &PutRemediationConfigurationsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "PutRemediationConfigurations", params, optFns, addOperationPutRemediationConfigurationsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*PutRemediationConfigurationsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) PutRemediationConfigurations ( ctx context . Context , params * PutRemediationConfigurationsInput , optFns ... func ( * Options ) ) ( * PutRemediationConfigurationsOutput , error ) { if params == nil { params = & PutRemediationConfigurationsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationPutRemediationConfigurationsMiddlewares ) if err != nil { return nil , err } out := result . ( * PutRemediationConfigurationsOutput ) out . ResultMetadata = metadata return out , nil }
Adds or updates the remediation configuration with a specific AWS Config rule
with the selected target or action.
Adds or updates the remediation configuration with a specific AWS Config rule with the selected target or action .