From 5b73f97852aa0b6113ea56a8336cb6a6462bf1ad Mon Sep 17 00:00:00 2001 From: shacharn Date: Wed, 16 Feb 2022 11:42:17 +0200 Subject: [PATCH] changed payload *string to interface --- secretsmanagerv1/secrets_manager_v1.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/secretsmanagerv1/secrets_manager_v1.go b/secretsmanagerv1/secrets_manager_v1.go index eb0d064..a485bf8 100644 --- a/secretsmanagerv1/secrets_manager_v1.go +++ b/secretsmanagerv1/secrets_manager_v1.go @@ -3662,7 +3662,7 @@ func UnmarshalRotation(m map[string]json.RawMessage, result interface{}) (err er // - RotateKvSecretBody type SecretAction struct { // The new secret data to assign to an `arbitrary` secret. - Payload *string `json:"payload,omitempty"` + Payload interface{} `json:"payload,omitempty"` // Determine whether keys must be rotated. RotateKeys *bool `json:"rotate_keys,omitempty"` @@ -4430,7 +4430,7 @@ type SecretResource struct { ExpirationDate *strfmt.DateTime `json:"expiration_date,omitempty"` // The new secret data to assign to the secret. - Payload *string `json:"payload,omitempty"` + Payload interface{} `json:"payload,omitempty"` // The data that is associated with the secret version. The data object contains the field `payload`. SecretData interface{} `json:"secret_data,omitempty"` @@ -5557,7 +5557,7 @@ type ArbitrarySecretResource struct { ExpirationDate *strfmt.DateTime `json:"expiration_date,omitempty"` // The new secret data to assign to the secret. - Payload *string `json:"payload,omitempty"` + Payload interface{} `json:"payload,omitempty"` // The data that is associated with the secret version. The data object contains the field `payload`. SecretData interface{} `json:"secret_data,omitempty"`