// Updates the automatic tape creation policy of a gateway. Use this to update the
// policy with a new set of automatic tape creation rules. This is only supported
// for tape gateways. By default, there is no automatic tape creation policy. A
// gateway can have only one automatic tape creation policy.
Updates the automatic tape creation policy of a gateway. Use this to update the
policy with a new set of automatic tape creation rules. This is only supported
for tape gateways. By default, there is no automatic tape creation policy. A
gateway can have only one automatic tape creation policy.
// Updates the automatic tape creation policy of a gateway . Use this to update the // policy with a new set of automatic tape creation rules . This is only supported // for tape gateways . By default there is no automatic tape creation policy . A // gateway can have only one automatic tape creation policy .
func (c *Client) UpdateAutomaticTapeCreationPolicy(ctx context.Context, params *UpdateAutomaticTapeCreationPolicyInput, optFns ...func(*Options)) (*UpdateAutomaticTapeCreationPolicyOutput, error) {
	if params == nil {
		params = &UpdateAutomaticTapeCreationPolicyInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateAutomaticTapeCreationPolicy", params, optFns, addOperationUpdateAutomaticTapeCreationPolicyMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateAutomaticTapeCreationPolicyOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateAutomaticTapeCreationPolicy ( ctx context . Context , params * UpdateAutomaticTapeCreationPolicyInput , optFns ... func ( * Options ) ) ( * UpdateAutomaticTapeCreationPolicyOutput , error ) { if params == nil { params = & UpdateAutomaticTapeCreationPolicyInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateAutomaticTapeCreationPolicyMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateAutomaticTapeCreationPolicyOutput ) out . ResultMetadata = metadata return out , nil }
Updates the automatic tape creation policy of a gateway.
Updates the automatic tape creation policy of a gateway .