// Sets the status of a service-specific credential to Active or Inactive.
// Service-specific credentials that are inactive cannot be used for authentication
// to the service. This operation can be used to disable a user's service-specific
// credential as part of a credential rotation work flow.
Sets the status of a service-specific credential to Active or Inactive.
Service-specific credentials that are inactive cannot be used for authentication
to the service. This operation can be used to disable a user's service-specific
credential as part of a credential rotation work flow.
// Sets the status of a service - specific credential to Active or Inactive . // Service - specific credentials that are inactive cannot be used for authentication // to the service . This operation can be used to disable a user ' s service - specific // credential as part of a credential rotation work flow .
func (c *Client) UpdateServiceSpecificCredential(ctx context.Context, params *UpdateServiceSpecificCredentialInput, optFns ...func(*Options)) (*UpdateServiceSpecificCredentialOutput, error) {
	if params == nil {
		params = &UpdateServiceSpecificCredentialInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateServiceSpecificCredential", params, optFns, addOperationUpdateServiceSpecificCredentialMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateServiceSpecificCredentialOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateServiceSpecificCredential ( ctx context . Context , params * UpdateServiceSpecificCredentialInput , optFns ... func ( * Options ) ) ( * UpdateServiceSpecificCredentialOutput , error ) { if params == nil { params = & UpdateServiceSpecificCredentialInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateServiceSpecificCredentialMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateServiceSpecificCredentialOutput ) out . ResultMetadata = metadata return out , nil }
Sets the status of a service-specific credential to Active or Inactive.
Sets the status of a service - specific credential to Active or Inactive .